瀏覽代碼

模板参数修改

Luolei 6 年之前
父節點
當前提交
69046674b1
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      src/components/icss/PubTemplateGroup.vue

+ 8 - 8
src/components/icss/PubTemplateGroup.vue

@@ -145,10 +145,10 @@ export default {
       if(newVal != preVal){
         if(newVal == 1){
           let tmpDeptDTOS = this.deptDis.deptDTOS
-          let obj = {id:-1,name:'通用'}
-          if(tmpDeptDTOS[0].id != 0){
-            tmpDeptDTOS.unshift(obj)
-          }
+          // let obj = {id:-1,name:'通用'}
+          // if(tmpDeptDTOS[0].id != 0){
+          //   tmpDeptDTOS.unshift(obj)
+          // }
           this.sonLis = tmpDeptDTOS
           if(!this.form.id){
             this.form.region4 = ''
@@ -156,10 +156,10 @@ export default {
           }
         }else if(newVal == 2){
           let tmpDisDTOS = this.deptDis.disDTOS
-          let obj = {id:-1,name:'通用'}
-          if(tmpDisDTOS[0].id != 0){
-            tmpDisDTOS.unshift(obj)
-          }
+          // let obj = {id:-1,name:'通用'}
+          // if(tmpDisDTOS[0].id != 0){
+          //   tmpDisDTOS.unshift(obj)
+          // }
           this.sonLis = tmpDisDTOS
           if(!this.form.id){
             this.form.region4 = ''