Jelajahi Sumber

路径推送

mll 3 tahun lalu
induk
melakukan
52adb4baa9
2 mengubah file dengan 40 tambahan dan 0 penghapusan
  1. 33 0
      src/pages/main/gridDivision/workersList.vue
  2. 7 0
      src/router/index.js

+ 33 - 0
src/pages/main/gridDivision/workersList.vue

@@ -218,6 +218,39 @@ export default {
           dictionary: { 0: "待办", 1: "已办" },
         },
       ],
+      // 模态框内表数据
+      table_list_approve:[],
+      table_loading_approve:false,
+      // 模态框内表头配置
+      table_config_approve:[
+        {
+          label: "编号",
+          props: "number",
+        },
+        {
+          label: "流程环节",
+          props: "cpmName",
+        },
+        {
+          label: "处理人",
+          props: "person",
+        },
+        {
+          label: "处理工号",
+          props: "number",
+        },
+        {
+          label: "处理时间",
+          props: "createTime",
+          type: "date",
+        },
+        {
+          label: "审批意见",
+          props: "status",
+          type: "dictionary",
+          dictionary: { 0: "同意", 1: "不同意" },
+        },
+      ]
     };
   },
   methods: {

+ 7 - 0
src/router/index.js

@@ -1645,6 +1645,12 @@ const routes = [{
             name: 'knowledgeTypetop',
             component: (resolve) => require( /* webpackChunkName: "system" */ ['../pages/main/knowledgetop/knowledgeType'], resolve)
         },
+        {
+            meta: { name:  '工单列表', keepAlive: false },
+            path: '/workersList',
+            name: 'workersList',
+            component: (resolve) => require( /* webpackChunkName: "system" */['../pages/main/gridDivision/workersList.vue'], resolve)
+        },
     ]
 },
 {
@@ -1668,6 +1674,7 @@ router.beforeEach((to, from, next) => {
         // if (window.location.href.indexOf('?agileauthtoken=') == -1) {
         if (window.sessionStorage.agileauthtoken == undefined) {
             window.location.href = "http://10.230.26.15:8000/spfm/sysmgr/ssLogin?sysFlag=0";
+            // next()
             //window.location.href = "http://cas.hl.cmcc/cas/login?service=?service=http%3A%2F%2F10.230.26.15%3A8000%2Fspfm%2Fsysmgr%2FssLogin%3FsysFlag%3D0"
         } else {
             next()