diff --git a/yxt-as-ui/src/api/basicinformation/maintenanceProjectRecord.js b/yxt-as-ui/src/api/basicinformation/maintenanceProjectRecord.js new file mode 100644 index 0000000000..164a62355c --- /dev/null +++ b/yxt-as-ui/src/api/basicinformation/maintenanceProjectRecord.js @@ -0,0 +1,115 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/as/v1/asserviceitemapply/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 初始化 + init: function(data) { + return request({ + url: '/as/v1/asserviceitemapply/applyInit', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 回显 + fetchDetailsBySid: function(data) { + return request({ + url: '/as/v1/asserviceitemapply/fetchDetailsBySid/' + data, + method: 'get' + }) + }, + saveOrUpdate: function(data) { + return request({ + url: '/as/v1/asserviceitemapply/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + deleteBySids: function(data) { + return request({ + url: '/as/v1/asserviceitemapply/delBySids', + method: 'DELETE', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 提交流程 + submit: function(params) { + return request({ + url: '/as/v1/asserviceitemapply/submitApply', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(同意) + complete: function(params) { + return request({ + url: '/as/v1/asserviceitemapply/complete', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(加签) + delegate: function(params) { + return request({ + url: '/as/v1/asserviceitemapply/delegate', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(驳回) + reject: function(params) { + return request({ + url: '/as/v1/asserviceitemapply/reject', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(终止) + breakProcess: function(params) { + return request({ + url: '/as/v1/asserviceitemapply/breakProcess', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(撤回) + revokeProcess: function(params) { + return request({ + url: '/as/v1/asserviceitemapply/revokeProcess', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 审批流程(同意)获取下一环节 + getNextNodesForSubmit: function(data) { + return request({ + url: '/as/v1/asserviceitemapply/getNextNodesForSubmit', + method: 'get', + params: data + }) + }, + // 审批流程(驳回)获取上一环节 + getPreviousNodesForReject: function(data) { + return request({ + url: '/as/v1/asserviceitemapply/getPreviousNodesForReject', + method: 'get', + params: data + }) + } +} diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js index a7cbf95d45..1cbae6df4c 100644 --- a/yxt-as-ui/src/router/index.js +++ b/yxt-as-ui/src/router/index.js @@ -511,6 +511,12 @@ export const constantRoutes = [{ name: 'MaintenanceItem', meta: { title: '维修项目管理', noCache: true } }, + { + path: '/maintenanceProjectRecord/maintenanceProjectRecord', + component: () => import('@/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecord.vue'), + name: 'MaintenanceProjectRecord', + meta: { title: '维修项目备案', noCache: true } + }, { path: '/additionitem/additionitem', component: () => import('@/views/basicinformation/additionitem/additionitem.vue'), @@ -558,7 +564,7 @@ export const constantRoutes = [{ component: () => import('@/views/basicinformation/claimantManufacturer/claimantManufacturer.vue'), name: 'ClaimantManufacturer', meta: { title: '索赔厂家管理', noCache: true } - }, + } ] }, @@ -794,6 +800,27 @@ export const constantRoutes = [{ import('@/views/workFlow/oldPartsFactoryFlow/oldPartsFactoryYiBan.vue'), name: 'OldPartsFactoryYiBan' }, + // 维修项目备案 -- 编辑 + { + path: '/weixiubeianFlow/maintenanceProjectRecordEdit', + component: () => + import('@/views/workFlow/weixiubeianFlow/maintenanceProjectRecordEdit.vue'), + name: 'MaintenanceProjectRecordEdit' + }, + // 维修项目备案 -- 待办 + { + path: '/weixiubeianFlow/maintenanceProjectRecordDaiBan', + component: () => + import('@/views/workFlow/weixiubeianFlow/maintenanceProjectRecordDaiBan.vue'), + name: 'MaintenanceProjectRecordDaiBan' + }, + // 维修项目备案 -- 已办 + { + path: '/weixiubeianFlow/maintenanceProjectRecordYiBan', + component: () => + import('@/views/workFlow/weixiubeianFlow/maintenanceProjectRecordYiBan.vue'), + name: 'MaintenanceProjectRecordYiBan' + }, // 404 page must be placed at the end !!! // { path: '*', redirect: '/404', hidden: true } ] diff --git a/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecord.vue b/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecord.vue new file mode 100644 index 0000000000..2d0904b681 --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecord.vue @@ -0,0 +1,326 @@ + + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + + + + + + + + 至 + + + + + 至 + + + + + 查询 + 重置 + + + + + + 维修项目备案申请列表 + + + + + + + + + + 办理 + 查看 + + + + + 待提交 + {{ scope.row.nodeState }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecordAdd.vue b/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecordAdd.vue new file mode 100644 index 0000000000..9cb9ff1fc1 --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecordAdd.vue @@ -0,0 +1,223 @@ + + + + + {{ viewTitle }} + + 保存 + 提交 + 关闭 + + + + + + + 申请部门 + {{ formobj.deptName }} + + + 申请人 + {{ formobj.createByName }} + + + 申请日期 + {{ formobj.createTime }} + + + + + 备注 + + + + + + 附件 + + + + + + 开票索赔单列表 + + + + + + + + + + + + + + {{ scope.row.isReserve == '1' ? '是' : scope.row.isReserve == '0' ? '否' : '' }} + + + + + {{ scope.row.isClean == '1' ? '是' : scope.row.isClean == '0' ? '否' : '' }} + + + + + + + + + + + + diff --git a/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecordInfo.vue b/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecordInfo.vue new file mode 100644 index 0000000000..4abd68ffda --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/maintenanceProjectRecord/maintenanceProjectRecordInfo.vue @@ -0,0 +1,146 @@ + + + + + {{ viewTitle }} + + 关闭 + + + + + + + 申请部门 + {{ formobj.deptName }} + + + 申请人 + {{ formobj.createByName }} + + + 申请日期 + {{ formobj.createTime }} + + + + + 备注 + {{ formobj.remarks }} + + + + + 附件 + + + + 开票索赔单列表 + + + + + + + + + + + + + + {{ scope.row.isReserve == '1' ? '是' : scope.row.isReserve == '0' ? '否' : '' }} + + + + + {{ scope.row.isClean == '1' ? '是' : scope.row.isClean == '0' ? '否' : '' }} + + + + + + + + + + + + diff --git a/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordDaiBan.vue b/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordDaiBan.vue new file mode 100644 index 0000000000..64d7c8d20e --- /dev/null +++ b/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordDaiBan.vue @@ -0,0 +1,413 @@ + + + + + {{ viewTitle }} + + 加 签 + 同 意 + 驳 回 + 终 止 + + + + + + + 申请部门 + {{ formobj.deptName }} + + + 申请人 + {{ formobj.createByName }} + + + 申请日期 + {{ formobj.createTime }} + + + + + 备注 + {{ formobj.remarks }} + + + + + 附件 + + + + 开票索赔单列表 + + + + + + + + + + + + + + {{ scope.row.isReserve == '1' ? '是' : scope.row.isReserve == '0' ? '否' : '' }} + + + + + {{ scope.row.isClean == '1' ? '是' : scope.row.isClean == '0' ? '否' : '' }} + + + + + + + + + + + + *加签人员: + + + + + + + + + + + + + 当前环节: + + + {{ current.taskName }}->{{ nextNode.name }} + + + + + 意见: + + + + + + + 确 定 + 取 消 + + + + + + + + + diff --git a/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordEdit.vue b/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordEdit.vue new file mode 100644 index 0000000000..08b1da4708 --- /dev/null +++ b/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordEdit.vue @@ -0,0 +1,196 @@ + + + + + {{ viewTitle }} + + 保存 + 提交 + + + + + + + 申请部门 + {{ formobj.deptName }} + + + 申请人 + {{ formobj.createByName }} + + + 申请日期 + {{ formobj.createTime }} + + + + + 备注 + + + + + + 附件 + + + + + + 开票索赔单列表 + + + + + + + + + + + + + + {{ scope.row.isReserve == '1' ? '是' : scope.row.isReserve == '0' ? '否' : '' }} + + + + + {{ scope.row.isClean == '1' ? '是' : scope.row.isClean == '0' ? '否' : '' }} + + + + + + + + + + + + diff --git a/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordYiBan.vue b/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordYiBan.vue new file mode 100644 index 0000000000..6c977193c8 --- /dev/null +++ b/yxt-as-ui/src/views/workFlow/weixiubeianFlow/maintenanceProjectRecordYiBan.vue @@ -0,0 +1,199 @@ + + + + + {{ viewTitle }} + + 撤回 + + + + + + + 申请部门 + {{ formobj.deptName }} + + + 申请人 + {{ formobj.createByName }} + + + 申请日期 + {{ formobj.createTime }} + + + + + 备注 + {{ formobj.remarks }} + + + + + 附件 + + + + 开票索赔单列表 + + + + + + + + + + + + + + {{ scope.row.isReserve == '1' ? '是' : scope.row.isReserve == '0' ? '否' : '' }} + + + + + {{ scope.row.isClean == '1' ? '是' : scope.row.isClean == '0' ? '否' : '' }} + + + + + + + + + + + +