xiaodai2022 2 jaren geleden
bovenliggende
commit
bafcafa8d4
2 gewijzigde bestanden met toevoegingen van 36 en 4 verwijderingen
  1. 33 1
      src/views/process/columns.js
  2. 3 3
      src/views/process/done/index.vue

+ 33 - 1
src/views/process/columns.js

@@ -215,7 +215,39 @@ const columns = [
     width: "50",
   }
 ]
+const doneColumns=[
+  {
+    prop: "order_code",
+    label: "业务编号",
+  },
+  {
+    prop: "process_name",
+    label: "流程名称",
+  },
+  {
+    prop: "status_name",
+    label: "流程状态",
 
+  },
+  {
+    prop: "apply_name",
+    label: "申请人",
+  },
+
+
+  {
+    prop: "addtime",
+    label: "申请时间",
+  },
+  {
+    prop: "",
+    label: "操作",
+    fixed: "right",
+    _noset_: true,
+    _slot_: "operation",
+    width: "50",
+  }
+]
 const readUnRead =[
   {
     type: "selection",
@@ -273,4 +305,4 @@ const readUnRead =[
 ]
 
 
-export { routerList, columns,readUnRead }
+export { routerList, columns,doneColumns,readUnRead }

+ 3 - 3
src/views/process/done/index.vue

@@ -5,7 +5,7 @@
       v-if="powers.some((i) => i == '001')"
       :table="table"
       :data="tableData"
-      :columns="columns"
+      :columns="doneColumns"
       :page="pageInfo"
       :size="size"
       @page-curr-change="handlePageChange"
@@ -112,7 +112,7 @@ import asyncRequest from "@/apis/service/process/done";
 import mixinPage from "@/mixins/elPaginationHandle";
 import { mapGetters } from "vuex";
 import resToken from "@/mixins/resToken";
-import { routerList, columns } from "@/views/process/columns";
+import { routerList, doneColumns } from "@/views/process/columns";
 export default {
   name: "done",
   mixins: [mixinPage, resToken],
@@ -153,7 +153,7 @@ export default {
         total: 0,
       },
       // 表格 - 列参数
-      columns: columns.filter(({_slot_}) => _slot_ !== 'current_handle_name'),
+      doneColumns,
     };
   },
   mounted() {