Quellcode durchsuchen

机构扩展信息页面调整

jingyuanchao vor 1 Jahr
Ursprung
Commit
20c5a9ec12
1 geänderte Dateien mit 39 neuen und 19 gelöschten Zeilen
  1. 39 19
      src/views/system/dept/extend.vue

+ 39 - 19
src/views/system/dept/extend.vue

@@ -145,7 +145,7 @@
         <!--监控中心的补充信息-->
         <div class="info-box">
           <el-descriptions class="margin-top" :column="3" size="medium" border>
-            <el-descriptions-item labelClassName="gx_info_label" label="气象行政区域">
+            <el-descriptions-item labelClassName="gx_info_label" :contentStyle='contentStyle' :labelStyle='labelStyle' label="气象行政区域">
               <el-cascader
                 clearable
                 v-model="weatherAreaCode"
@@ -203,8 +203,8 @@
               </el-radio-group>
             </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-descriptions v-if="type === org_type.yewd"  class="margin-top" :column="3" size="medium" border>
+            <el-descriptions-item label="是否设立在行式自助银行"  :contentStyle='contentStyle' :labelStyle='labelStyle' labelClassName="gx_info_label">
               <el-radio-group v-model="selfServiceBank">
                 <el-radio :label="1">是</el-radio>
                 <el-radio :label="0">否</el-radio>
@@ -213,8 +213,8 @@
 
           </el-descriptions>
 
-          <el-descriptions class="margin-top" :column="3" size="medium" border>
-            <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-descriptions v-if="type === org_type.yewd"  class="margin-top" :column="3" size="medium" border>
+            <el-descriptions-item label="穿墙式设备" v-if="selfServiceBank==1" labelClassName="gx_info_label" :contentStyle='contentStyle' :labelStyle='labelStyle'>
               <el-input-number
                 v-model="wallPenetratingEquipment"
                 controls-position="right"
@@ -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="selfServiceBank==1"
                                   labelClassName="gx_info_label" :contentStyle='contentStyle' :labelStyle='labelStyle'>
               <el-input-number
                 v-model="lobbyEquipment"
@@ -234,17 +234,37 @@
               ></el-input-number>
             </el-descriptions-item>
           </el-descriptions>
+          <el-descriptions v-if="type === org_type.lhzz"  class="margin-top" :column="3" size="medium" border>
+            <el-descriptions-item label="穿墙式设备"  labelClassName="gx_info_label" :contentStyle='contentStyle' :labelStyle='labelStyle'>
+              <el-input-number
+                v-model="wallPenetratingEquipment"
+                controls-position="right"
+                @change="handleChange"
+                :min="0"
+                :max="999"
+              ></el-input-number>
+            </el-descriptions-item>
+            <el-descriptions-item label="大堂式设备"  labelClassName="gx_info_label" :contentStyle='contentStyle' :labelStyle='labelStyle'>
+              <el-input-number
+                v-model="lobbyEquipment"
+                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-descriptions class="margin-top" :column="3" v-if="type === org_type.yewd" size="medium" border>
+            <el-descriptions-item label="是否设立网点业务库"  :contentStyle='contentStyle' :labelStyle='labelStyle'  labelClassName="gx_info_label">
               <el-radio-group v-model="businessLibrary">
                 <el-radio :label="1">是</el-radio>
                 <el-radio :label="0">否</el-radio>
               </el-radio-group>
             </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)&&businessLibrary==1" :contentStyle='contentStyle' :labelStyle='labelStyle'  labelClassName="gx_info_label">
+          <el-descriptions class="margin-top" v-if="businessLibrary==1" :column="3" size="medium" border>
+            <el-descriptions-item label="业务库类型" :contentStyle='contentStyle' :labelStyle='labelStyle'  labelClassName="gx_info_label">
               <el-select clearable v-model="businessLibraryType" placeholder="请选择业务库类型" >
                 <el-option
                   v-for="dict in dict.type.business_library_type"
@@ -255,16 +275,16 @@
               </el-select>
             </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-descriptions class="margin-top" :column="3" v-if="type === org_type.yewd"  size="medium" border>
+            <el-descriptions-item label="是否配备保安人员" :contentStyle='contentStyle' :labelStyle='labelStyle'  labelClassName="gx_info_label" >
               <el-radio-group v-model="askari">
                 <el-radio :label="1">是</el-radio>
                 <el-radio :label="0">否</el-radio>
               </el-radio-group>
             </el-descriptions-item>
           </el-descriptions>
-          <el-descriptions class="margin-top" :column="3" size="medium" border>
-            <el-descriptions-item v-if="(type === org_type.yewd)&&askari==1" labelClassName="gx_info_label" label="内部保安人数" :contentStyle='contentStyle' :labelStyle='labelStyle'>
+          <el-descriptions class="margin-top" :column="3" v-if="askari==1" size="medium" border>
+            <el-descriptions-item  labelClassName="gx_info_label" label="内部保安人数" :contentStyle='contentStyle' :labelStyle='labelStyle'>
               <el-input-number
                 v-model="innerCount"
                 controls-position="right"
@@ -273,7 +293,7 @@
                 :max="999"
               ></el-input-number>
             </el-descriptions-item>
-            <el-descriptions-item v-if="(type === org_type.yewd)&&askari==1" labelClassName="gx_info_label" label="外聘保安人数" :contentStyle='contentStyle' :labelStyle='labelStyle'>
+            <el-descriptions-item  labelClassName="gx_info_label" label="外聘保安人数" :contentStyle='contentStyle' :labelStyle='labelStyle'>
               <el-input-number
                 v-model="outsideCount"
                 controls-position="right"
@@ -282,13 +302,13 @@
                 :max="999"
               ></el-input-number>
             </el-descriptions-item>
-            <el-descriptions-item v-if="(type === org_type.yewd)&&askari==1" labelClassName="gx_info_label" label="是否取得保安证书">
+            <el-descriptions-item  labelClassName="gx_info_label" label="是否取得保安证书">
               <el-radio-group v-model="isAskariCertificate">
                 <el-radio :label="1">是</el-radio>
                 <el-radio :label="0">否</el-radio>
               </el-radio-group>
             </el-descriptions-item>
-            <el-descriptions-item v-if="(type === org_type.yewd)&&isAskariCertificate==1" labelClassName="gx_info_label" label="上传保安证" :contentStyle='contentStyle' :labelStyle='labelStyle'>
+            <el-descriptions-item v-if="isAskariCertificate==1" labelClassName="gx_info_label" label="上传保安证" :contentStyle='contentStyle' :labelStyle='labelStyle'>
               <image-upload
                 :limit="5"
                 :value="askariCertificate"
@@ -332,7 +352,7 @@
                 ></el-option>
               </el-select>
             </el-descriptions-item>
-            <el-descriptions-item v-if="type === org_type.jkzx || type === org_type.lhzz  "
+            <el-descriptions-item v-if="type === org_type.jkzx || type === org_type.lhzz" :contentStyle='contentStyle' :labelStyle='labelStyle'
                                   labelClassName="gx_info_label" label="离行式加钞间出入口数量">
               <el-input-number
                 v-model="cashAddingRoom"
@@ -577,7 +597,7 @@ export default {
       //内容样式
       contentStyle: {
         'text-align': 'left',
-        'width': '400px'
+        'width': '300px'
       },
       //label样式
       labelStyle: { 'width': '200px' }