shj
2022-08-03 72a153f82321b8da3f64f80196a3ca84821a6895
src/views/facilityManagement/deviceType/component/Dailog.vue
@@ -13,7 +13,7 @@
            </el-col>
            <el-col :span="11" :offset="2">
               <el-form-item label="父级编号" size="default">
                  <el-tree-select v-model="form.parentId" :data="data" :props="propse" class="w100" placeholder="请选择" />
                  <el-tree-select check-strictly="true" v-model="form.parentId" :data="data" :props="propst" class="w100" placeholder="请选择" />
               </el-form-item>
            </el-col>
         </el-row>
@@ -50,8 +50,8 @@
         isContent: '', ////是否为设备内容  1:是 2:否
         typeName: '', ////类别名称
         parentId: 0, ////父级ID,如果没有父级,为0
         isCheck: 1, ////是否检测  1:是 2:否
         isVisit: 1, ////是否巡检 1:是 2:否
         isCheck: 0, ////是否检测  1:是 2:否
         isVisit: 0, ////是否巡检 1:是 2:否
         sortNum: '', //排列序列
         id: '', //设备类型ID ,更新时必填
      });
@@ -101,9 +101,9 @@
               }
            });
      };
      const data = ref();
      const propse = {
         lable: 'typeName',
      const data = ref([]);
      const propst = {
         label: 'typeName',
         children: 'childList',
         value: 'id',
      };
@@ -160,7 +160,7 @@
      return {
         detail,
         listApi,
         propse,
         propst,
         submitForm,
         resetForm,
         data,