diff --git a/client/src/router/index.js b/client/src/router/index.js index e8814f1..5852d8c 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -171,6 +171,13 @@ export const asyncRoutes = [ component: () => import('@/views/qualityinspect/inspeatTask.vue'), meta: { title: '巡查任务', perms: ['qualityinspect_view'] } }, + { + path: 'inpecttaskdo/:id', + name: 'InpectTaskdo', + component: () => import('@/views/qualityinspect/inspecttaskdo.vue'), + meta: { title: '报送任务执行', perms: ['task_view'] }, + hidden: true + }, ] }, { diff --git a/client/src/views/qualityinspect/inspeatTask.vue b/client/src/views/qualityinspect/inspeatTask.vue index 021703d..7c8e01a 100644 --- a/client/src/views/qualityinspect/inspeatTask.vue +++ b/client/src/views/qualityinspect/inspeatTask.vue @@ -202,7 +202,7 @@ export default { }, handleDo(scope) { - this.$router.push({name: "Taskdo", params: { id: scope.row.id }, }) + this.$router.push({name: "InpectTaskdo", params: { id: scope.row.id }, }) }, handleEdit(scope) { this.task = Object.assign({}, scope.row); // copy obj diff --git a/client/src/views/qualityinspect/inspectTable.vue b/client/src/views/qualityinspect/inspectTable.vue index 65c573c..cb60640 100644 --- a/client/src/views/qualityinspect/inspectTable.vue +++ b/client/src/views/qualityinspect/inspectTable.vue @@ -16,21 +16,21 @@ max-height="600" > - + {{ scope.row.cate_name }} - + {{ scope.row.sortnum }} - + {{ scope.row.name }} - + {{ scope.row.type }} - + {{ scope.row.require }} diff --git a/client/src/views/qualityinspect/inspecttaskdo.vue b/client/src/views/qualityinspect/inspecttaskdo.vue new file mode 100644 index 0000000..5f6d0b6 --- /dev/null +++ b/client/src/views/qualityinspect/inspecttaskdo.vue @@ -0,0 +1,354 @@ + + + + + 任务详情 + + + + + + 任务名称: + {{ task.name }} + + + + + 巡检开始日期: + {{ task.start_date }} + + + + + 巡检结束日期: + {{ task.end_date }} + + + + + 创建人: + + {{ task.create_by_.name }}/ + {{ + task.belong_dept_.name + }} + + + + + + + + + + + + + 子任务列表 + + + + + + + {{ scope.row.content_name }} + + + + {{ + scope.row.state + }} + {{ scope.row.state }} + {{ + scope.row.state + }} + {{ + scope.row.state + }} + + + + {{ scope.row.note }} + + + + 是 + 否 + + + + {{ scope.row.up_user_.name }}/{{ scope.row.up_date }} + + + {{ scope.row.noteb}} + + + + 有 + {{ scope.row.files.length }} + 个文件 + + {{ + item.name + }} + + + + + + 编辑 + 报送 + 确认 + 驳回 + 查看 + 删除 + + + + + + + + + + + + + + \ No newline at end of file