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,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);

Loading…
Cancel
Save