zouyu
2023-12-21 a48ded866d223f581944ea9043df1b296b3425e3
src/views/plan/operationtask/index.vue
@@ -43,7 +43,9 @@
          >
            货盘运输
          </el-button>
          <el-button style="margin-left:10px" @click="openTaskOrder">
          <el-button
          v-if="permissions.operationTask_operationtask_priority"
          style="margin-left:10px" @click="openTaskOrder">
            优先级
          </el-button>
        </template>
@@ -476,15 +478,7 @@
          }
        ],
        toolbar: [],
        operator: [
          {
            text: '删除',
            icon: 'el-icon-delete',
            type: 'text',
            size: 'small',
            fun: this.deleteHandle
          }
        ],
        operator: null,
        operatorConfig: {
          fixed: 'right',
          label: '操作',
@@ -539,6 +533,17 @@
    taskOrderDialog
  },
  created() {
    if(this.permissions.operationTask_operationtask_del){
      this.table.operator = [
          {
            text: '删除',
            icon: 'el-icon-delete',
            type: 'text',
            size: 'small',
            fun: this.deleteHandle
          }
        ]
    }
    this.getManufactureAttrs()
  },
  mounted() {