linwenxin 1 yıl önce
ebeveyn
işleme
e3f975b3c0
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      src/components/template/template-page-1.vue

+ 4 - 4
src/components/template/template-page-1.vue

@@ -31,10 +31,12 @@ import { dictListDict } from '@/api/dataDictionary.js'
 import { zfireParamList, zfireParamSave, zfireParamDelete } from '@/api/zfireParam.js'
 import SelExportColumnList from './sel-export-column-list.vue'
 import selectData from './selectData.js'
+import operation_mixin from '@/components/template/operation_mixin.js'
 export default {
   components: {
     SelExportColumnList
   },
+  mixins: [operation_mixin],
   props: {
     ellipsis: {
       type: Boolean,
@@ -145,12 +147,10 @@ export default {
       evens: this.exportList
         ? [
           [
-            {
-              isRole: this.$restrict('export'),
-              name: '导出',
+            this.optionsEvensAuth("export", {
               click: this.export,
               loading: false
-            }
+            })
           ]
         ]
         : [],