heyang 1 vuosi sitten
vanhempi
commit
b259ffd0ea
1 muutettua tiedostoa jossa 46 lisäystä ja 46 poistoa
  1. 46 46
      src/views/comprehensive/message/noticeconfig/index.vue

+ 46 - 46
src/views/comprehensive/message/noticeconfig/index.vue

@@ -1,10 +1,10 @@
 <template>
   <div class="app-container noticeconfig">
     <div class="title-box">
-      <div class="title-min-box" :class="buttonType == 1 ? 'check-box' : ''" @click="titleButton(1)">
-        <p>检查通知</p>
-        <p></p>
-      </div>
+<!--      <div class="title-min-box" :class="buttonType == 1 ? 'check-box' : ''" @click="titleButton(1)">-->
+<!--        <p>检查通知</p>-->
+<!--        <p></p>-->
+<!--      </div>-->
       <div v-if="versionField() != 'xiBeiNongLinDaXue'"
         class="title-min-box" :class="buttonType == 2 ? 'check-box' : ''" @click="titleButton(2)">
         <p>预案通知</p>
@@ -12,44 +12,44 @@
       </div>
     </div>
     <div class="content-box scrollbar-box">
-      <el-form v-if="buttonType == 1" :model="examineForm" ref="examineForm" :inline="true" label-width="120px">
-        <div class="examine-big-box">
-          <div class="examine-div-one">
-            <p>检查任务通知方式:</p>
-            <el-checkbox :disabled="!tableButtonType" v-model="examineType" style="margin:1px 0 0 10px;" @change="examineAll">全选</el-checkbox>
-          </div>
-          <div class="examine-div-two">
-            <el-checkbox-group :disabled="!tableButtonType" v-model="examineForm.data1" @change="examineChange">
-              <el-checkbox style="margin-right:48px;"
-                v-for="item in examineList" :label="item.key" :key="item.key">{{item.label}}</el-checkbox>
-            </el-checkbox-group>
-          </div>
-        </div>
-        <div class="examine-big-box">
-          <div class="examine-div-one">
-            <p>整改通知方式:</p>
-            <el-checkbox :disabled="!tableButtonType" v-model="rectificationType" style="margin:1px 0 0 10px;" @change="rectificationAll">全选</el-checkbox>
-          </div>
-          <div class="examine-div-two">
-            <el-checkbox-group :disabled="!tableButtonType" v-model="examineForm.data2" @change="rectificationChange">
-              <el-checkbox style="margin-right:48px;"
-                v-for="item in rectificationList" :label="item.key" :key="item.key">{{item.label}}</el-checkbox>
-            </el-checkbox-group>
-          </div>
-        </div>
-        <div class="examine-big-box">
-          <div class="examine-div-one">
-            <p>复核结果通知方式:</p>
-            <el-checkbox :disabled="!tableButtonType" v-model="reviewType" style="margin:1px 0 0 10px;" @change="reviewAll">全选</el-checkbox>
-          </div>
-          <div class="examine-div-two">
-            <el-checkbox-group :disabled="!tableButtonType" v-model="examineForm.data3" @change="reviewChange">
-              <el-checkbox style="margin-right:48px;"
-                v-for="item in reviewList" :label="item.key" :key="item.key">{{item.label}}</el-checkbox>
-            </el-checkbox-group>
-          </div>
-        </div>
-      </el-form>
+<!--      <el-form v-if="buttonType == 1" :model="examineForm" ref="examineForm" :inline="true" label-width="120px">-->
+<!--        <div class="examine-big-box">-->
+<!--          <div class="examine-div-one">-->
+<!--            <p>检查任务通知方式:</p>-->
+<!--            <el-checkbox :disabled="!tableButtonType" v-model="examineType" style="margin:1px 0 0 10px;" @change="examineAll">全选</el-checkbox>-->
+<!--          </div>-->
+<!--          <div class="examine-div-two">-->
+<!--            <el-checkbox-group :disabled="!tableButtonType" v-model="examineForm.data1" @change="examineChange">-->
+<!--              <el-checkbox style="margin-right:48px;"-->
+<!--                v-for="item in examineList" :label="item.key" :key="item.key">{{item.label}}</el-checkbox>-->
+<!--            </el-checkbox-group>-->
+<!--          </div>-->
+<!--        </div>-->
+<!--        <div class="examine-big-box">-->
+<!--          <div class="examine-div-one">-->
+<!--            <p>整改通知方式:</p>-->
+<!--            <el-checkbox :disabled="!tableButtonType" v-model="rectificationType" style="margin:1px 0 0 10px;" @change="rectificationAll">全选</el-checkbox>-->
+<!--          </div>-->
+<!--          <div class="examine-div-two">-->
+<!--            <el-checkbox-group :disabled="!tableButtonType" v-model="examineForm.data2" @change="rectificationChange">-->
+<!--              <el-checkbox style="margin-right:48px;"-->
+<!--                v-for="item in rectificationList" :label="item.key" :key="item.key">{{item.label}}</el-checkbox>-->
+<!--            </el-checkbox-group>-->
+<!--          </div>-->
+<!--        </div>-->
+<!--        <div class="examine-big-box">-->
+<!--          <div class="examine-div-one">-->
+<!--            <p>复核结果通知方式:</p>-->
+<!--            <el-checkbox :disabled="!tableButtonType" v-model="reviewType" style="margin:1px 0 0 10px;" @change="reviewAll">全选</el-checkbox>-->
+<!--          </div>-->
+<!--          <div class="examine-div-two">-->
+<!--            <el-checkbox-group :disabled="!tableButtonType" v-model="examineForm.data3" @change="reviewChange">-->
+<!--              <el-checkbox style="margin-right:48px;"-->
+<!--                v-for="item in reviewList" :label="item.key" :key="item.key">{{item.label}}</el-checkbox>-->
+<!--            </el-checkbox-group>-->
+<!--          </div>-->
+<!--        </div>-->
+<!--      </el-form>-->
       <el-form v-if="buttonType == 2" :model="form" ref="form" :inline="true" label-width="120px">
         <el-form-item label="广播通知" prop="riskRadio" class="form-item-box">
           <el-input
@@ -123,7 +123,7 @@ export default {
   data() {
     return {
       tableButtonType:this.hasPermiDom(['security:notice:add']),
-      buttonType:1,
+      buttonType:2,
       // 遮罩层
       loading: true,
       // 选中数组
@@ -201,7 +201,7 @@ export default {
           key:'2',
         },
       ]);
-      this.noticeConfigList();
+      //this.noticeConfigList();
     }else{
       this.$set(this,'examineList',[
         {
@@ -231,7 +231,7 @@ export default {
           key:"3",
         },
       ]);
-      this.noticeConfigList();
+      //this.noticeConfigList();
       this.getList();
     }
   },
@@ -304,7 +304,7 @@ export default {
       list.push(obj3);
       noticeConfigAdd(list).then( response => {
         this.msgSuccess(response.msg);
-        this.noticeConfigList();
+        //this.noticeConfigList();
       })
     },
     // 匹配