Kaynağa Gözat

排程设置权限

wyh 4 ay önce
ebeveyn
işleme
53d81b3d02

+ 7 - 0
src/views/module_interLock/baseScheduleSet/BaseScheduleSetList.vue

@@ -121,6 +121,7 @@
   import { getAction } from '@/api/manage'
   import { JeecgListMixin } from '@/mixins/JeecgListMixin'
   import JEllipsis from "@/components/jeecg/JEllipsis";
+  import { colAuthFilter } from "@/utils/authFilter"
 
   export default {
     name: "BaseScheduleSetList",
@@ -204,6 +205,12 @@
         },
       }
     },
+    created() {
+      this.disableMixinCreated=true;
+      this.columns = colAuthFilter(this.columns,'scheduleSet:');
+      this.loadData();
+      this.initDictConfig();
+    },
     computed: {
       importExcelUrl: function () {
         return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;