소스 검색

修改字典

JX.Li 1 년 전
부모
커밋
950fee859d
3개의 변경된 파일271개의 추가작업 그리고 283개의 파일을 삭제
  1. 1 4
      src/api/zdsz/enginee.js
  2. 244 253
      src/views/zdsz/engineeringCivil/index.vue
  3. 26 26
      src/views/zdsz/engineeringInfrastructure/index.vue

+ 1 - 4
src/api/zdsz/enginee.js

@@ -159,10 +159,7 @@ export function detailEngineeringPipeJacking({id ,type}) {
 
 // 查询民用工程列表
 export function getEngineeringCivil() {
-    return request({
-        url: `/zdsz/engineeringCivil/list`,
-        method: 'get',
-    })
+
 }
 
 // 新增民用工程

+ 244 - 253
src/views/zdsz/engineeringCivil/index.vue

@@ -154,7 +154,8 @@
             type="text"
             icon="el-icon-edit"
             @click="addNewPipe(scope.row)"
-          >新增顶管工程</el-button>
+          >新增顶管工程
+          </el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -168,132 +169,149 @@
     />
     <EngineePipe ref="enginPipe"/>
     <!-- 添加或修改民用工程对话框 -->
-    <el-dialog :title="title" :visible.sync="open" append-to-body customClass="appendElDialog">
+    <el-dialog :title="title" :visible.sync="open" width="500" append-to-body>
       <el-form ref="form" :model="queryParams" :rules="rules" label-width="110px">
-        <el-form-item label="行政区" prop="district">
-          <el-select
-            v-model="queryParams.district"
-            placeholder="请选择行政区"
-            @change="districtHasChanged"
-          >
-            <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-form-item label="小区" prop="areaId">
-          <el-select
-            v-model="queryParams.areaId"
-            placeholder="请选择小区"
-            @change="communityHasChanged"
-          >
-            <el-option
-              v-for="e in communityOptions"
-              :key="e.id"
-              :label="e.name"
-              :value="e.id"
-            ></el-option>
-          </el-select>
-        </el-form-item>
-        <el-form-item label="楼栋" prop="buildingId">
-          <el-select
-            v-model="queryParams.buildingId"
-            placeholder="请选择楼栋"
-            @change="buildingHasChanged"
-          >
-            <el-option
-              v-for="e in buildingOptions"
-              :key="e.id"
-              :label="e.name"
-              :value="e.id"
-            ></el-option>
-          </el-select>
-        </el-form-item>
-        <el-form-item label="单元" prop="unitId">
-          <el-select
-            v-model="queryParams.unitId"
-            placeholder="请选择单元"
-            @change="unitHasChanged"
-          >
-            <el-option
-              v-for="e in unitOptions"
-              :key="e.id"
-              :label="e.name"
-              :value="e.id"
-            ></el-option>
-          </el-select>
-        </el-form-item>
-        <el-form-item label="房间" prop="houseId">
-          <el-select
-            v-model="queryParams.houseId"
-            placeholder="请选择房间"
-          >
-            <el-option
-              v-for="e in houseOptions"
-              :key="e.id"
-              :label="e.name"
-              :value="e.id"
-            ></el-option>
-          </el-select>
-        </el-form-item>
-        <!-- <el-form-item label="工程类型" prop="enginType">
-          <el-select
-              v-model="queryParams.enginType"
-              placeholder="请选择工程类型"
-              @change="enginTypeHasChanged"
+
+        <el-row>
+          <el-col :span="12">
+            <el-form-item label="行政区" prop="district">
+              <el-select
+                v-model="queryParams.district"
+                placeholder="请选择行政区"
+                @change="districtHasChanged"
+              >
+                <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="areaId">
+              <el-select
+                v-model="queryParams.areaId"
+                placeholder="请选择小区"
+                @change="communityHasChanged"
+              >
+                <el-option
+                  v-for="e in communityOptions"
+                  :key="e.id"
+                  :label="e.name"
+                  :value="e.id"
+                ></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+        </el-row>
+        <el-row>
+          <el-col :span="12">
+            <el-form-item label="楼栋" prop="buildingId">
+              <el-select
+                v-model="queryParams.buildingId"
+                placeholder="请选择楼栋"
+                @change="buildingHasChanged"
+              >
+                <el-option
+                  v-for="e in buildingOptions"
+                  :key="e.id"
+                  :label="e.name"
+                  :value="e.id"
+                ></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="单元" prop="unitId">
+              <el-select
+                v-model="queryParams.unitId"
+                placeholder="请选择单元"
+                @change="unitHasChanged"
               >
-            <el-option
-              v-for="e in enginTypeOption"
-              :key="e.value"
-              :label="e.label"
-              :value="e.value"
-            ></el-option>
-          </el-select>
-        </el-form-item> -->
-        <!-- <el-form-item label="工程类型">
-          <el-cascader
-            v-model="value"
-            :options="options"
-            @change="currentEnginTypeChange">
-          </el-cascader>
-        </el-form-item>
-        <el-form-item label="工程节点">
-          <el-select
-            v-model="enginClassification"
-            placeholder="请选择工程节点"
-          >
-            <el-option
-              v-for="e in enginClassificationOption"
-              :key="e.value"
-              :label="e.label"
-              :value="e.value"
-            ></el-option>
-          </el-select>
-        </el-form-item> -->
-        <el-form-item label="工程周期" prop="enginCycle">
-          <el-select
-            v-model="queryParams.enginCycle"
-            placeholder="请填写工程周期"
-          >
-            <el-option
-              v-for="e in dict.type.engin_cycle"
-              :key="e.value"
-              :label="e.label"
-              :value="e.value"
-            ></el-option>
-          </el-select>
-        </el-form-item>
-        <!-- <el-form-item label="备注" prop="remark">
-          <el-input
-            v-model="queryParams.remark"
-            type="textarea"
-            placeholder="请输入内容"
-            class="remark_input"
-            />
-        </el-form-item> -->
+                <el-option
+                  v-for="e in unitOptions"
+                  :key="e.id"
+                  :label="e.name"
+                  :value="e.id"
+                ></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+        </el-row>
+        <el-row>
+          <el-col :span="12">
+            <el-form-item label="房间" prop="houseId">
+              <el-select
+                v-model="queryParams.houseId"
+                placeholder="请选择房间"
+              >
+                <el-option
+                  v-for="e in houseOptions"
+                  :key="e.id"
+                  :label="e.name"
+                  :value="e.id"
+                ></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="工程类型" prop="enginType">
+              <el-select
+                v-model="queryParams.enginType"
+                placeholder="请选择工程类型"
+                @change="enginTypeHasChanged"
+              >
+                <el-option
+                  v-for="e in enginTypeOption"
+                  :key="e.value"
+                  :label="e.label"
+                  :value="e.value"
+                ></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+        </el-row>
+        <el-row>
+          <el-col :span="12">
+            <el-form-item label="工程分类" prop="currentEnginTypeChange">
+              <el-select
+                v-model="queryParams.currentEnginTypeChange"
+                placeholder="请选择工程分类"
+              >
+                <el-option
+                  v-for="e in currentEnginTypeChangeOptions"
+                  :key="e.dictValue"
+                  :label="e.dictLabel"
+                  :value="e.dictValue"
+                ></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="工程周期" prop="enginCycle">
+              <el-select
+                v-model="queryParams.enginCycle"
+                placeholder="请填写工程周期"
+                @change="q"
+              >
+                <el-option
+                  v-for="e in dict.type.engin_cycle"
+                  :key="e.value"
+                  :label="e.label"
+                  :value="e.value"
+                ></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+        </el-row>
+        <el-tabs type="border-card">
+          <el-tab-pane label="用户管理">用户管理</el-tab-pane>
+          <el-tab-pane label="配置管理">配置管理</el-tab-pane>
+          <el-tab-pane label="角色管理">角色管理</el-tab-pane>
+          <el-tab-pane label="定时任务补偿">定时任务补偿</el-tab-pane>
+        </el-tabs>
       </el-form>
       <div slot="footer" class="dialog-footer">
         <!-- <el-button :loading="buttonLoading" type="primary" @click="submitForm">确定</el-button> -->
@@ -331,8 +349,10 @@ import {getUnits} from "@/api/zdsz/unit";
 import EngineeNode from '@/components/EngineeNode/index'
 import EngineePipe from "@/components/EngineePipe"
 import {resetForm} from "@/utils/ruoyi";
+import {getDicts} from "@/api/system/dict/data";
+
 export default {
-  components:{
+  components: {
     EngineeNode,
     EngineePipe
   },
@@ -342,60 +362,31 @@ export default {
     'is_repair',
     'engin_type',
     'self_closing_valve_type',
-    'visit_type','district',
+    'visit_type', 'district',
     'new_built_indoor_engin',
     "old_renovation_indoor_engin",
-    "old_renovation_courtyard_engin",
+    "old_renovation_courtyard",
     "old_renovation_overhead",
     "new_built_indoor_engin",
-    "new_built_courtyard_engin",
+    "new_built_courtyard",
     "new_built_overhead",
     "engin_cycle"],
   data() {
     return {
-      enginClassificationinfo:'',
-      enginClassification:'',
-      enginClassificationOption:[],
-      options: [
+      enginClassificationinfo: '',
+      enginClassification: '',
+      enginClassificationOption: [],
+      enginTypeOption: [
         {
           value: 'old_renovation',
-          label: '旧改',
-          children: [
-            {
-              value: 'old_renovation_indoor_engin',
-              label: '室内',
-
-            },
-            {
-              value: 'old_renovation_courtyard_engin',
-              label: '庭院',
-            },
-            {
-              value: 'old_renovation_overhead',
-              label: '架空',
-            }
-          ]
-        },
-        {
+          label: '旧改'
+        }, {
           value: 'new_built',
-          label: '新建',
-          children: [
-            {
-              value: 'new_built_indoor_engin',
-              label: '室内',
-
-            },
-            {
-              value: 'new_built_courtyard_engin',
-              label: '庭院',
-            },
-            {
-              value: 'new_built_overhead',
-              label: '架空',
-            }
-          ]
+          label: '新建'
         },
       ],
+      currentEnginTypeChangeOptions: [],
+
       // 按钮loading
       buttonLoading: false,
       // 遮罩层
@@ -447,7 +438,7 @@ export default {
           }
         }
       },
-      queryParams1:{
+      queryParams1: {
         pageNum: 1,
         pageSize: 10,
         district: undefined,
@@ -461,22 +452,22 @@ export default {
         completionStatus: undefined,
         imgUrl: undefined,
       },
-      zEngineeringInfoBo:{
-        constructAddre:'',        // 施工地址
-        constructPhone:'',        // 施工人电话
-        constructUser:'',         // 施工人
-        headName:'',              // 负责人
-        headPhone:'',             // 负责人电话
-        constructAccordingDrawings:'', // 是否按图纸施工
-        segmentedCompressionQualified:'', // 分段打压是否合格
-        selfClosingValveType:'',          // 自闭阀类型
-        visitType:'',                     // 上门类型
-        backfillTime:'',                  // 回填时间
-        constructTime:'',                  // 施工时间
-        zEngiineeringPhotoBoList:[],              // 图片列表
-        zEngineeringMaterialBo:[],// 用料对象
+      zEngineeringInfoBo: {
+        constructAddre: '',        // 施工地址
+        constructPhone: '',        // 施工人电话
+        constructUser: '',         // 施工人
+        headName: '',              // 负责人
+        headPhone: '',             // 负责人电话
+        constructAccordingDrawings: '', // 是否按图纸施工
+        segmentedCompressionQualified: '', // 分段打压是否合格
+        selfClosingValveType: '',          // 自闭阀类型
+        visitType: '',                     // 上门类型
+        backfillTime: '',                  // 回填时间
+        constructTime: '',                  // 施工时间
+        zEngiineeringPhotoBoList: [],              // 图片列表
+        zEngineeringMaterialBo: [],// 用料对象
       },
-      nodeList:[],
+      nodeList: [],
       // 表单参数
       form: {},
       value: [],
@@ -522,16 +513,15 @@ export default {
       areaList: [],
       buildingList: [],
       unitList: [],
-      currentDistrict:null,       // 当前行政区
-      currentCommunity:null,      // 当前小区
-      currentBuilding:null,       // 当前楼宇
-      currentUnit:null,           // 当前单元
-      communityOptions:[
-      ],
-      buildingOptions:[],         // 楼栋集合
-      unitOptions:[],             // 单元集合
-      houseOptions:[],            // 房间集合
-      enginClassification_list:[]// 室内节点
+      currentDistrict: null,       // 当前行政区
+      currentCommunity: null,      // 当前小区
+      currentBuilding: null,       // 当前楼宇
+      currentUnit: null,           // 当前单元
+      communityOptions: [],
+      buildingOptions: [],         // 楼栋集合
+      unitOptions: [],             // 单元集合
+      houseOptions: [],            // 房间集合
+      enginClassification_list: []// 室内节点
     };
   },
   created() {
@@ -540,23 +530,24 @@ export default {
   mounted() {
   },
   methods: {
-    // 新增顶管工程
-    addNewPipe(data) {
-      this.$refs.enginPipe.openDialog({
-        id: data.id,
-        type: this.form.zEngineeringNodeBo.type
-      }, 'add')
-    },
-    currentEnginTypeChange(val){
+
+    // // 新增顶管工程
+    // addNewPipe(data) {
+    //   this.$refs.enginPipe.openDialog({
+    //     id: data.id,
+    //     type: this.form.zEngineeringNodeBo.type
+    //   }, 'add')
+    // },
+    currentEnginTypeChange(val) {
       const enginDict = val[1]
       const enginType = val[0]
       this.queryParams.enginType = enginType
-      this.enginClassification=enginDict
+      this.enginClassification = enginDict
       this.enginClassificationOption = this.dict.type[enginDict]
       console.log(this.value)
     },
     // 当前所选行政区发生改变 查询当前小区集合
-    districtHasChanged(district){
+    districtHasChanged(district) {
       this.queryParams.areaId = null
       this.queryParams.buildingId = null
       this.queryParams.unitId = null
@@ -565,34 +556,34 @@ export default {
       })
     },
     // 当前所选小区发生改变 查询当前楼栋集合
-    communityHasChanged(areaId){
+    communityHasChanged(areaId) {
       this.queryParams.buildingId = null
       this.queryParams.unitId = null
       getBuildingList({areaId}).then(res => {
         this.buildingOptions = res.data
       })
     },
-    buildingHasChanged(buildingId){
+    buildingHasChanged(buildingId) {
       console.log(buildingId)
       this.queryParams.unitId = null
       getUnitList({buildingId}).then(res => {
         this.unitOptions = res.data
       })
     },
-    unitHasChanged(unitId){
+    unitHasChanged(unitId) {
       getHousesList({unitId}).then(res => {
         console.log(res)
         this.houseOptions = res.data
       })
     },
-    enginTypeHasChanged(val){
-      if(val == 'old_renovation'){
-
-      }else if(val == 'new_built'){
-
-      }
+    enginTypeHasChanged() {
+      this.queryParams.currentEnginTypeChange = undefined
+      this.currentEnginTypeChangeOptions = []
+      getDicts(this.queryParams.enginType).then(res => {
+        this.currentEnginTypeChangeOptions = res.data
+      })
     },
-    closeToSucceed(){
+    closeToSucceed() {
       this.open = false;
     },
     getAreaList(district) {
@@ -646,7 +637,7 @@ export default {
         updateBy: undefined,
         updateTime: undefined
       };
-      this.queryParams= {
+      this.queryParams = {
         district: undefined,
         areaId: undefined,
         buildingId: undefined,
@@ -676,7 +667,7 @@ export default {
         //   }
         // },
       }
-      this.enginClassification=null
+      this.enginClassification = null
       this.resetForm("form");
     },
     /** 搜索按钮操作 */
@@ -696,20 +687,20 @@ export default {
       this.multiple = !selection.length
     },
     // 新增顶管工程
-    addNewPipe(data){
+    addNewPipe(data) {
       this.$refs.enginPipe.openDialog({
-        id:data.id
-      },'add')
+        id: data.id
+      }, 'add')
     },
-    nodeCancel(){
+    nodeCancel() {
       this.nodeDetailVisible = false
     },
-    toNodeDetail(){
-      getDictList({enginType:['new_built','old_renovation']}).then(res => {
+    toNodeDetail() {
+      getDictList({enginType: ['new_built', 'old_renovation']}).then(res => {
         this.nodeList = res.data
 
-        if(this.currentType == 'put'){
-          this.$refs.childNode.open(this.queryParams,16)
+        if (this.currentType == 'put') {
+          this.$refs.childNode.open(this.queryParams, 16)
           this.currentType = null
           return
         }
@@ -720,10 +711,10 @@ export default {
         // this.queryParams.zEngineeringNodeBo.type = this.enginClassification
         // this.queryParams.enginClassification = result
         // console.log(this.queryParams)
-        this.$refs.childNode.open(this.queryParams,0,this.nodeList)
+        this.$refs.childNode.open(this.queryParams, 0, this.nodeList)
         return
         this.$refs['form'].validate(e => {
-          if(e){
+          if (e) {
             this.nodeDetailVisible = true
           }
         })
@@ -738,7 +729,7 @@ export default {
     /** 修改按钮操作 */
     handleUpdate(row) {
       this.loading = true;
-     // this.reset();
+      // this.reset();
       const id = row.id || this.ids
       // getEngineeringCivil(id).then(response => {
       //   this.loading = false;
@@ -753,32 +744,27 @@ export default {
         console.log(newData)
         console.log(res.data.zEngineeringNodeBoList[0].type)
         let zEngineeringNodeBo = {
-          type:res.data.zEngineeringNodeBoList[0].type,
-          zEngineeringInfoBo:res.data.zEngineeringNodeBoList[0].zEngineeringInfoBo
+          type: res.data.zEngineeringNodeBoList[0].type,
+          zEngineeringInfoBo: res.data.zEngineeringNodeBoList[0].zEngineeringInfoBo
         }
-        if (res.data.areaId!=''&&res.data.areaId!=null)
-        {
+        if (res.data.areaId != '' && res.data.areaId != null) {
           this.communityHasChanged(res.data.areaId)
         }
-        if (res.data.district!=''&&res.data.district!=null)
-        {
+        if (res.data.district != '' && res.data.district != null) {
           this.districtHasChanged(res.data.district)
         }
-        if (res.data.buildingId!=''&&res.data.buildingId!=null)
-        {
+        if (res.data.buildingId != '' && res.data.buildingId != null) {
           this.buildingHasChanged(res.data.buildingId)
         }
-        if (res.data.unitId!=''&&res.data.unitId!=null)
-        {
+        if (res.data.unitId != '' && res.data.unitId != null) {
           this.unitHasChanged(res.data.unitId)
         }
-        this.value[0]=res.data.enginType
-        this.value[1]=res.data.enginClassification
-        if (res.data.enginClassification!=null&&res.data.enginClassification!='')
-        {
+        this.value[0] = res.data.enginType
+        this.value[1] = res.data.enginClassification
+        if (res.data.enginClassification != null && res.data.enginClassification != '') {
           this.enginClassificationOption = this.dict.type[res.data.enginClassification]
         }
-        this.enginClassification=zEngineeringNodeBo.type
+        this.enginClassification = zEngineeringNodeBo.type
         newData.zEngineeringNodeBo = zEngineeringNodeBo
         this.currentType = 'put'
         this.queryParams = newData
@@ -838,52 +824,57 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-::v-deep .appendElDialog{
+::v-deep .appendElDialog {
   width: 70%;
   height: 80%;
 
 
-  .el-dialog__body{
+  .el-dialog__body {
     height: 85%;
   }
 
-  .el-form-item{
+  .el-form-item {
     margin-bottom: 22px;
     width: 44%;
     display: inline-block;
   }
-  .el-form-item:nth-child(2n+2){
+
+  .el-form-item:nth-child(2n+2) {
     margin-left: 5%;
   }
-  .el-form-item:not(:nth-child(1):nth-child(2)){
+
+  .el-form-item:not(:nth-child(1):nth-child(2)) {
     margin-top: 0.5%;
   }
-  .remark_input{
-    .el-textarea__inner{
+
+  .remark_input {
+    .el-textarea__inner {
       width: 238%;
       height: 190px;
     }
   }
 }
 
-::v-deep .appendElNodeDialog{
+::v-deep .appendElNodeDialog {
   // width: 70%;
   height: 80%;
 
 
-  .el-dialog__body{
+  .el-dialog__body {
     height: 85%;
   }
 
-  .el-form-item{
+  .el-form-item {
     margin-bottom: 22px;
     width: 44%;
     display: inline-block;
   }
-  .el-form-item:nth-child(2n+2){
+
+  .el-form-item:nth-child(2n+2) {
     margin-left: 5%;
   }
-  .el-form-item:not(:nth-child(1):nth-child(2)){
+
+  .el-form-item:not(:nth-child(1):nth-child(2)) {
     margin-top: 0.5%;
   }
 }

+ 26 - 26
src/views/zdsz/engineeringInfrastructure/index.vue

@@ -1,9 +1,9 @@
 
- <!-- 
+ <!--
  *@description: 基建工程
  *@author: yh Fu
  *@date: 2024-01-04 13:05:28
- *@version: V1.0.5 
+ *@version: V1.0.5
 -->
 
 <template>
@@ -143,11 +143,11 @@
         </el-form-item>
         <el-form-item label="计划工期" prop="plannedDuration">
           <el-input v-model="queryParams.plannedDuration" placeholder="请输入计划工期"></el-input>
-        </el-form-item>     
+        </el-form-item>
         <el-form-item label="备注" prop="remark">
-          <el-input 
-            v-model="queryParams.remark" 
-            type="textarea" 
+          <el-input
+            v-model="queryParams.remark"
+            type="textarea"
             placeholder="请输入内容"
             class="remark_input"
             />
@@ -160,13 +160,13 @@
       </div>
     </el-dialog>
     <!-- 节点信息dialog -->
-    <enginee-node 
+    <enginee-node
       ref="childNode"
       @closeToSucceed="closeToSucceed"
       />
 
     <!-- 查看历史 -->
-    <ConstructionDetails 
+    <ConstructionDetails
       ref="ConstructionDetails"
       :currentCollapses="currentCollapses"
       />
@@ -181,7 +181,7 @@ import {getUnits} from "@/api/zdsz/unit";
 import {getAreas} from "@/api/zdsz/area";
 import {getHouses, listHouse} from "@/api/zdsz/house";
 import EngineeNode from '@/components/EngineeNode/index'
-import { 
+import {
   getEngineeringInfrastructure,              // 查询基建工程列表
   addEngineeringInfrastructure,              // 新增基建工程
   getAreaList,                               // 获取当前小区集合
@@ -194,7 +194,7 @@ import {
   getDictList
 } from "@/api/zdsz/enginee"
 import EngineePipe from "@/components/EngineePipe"
-import ConstructionDetails from "@/components/ConstructionDetails" 
+import ConstructionDetails from "@/components/ConstructionDetails"
 
 export default {
   name: "openrepair",
@@ -205,10 +205,10 @@ export default {
          'visit_type','district',
          'new_built_indoor_engin',
          "old_renovation_indoor_engin",
-         "old_renovation_courtyard_engin",
+         "old_renovation_courtyard",
          "old_renovation_overhead",
          "new_built_indoor_engin",
-         "new_built_courtyard_engin",
+         "new_built_courtyard",
          "new_built_overhead",
          "engin_cycle",
          "engineering_infrastructure",
@@ -307,7 +307,7 @@ export default {
           value:'0',
           label:'否'
         }
-      ],                          
+      ],
       segmentedCompressionQualifiedOption:[
         {
           value:'1',
@@ -317,7 +317,7 @@ export default {
           value:'0',
           label:'否'
         }
-      ],                          
+      ],
       nodeDetailVisible:false,
       // 表单参数
       form: {},
@@ -375,7 +375,7 @@ export default {
         ],
       //  remark: [
       //     { required: false, message: "备注不能为空", trigger: "blur" }
-      //   ], 
+      //   ],
       },
       // 节点规则校验
       nodeRules:{
@@ -467,10 +467,10 @@ export default {
           {
               value: 'old_renovation_indoor_engin',
               label: '室内',
-          
-          }, 
+
+          },
           {
-              value: 'old_renovation_courtyard_engin',
+              value: 'old_renovation_courtyard',
               label: '庭院',
           },
           {
@@ -478,7 +478,7 @@ export default {
               label: '架空',
           }
       ]
-  }, 
+  },
   {
     value: 'new_built',
     label: '新建',
@@ -486,10 +486,10 @@ export default {
           {
               value: 'new_built_indoor_engin',
               label: '室内',
-          
-          }, 
+
+          },
           {
-              value: 'new_built_courtyard_engin',
+              value: 'new_built_courtyard',
               label: '庭院',
           },
           {
@@ -497,7 +497,7 @@ export default {
               label: '架空',
           }
       ]
-  }, 
+  },
   ],
   enginClassificationOption:[],          // 工程节点集合
   currentType:null,
@@ -534,7 +534,7 @@ export default {
   },
   currentEnginTypeChange(val){
       const enginDict = val[1]
-      const enginType = val[0]    
+      const enginType = val[0]
       this.queryParams.enginType = enginType
       this.enginClassificationOption = this.dict.type[enginDict]
   },
@@ -569,7 +569,7 @@ export default {
   },
   enginTypeHasChanged(val){
       if(val == 'old_renovation'){
-          
+
       }else if(val == 'new_built'){
 
       }
@@ -583,7 +583,7 @@ export default {
     nodeCancel(){
       this.nodeDetailVisible = false
     },
-    toNodeDetail(){   
+    toNodeDetail(){
       getDictList({enginType:['engineering_infrastructure']}).then(res => {
         this.nodeList = res.data
         if(this.currentType == 'put'){