Browse Source

机构补充信息-业务类型机构-是否设置业务库默认设置为true

jingyuanchao 1 năm trước cách đây
mục cha
commit
745faa3f34
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      src/views/system/dept/extend.vue

+ 4 - 2
src/views/system/dept/extend.vue

@@ -254,7 +254,7 @@
             </el-descriptions-item>
           </el-descriptions> -->
 
-          <el-descriptions class="margin-top" :column="3" v-if="(type === org_type.yewd || type === org_type.zxywk)" size="medium" border>
+          <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="info_label_required">
               <el-radio-group v-model="businessLibrary">
                 <el-radio :label="1">是</el-radio>
@@ -1045,7 +1045,9 @@ export default {
 
     getExtendInfo() {
       getExtendByOrgId(this.$route.params.id).then((data) => {
-        console.log(data.data);
+        if (this.type === this.org_type.zxywk) {
+          this.businessLibrary = 1;
+        }
         if (data.data != null) {
           this.safeBox = data.data.safeBox;
           this.innerCount = data.data.innerCount;