|
@@ -36,8 +36,8 @@
|
|
|
<p class="inquire-button-one" @click="planButton(2)"
|
|
|
style="font-size:14px;margin-left:20px;width:100px;" v-if="planList[0]">选择计划</p>
|
|
|
</div>
|
|
|
- <el-form-item label="检查类型" prop="checkCategory">
|
|
|
- <el-select :disabled="planType==2" v-model="addForm.checkCategory" placeholder="请选择检查类型"
|
|
|
+ <el-form-item label="检查类型" prop="checkCategory" >
|
|
|
+ <el-select :disabled="planType==2" v-model="addForm.checkCategory" @change="checkCategoryChange" placeholder="请选择检查类型"
|
|
|
style="width: 500px;height: 40px;">
|
|
|
<el-option
|
|
|
v-for="item in inspectCategoryList"
|
|
@@ -954,6 +954,16 @@
|
|
|
this.addForm.checkHazardInfoVoList=response.data
|
|
|
});
|
|
|
},
|
|
|
+ //专项检查选中
|
|
|
+ checkCategoryChange(){
|
|
|
+ console.log(this.addForm.checkCategory)
|
|
|
+ if(this.addForm.checkCategory==1){
|
|
|
+ this.pageType=0;
|
|
|
+ }else if(this.addForm.checkCategory==2){
|
|
|
+ this.pageType=1;
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
//计划列表选中
|
|
|
planChange(val){
|
|
|
let self = this;
|