Browse Source

平板策略违规处理优化

gzb
guozhongbo 7 months ago
parent
commit
031e49f638
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      src/views/schoolSection/strategy/publicStrategy.vue

+ 0
- 7
src/views/schoolSection/strategy/publicStrategy.vue View File

382
       this.padViolates.forEach((item) => {
382
       this.padViolates.forEach((item) => {
383
         if (item.violateType === row.violateType) {
383
         if (item.violateType === row.violateType) {
384
           item[key] = row[key];
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
       //true是自身的策略即编辑
631
       //true是自身的策略即编辑
637
       let hasSave =
632
       let hasSave =
638
         this.curClass.type === this.strategyInfo.sttype ? true : false;
633
         this.curClass.type === this.strategyInfo.sttype ? true : false;
639
-      console.log(this.curClass.type,this.strategyInfo.sttype)
640
       if (hasSave) {
634
       if (hasSave) {
641
         //编辑
635
         //编辑
642
         form.padid = this.strategyInfo.padid;
636
         form.padid = this.strategyInfo.padid;
643
         form.rversion = this.strategyInfo.rversion;
637
         form.rversion = this.strategyInfo.rversion;
644
       }
638
       }
645
       let api = hasSave ? stPad_edit : stPad_add;
639
       let api = hasSave ? stPad_edit : stPad_add;
646
-      console.log(hasSave)
647
       api(form).then((res) => {
640
       api(form).then((res) => {
648
         if (res.code === 0) {
641
         if (res.code === 0) {
649
           this.$Message.success(res.msg);
642
           this.$Message.success(res.msg);

Loading…
Cancel
Save