|
@@ -382,11 +382,6 @@ export default {
|
382
|
382
|
this.padViolates.forEach((item) => {
|
383
|
383
|
if (item.violateType === row.violateType) {
|
384
|
384
|
item[key] = row[key];
|
385
|
|
- if (!item.checked) {
|
386
|
|
- item.noticed = false;
|
387
|
|
- item.handleMethod = "";
|
388
|
|
- this.$forceUpdate();
|
389
|
|
- }
|
390
|
385
|
}
|
391
|
386
|
});
|
392
|
387
|
},
|
|
@@ -636,14 +631,12 @@ export default {
|
636
|
631
|
//true是自身的策略即编辑
|
637
|
632
|
let hasSave =
|
638
|
633
|
this.curClass.type === this.strategyInfo.sttype ? true : false;
|
639
|
|
- console.log(this.curClass.type,this.strategyInfo.sttype)
|
640
|
634
|
if (hasSave) {
|
641
|
635
|
//编辑
|
642
|
636
|
form.padid = this.strategyInfo.padid;
|
643
|
637
|
form.rversion = this.strategyInfo.rversion;
|
644
|
638
|
}
|
645
|
639
|
let api = hasSave ? stPad_edit : stPad_add;
|
646
|
|
- console.log(hasSave)
|
647
|
640
|
api(form).then((res) => {
|
648
|
641
|
if (res.code === 0) {
|
649
|
642
|
this.$Message.success(res.msg);
|