diff --git a/supervise-enterprise-ui/src/api/Rkzysq/rkzysq.js b/supervise-enterprise-ui/src/api/Rkzysq/rkzysq.js new file mode 100644 index 00000000..50e2c773 --- /dev/null +++ b/supervise-enterprise-ui/src/api/Rkzysq/rkzysq.js @@ -0,0 +1,109 @@ +import request from '@/utils/request' +// 入库导入的记录 /enterprisecentre +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/listPage', + method: 'post', + data: params + }) + }, + // 提交列表 + sealrecordSubmit: function(data) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/submit ', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + // 保存列表 + sealrecordSave: function(data) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/saveorUpdate', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + // 根据SID获取一条记录 + fetchDetailsBySid: function(data) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/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/WarehousingPledge/delete', + method: 'DELETE', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + // 办理待办 + complete: function(data) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/complete', + method: 'post', + data: data + }) + }, + // 流程审批(驳回) + reject: function(params) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/reject', + method: 'post', + data: params + }) + }, + // 流程审批(终止) + breakProcess: function(params) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/breakProcess', + method: 'post', + data: params + }) + }, + // 流程审批(撤回) + revokeProcess: function(params) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/revokeProcess', + method: 'post', + data: params + }) + }, + // 审批流程(同意)获取下一环节 + getNextNodesForSubmit: function(data) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/getNextNodesForSubmit', + method: 'post', + params: data + }) + }, + // 审批流程(驳回)获取下一环节 + getPreviousNodesForReject: function(data) { + return request({ + url: '/enterprisecentre/v1/WarehousingPledge/getPreviousNodesForReject', + method: 'post', + 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 ca410092..66db376c 100644 --- a/supervise-enterprise-ui/src/layout/components/Sidebar/index.vue +++ b/supervise-enterprise-ui/src/layout/components/Sidebar/index.vue @@ -41,8 +41,8 @@ icon: "el-icon-menu", title: "入库质押申请", }, - name: "/NewList/warehouse", - path: "/NewList/warehouse" + name: "/Rkzysq/index", + path: "/Rkzysq/index" }, { alwaysShow: true, diff --git a/supervise-enterprise-ui/src/router/modules/codemenu.js b/supervise-enterprise-ui/src/router/modules/codemenu.js index 70bc5357..dafb09e6 100644 --- a/supervise-enterprise-ui/src/router/modules/codemenu.js +++ b/supervise-enterprise-ui/src/router/modules/codemenu.js @@ -53,12 +53,12 @@ const codemenu = [{ } }] },{ - path: '/NewList', + path: '/Rkzysq', component: Layout, - redirect: '/NewList/warehouse', + redirect: '/Rkzysq', children: [{ - path: '/NewList/warehouse', - component: () => import('@/views/NewList/warehouse.vue'), + path: '/Rkzysq/index', + component: () => import('@/views/Rkzysq/index.vue'), name: 'warehouse', meta: { title: '货物入库质押申请', @@ -463,6 +463,27 @@ const codemenu = [{ import('@/views/Yjsq/LookYzsq/index.vue'), name: 'LookYzsq' }, + // 入库质押待办详情 + { + path: '/rukuzhiyaFlow/rkzyDaiBan', + component: () => + import('@/views/workFlow/rukuzhiyaFlow/rkzyDaiBan.vue'), + name: 'rkzyDaiBan' + }, + // 入库质押已办详情 + { + path: '/rukuzhiyaFlow/rkzyYiBan', + component: () => + import('@/views/workFlow/rukuzhiyaFlow/rkzyYiBan.vue'), + name: 'rkzyYiBan' + }, + // 入库质押的编辑 + { + path: '/rukuzhiyaFlow/rkzyEdit', + component: () => + import('@/views/workFlow/rukuzhiyaFlow/rkzyEdit.vue'), + name: 'rkzyEdit' + }, ] export default codemenu diff --git a/supervise-enterprise-ui/src/views/Rkzysq/index.vue b/supervise-enterprise-ui/src/views/Rkzysq/index.vue new file mode 100644 index 00000000..10dea8ae --- /dev/null +++ b/supervise-enterprise-ui/src/views/Rkzysq/index.vue @@ -0,0 +1,320 @@ + + + + + + + {{ searchxianshitit }} + + + + + + + + + + + 至 + + + + + 查询 + 重置 + + + + + 入库质押列表 + + + + + + + + 办理 + 查看 + + + + + 待提交 + {{ scope.row.nodeState }} + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/Rkzysq/rkzyAdd.vue b/supervise-enterprise-ui/src/views/Rkzysq/rkzyAdd.vue new file mode 100644 index 00000000..106d590a --- /dev/null +++ b/supervise-enterprise-ui/src/views/Rkzysq/rkzyAdd.vue @@ -0,0 +1,204 @@ + + + + + {{ title }} + + 保存 + 提交 + 关闭 + + + + + 货物入库质押 + + + + 项目名称 + + + + + + + + + + + + 申请日期 + + + + + + + + + + + + + 仓库名称 + + + + + + + + + + 申请人 + + + + + + + + + + + + 货物价值 + + + + + + + + + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/Rkzysq/rkzyInfo.vue b/supervise-enterprise-ui/src/views/Rkzysq/rkzyInfo.vue new file mode 100644 index 00000000..3c0c7a28 --- /dev/null +++ b/supervise-enterprise-ui/src/views/Rkzysq/rkzyInfo.vue @@ -0,0 +1,151 @@ + + + + + {{ title }} + + 关闭 + + + + + 货物入库质押 + + + + 项目名称 + + + + + {{ formobj.projectName }} + + + + + 申请日期 + + + + + {{ formobj.createTime }} + + + + + + + 仓库名称 + + + + + {{ formobj.warehouseName }} + + + + + 申请人 + + + + + {{ formobj.createByName }} + + + + + + + 货物价值 + + + + + {{ formobj.goodsValue }} + + + + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyDaiBan.vue b/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyDaiBan.vue new file mode 100644 index 00000000..b40703d9 --- /dev/null +++ b/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyDaiBan.vue @@ -0,0 +1,348 @@ + + + + + {{ title }} + + 同 意 + + 终 止 + + + + + 货物入库质押 + + + + 项目名称 + + + + + {{ formobj.projectName }} + + + + + 申请日期 + + + + + {{ formobj.createTime }} + + + + + + + 仓库名称 + + + + + {{ formobj.warehouseName }} + + + + + 申请人 + + + + + {{ formobj.createByName }} + + + + + + + 货物价值 + + + + + {{ formobj.goodsValue }} + + + + + + + + + + + + 当前环节: + + + {{ current.taskName }}->{{ nextNode.name }} + + + + + 意见: + + + + + + + 确 定 + 取 消 + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyEdit.vue b/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyEdit.vue new file mode 100644 index 00000000..361bf651 --- /dev/null +++ b/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyEdit.vue @@ -0,0 +1,208 @@ + + + + + {{ title }} + + 保存 + 提交 + + + + + 货物入库质押 + + + + 项目名称 + + + + + + + + + + + + 申请日期 + + + + + + + + + + + + + 仓库名称 + + + + + + + + + + 申请人 + + + + + + + + + + + + 货物价值 + + + + + + + + + + + + + + + + + diff --git a/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyYiBan.vue b/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyYiBan.vue new file mode 100644 index 00000000..cd05d00d --- /dev/null +++ b/supervise-enterprise-ui/src/views/workFlow/rukuzhiyaFlow/rkzyYiBan.vue @@ -0,0 +1,197 @@ + + + + + {{ title }} + + 撤 回 + + + + + 货物入库质押 + + + + 项目名称 + + + + + {{ formobj.projectName }} + + + + + 申请日期 + + + + + {{ formobj.createTime }} + + + + + + + 仓库名称 + + + + + {{ formobj.warehouseName }} + + + + + 申请人 + + + + + {{ formobj.createByName }} + + + + + + + 货物价值 + + + + + {{ formobj.goodsValue }} + + + + + + + + + + + +