|
@@ -13,24 +13,12 @@
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<h1>基础信息</h1>
|
|
<h1>基础信息</h1>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="12" v-if="buttonShow">
|
|
|
|
- <el-form-item label-width="180px" label="审核是否合格" >
|
|
|
|
- <el-radio-group v-model="form.state" style="width: 220px">
|
|
|
|
- <el-radio
|
|
|
|
- v-for="dict in stateArray"
|
|
|
|
- :key="dict.value"
|
|
|
|
- :label="dict.value"
|
|
|
|
- v-if="dict.value != '2'"
|
|
|
|
- >{{dict.label}}</el-radio>
|
|
|
|
- </el-radio-group>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
<el-form-item label="行政区" prop="district">
|
|
<el-form-item label="行政区" prop="district">
|
|
<el-select
|
|
<el-select
|
|
- :disabled="title == '添加用料' "
|
|
|
|
|
|
+ disabled="true"
|
|
v-model="form.district"
|
|
v-model="form.district"
|
|
placeholder="请选择行政区"
|
|
placeholder="请选择行政区"
|
|
filterable
|
|
filterable
|
|
@@ -49,7 +37,7 @@
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
<el-form-item label="小区" prop="areaId">
|
|
<el-form-item label="小区" prop="areaId">
|
|
<el-select
|
|
<el-select
|
|
- :disabled="title == '添加用料' "
|
|
|
|
|
|
+ disabled="true"
|
|
v-model="form.areaId"
|
|
v-model="form.areaId"
|
|
filterable
|
|
filterable
|
|
placeholder="请选择小区"
|
|
placeholder="请选择小区"
|
|
@@ -68,7 +56,7 @@
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
<el-form-item label="楼栋" prop="buildingId">
|
|
<el-form-item label="楼栋" prop="buildingId">
|
|
<el-select
|
|
<el-select
|
|
- :disabled="title == '添加用料' "
|
|
|
|
|
|
+ disabled="true"
|
|
filterable
|
|
filterable
|
|
v-model="form.buildingId"
|
|
v-model="form.buildingId"
|
|
placeholder="请选择楼栋"
|
|
placeholder="请选择楼栋"
|
|
@@ -87,7 +75,7 @@
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
<el-form-item label="单元" prop="unitId">
|
|
<el-form-item label="单元" prop="unitId">
|
|
<el-select
|
|
<el-select
|
|
- :disabled="title == '添加用料' "
|
|
|
|
|
|
+ disabled="true"
|
|
v-model="form.unitId"
|
|
v-model="form.unitId"
|
|
filterable
|
|
filterable
|
|
placeholder="请选择单元"
|
|
placeholder="请选择单元"
|
|
@@ -106,7 +94,7 @@
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
<el-form-item label="房间" prop="houseId">
|
|
<el-form-item label="房间" prop="houseId">
|
|
<el-select
|
|
<el-select
|
|
- :disabled="title == '添加用料' "
|
|
|
|
|
|
+ disabled="true"
|
|
v-model="form.houseId"
|
|
v-model="form.houseId"
|
|
filterable
|
|
filterable
|
|
placeholder="请选择房间"
|
|
placeholder="请选择房间"
|
|
@@ -157,24 +145,15 @@
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<el-form-item label-width="180px" label="照片" style="width: 100%">
|
|
<el-form-item label-width="180px" label="照片" style="width: 100%">
|
|
<ObsImageUpload
|
|
<ObsImageUpload
|
|
- :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
|
- ref="obsImageUpload"
|
|
|
|
- :limit="11"
|
|
|
|
- :fileType="['png', 'jpg', 'jpeg']"
|
|
|
|
- @input="getgasCylinderPic(arguments)"
|
|
|
|
- :value="form.gasCylinderPic"
|
|
|
|
- :disabled="status == 'read-only' "
|
|
|
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
|
+ ref="obsImageUpload"
|
|
|
|
+ :limit="11"
|
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
|
+ @input="getpressureTestPic(arguments)"
|
|
|
|
+ :value="form.pressureTestPic"
|
|
|
|
+ :disabled="status == 'read-only' "
|
|
></ObsImageUpload>
|
|
></ObsImageUpload>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
-
|
|
|
|
- <!--<el-form-item label-width="180px" label="照片" style="width: 100%">-->
|
|
|
|
- <!--<ObsFileUpload ref="obsFileUpload" :file-size="100"-->
|
|
|
|
- <!--:file-type="['png', 'jpg', 'jpeg','mp4']"-->
|
|
|
|
- <!--:limit="9999"-->
|
|
|
|
- <!--:value="form.gasCylinderPic"-->
|
|
|
|
- <!--@input="filesUpload"-->
|
|
|
|
- <!--></ObsFileUpload>-->
|
|
|
|
- <!--</el-form-item>-->
|
|
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
@@ -410,7 +389,6 @@
|
|
</el-row>
|
|
</el-row>
|
|
</el-form>
|
|
</el-form>
|
|
<div style="width: 25%; float: right;margin-top:2%" >
|
|
<div style="width: 25%; float: right;margin-top:2%" >
|
|
- <el-button :loading="buttonLoading" type="primary" @click="submitForm" v-if="!buttonLoading">提交</el-button>
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
<el-button @click="cancel">取 消</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -1138,6 +1116,7 @@ export default {
|
|
this.buildingHasChanged(newData.buildingId, newData.areaId)
|
|
this.buildingHasChanged(newData.buildingId, newData.areaId)
|
|
this.unitHasChanged(newData.unitId)
|
|
this.unitHasChanged(newData.unitId)
|
|
this.form = newData;
|
|
this.form = newData;
|
|
|
|
+ this.buttonLoading = true;
|
|
this.title = "查看开栓施工";
|
|
this.title = "查看开栓施工";
|
|
|
|
|
|
},
|
|
},
|