@@ -62,9 +62,11 @@
})
},
// 1巡点检 2保养
- ruleType: {
- type: Number,
- default: 1
+ ruleTypes: {
+ type: Array,
+ default: () => {
+ return [1, 2];
+ }
}
computed: {
@@ -241,7 +243,7 @@
size: limit,
...where,
...this.where,
- ruleType: this.ruleType
+ ruleTypes: this.ruleTypes
});
/* 刷新表格 */
@@ -63,6 +63,7 @@
type="primary"
class="ele-btn-icon"
@click="batchSettingMatter"
+ v-if="$hasPermission('main:producetaskrecordrules:batchsave')"
>
生产前生产后配置
</el-button>
@@ -125,6 +126,7 @@
:underline="false"
icon="el-icon-setting"
@click="openSettingMatterProcess(row)"
+ v-if="$hasPermission('main:produce_task:config_item')"
配置
</el-link>