diff --git a/supervise-enterprise-ui/src/api/Yksq/yksq.js b/supervise-enterprise-ui/src/api/Yksq/yksq.js new file mode 100644 index 00000000..2877b335 --- /dev/null +++ b/supervise-enterprise-ui/src/api/Yksq/yksq.js @@ -0,0 +1,113 @@ +import request from '@/utils/request' +// 入库导入的记录 /enterprisecentre +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/listPage', + method: 'post', + data: params + }) + }, + // 提交列表 + sealrecordSubmit: function(data) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/submit ', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + // 保存列表 + sealrecordSave: function(data) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/saveorUpdate', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + // 根据SID获取一条记录 + fetchDetailsBySid: function(data) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/details', + method: 'get', + params: data + }) + }, + // 流程历史流转记录 + flowRecord: function(procInsId, deployId) { + return request({ + url: '/enterprisecentre/v1/sealrecord/task/flowRecord/' + procInsId + '/' + deployId, + method: 'get' + }) + }, + // 根据SID获取一条记录 + delBySids: function(data) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/delete', + method: 'DELETE', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + // 办理待办 + complete: function(data) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/complete', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(驳回) + reject: function(params) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/reject', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(终止) + breakProcess: function(params) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/breakProcess', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(撤回) + revokeProcess: function(params) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/revokeProcess', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 审批流程(同意)获取下一环节 + getNextNodesForSubmit: function(data) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/getNextNodesForSubmit', + method: 'get', + params: data + }) + }, + // 审批流程(驳回)获取下一环节 + getPreviousNodesForReject: function(data) { + return request({ + url: '/enterprisecentre/v1/PaymentApply/getPreviousNodesForReject', + method: 'get', + params: data + }) + } +} diff --git a/supervise-enterprise-ui/src/layout/components/Sidebar/index.vue b/supervise-enterprise-ui/src/layout/components/Sidebar/index.vue index 5052305d..b22a8e25 100644 --- a/supervise-enterprise-ui/src/layout/components/Sidebar/index.vue +++ b/supervise-enterprise-ui/src/layout/components/Sidebar/index.vue @@ -61,8 +61,8 @@ icon: "el-icon-menu", title: "用款申请", }, - name: "/NewList/needMoney", - path: "/NewList/needMoney" + name: "/Yksq/index", + path: "/Yksq/index" }, { alwaysShow: true, diff --git a/supervise-enterprise-ui/src/router/modules/codemenu.js b/supervise-enterprise-ui/src/router/modules/codemenu.js index dee6d7f2..bd3268cf 100644 --- a/supervise-enterprise-ui/src/router/modules/codemenu.js +++ b/supervise-enterprise-ui/src/router/modules/codemenu.js @@ -105,15 +105,15 @@ const codemenu = [{ } }] }, { - path: '/NewList', + path: '/Yksq', component: Layout, - redirect: '/NewList/needMoney', + redirect: '/Yksq', children: [{ - path: '/NewList/needMoney', - component: () => import('@/views/NewList/needMoney.vue'), + path: '/Yksq/index', + component: () => import('@/views/Yksq/index.vue'), name: 'needMoney', meta: { - title: '用款申请提交', + title: '用款申请', noCache: true } }] @@ -505,6 +505,27 @@ const codemenu = [{ import('@/views/workFlow/jiezhichukuFlow/jzckEdit.vue'), name: 'jzckEdit' }, + // 用款申请待办详情 + { + path: '/yongkuanFlow/ykDaiBan', + component: () => + import('@/views/workFlow/yongkuanFlow/ykDaiBan.vue'), + name: 'ykDaiBan' + }, + // 用款申请已办详情 + { + path: '/yongkuanFlow/ykYiBan', + component: () => + import('@/views/workFlow/yongkuanFlow/ykYiBan.vue'), + name: 'ykYiBan' + }, + // 用款申请的编辑 + { + path: '/yongkuanFlow/ykEdit', + component: () => + import('@/views/workFlow/yongkuanFlow/ykEdit.vue'), + name: 'ykEdit' + }, ] export default codemenu diff --git a/supervise-enterprise-ui/src/views/Yksq/index.vue b/supervise-enterprise-ui/src/views/Yksq/index.vue new file mode 100644 index 00000000..4a6b000f --- /dev/null +++ b/supervise-enterprise-ui/src/views/Yksq/index.vue @@ -0,0 +1,320 @@ + + + + + + + {{ searchxianshitit }} + + + + + + + + + + + 至 + + + + + 查询 + 重置 + + + + + 用款列表 + + + + + + + + 办理 + 查看 + + + + + 待提交 + {{ scope.row.nodeState }} + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/Yksq/ykAdd.vue b/supervise-enterprise-ui/src/views/Yksq/ykAdd.vue new file mode 100644 index 00000000..537c1974 --- /dev/null +++ b/supervise-enterprise-ui/src/views/Yksq/ykAdd.vue @@ -0,0 +1,215 @@ + + + + + {{ title }} + + 保存 + 提交 + 关闭 + + + + + 生产经营用款 + + + + 项目名称 + + + + + + + + + + + + 申请日期 + + + + + + + + + + + + + 用款企业 + + + + + + + + + + 申请人 + + + + + + + + + + + + 用款申请 + + + + + + + + + + 用款金额 + + + + + + + + + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/Yksq/ykInfo.vue b/supervise-enterprise-ui/src/views/Yksq/ykInfo.vue new file mode 100644 index 00000000..67e03d53 --- /dev/null +++ b/supervise-enterprise-ui/src/views/Yksq/ykInfo.vue @@ -0,0 +1,163 @@ + + + + + {{ title }} + + 关闭 + + + + + 生产经营用款 + + + + 项目名称 + + + + + {{ formobj.projectName }} + + + + + 申请日期 + + + + + {{ formobj.createTime }} + + + + + + + 用款名称 + + + + + {{ formobj.enterpriseName }} + + + + + 申请人 + + + + + {{ formobj.createByName }} + + + + + + + 用款申请 + + + + + {{ formobj.applyUse }} + + + + + 用款金额 + + + + + {{ formobj.money }} + + + + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykDaiBan.vue b/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykDaiBan.vue new file mode 100644 index 00000000..edd6e44a --- /dev/null +++ b/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykDaiBan.vue @@ -0,0 +1,366 @@ + + + + + {{ title }} + + 同 意 + + 终 止 + + + + + 生产经营用款 + + + + 项目名称 + + + + + {{ formobj.projectName }} + + + + + 申请日期 + + + + + {{ formobj.createTime }} + + + + + + + 用款名称 + + + + + {{ formobj.enterpriseName }} + + + + + 申请人 + + + + + {{ formobj.createByName }} + + + + + + + 用款申请 + + + + + {{ formobj.applyUse }} + + + + + 用款金额 + + + + + {{ formobj.money }} + + + + + + + + + + + + 当前环节: + + + {{ current.taskName }}->{{ nextNode.name }} + + + + + 意见: + + + + + + + 确 定 + 取 消 + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykEdit.vue b/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykEdit.vue new file mode 100644 index 00000000..1df86202 --- /dev/null +++ b/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykEdit.vue @@ -0,0 +1,229 @@ + + + + + {{ title }} + + 保存 + 提交 + + + + + 生产经营用款 + + + + 项目名称 + + + + + + + + + + + + 申请日期 + + + + + + + + + + + + + 用款企业 + + + + + + + + + + 申请人 + + + + + + + + + + + + 用款申请 + + + + + + + + + + 用款金额 + + + + + + + + + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykYiBan.vue b/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykYiBan.vue new file mode 100644 index 00000000..d3a8aaf1 --- /dev/null +++ b/supervise-enterprise-ui/src/views/workFlow/yongkuanFlow/ykYiBan.vue @@ -0,0 +1,215 @@ + + + + + {{ title }} + + 撤 回 + + + + + 生产经营用款 + + + + 项目名称 + + + + + {{ formobj.projectName }} + + + + + 申请日期 + + + + + {{ formobj.createTime }} + + + + + + + 用款名称 + + + + + {{ formobj.enterpriseName }} + + + + + 申请人 + + + + + {{ formobj.createByName }} + + + + + + + 用款申请 + + + + + {{ formobj.applyUse }} + + + + + 用款金额 + + + + + {{ formobj.money }} + + + + + + + + + + + +