|
@@ -39,7 +39,7 @@
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="工程名称" prop="enginName">
|
|
|
- <el-input v-model="queryParams.enginName" placeholder="请填写工程名称" maxlength="60" :disabled="title == '添加用料' "></el-input>
|
|
|
+ <el-input v-model="queryParams.enginName" placeholder="请填写工程名称" maxlength="60" :disabled="title == '添加用料' || title == '修改顶管信息'"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -90,6 +90,23 @@
|
|
|
<el-input v-model="queryParams.constructSchedule" placeholder="请填写施工进度" maxlength="50" :disabled="title == '添加用料' "/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="行政区" prop="district">
|
|
|
+ <el-select
|
|
|
+ style="width: 100%"
|
|
|
+ v-model="queryParams.district"
|
|
|
+ placeholder="请选择行政区"
|
|
|
+ filterable
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="e in dict.type.district"
|
|
|
+ :key="e.value"
|
|
|
+ :label="e.label"
|
|
|
+ :value="e.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="12">-->
|
|
|
<!-- <el-form-item label="备注" prop="remark">-->
|
|
|
<!-- <el-input-->
|
|
@@ -168,7 +185,7 @@ export default {
|
|
|
EngineeNode,
|
|
|
EnginNodeInfo
|
|
|
},
|
|
|
- dicts: ['pipe_jack'],
|
|
|
+ dicts: ['pipe_jack', 'district'],
|
|
|
data() {
|
|
|
return {
|
|
|
// 按钮loading
|
|
@@ -367,13 +384,14 @@ export default {
|
|
|
this.$refs.obsFileUpload.fileList=this.queryParams.files
|
|
|
}
|
|
|
},
|
|
|
- async openDialog(data, type,sata) {
|
|
|
+ async openDialog(data, type ,sata) {
|
|
|
await this.reset();
|
|
|
this.currentCheckList=[]
|
|
|
this.currentType = type
|
|
|
if (this.currentType == 'add') {
|
|
|
this.title = '新增顶管信息'
|
|
|
this.queryParams.enginId = data.id
|
|
|
+ this.queryParams.district = data.district
|
|
|
} else if (this.currentType == 'put') {
|
|
|
this.title = '修改顶管信息'
|
|
|
} else if (this.currentType == 'addMaterial') {
|