|
@@ -79,7 +79,11 @@
|
|
|
<el-button size="mini" type="text" @click="lookDetail(scope.row)"
|
|
|
>详情
|
|
|
</el-button>
|
|
|
- <el-button size="mini" type="text" @click="removeRule(scope.row)" :disabled="scope.row.id == '1'"
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ @click="removeRule(scope.row)"
|
|
|
+ :disabled="scope.row.id == '1'"
|
|
|
>删除
|
|
|
</el-button>
|
|
|
</template>
|
|
@@ -308,7 +312,7 @@
|
|
|
@click="
|
|
|
confirmLoading = false;
|
|
|
openAllocation = false;
|
|
|
- formBroadcast = {};
|
|
|
+ formBroadcast = { ruleDetails: [], ruleType: '1' };
|
|
|
"
|
|
|
>取 消</el-button
|
|
|
>
|
|
@@ -535,7 +539,7 @@ export default {
|
|
|
this.$refs.formBroadcast.clearValidate();
|
|
|
}, 0);
|
|
|
this.$set(this.formBroadcast, "ruleDetails", []);
|
|
|
- this.$set(this.formBroadcast, "ruleType", '1');
|
|
|
+ this.$set(this.formBroadcast, "ruleType", "1");
|
|
|
},
|
|
|
|
|
|
/** 修改按钮操作 */
|