Jelajahi Sumber

机构扩展信息页面调整

jingyuanchao 1 tahun lalu
induk
melakukan
5e500a1715
1 mengubah file dengan 38 tambahan dan 22 penghapusan
  1. 38 22
      src/views/system/dept/extend.vue

+ 38 - 22
src/views/system/dept/extend.vue

@@ -154,7 +154,7 @@
                 placeholder="请选择气象行政区域"
               ></el-cascader>
             </el-descriptions-item>
-            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="产权类型" >
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="产权类型" :contentStyle='contentStyle' :labelStyle='labelStyle'>
               <el-select
                 clearable
                 v-model="ownership"
@@ -223,7 +223,7 @@
                 :max="999"
               ></el-input-number>
             </el-descriptions-item>
-            <el-descriptions-item label="大堂式设备" v-if="(type === org_type.yewd || type === org_type.lhzz)&&selfServiceBank==1"
+            <el-descriptions-item label="大堂式设备"  v-if="(type === org_type.yewd || type === org_type.lhzz)&&selfServiceBank==1"
                                   labelClassName="gx_info_label" :contentStyle='contentStyle' :labelStyle='labelStyle'>
               <el-input-number
                 v-model="lobbyEquipment"
@@ -254,26 +254,7 @@
                 ></el-option>
               </el-select>
             </el-descriptions-item>
-            <el-descriptions-item label="出入口远程控制与授权"  v-if="(type === org_type.jkzx || type === org_type.yewd|| type === org_type.lhzz || type === org_type.zxywk)&&businessLibrary==1"
-              labelClassName="gx_info_label" >
-              <el-radio-group v-model="remoteControl">
-                <el-radio :label="1">是</el-radio>
-                <el-radio :label="0">否</el-radio>
-              </el-radio-group>
-            </el-descriptions-item>
-            <el-descriptions-item label="业务库防控隔离门出入口数量"
-              v-if="(type === org_type.jkzx || type === org_type.yewd || type === org_type.zxywk)&&businessLibrary==1"
-                                  labelClassName="gx_info_label" >
-              <el-input-number
-                v-model="remoteCount"
-                controls-position="right"
-                @change="handleChange"
-                :min="0"
-                :max="999"
-              ></el-input-number>
-            </el-descriptions-item>
           </el-descriptions>
-
           <el-descriptions class="margin-top" :column="3" size="medium" border>
             <el-descriptions-item label="是否配备保安人员" v-if="type === org_type.yewd" :contentStyle='contentStyle' :labelStyle='labelStyle'  labelClassName="gx_info_label" >
               <el-radio-group v-model="askari">
@@ -314,7 +295,6 @@
                 @input="getImgUrl"
               ></image-upload>
             </el-descriptions-item>
-
           </el-descriptions>
 
           <el-descriptions class="margin-top" :column="3" size="medium" border>
@@ -380,6 +360,22 @@
                 :max="999999"
               ></el-input-number>
             </el-descriptions-item>
+            <el-descriptions-item label="出入口远程控制与授权"  v-if="(type === org_type.jkzx)" labelClassName="gx_info_label" >
+              <el-radio-group v-model="remoteControl">
+                <el-radio :label="1">是</el-radio>
+                <el-radio :label="0">否</el-radio>
+              </el-radio-group>
+            </el-descriptions-item>
+            <el-descriptions-item label="业务库防控隔离门出入口数量" v-if="type === org_type.jkzx" labelClassName="gx_info_label" >
+              <el-input-number
+                v-model="remoteCount"
+                controls-position="right"
+                @change="handleChange"
+                :min="0"
+                :max="999"
+              ></el-input-number>
+            </el-descriptions-item>
+          </el-descriptions>
           </el-descriptions>
 
         </div>
@@ -581,6 +577,7 @@ export default {
       //内容样式
       contentStyle: {
         'text-align': 'left',
+        'width': '400px'
       },
       //label样式
       labelStyle: { 'width': '200px' }
@@ -813,6 +810,25 @@ export default {
         this.reqmsg = false;
       }
     },
+    selfServiceBank(newValue){
+      if (newValue==0){
+        this.wallPenetratingEquipment=null;
+        this.lobbyEquipment=null;
+      }
+    },
+    businessLibrary(newValue){
+      if (newValue==0){
+        this.businessLibraryType=null;
+      }
+    },
+    askari(newValue){
+      if (newValue==0){
+        this.innerCount=null;
+        this.outsideCount=null;
+        this.isAskariCertificate=null;
+        this.askariCertificate=null;
+      }
+    },
   },
 
   created() {