|
@@ -183,6 +183,17 @@
|
|
</u-row>
|
|
</u-row>
|
|
<u-row>
|
|
<u-row>
|
|
<u-col>
|
|
<u-col>
|
|
|
|
+ <u-form-item label="是否开启伴热带" labelWidth="140" borderBottom ref="item1">
|
|
|
|
+ <u-radio-group v-model="form.isNotXtv" :disabled="type==1">
|
|
|
|
+ <u-radio @change="isNotXtv"
|
|
|
|
+ v-for="(item, index) in typelist.on_off" :key="index"
|
|
|
|
+ :name="item.dictValue">
|
|
|
|
+ {{item.dictLabel}}
|
|
|
|
+ </u-radio>
|
|
|
|
+ </u-radio-group>
|
|
|
|
+ </u-form-item>
|
|
|
|
+ </u-col>
|
|
|
|
+ <u-col>
|
|
<u-form-item label="伴热带" labelWidth="140" borderBottom ref="item1">
|
|
<u-form-item label="伴热带" labelWidth="140" borderBottom ref="item1">
|
|
<u-radio-group v-model="form.xtv" :disabled="type==1">
|
|
<u-radio-group v-model="form.xtv" :disabled="type==1">
|
|
<u-radio @change="xtv"
|
|
<u-radio @change="xtv"
|
|
@@ -268,7 +279,7 @@
|
|
</u-form-item>
|
|
</u-form-item>
|
|
</u-col>
|
|
</u-col>
|
|
<u-col span="2" v-if="form.cutterTested==1">
|
|
<u-col span="2" v-if="form.cutterTested==1">
|
|
- <viwe class="danwei" >Mpa</viwe>
|
|
|
|
|
|
+ <viwe class="danwei" >Kpa</viwe>
|
|
</u-col>
|
|
</u-col>
|
|
</u-row>
|
|
</u-row>
|
|
<view class="small-title">主副路交替部分</view>
|
|
<view class="small-title">主副路交替部分</view>
|
|
@@ -427,7 +438,7 @@
|
|
businessService:0,
|
|
businessService:0,
|
|
administrativeOffice:0,
|
|
administrativeOffice:0,
|
|
businessService:0,
|
|
businessService:0,
|
|
- isNotXtv:0,
|
|
|
|
|
|
+ isNotXtv:null,
|
|
appearance:0,
|
|
appearance:0,
|
|
squareBrick:0,
|
|
squareBrick:0,
|
|
foundation:0,
|
|
foundation:0,
|
|
@@ -551,6 +562,11 @@
|
|
message: "伴热带不能为空",
|
|
message: "伴热带不能为空",
|
|
trigger: "change"
|
|
trigger: "change"
|
|
}],
|
|
}],
|
|
|
|
+ isNotXtv: [{
|
|
|
|
+ required: true,
|
|
|
|
+ message: "是否开启伴热带不能为空",
|
|
|
|
+ trigger: "change"
|
|
|
|
+ }],
|
|
thermostat: [{
|
|
thermostat: [{
|
|
required: true,
|
|
required: true,
|
|
message: "有无控温器不能为空",
|
|
message: "有无控温器不能为空",
|
|
@@ -637,7 +653,7 @@
|
|
dictlist: ['appearance', 'square_brick', 'guardrail', 'foundation', 'pressure_gage', 'valve',
|
|
dictlist: ['appearance', 'square_brick', 'guardrail', 'foundation', 'pressure_gage', 'valve',
|
|
'voltage_regulator', 'xtv', 'disconnector_test_status', 'filter','cutoff_test_certification','secondary_roads',
|
|
'voltage_regulator', 'xtv', 'disconnector_test_status', 'filter','cutoff_test_certification','secondary_roads',
|
|
'special_case_of_pressure_regulating_facilities', 'overdue_inspection_days',
|
|
'special_case_of_pressure_regulating_facilities', 'overdue_inspection_days',
|
|
- 'reason_for_overdue_inspection', 'valve_well_condition', 'find_problem', 'xtv','administrative_office','yes_and_no','business_service','yes_or_no'
|
|
|
|
|
|
+ 'reason_for_overdue_inspection', 'valve_well_condition', 'find_problem', 'on_off','administrative_office','yes_and_no','business_service','yes_or_no'
|
|
],
|
|
],
|
|
type: 2,
|
|
type: 2,
|
|
id: null,
|
|
id: null,
|
|
@@ -923,11 +939,11 @@
|
|
this.$refs.form.reasonForOverdueInspection = e
|
|
this.$refs.form.reasonForOverdueInspection = e
|
|
console.log(e)
|
|
console.log(e)
|
|
},
|
|
},
|
|
|
|
+ isNotXtv(e) {
|
|
|
|
+ this.$refs.form.isNotXtv = e
|
|
|
|
+ },
|
|
xtv(e) {
|
|
xtv(e) {
|
|
this.$refs.form.xtv = e
|
|
this.$refs.form.xtv = e
|
|
- // this.form.xtv = e[0].value
|
|
|
|
- // this.xtvLabel = e[0].label
|
|
|
|
- // console.log(this.xtvLabel)
|
|
|
|
},
|
|
},
|
|
AdministrativeOffice(e)
|
|
AdministrativeOffice(e)
|
|
{
|
|
{
|
|
@@ -943,11 +959,14 @@
|
|
|
|
|
|
save() {
|
|
save() {
|
|
let _this = this
|
|
let _this = this
|
|
- if(this.imgArr.length==0)
|
|
|
|
- {
|
|
|
|
|
|
+ if(this.imgArr.length==0){
|
|
this.$UTILS.showPrompt('请上传照片或视频!')
|
|
this.$UTILS.showPrompt('请上传照片或视频!')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ if(this.form.isNotXtv==null){
|
|
|
|
+ this.$UTILS.showPrompt('请选择是否开启伴热带!')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.form.photoList = this.imgArr
|
|
this.form.photoList = this.imgArr
|
|
this.form.unitId = this.unit
|
|
this.form.unitId = this.unit
|
|
this.form.areaId = this.id
|
|
this.form.areaId = this.id
|
|
@@ -971,7 +990,7 @@
|
|
administrativeOffice:0,
|
|
administrativeOffice:0,
|
|
|
|
|
|
businessService:0,
|
|
businessService:0,
|
|
- isNotXtv:0,
|
|
|
|
|
|
+ isNotXtv:null,
|
|
appearance:0,
|
|
appearance:0,
|
|
squareBrick:0,
|
|
squareBrick:0,
|
|
foundation:0,
|
|
foundation:0,
|