Parcourir la source

Merge remote-tracking branch 'origin/V0.0.2' into V0.0.2

jingyuanchao il y a 1 an
Parent
commit
3d6f946516
3 fichiers modifiés avec 1544 ajouts et 1584 suppressions
  1. 16 0
      src/assets/styles/ruoyi.scss
  2. 135 25
      src/views/check/dialog.edit.vue
  3. 1393 1559
      src/views/system/dept/extend.vue

+ 16 - 0
src/assets/styles/ruoyi.scss

@@ -355,3 +355,19 @@
  .el-collapse-item__header{
    font-size: 16px!important;
  }
+
+
+ .gx_info_label{
+   text-align: center !important;
+   color: #1e1e1e;
+ }
+
+ .extend_mod{
+   .el-table thead{
+     >tr{
+       >th{
+         background-color: #fafafa !important;
+       }
+     }
+   }
+ }

+ 135 - 25
src/views/check/dialog.edit.vue

@@ -19,7 +19,7 @@
             <el-col :span="6">
               <el-form-item prop="planName" label="任务名称:">
                 <el-input
-                :disabled="isChildren()"
+                  :disabled="isChildren()"
                   v-model.trim="formData.planName"
                   :maxlength="50"
                   name="planName"
@@ -31,6 +31,7 @@
             <el-col :span="6">
               <el-form-item prop="checkType" label="任务类型:">
                 <el-select
+                  @change="changeData"
                   :disabled="isChildren()"
                   label="任务类型"
                   v-model="formData.checkType"
@@ -259,14 +260,16 @@
         </el-form>
         <el-button @click="openSelect">选择检查内容</el-button>
         <el-button @click="deleteSelected">批量删除</el-button>
-        <el-table 
+        <el-table
           :data="tableData"
-          style="width: 100%;margin-top: 15px;"
+          style="width: 100%; margin-top: 15px"
           height="400px"
           @selection-change="handleSelectionChange"
-          
         >
-          <el-table-column type="selection" :selectable="handleSelectable"></el-table-column>
+          <el-table-column
+            type="selection"
+            :selectable="handleSelectable"
+          ></el-table-column>
           <el-table-column label="是否扫描">
             <template v-slot="{ row }">
               <el-switch
@@ -328,7 +331,6 @@
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="onSubmit">确定</el-button>
         <el-button @click="onHide">取消</el-button>
-        
       </div>
     </DialogCom>
     <DialogSelect
@@ -373,7 +375,7 @@ export default {
       execOrgType: null,
       roleNames: null,
       planExec: null,
-      defbuildTaskNow:false,
+      defbuildTaskNow: false,
       count: 0,
       description: null,
       selectedRows: [],
@@ -411,17 +413,120 @@ export default {
     ...mapGetters(["orgId", "orgName"]),
   },
   methods: {
-    isbuildTaskNow(){
+    //选择计划类型修改联动框
+    changeData() {
+      //判断计划类型
+      switch (this.formData.checkType) {
+        //如果是  【定期检查】全省农信系统安全检查
+        case "1":
+          //周期
+          this.formData.planCycle = "5";
+          //机构类型
+          this.formData.execOrgType = "1";
+          this.getRolesByOrg();
+          //角色
+          this.formData.roleIds = ["116"];
+          //检查次数
+          this.formData.count = 1;
+          //检查内容
+          this.tableData = null;
+          break;
+        //如果是  【定期检查】办事处辖区安全检查
+        case "2":
+          //周期
+          this.formData.planCycle = "5";
+          //机构类型
+          this.formData.execOrgType = "2";
+          this.getRolesByOrg();
+          //角色
+          this.formData.roleIds = ["118"];
+          //检查次数
+          this.formData.count = 2;
+          //检查内容
+          this.tableData = null;
+          break;
+        //如果是  【定期检查】营业网点安全保卫检查
+        case "3":
+          //周期
+          this.formData.planCycle = "2";
+          //机构类型
+          this.formData.execOrgType = "4";
+          this.getRolesByOrg();
+          //角色
+          this.formData.roleIds = ["121"];
+          //检查次数
+          this.formData.count = 3;
+          //检查内容
+          this.tableData = null;
+          break;
+        //如果是  【定期检查】行社全面安全检查
+        case "4":
+          //周期
+          this.formData.planCycle = "5";
+          //机构类型
+          this.formData.execOrgType = "3";
+          this.getRolesByOrg();
+          //角色
+          this.formData.roleIds = ["120"];
+          //检查次数
+          this.formData.count = 2;
+          //检查内容
+          this.tableData = null;
+          break;
+        //如果是  【不定期检查】阶段性检查
+        case "5":
+          //周期
+          this.formData.planCycle = "6";
+          //机构类型
+          this.formData.execOrgType = null;
+          //角色
+          this.formData.roleIds = [];
+          //检查次数
+          this.formData.count = 1;
+          //检查内容
+          this.tableData = null;
+          break;
+        //如果是  【不定期检查】专项检查
+        case "6":
+          //周期
+          this.formData.planCycle = "6";
+          //机构类型
+          this.formData.execOrgType = null;
+          //角色
+          this.formData.roleList = [];
+          //检查次数
+          this.formData.count = 1;
+          //检查内容
+          this.tableData = null;
+          break;
+        //如果是  其他
+        case "7":
+          //周期
+          this.formData.planCycle = null;
+          //机构类型
+          this.formData.execOrgType = null;
+          //角色
+          this.formData.roleList = [];
+          //检查次数
+          this.formData.count = 1;
+          //检查内容
+          this.tableData = null;
+          break;
+      }
+      this.changeBuildTime();
+    },
+    isbuildTaskNow() {
       if (
         (this.formData.planCreateOrgId == this.orgId &&
           this.formData.hasEdit != 1) ||
         (this.formData.planOfOrgType != 3 && this.formData.hasEdit != 1) ||
-        this.id == null
-      &&(this.id==null||this.id==undefined||this.formData.planStatus==0)) {
+        (this.id == null &&
+          (this.id == null ||
+            this.id == undefined ||
+            this.formData.planStatus == 0))
+      ) {
         return false;
       } else return true;
-
-
     },
     handleSelectable(row) {
       // 在这里根据特定条件判断是否禁用多选框行
@@ -465,7 +570,13 @@ export default {
     },
     NowBuild() {
       //如果新增或者是草稿状态的立即生效的编辑
-      if ((this.formData.planCycle!=6)&&((this.id==null||this.id==undefined)||(this.defbuildTaskNow &&this.formData.planStatus==0))) return true;
+      if (
+        this.formData.planCycle != 6 &&
+        (this.id == null ||
+          this.id == undefined ||
+          (this.defbuildTaskNow && this.formData.planStatus == 0))
+      )
+        return true;
       else return false;
     },
     getLabel(options, value) {
@@ -543,7 +654,7 @@ export default {
     async refresh(id, other) {
       if (id != null && id != undefined) {
         await api.get(id).then((res) => {
-          this.defbuildTaskNow=res.data.buildTaskNow;
+          this.defbuildTaskNow = res.data.buildTaskNow;
           this.parentCount = res.data.parentCount;
           this.formData = res.data;
           this.formData.buildTaskNow;
@@ -595,7 +706,7 @@ export default {
       }
     },
     onSelect(selectList) {
-      console.log(selectList,"selectList");
+      console.log(selectList, "selectList");
       for (let i = 0; i < selectList.length; i++) {
         let tem = {
           ofOrgId: this.orgId,
@@ -612,9 +723,9 @@ export default {
         if (this.tableData == null) {
           this.tableData = [];
         }
-        if(tem.itemName!=null&&tem.itemName!=undefined){
-        this.tableData.push(tem);
-      }
+        if (tem.itemName != null && tem.itemName != undefined) {
+          this.tableData.push(tem);
+        }
       }
     },
 
@@ -671,16 +782,15 @@ export default {
         this.formData.roleList = null;
         this.formData.roleIds =
           this.selectedValues.length == 0 ? null : this.selectedValues;
-          this.loading = true;
-          if(this.formData.planCycle==6){
-            this.formData.buildTaskNow = true;
-          }
-        await api.add(this.formData).then(data=>{
+        this.loading = true;
+        if (this.formData.planCycle == 6) {
+          this.formData.buildTaskNow = true;
+        }
+        await api.add(this.formData).then((data) => {
           this.loading = false;
           this.$emit("success");
-        this.onHide();
+          this.onHide();
         });
-        
       });
     },
     handleRolesChange(val) {

+ 1393 - 1559
src/views/system/dept/extend.vue

@@ -1,546 +1,378 @@
 <template>
   <div class="app-container">
     <div class="org-extend">
-      <h3 class="title"><i class="el-icon-collection-tag"></i> 基础信息</h3>
-      <div class="info-box">
-        <el-descriptions>
-          <el-descriptions-item
-            v-for="v in dataInfo"
-            :label="v.label"
-            :key="v.key"
-          >{{ v.value }}</el-descriptions-item
-          >
-          <el-descriptions-item label="机构组织类型" v-if="false">{{
+      <div class="extend_mod">
+        <div class="info-box">
+          <el-descriptions class="margin-top" :column="3" size="medium" border>
+            <template #title>
+              <h3 class="title">
+                <i class="el-icon-collection-tag"></i>
+                基础信息
+              </h3>
+            </template>
+            <el-descriptions-item
+              v-for="v in dataInfo"
+              :label="v.label"
+              :key="v.key"
+              labelClassName="gx_info_label"
+            >{{ v.value }}
+            </el-descriptions-item
+            >
+            <el-descriptions-item labelClassName="gx_info_label" label="机构组织类型" v-if="false">{{
               getLabel(dict.type.reality_org_type, orgType)
-            }}</el-descriptions-item>
-          <el-descriptions-item label="是否停用">{{
+              }}
+            </el-descriptions-item>
+            <el-descriptions-item labelClassName="gx_info_label" label="是否停用">{{
               isLock == 1 ? "是" : "否"
-            }}</el-descriptions-item>
-          <el-descriptions-item label="机构类型">{{
+              }}
+            </el-descriptions-item>
+            <el-descriptions-item labelClassName="gx_info_label" label="机构类型">{{
               getLabel(dict.type.sys_org_type, type)
-            }}</el-descriptions-item>
-        </el-descriptions>
+              }}
+            </el-descriptions-item>
+          </el-descriptions>
+        </div>
       </div>
+      <div class="extend_mod ">
+        <div class="info-box">
+          <h3 class="title">
+            <i class="el-icon-collection-tag"></i>
+            安全防范设施建设达标信息
+            <el-button style="float: right;" @click="handleOrgAdd" type="primary" icon="el-icon-plus" size="small">
+              新增
+            </el-button>
+          </h3>
 
-      <h3 class="title" style="margin-top: 50px">
-        <i class="el-icon-collection-tag"></i>
-        安全防范设施建设达标信息
-      </h3>
-      <!--  表格   -->
-      <div style="margin-top: 30px">
-        <el-button
-          style="margin-bottom: 20px"
-          type="primary"
-          plain
-          icon="el-icon-plus"
-          size="mini"
-          @click="handleOrgAdd"
-        >新增</el-button
-        >
-        <el-table
-          border
-          size="small"
-          v-loading="orgloading"
-          :data="constructionList"
-          @selection-change="handleOrgSelectionChange"
-        >
-          <el-table-column
-            type="selection"
-            width="55"
-            align="center"
-            v-if="false"
-          />
-          <el-table-column type="index" label="序号" align="center" />
-          <el-table-column label="机构类型" align="center" prop="type">
-            <template slot-scope="r">{{ getLabels(`${r.row.type}`) }} </template>
-          </el-table-column>
-          <el-table-column label="GA38标准" align="center" prop="standard">
-            <template slot-scope="r"
-            >{{ getLabel(dict.type.org_extend_standard, `${r.row.standard}`) }}
-            </template>
-          </el-table-column>
-          <el-table-column
-            label="达标日期"
-            align="center"
-            prop="dateOfCompliance"
-            width="180"
-          >
-            <template slot-scope="scope">
-            <span>{{
-                formatTime(scope.row.dateOfCompliance, "YYYY-MM-DD")
-              }}</span>
-            </template>
-          </el-table-column>
-
-          <el-table-column
-            v-if="false"
-            label="机构id"
-            align="center"
-            prop="orgId"
-          />
-          <el-table-column
-            label="操作"
-            align="center"
-            class-name="small-padding fixed-width"
+          <el-table
+            border
+            size="small"
+            style="width: 98%;margin-top: 20px"
+            v-loading="orgloading"
+            :data="constructionList"
+            @selection-change="handleOrgSelectionChange"
           >
-            <template slot-scope="scope">
-              <el-button
-                v-if="scope.row.certificate"
-                size="mini"
-                type="text"
-                icon="el-icon-search"
-                @click="downBusiness(scope.row.certificate)"
-              >查看证书</el-button
-              >
-              <el-button
-                size="mini"
-                type="text"
-                icon="el-icon-edit-outline"
-                @click="handleOrgUpdate(scope.row)"
-              >编辑</el-button
-              >
-              <el-button
-                size="mini"
-                type="text"
-                icon="el-icon-delete"
-                @click="handleOrgDelete(scope.row)"
-              >删除</el-button
-              >
-            </template>
-          </el-table-column>
-        </el-table>
-      </div>
-      <h3 class="title" style="margin-top: 50px">
-        <i class="el-icon-collection-tag"></i> 补充信息
-      </h3>
-      <div class="info-box" v-if="type != 5">
-        <el-form
-          inline
-          class="demo-form-inline"
-          label-position="left"
-          label-width="120px"
-        >
-          <el-row>
-            <el-col :span="6">
-              <el-form-item
-                v-if="type == 10"
-                label="建设时间"
-                prop="constructionTime"
-              >
-                <el-date-picker
-                  clearable
-                  v-model="constructionTime"
-                  type="date"
-                  value-format="yyyy-MM-dd HH:mm:ss"
-                  placeholder="请选择建设时间"
-                >
-                </el-date-picker>
-              </el-form-item>
-            </el-col>
-            <el-col :span="6">
-              <el-form-item
-                v-if="type == 10"
-                label="最近一次改造时间"
-                prop="lastUpdateTime"
-              >
-                <el-date-picker
-                  clearable
-                  v-model="lastUpdateTime"
-                  type="date"
-                  value-format="yyyy-MM-dd HH:mm:ss"
-                  placeholder="请选择最近一次改造时间"
-                >
-                </el-date-picker>
-              </el-form-item>
-            </el-col>
-            <el-col :span="6">
-              <el-form-item v-if="type == 10" label="系统平台品牌">
-                <el-select
-                  clearable
-                  v-model="platformBrand"
-                  placeholder="请选择系统平台品牌"
+            <el-table-column
+              type="selection"
+              width=""
+              align="center"
+              v-if="false"
+            />
+            <el-table-column type="index" width="70" label="序号" align="center"/>
+            <el-table-column label="机构类型" align="center" prop="type">
+              <template v-slot="scope">
+                <dict-tag
+                  :options="dict.type.org_extend_type"
+                  :value="scope.row.type"
+                />
+              </template>
+            </el-table-column>
+            <el-table-column label="GA38标准" align="center" prop="standard">
+              <template slot-scope="r"
+              >{{ getLabel(dict.type.org_extend_standard, `${r.row.standard}`) }}
+              </template>
+            </el-table-column>
+            <el-table-column
+              label="达标日期/计划达标日期"
+              align="center"
+              prop="dateOfCompliance"
+              width="220"
+            >
+              <template slot-scope="scope">
+                <span> {{  scope.row.standard === '3'  ? formatTime(scope.row.dateOfComplete, "YYYY-MM-DD") : formatTime(scope.row.dateOfCompliance, "YYYY-MM-DD") }}</span>
+              </template>
+            </el-table-column>
+
+            <el-table-column
+              label="备注"
+              align="center"
+              prop="reason"
+              width="280"
+            >
+            </el-table-column>
+
+            <el-table-column
+              v-if="false"
+              label="机构id"
+              align="center"
+              prop="orgId"
+            />
+            <el-table-column
+              label="操作"
+              align="center"
+              class-name="small-padding fixed-width"
+            >
+              <template slot-scope="scope">
+                <el-button
+                  v-if="scope.row.certificate"
+                  size="mini"
+                  type="text"
+                  icon="el-icon-search"
+                  @click="downBusiness(scope.row.certificate)"
+                >查看证书
+                </el-button
                 >
-                  <el-option
-                    v-for="dict in dict.type.org_platform_brand"
-                    :key="dict.value"
-                    :label="dict.label"
-                    :value="dict.value"
-                  ></el-option>
-                </el-select>
-              </el-form-item>
-            </el-col>
-
-            <el-col :span="6" v-if="false">
-              <el-form-item v-if="type == 10" label="平台供应商品牌">
-                <el-select
-                  clearable
-                  v-model="platformSupplierBrand"
-                  placeholder="请选择平台供应商品牌"
+                <el-button
+                  size="mini"
+                  type="text"
+                  icon="el-icon-edit-outline"
+                  @click="handleOrgUpdate(scope.row)"
+                >编辑
+                </el-button
                 >
-                  <el-option
-                    v-for="dict in dict.type.org_platform_supplier_brand"
-                    :key="dict.value"
-                    :label="dict.label"
-                    :value="dict.value"
-                  ></el-option>
-                </el-select>
-              </el-form-item>
-            </el-col>
-          </el-row>
-        </el-form>
-      </div>
-      <div class="info-box" v-if="type != 5">
-        <!--  下拉框选择    -->
-        <div>
-          <el-form
-            inline
-            class="demo-form-inline"
-            label-position="left"
-            label-width="120px"
-          >
-            <el-row>
-              <el-col :span="6">
-                <el-form-item v-if="type == 4" label="行政区域气象">
-                  <el-cascader
-                    clearable
-                    v-model="weatherAreaCode"
-                    :options="areaList"
-                    @change="selectArea"
-                    placeholder="请选择行政区域气象"
-                  ></el-cascader>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6">
-                <el-form-item label="产权类型" v-if="type == 4">
-                  <el-select
-                    clearable
-                    v-model="ownership"
-                    placeholder="请选择产权类型"
-                  >
-                    <el-option
-                      v-for="dict in dict.type.property_situation"
-                      :key="dict.value"
-                      :label="dict.label"
-                      :value="dict.value"
-                    ></el-option>
-                  </el-select>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6">
-                <el-form-item label="所在位置" v-if="type == 4">
-                  <el-select
-                    clearable
-                    v-model="outsideArea"
-                    placeholder="请选择所在位置"
-                  >
-                    <el-option
-                      v-for="dict in dict.type.org_extend_is"
-                      :key="dict.value"
-                      :label="dict.label"
-                      :value="dict.value"
-                    ></el-option>
-                  </el-select>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6" v-if="type == 4">
-                <el-form-item label="夜间值守方式">
-                  <!-- <el-radio-group v-model="dutyMode">
-                    <el-radio :label="0">同楼异地值守</el-radio>
-                    <el-radio :label="1">远程值守</el-radio>
-                  </el-radio-group> -->
-
-                  <el-select
-                    clearable
-                    v-model="dutyMode"
-                    placeholder="请选择夜间值守方式"
-                  >
-                    <el-option
-                      v-for="dict in dutyModeoptions"
-                      :key="dict.value"
-                      :label="dict.label"
-                      :value="dict.value"
-                    ></el-option>
-                  </el-select>
-                </el-form-item>
-              </el-col>
-            </el-row>
-            <el-row>
-              <el-col :span="6">
-                <el-form-item label="">
-                  <el-switch
-                    v-if="type == 4"
-                    v-model="safeBox"
-                    active-text
-                    inactive-text="是否设立保管箱库"
-                    :active-value="1"
-                    :inactive-value="0"
-                  ></el-switch>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6">
-                <el-form-item label="">
-                  <el-switch
-                    v-if="type == 4"
-                    v-model="selfServiceBank"
-                    active-text
-                    inactive-text="是否设立在行式自助银行"
-                    :active-value="1"
-                    :inactive-value="0"
-                  ></el-switch>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6">
-                <el-form-item label="大堂式设备" v-if="type == 4">
-                  <el-input-number
-                    v-model="lobbyEquipment"
-                    controls-position="right"
-                    @change="handleChange"
-                    :min="0"
-                    :max="999"
-                  ></el-input-number>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6">
-                <el-form-item label="穿墙式设备" v-if="type == 4">
-                  <el-input-number
-                    v-model="wallPenetratingEquipment"
-                    controls-position="right"
-                    @change="handleChange"
-                    :min="0"
-                    :max="999"
-                  ></el-input-number>
-                </el-form-item>
-              </el-col>
-            </el-row>
-            <el-row>
-              <el-col :span="6">
-                <el-form-item label="" v-if="type == 4">
-                  <el-switch
-                    v-if="type == 4"
-                    v-model="businessLibrary"
-                    active-text
-                    inactive-text="是否设立业务库"
-                    :active-value="1"
-                    :inactive-value="0"
-                  ></el-switch>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6" v-if="type == 4">
-                <el-form-item label="业务库类型">
-                  <el-select
-                    clearable
-                    v-model="businessLibraryType"
-                    placeholder="请选择业务库类型"
-                  >
-                    <el-option
-                      v-for="dict in dict.type.business_library_type"
-                      :key="dict.value"
-                      :label="dict.label"
-                      :value="dict.value"
-                    ></el-option>
-                  </el-select>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6" v-if="type == 4 || type == 10">
-                <el-form-item label="出入口远程控制与授权" label-width="150">
-                  <!-- <el-switch
-                    v-model="remoteControl"
-                    active-text
-                    inactive-text
-                    :active-value="1"
-                    :inactive-value="0"
-                  ></el-switch> -->
-
-                  <el-radio-group v-model="remoteControl">
-                    <el-radio :label="0">是</el-radio>
-                    <el-radio :label="1">否</el-radio>
-                  </el-radio-group>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6" v-if="type == 4 || type == 10">
-                <el-form-item
-                  label="业务库防控隔离门出入口数量"
-                  label-width="150"
+                <el-button
+                  size="mini"
+                  type="text"
+                  icon="el-icon-delete"
+                  @click="handleOrgDelete(scope.row)"
+                >删除
+                </el-button
                 >
-                  <!-- <el-select
-                    clearable
-                    v-model="remoteCount"
-                    placeholder="请选择数量"
-                  >
-                    <el-option
-                      v-for="option in remoteCountoptions"
-                      :key="option.value"
-                      :label="option.label"
-                      :value="option.value"
-                    ></el-option>
-                  </el-select> -->
-                  <el-input-number
-                    v-model="remoteCount"
-                    controls-position="right"
-                    @change="handleChange"
-                    :min="0"
-                    :max="999"
-                  ></el-input-number>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6" v-if="type == 10">
-                <el-form-item label="离行式加钞间出入口数量" label-width="150">
-                  <!-- <el-select
-                    clearable
-                    v-model="cashAddingRoom"
-                    placeholder="请选择数量"
-                  >
-                    <el-option
-                      v-for="option in cashAddingRoomoptions"
-                      :key="option.value"
-                      :label="option.label"
-                      :value="option.value"
-                    ></el-option>
-                  </el-select> -->
-                  <el-input-number
-                    v-model="cashAddingRoom"
-                    controls-position="right"
-                    @change="handleChange"
-                    :min="0"
-                    :max="999"
-                  ></el-input-number>
-                </el-form-item>
-              </el-col>
-            </el-row>
-          </el-form>
+              </template>
+            </el-table-column>
+          </el-table>
         </div>
       </div>
-
-      <div style="margin-top: 30px" v-if="type != 5">
+      <!--补充信息-------------------------------------------------------------------------------------------------------------------------------------->
+      <div class="extend_mod ">
         <div class="info-box">
-          <el-form inline label-position="left" label-width="100px">
-            <el-row v-if="type == 4">
-              <el-col :span="6">
-                <el-form-item>
-                  <el-switch
-                    v-model="askari"
-                    active-text
-                    inactive-text="是否配备保安"
-                    :active-value="1"
-                    :inactive-value="0"
-                  ></el-switch>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6">
-                <el-form-item label="内部保安人数">
-                  <el-input-number
-                    v-model="innerCount"
-                    controls-position="right"
-                    @change="handleChange"
-                    :min="0"
-                    :max="999"
-                  ></el-input-number>
-                </el-form-item>
-              </el-col>
-              <el-col :span="6">
-                <el-form-item label="外聘保安人数">
-                  <el-input-number
-                    v-model="outsideCount"
-                    controls-position="right"
-                    @change="handleChange"
-                    :min="0"
-                    :max="999"
-                  ></el-input-number>
-                </el-form-item>
-              </el-col>
-            </el-row>
-            <el-row v-if="askari & (type == 4)">
-              <el-col :span="12" :xs="24">
-                <p style="font-size: 12px; color: #999">上传保安证</p>
-                <image-upload
-                  :limit="5"
-                  :value="askariCertificate"
-                  :fileSize="2"
-                  @input="getImgUrl"
-                ></image-upload>
-              </el-col>
-            </el-row>
-          </el-form>
+          <h3 class="title">
+            <i class="el-icon-collection-tag"></i>
+            补充信息
+          </h3>
         </div>
-      </div>
+        <!--监控中心的补充信息-->
+        <div class="info-box">
+          <el-descriptions class="margin-top" :column="3" size="medium" border>
 
-      <!--   上传   -->
-
-      <div v-if="type == 5" style="margin-top: 50px">
-        <el-form>
-          <el-row>
-            <el-col :span="6">
-              <el-form-item label="大堂式设备" label-width="150">
-                <el-input-number
-                  style="margin-left: 10px"
-                  v-model="detachedLobbyEquipment"
-                  controls-position="right"
-                  @change="handleChange"
-                  :min="0"
-                  :max="999"
-                ></el-input-number>
-              </el-form-item>
-            </el-col>
-            <el-col :span="6">
-              <el-form-item label="穿墙式设备" label-width="150">
-                <el-input-number
-                  style="margin-left: 10px"
-                  v-model="detachedWallPenetratingEquipment"
-                  controls-position="right"
-                  @change="handleChange"
-                  :min="0"
-                  :max="999"
-                ></el-input-number>
-              </el-form-item>
-            </el-col>
-            <el-col :span="6">
-              <el-form-item label="加钞间出入口数量" label-width="150">
-                <!-- <el-select
-                  clearable
-                  v-model="cashAddingRoom"
-                  placeholder="请选择数量"
-                >
-                  <el-option
-                    v-for="option in cashAddingRoomoptions"
-                    :key="option.value"
-                    :label="option.label"
-                    :value="option.value"
-                  ></el-option>
-                </el-select> -->
-                <el-input-number
-                  v-model="cashAddingRoom"
-                  controls-position="right"
-                  @change="handleChange"
-                  :min="0"
-                  :max="999"
-                ></el-input-number>
-              </el-form-item>
-            </el-col>
-            <el-col :span="6">
-              <el-form-item label="出入口远程控制与授权" label-width="150">
-                <!-- <el-switch
-                    v-model="remoteControl"
-                    active-text
-                    inactive-text
-                    :active-value="1"
-                    :inactive-value="0"
-                  ></el-switch> -->
-
-                <el-radio-group v-model="remoteControl">
-                  <el-radio :label="0">是</el-radio>
-                  <el-radio :label="1">否</el-radio>
-                </el-radio-group>
-              </el-form-item>
-            </el-col>
-          </el-row>
-        </el-form>
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="行政区域气象">
+              <el-cascader
+                clearable
+                v-model="weatherAreaCode"
+                :options="areaList"
+                @change="selectArea"
+                placeholder="请选择行政区域气象"
+              ></el-cascader>
+            </el-descriptions-item>
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="产权类型">
+              <el-select
+                clearable
+                v-model="ownership"
+                placeholder="请选择产权类型"
+              >
+                <el-option
+                  v-for="dict in dict.type.property_situation"
+                  :key="dict.value"
+                  :label="dict.label"
+                  :value="dict.value"
+                ></el-option>
+              </el-select>
+            </el-descriptions-item>
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="所在位置">
+              <el-select
+                clearable
+                v-model="outsideArea"
+                placeholder="请选择所在位置"
+              >
+                <el-option
+                  v-for="dict in dict.type.org_extend_is"
+                  :key="dict.value"
+                  :label="dict.label"
+                  :value="dict.value"
+                ></el-option>
+              </el-select>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="是否设立在行式自助银行">
+              <el-radio-group v-model="selfServiceBank">
+                <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 || type === org_type.lhzz" labelClassName="gx_info_label" label="大堂式设备">
+              <el-input-number
+                v-model="lobbyEquipment"
+                controls-position="right"
+                @change="handleChange"
+                :min="0"
+                :max="999"
+              ></el-input-number>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.yewd || type === org_type.lhzz" labelClassName="gx_info_label" label="穿墙式设备">
+              <el-input-number
+                v-model="wallPenetratingEquipment"
+                controls-position="right"
+                @change="handleChange"
+                :min="0"
+                :max="999"
+              ></el-input-number>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="是否设立保管箱库">
+              <el-radio-group v-model="safeBox">
+                <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" labelClassName="gx_info_label" 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-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="业务库类型">
+              <el-select
+                clearable
+                v-model="businessLibraryType"
+                placeholder="请选择业务库类型"
+              >
+                <el-option
+                  v-for="dict in dict.type.business_library_type"
+                  :key="dict.value"
+                  :label="dict.label"
+                  :value="dict.value"
+                ></el-option>
+              </el-select>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="夜间值守方式">
+              <el-select
+                clearable
+                v-model="dutyMode"
+                placeholder="请选择夜间值守方式"
+              >
+                <el-option
+                  v-for="dict in dict.type.duty_options"
+                  :key="dict.value"
+                  :label="dict.label"
+                  :value="dict.value"
+                ></el-option>
+              </el-select>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" 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-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="内部保安人数">
+              <el-input-number
+                v-model="innerCount"
+                controls-position="right"
+                @change="handleChange"
+                :min="0"
+                :max="999"
+              ></el-input-number>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="外聘保安人数">
+              <el-input-number
+                v-model="outsideCount"
+                controls-position="right"
+                @change="handleChange"
+                :min="0"
+                :max="999"
+              ></el-input-number>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.jkzx" labelClassName="gx_info_label" label="建设时间">
+              <el-date-picker
+                clearable
+                v-model="constructionTime"
+                type="date"
+                value-format="yyyy-MM-dd HH:mm:ss"
+                placeholder="请选择建设时间"
+              >
+              </el-date-picker>
+            </el-descriptions-item>
+            <el-descriptions-item v-if="type === org_type.jkzx" labelClassName="gx_info_label" label="最近一次改造时间">
+              <el-date-picker
+                clearable
+                v-model="constructionTime"
+                type="date"
+                value-format="yyyy-MM-dd HH:mm:ss"
+                placeholder="请选择建设时间"
+              >
+              </el-date-picker>
+            </el-descriptions-item>
+            <el-descriptions-item v-if="type === org_type.jkzx" labelClassName="gx_info_label" label="系统平台品牌">
+              <el-select
+                clearable
+                v-model="platformBrand"
+                placeholder="请选择系统平台品牌"
+              >
+                <el-option
+                  v-for="dict in dict.type.org_platform_brand"
+                  :key="dict.value"
+                  :label="dict.label"
+                  :value="dict.value"
+                ></el-option>
+              </el-select>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.jkzx || type === org_type.yewd|| type === org_type.lhzz" labelClassName="gx_info_label" 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 v-if="type === org_type.jkzx || type === org_type.yewd" labelClassName="gx_info_label" label="业务库防控隔离门出入口数量">
+              <el-input-number
+                v-model="remoteCount"
+                controls-position="right"
+                @change="handleChange"
+                :min="0"
+                :max="999"
+              ></el-input-number>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.jkzx || type === org_type.lhzz" labelClassName="gx_info_label" label="离行式加钞间出入口数量">
+              <el-input-number
+                v-model="cashAddingRoom"
+                controls-position="right"
+                @change="handleChange"
+                :min="0"
+                :max="999"
+              ></el-input-number>
+            </el-descriptions-item>
+
+            <el-descriptions-item v-if="type === org_type.yewd" labelClassName="gx_info_label" label="上传保安证">
+              <image-upload
+                :limit="5"
+                :value="askariCertificate"
+                :fileSize="2"
+                @input="getImgUrl"
+              ></image-upload>
+            </el-descriptions-item>
+
+
+          </el-descriptions>
+        </div>
       </div>
-      <div style="margin-top: 50px; margin-left: 42%">
-        <el-button type="primary" @click="saveExtend" size="small"
-        >提交</el-button
+
+
+
+      <div style="
+      line-height: 50px;
+      width: 100%;
+      height: 55px;
+      text-align: center;
+      background: #ffffff;
+      z-index: 9999;">
+        <el-button type="primary" @click="saveExtend"
+        >提交
+        </el-button
         >
-        <el-button type="primary" @click="nosaveExtend" size="small"
-        >取消</el-button
+        <el-button type="primary" @click="nosaveExtend"
+        >取消
+        </el-button
         >
       </div>
     </div>
@@ -553,11 +385,10 @@
       <el-form
         ref="orgform"
         :model="orgform"
-        label-width="100px"
+        label-width="130px"
         :rules="rules"
       >
         <el-form-item label="机构类型" prop="type">
-          <!-- <el-input v-model="orgform.standard" placeholder="请输入标准" /> -->
           <el-select
             prop="type"
             label="机构类型"
@@ -566,7 +397,7 @@
             clearable
           >
             <el-option
-              v-for="dict in orgTypes"
+              v-for="dict in dict.type.org_extend_type"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -590,7 +421,7 @@
             />
           </el-select>
         </el-form-item>
-        <el-form-item label="达标日期" prop="dateOfCompliance">
+        <el-form-item v-show="orgform.standard === '2' || orgform.standard === '1'" label="达标日期" prop="dateOfCompliance">
           <el-date-picker
             clearable
             v-model="orgform.dateOfCompliance"
@@ -600,20 +431,21 @@
           >
           </el-date-picker>
         </el-form-item>
-        <!-- <el-form-item label="证书佐证" prop="certificateEvidence">
-          <el-switch
-            v-model="orgform.certificateEvidence"
-            active-text
-            :active-value="1"
-            :inactive-value="0"
-          ></el-switch>
-        </el-form-item> -->
-        <el-form-item label="证书" prop="certificate">
-          <!-- <el-input
-            v-if="false"
-            v-model="orgform.certificate"
-            placeholder="请输入证书"
-          /> -->
+        <el-form-item v-show="orgform.standard === '3'" label="计划达标日期" >
+          <el-date-picker
+            clearable
+            v-model="orgform.dateOfComplete"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="请选择计划达标日期"
+          >
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item v-show="orgform.standard === '3'" label="未达标原因" >
+          <el-input type="textarea" rows="5" v-model="orgform.reason" placeholder="请输入未达标原因"/>
+        </el-form-item>
+
+        <el-form-item label="上传证书" v-show="orgform.standard !== '3'" prop="certificate">
           <div class="image-container" style="margin-left: 20px">
             <p style="font-size: 12px; color: #999">上传安全防范设施合格证</p>
             <image-upload
@@ -624,11 +456,8 @@
             ></image-upload>
           </div>
         </el-form-item>
-        <el-form-item v-if="false" label="佐证" prop="evidence">
-          <el-input v-model="orgform.evidence" placeholder="请输入佐证" />
-        </el-form-item>
         <el-form-item v-if="false" label="机构id" prop="orgId">
-          <el-input v-model="orgform.orgId" placeholder="请输入机构id" />
+          <el-input v-model="orgform.orgId" placeholder="请输入机构id"/>
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
@@ -646,1059 +475,1064 @@
 </template>
 
 <script>
-import uploadpng from "@/assets/images/upload.png";
-import uplpng from "@/assets/images/upl.png";
-import request from "@/utils/request";
-import { statusOptions, getLabel } from "./../../commonOption";
-import {
-  listExtend,
-  getExtend,
-  addExtend,
-  updateExtend,
-  delExtend,
-  getExtendByOrgId,
-  uploadFile,
-} from "@/api/system/extend";
-
-import {
-  listDept,
-  getDept,
-  delDept,
-  addDept,
-  updateDept,
-  listDeptExcludeChild,
-} from "@/api/system/dept";
-
-import {
-  listOrgPhysicalDefenseConstruction,
-  getOrgPhysicalDefenseConstruction,
-  addOrgPhysicalDefenseConstruction,
-  updateOrgPhysicalDefenseConstruction,
-  delOrgPhysicalDefenseConstruction,
-} from "@/api/system/OrgPhysicalDefenseConstruction";
-import { selectCityInfoVoList } from "@/api/core/weather";
-import TreeNodeDialogVue from "../../tool/build/TreeNodeDialog.vue";
-
-export default {
-  dicts: [
-    "sys_org_type",
-    "org_platform_brand",
-    "org_platform_supplier_brand",
-    "org_extend_type",
-    "business_library_type",
-    "reality_org_type",
-    "org_extend_standard",
-    "org_extend_business_library_standard",
-    "org_extend_self_service_bank_standard",
-    "org_extend_detached_standard",
-    "org_extend_is",
-    "property_situation",
-  ],
-  props: [],
-  components: {
-    "el-image-viewer": () =>
-      import("element-ui/packages/image/src/image-viewer"),
-  },
-  data() {
-    let formatRule = function (rule, value, callback) {
-      console.log(value, "value");
-      if (!value.length) {
-        callback(new Error("证书为必填项"));
-      } else {
-        callback();
-      }
-    };
-    return {
-      reqmsg: false,
-      imageViewer: false,
-      //表单验证
-      rules: {
-        type: [{ required: true, message: "请选择机构类型", trigger: "blur" }],
-        standard: [{ required: true, message: "请输入标准", trigger: "blur" }],
-        // dateOfCompliance: [
-        //   {
-        //     required: TreeNodeDialogVue,
-        //     message: "请输入达标日期",
-        //     trigger: "blur",
-        //   },
-        // ],
-        // certificate: [
-        //   { validator: this.isreq, message: "请选择图片", trigger: "blur" },
-        // ],
+  import uploadpng from "@/assets/images/upload.png";
+  import uplpng from "@/assets/images/upl.png";
+  import request from "@/utils/request";
+  import {statusOptions, getLabel} from "./../../commonOption";
+  import {
+    listExtend,
+    getExtend,
+    addExtend,
+    updateExtend,
+    delExtend,
+    getExtendByOrgId,
+    uploadFile,
+  } from "@/api/system/extend";
+
+  import {
+    listDept,
+    getDept,
+    delDept,
+    addDept,
+    updateDept,
+    listDeptExcludeChild,
+  } from "@/api/system/dept";
+
+  import {
+    listOrgPhysicalDefenseConstruction,
+    getOrgPhysicalDefenseConstruction,
+    addOrgPhysicalDefenseConstruction,
+    updateOrgPhysicalDefenseConstruction,
+    delOrgPhysicalDefenseConstruction,
+  } from "@/api/system/OrgPhysicalDefenseConstruction";
+  import {selectCityInfoVoList} from "@/api/core/weather";
+  import TreeNodeDialogVue from "../../tool/build/TreeNodeDialog.vue";
+
+  export default {
+    dicts: [
+      "sys_org_type",
+      "org_platform_brand",
+      "org_platform_supplier_brand",
+      "org_extend_type",
+      "business_library_type",
+      "reality_org_type",
+      "org_extend_standard",
+      "org_extend_business_library_standard",
+      "org_extend_self_service_bank_standard",
+      "org_extend_detached_standard",
+      "org_extend_is",
+      "property_situation",
+      "duty_options",
+    ],
+    props: [],
+    components: {
+      "el-image-viewer": () =>
+        import("element-ui/packages/image/src/image-viewer"),
+    },
+    data() {
+      let formatRule = function (rule, value, callback) {
+        console.log(value, "value");
+        if (!value.length) {
+          callback(new Error("证书为必填项"));
+        } else {
+          callback();
+        }
+      };
+      return {
+        org_type:{
+          jkzx: '10',
+          yewd: '4',
+          lhzz: '5',
+        },
+        reqmsg: false,
+        imageViewer: false,
+        //表单验证
+        rules: {
+          type: [{required: true, message: "请选择机构类型", trigger: "blur"}],
+          standard: [{required: true, message: "请输入标准", trigger: "blur"}],
+        },
+        remoteCountoptions: [
+          {label: "0", value: 0},
+          {label: "1", value: 1},
+          {label: "2", value: 2},
+          {label: "3", value: 3},
+        ],
+        cashAddingRoomoptions: [
+          {label: "0", value: 0},
+          {label: "1", value: 1},
+          {label: "2", value: 2},
+          {label: "3", value: 3},
+        ],
+        //基础信息key
+        infoKeys: [
+          {label: "机构名称", key: "name"},
+          {label: "机构简称", key: "shortName"},
+          {label: "机构地址", key: "address"},
+          {label: "排序号", key: "sort"},
+          {label: "更新时间", key: "updateTime"},
+          {label: "同步时间", key: "createTime"},
+        ],
+        innerCount: 0,
+        outsideCount: 0,
+        safeBox: null,
+        remoteCount: 0,
+        cashAddingRoom: 0,
+        type: null,
+        isLock: null,
+        dataInfo: [],
+        //机构补充信息
+        extendId: null,
+        orgType: 1,
+        weatherAreaCode: null,
+        premisesArea: null,
+        ownership: null,
+        outsideArea: null,
+        askari: null,
+        businessLibrary: 0,
+        businessLibraryType: null,
+        dutyMode: null,
+        remoteControl: null,
+        selfServiceBank: null,
+        lobbyEquipment: 0,
+        wallPenetratingEquipment: 0,
+        platformBrand: null,
+        platformSupplierBrand: null,
+        constructionTime: null,
+        lastUpdateTime: null,
+        detachedLobbyEquipment: null,
+        detachedWallPenetratingEquipment: null,
+        cashAddingRoomRemoteControl: null,
+        source: null,
+        askariCertificate: null,
+        //机构建设数据
+
+        // 遮罩层
+        orgloading: true,
+        businessloading: true,
+        // 选中数组
+        orgids: [],
+        // 选中数组
+        Bankids: [],
+        Businessids: [],
+        // 非单个禁用
+        single: true,
+        // 非多个禁用
+        multiple: true,
+        // 显示搜索条件
+        showSearch: true,
+        // 总条数
+        total: 0,
+        // 机构物防建设表格数据
+        constructionList: [],
+        // 银行物防建设表格数据
+        BankPhysicalDefenseConstructionList: [],
+        detachedPhysicalDefenseConstructionList: [],
+        BusinessPhysicalDefenseConstructionList: [],
+        // 弹出层标题
+        orgtitle: "",
+        Businesstitle: "",
+        // 弹出层标题
+        Banktitle: "",
+        detachedtitle: "",
+        detachedloading: false,
+        // 是否显示弹出层
+        Bankopen: false,
+        detachedopen: false,
+        //图片预览
+        openUrl: null,
+        srcList: [],
+        openTitle: null,
+        openVisible: false,
+        // 表单参数
+        Bankform: {},
+        detachedform: {},
+        Businessform: {},
+        // 是否显示弹出层
+        Businessopen: false,
+        orgopen: false,
+        // 表单参数
+        orgform: {},
+        //2个图片信息
+        uploadp: uploadpng,
+        uplp: uplpng,
+        //下拉框生成信息
+        orgTypes: [
+          {label: "营业网点", value: 0},
+          {label: "在行式自助银行", value: 1},
+          {label: "离行式自助银行", value: 2},
+          {label: "中心业务库", value: 3},
+          {label: "网点业务库", value: 4},
+          {label: "保管箱库", value: 5},
+          {label: "监控中心", value: 6},
+        ],
+        businessLibraryTypes: {
+          businessLibraryTyp1: {label: "1类业务库", value: 1},
+          businessLibraryTyp2: {label: "2类业务库", value: 2},
+          businessLibraryTyp3: {label: "3类业务库", value: 3},
+        },
+        platformBrands: {
+          platformBrand1: {label: "品牌1", value: 0},
+          platformBrand2: {label: "品牌2", value: 1},
+        },
+        platformSupplierBrands: {
+          platformSupplierBrand1: {label: "品牌1", value: 0},
+          platformSupplierBrand2: {label: "品牌2", value: 1},
+        },
+        prop: "",
+        propItem: "",
+
+        row: "",
+        areaList: [],
+        imgs: [],
+        Businessimgs: [],
+        Bankimgs: [],
+        orgimgs: [],
+        detachedimgs: [],
+      };
+    },
+    watch: {
+      "detachedform.certificateEvidence"(newValue) {
+        if (
+          newValue === 1 &&
+          this.detachedform.certificate == null &&
+          this.detachedimgs.length == 0
+        ) {
+          this.reqmsg = true;
+        }
+        if (newValue === 0) {
+          this.reqmsg = false;
+        }
       },
-      remoteCountoptions: [
-        { label: "0", value: 0 },
-        { label: "1", value: 1 },
-        { label: "2", value: 2 },
-        { label: "3", value: 3 },
-      ],
-      cashAddingRoomoptions: [
-        { label: "0", value: 0 },
-        { label: "1", value: 1 },
-        { label: "2", value: 2 },
-        { label: "3", value: 3 },
-      ],
-      dutyModeoptions: [
-        { label: "同楼异地值守", value: 0 },
-        { label: "远程值守", value: 1 },
-      ],
-      //基础信息key
-      infoKeys: [
-        { label: "机构名称", key: "name" },
-        { label: "机构简称", key: "shortName" },
-        // { label: "机构组织类型", key: "type" },
-        // { label: "部门机构电话", key: "phone" },
-        { label: "机构地址", key: "address" },
-        { label: "排序号", key: "sort" },
-        // { label: "是否可用", key: "isLock" },
-        { label: "更新时间", key: "updateTime" },
-        { label: "同步时间", key: "createTime" },
-      ],
-      innerCount: 0,
-      outsideCount: 0,
-      safeBox: 0,
-      remoteCount: 0,
-      cashAddingRoom: 0,
-      type: null,
-      isLock: null,
-      dataInfo: [],
-      //机构补充信息
-      extendId: null,
-      orgType: 1,
-      weatherAreaCode: null,
-      premisesArea: null,
-      ownership: null,
-      outsideArea: null,
-      askari: null,
-      businessLibrary: 0,
-      businessLibraryType: null,
-      dutyMode: 0,
-      remoteControl: null,
-      selfServiceBank: null,
-      lobbyEquipment: 0,
-      wallPenetratingEquipment: 0,
-      platformBrand: null,
-      platformSupplierBrand: null,
-      constructionTime: null,
-      lastUpdateTime: null,
-      detachedLobbyEquipment: null,
-      detachedWallPenetratingEquipment: null,
-      cashAddingRoomRemoteControl: null,
-      source: null,
-      askariCertificate: null,
-      //机构建设数据
-
-      // 遮罩层
-      orgloading: true,
-      businessloading: true,
-      // 选中数组
-      orgids: [],
-      // 选中数组
-      Bankids: [],
-      Businessids: [],
-      // 非单个禁用
-      single: true,
-      // 非多个禁用
-      multiple: true,
-      // 显示搜索条件
-      showSearch: true,
-      // 总条数
-      total: 0,
-      // 机构物防建设表格数据
-      constructionList: [],
-      // 银行物防建设表格数据
-      BankPhysicalDefenseConstructionList: [],
-      detachedPhysicalDefenseConstructionList: [],
-      BusinessPhysicalDefenseConstructionList: [],
-      // 弹出层标题
-      orgtitle: "",
-      Businesstitle: "",
-      // 弹出层标题
-      Banktitle: "",
-      detachedtitle: "",
-      detachedloading: false,
-      // 是否显示弹出层
-      Bankopen: false,
-      detachedopen: false,
-      //图片预览
-      openUrl: null,
-      srcList: [],
-      openTitle: null,
-      openVisible: false,
-      // 表单参数
-      Bankform: {},
-      detachedform: {},
-      Businessform: {},
-      // 是否显示弹出层
-      Businessopen: false,
-      orgopen: false,
-      // 表单参数
-      orgform: {},
-      //2个图片信息
-      uploadp: uploadpng,
-      uplp: uplpng,
-      //下拉框生成信息
-      orgTypes: [
-        { label: "营业网点", value: 0 },
-        { label: "在行式自助银行", value: 1 },
-        { label: "离行式自助银行", value: 2 },
-        { label: "中心业务库", value: 3 },
-        { label: "网点业务库", value: 4 },
-        { label: "保管箱库", value: 5 },
-        { label: "监控中心", value: 6 },
-      ],
-      businessLibraryTypes: {
-        businessLibraryTyp1: { label: "1类业务库", value: 1 },
-        businessLibraryTyp2: { label: "2类业务库", value: 2 },
-        businessLibraryTyp3: { label: "3类业务库", value: 3 },
+      "Bankform.certificateEvidence"(newValue) {
+        // console.log(this.Bankimgs.length,"this.imgs")
+        // console.log(this.Bankform.certificate,"Bankform.certificate")
+        if (
+          newValue === 1 &&
+          this.Bankform.certificate == null &&
+          this.Bankimgs.length == 0
+        ) {
+          this.reqmsg = true;
+        }
+        if (newValue === 0) {
+          this.reqmsg = false;
+        }
       },
-      platformBrands: {
-        platformBrand1: { label: "品牌1", value: 0 },
-        platformBrand2: { label: "品牌2", value: 1 },
+      "Businessform.certificateEvidence"(newValue) {
+        if (
+          newValue === 1 &&
+          this.Businessform.certificate == null &&
+          this.Businessimgs.length === 0
+        ) {
+          this.reqmsg = true;
+        }
+        if (newValue === 0) {
+          this.reqmsg = false;
+        }
       },
-      platformSupplierBrands: {
-        platformSupplierBrand1: { label: "品牌1", value: 0 },
-        platformSupplierBrand2: { label: "品牌2", value: 1 },
+      "orgform.certificateEvidence"(newValue) {
+        if (
+          newValue === 1 &&
+          this.orgform.certificate == null &&
+          this.orgimgs.length === 0
+        ) {
+          this.reqmsg = true;
+        }
+        if (newValue === 0) {
+          this.reqmsg = false;
+        }
       },
-      prop: "",
-      propItem: "",
-
-      row: "",
-      areaList: [],
-      imgs: [],
-      Businessimgs: [],
-      Bankimgs: [],
-      orgimgs: [],
-      detachedimgs: [],
-    };
-  },
-  watch: {
-    "detachedform.certificateEvidence"(newValue) {
-      if (
-        newValue === 1 &&
-        this.detachedform.certificate == null &&
-        this.detachedimgs.length == 0
-      ) {
-        this.reqmsg = true;
-      }
-      if (newValue === 0) {
-        this.reqmsg = false;
-      }
     },
-    "Bankform.certificateEvidence"(newValue) {
-      // console.log(this.Bankimgs.length,"this.imgs")
-      // console.log(this.Bankform.certificate,"Bankform.certificate")
-      if (
-        newValue === 1 &&
-        this.Bankform.certificate == null &&
-        this.Bankimgs.length == 0
-      ) {
-        this.reqmsg = true;
-      }
-      if (newValue === 0) {
-        this.reqmsg = false;
-      }
-    },
-    "Businessform.certificateEvidence"(newValue) {
-      if (
-        newValue === 1 &&
-        this.Businessform.certificate == null &&
-        this.Businessimgs.length == 0
-      ) {
-        this.reqmsg = true;
-      }
-      if (newValue === 0) {
-        this.reqmsg = false;
-      }
-    },
-    "orgform.certificateEvidence"(newValue) {
-      if (
-        newValue === 1 &&
-        this.orgform.certificate == null &&
-        this.orgimgs.length == 0
-      ) {
-        this.reqmsg = true;
-      }
-      if (newValue === 0) {
-        this.reqmsg = false;
-      }
-    },
-  },
-  computed: {
-    getLabels() {
-      return function (value) {
-        const option = this.orgTypes.filter((item) => item.value == value);
-        // console.log(option[0].label,"option")
-        return option ? option[0].label : "";
-      };
-    },
-    switchModel: {
-      get() {
-        return this.switchValue === 1; // 将0转换为false,1转换为true
+    computed: {
+      getLabels() {
+        return function (value) {
+          const option = this.orgTypes.filter((item) => item.value == value);
+          // console.log(option[0].label,"option")
+          return option ? option[0].label : "";
+        };
       },
-      set(value) {
-        this.switchValue = value ? 1 : 0; // 将false转换为0,true转换为1
+      switchModel: {
+        get() {
+          return this.switchValue === 1; // 将0转换为false,1转换为true
+        },
+        set(value) {
+          this.switchValue = value ? 1 : 0; // 将false转换为0,true转换为1
+        },
       },
     },
-  },
-  created() {
-    this.getOrgInfo();
-    this.getExtendInfo();
-    this.getOrgPhysicalDefenseConstructionInfo();
-    this.getBankPhysicalDefenseConstructionInfo();
-    this.getBusinessPhysicalDefenseConstructionInfo();
-    this.getdetachedPhysicalDefenseConstructionInfo();
-    this.getAreaList();
-  },
-  mounted() {},
-  methods: {
-    closeImgViewer() {
-      this.imageViewer = false;
-      this.srcList = [];
-    },
-    isreq(rule, value, callback) {
-      if (this.reqmsg) {
-        callback(new Error("证书为必填项"));
-      } else {
-        callback();
-      }
+    created() {
+      this.getOrgInfo();
+      this.getExtendInfo();
+      this.getOrgPhysicalDefenseConstructionInfo();
+      this.getBankPhysicalDefenseConstructionInfo();
+      this.getBusinessPhysicalDefenseConstructionInfo();
+      this.getdetachedPhysicalDefenseConstructionInfo();
+      this.getAreaList();
     },
-    // getImgUrl(fileList) {
-    //   let matchResult = fileList.match(/\/statics(.*)/);
-    //   if (matchResult) {
-    //     let result = matchResult[0];
-    //     this.askariCertificate = result;
-    //   } else {
-    //   }
-    //   // this.askariCertificate=img;
-    //   console.log(this.askariCertificate, "imgs");
-    // },
-    getImgUrl(img) {
-      this.imgs.push(img);
-      // console.log(this.imgs, "imgs");
+    mounted() {
     },
-    getAreaList() {
-      selectCityInfoVoList({}).then((response) => {
-        this.areaList = response.data;
-      });
-    },
-    selectArea(value) {
-      this.weatherAreaCode = value[1];
-    },
-    downBusiness(file) {
-      let array = file.split(",");
-      this.openTitle = "证书";
-      this.openUrl = array[0];
-      this.srcList = array;
-      this.openVisible = true;
-      this.imageViewer = true;
-
-      // for (let i = 0; i < array.length; i++) {
-      //   window.open(array[i]);
-      // }
-    },
-    //证书上传
-    uploadBusinessSuccess(img) {
-      this.Businessimgs.push(img);
-      this.reqmsg = false;
-    },
-    uploadBankSuccess(img) {
-      this.Bankimgs.push(img);
-      this.reqmsg = false;
-    },
-    uploadorgSuccess(img) {
-      this.orgimgs.push(img);
-      this.reqmsg = false;
-    },
-    uploaddetachedSuccess(img) {
-      this.detachedimgs.push(img);
-      this.reqmsg = false;
-    },
-
-    handleInput() {
-      // 使用正则表达式过滤输入,只保留数字和小数点
-      // this.premisesArea = this.premisesArea.replace(/[^0-9.]/g, "");
-      // 限制只能输入1到999999之间的数字
-      let value = parseInt(this.premisesArea, 10); // 将输入的值转为整数
-
-      if (isNaN(value) || value < 1 || value > 999999) {
-        // 判断是否在范围内
-        this.premisesArea = ""; // 不在范围内则清空输入的值
-      } else {
-        this.premisesArea = value.toString(); // 在范围内则保留输入的值
-      }
-    },
-    handleInput2() {
-      // 使用正则表达式过滤输入,只保留数字和小数点
-      this.weatherAreaCode = this.weatherAreaCode.replace(/[^a-zA-Z0-9]/g, "");
-    },
-    request() {},
-    handleChange(value) {},
-    getOrgInfo() {
-      getDept(this.$route.params.id).then((data) => {
-        // console.log(data.data);
-        if (!data.data) return;
-        let res = data.data;
-        this.dataInfo = this.infoKeys.map((v, i) => {
-          // console.log(v, res[v.key], "vvvvv");
-          v.value = res[v.key];
-          return v;
+    methods: {
+      closeImgViewer() {
+        this.imageViewer = false;
+        this.srcList = [];
+      },
+      isreq(rule, value, callback) {
+        if (this.reqmsg) {
+          callback(new Error("证书为必填项"));
+        } else {
+          callback();
+        }
+      },
+      getImgUrl(img) {
+        this.imgs.push(img);
+        // console.log(this.imgs, "imgs");
+      },
+      getAreaList() {
+        selectCityInfoVoList({}).then((response) => {
+          this.areaList = response.data;
         });
-        this.type = data.data.type;
-        this.isLock = data.data.isLock;
-        this.source = data.data.source;
-        // console.log(this.dataInfo, "info");
-      });
-    },
+      },
+      selectArea(value) {
+        this.weatherAreaCode = value[1];
+      },
+      downBusiness(file) {
+        let array = file.split(",");
+        this.openTitle = "证书";
+        this.openUrl = array[0];
+        this.srcList = array;
+        this.openVisible = true;
+        this.imageViewer = true;
+
+        // for (let i = 0; i < array.length; i++) {
+        //   window.open(array[i]);
+        // }
+      },
+      //证书上传
+      uploadBusinessSuccess(img) {
+        this.Businessimgs.push(img);
+        this.reqmsg = false;
+      },
+      uploadBankSuccess(img) {
+        this.Bankimgs.push(img);
+        this.reqmsg = false;
+      },
+      uploadorgSuccess(img) {
+        this.orgimgs.push(img);
+        this.reqmsg = false;
+      },
+      uploaddetachedSuccess(img) {
+        this.detachedimgs.push(img);
+        this.reqmsg = false;
+      },
 
-    getExtendInfo() {
-      getExtendByOrgId(this.$route.params.id).then((data) => {
-        console.log(data.data);
-        if (data.data != null) {
-          this.safeBox = data.data.safeBox;
-          this.innerCount = data.data.innerCount;
-          this.outsideCount = data.data.outsideCount;
-          this.cashAddingRoom = data.data.cashAddingRoom;
-          this.remoteCount = data.data.remoteCount;
-          this.orgType = data.data.orgType;
-          this.weatherAreaCode = data.data.weatherAreaCode;
-          this.premisesArea = data.data.premisesArea;
-          this.ownership = data.data.ownership;
-          this.outsideArea = data.data.outsideArea;
-          this.askari = data.data.askari;
-          this.remoteControl = data.data.remoteControl;
-          this.selfServiceBank = data.data.selfServiceBank;
-          this.businessLibrary = data.data.businessLibrary;
-          this.lobbyEquipment = data.data.lobbyEquipment;
-          this.wallPenetratingEquipment = data.data.wallPenetratingEquipment;
-          this.askariCertificate = data.data.askariCertificate;
-          this.extendId = data.data.id;
-          this.constructionTime = data.data.constructionTime;
-          this.lastUpdateTime = data.data.lastUpdateTime;
-          this.platformBrand = data.data.platformBrand;
-          this.platformSupplierBrand = data.data.platformSupplierBrand;
-          this.businessLibraryType = data.data.businessLibraryType;
-          this.dutyMode = data.data.dutyMode;
-          this.detachedLobbyEquipment = data.data.detachedLobbyEquipment;
-          this.detachedWallPenetratingEquipment =
-            data.data.detachedWallPenetratingEquipment;
-          this.cashAddingRoomRemoteControl =
-            data.data.cashAddingRoomRemoteControl;
-          // if (
-          //   this.askariCertificate &&
-          //   this.askariCertificate.trim() &&
-          //   this.askariCertificate.includes(",")
-          // ) {
-          //   this.imgs = this.askariCertificate.split(",");
-          // } else if (
-          //   this.askariCertificate &&
-          //   this.askariCertificate.trim() &&
-          //   this.askariCertificate.includes(".")
-          // ) {
-          //   this.imgs.push(this.askariCertificate);
-          // }
-
-          // console.log(this.extendId);
+      handleInput() {
+        // 使用正则表达式过滤输入,只保留数字和小数点
+        // this.premisesArea = this.premisesArea.replace(/[^0-9.]/g, "");
+        // 限制只能输入1到999999之间的数字
+        let value = parseInt(this.premisesArea, 10); // 将输入的值转为整数
+
+        if (isNaN(value) || value < 1 || value > 999999) {
+          // 判断是否在范围内
+          this.premisesArea = ""; // 不在范围内则清空输入的值
+        } else {
+          this.premisesArea = value.toString(); // 在范围内则保留输入的值
         }
-      });
-    },
-    getLabel(options, value) {
-      return getLabel(options, value);
-    },
-    getOrgPhysicalDefenseConstructionInfo() {
-      this.orgloading = true;
-      let dat = { orgId: this.$route.params.id };
-      listOrgPhysicalDefenseConstruction(dat).then((data) => {
-        console.log("机构信息获取成功");
-        this.constructionList = data.rows;
-        this.orgloading = false;
-      });
-    },
-    getBankPhysicalDefenseConstructionInfo() {
-      this.bankloading = true;
-      let dat = { orgId: this.$route.params.id, type: 3 };
-      listOrgPhysicalDefenseConstruction(dat).then((data) => {
-        // console.log(data);
-        this.BankPhysicalDefenseConstructionList = data.rows;
-        this.bankloading = false;
-      });
-    },
-    getdetachedPhysicalDefenseConstructionInfo() {
-      this.detachedloading = true;
-      let dat = { orgId: this.$route.params.id, type: 4 };
-      listOrgPhysicalDefenseConstruction(dat).then((data) => {
-        // console.log(data);
-        this.detachedPhysicalDefenseConstructionList = data.rows;
-        this.detachedloading = false;
-      });
-    },
-    getBusinessPhysicalDefenseConstructionInfo() {
-      this.businessloading = true;
-      let dat = { orgId: this.$route.params.id, type: 2 };
-      listOrgPhysicalDefenseConstruction(dat).then((data) => {
-        // console.log(data);
-        this.BusinessPhysicalDefenseConstructionList = data.rows;
-        this.businessloading = false;
-      });
-    },
-    // 取消按钮
-    Businesscancel() {
-      this.Businessopen = false;
-      this.Businessreset();
-    },
-    // 表单重置
-    Businessreset() {
-      this.Businessform = {
-        id: null,
-        standard: null,
-        dateOfCompliance: null,
-        certificateEvidence: null,
-        certificate: null,
-        evidence: null,
-        createTime: null,
-        updateTime: null,
-        createBy: null,
-        updateBy: null,
-        orgId: null,
-      };
-      this.reqmsg = false;
-      this.resetForm("Businessform");
-    },
-    // 多选框选中数据
-    handleBusinessSelectionChange(selection) {
-      this.Businessids = selection.map((item) => item.id);
-      this.single = selection.length !== 1;
-      this.multiple = !selection.length;
-    },
-    /** 新增按钮操作 */
-    handleBusinessAdd() {
-      this.Businessreset();
-      this.Businessopen = true;
-      this.Businesstitle = "新增安全防范设施建设达标信息";
-    },
-    /** 编辑按钮操作 */
-    handleBusinessUpdate(row) {
-      this.Businessreset();
-      const id = row.id || this.Businessids;
-      getOrgPhysicalDefenseConstruction(id).then((response) => {
-        // console.log(response.data,"response.data")
-        this.Businessform = response.data;
-        // this.Businessform.certificateEvidence=parseInt(response.data.certificateEvidence);
+      },
+      handleInput2() {
+        // 使用正则表达式过滤输入,只保留数字和小数点
+        this.weatherAreaCode = this.weatherAreaCode.replace(/[^a-zA-Z0-9]/g, "");
+      },
+      request() {
+      },
+      handleChange(value) {
+      },
+      getOrgInfo() {
+        getDept(this.$route.params.id).then((data) => {
+          // console.log(data.data);
+          if (!data.data) return;
+          let res = data.data;
+          this.dataInfo = this.infoKeys.map((v, i) => {
+            // console.log(v, res[v.key], "vvvvv");
+            v.value = res[v.key];
+            return v;
+          });
+          this.type = data.data.type;
+          this.isLock = data.data.isLock;
+          this.source = data.data.source;
+          // console.log(this.dataInfo, "info");
+        });
+      },
+
+      getExtendInfo() {
+        getExtendByOrgId(this.$route.params.id).then((data) => {
+          console.log(data.data);
+          if (data.data != null) {
+            this.safeBox = data.data.safeBox;
+            this.innerCount = data.data.innerCount;
+            this.outsideCount = data.data.outsideCount;
+            this.cashAddingRoom = data.data.cashAddingRoom;
+            this.remoteCount = data.data.remoteCount;
+            this.orgType = data.data.orgType;
+            this.weatherAreaCode = data.data.weatherAreaCode;
+            this.premisesArea = data.data.premisesArea;
+            this.ownership = data.data.ownership;
+            this.outsideArea = data.data.outsideArea;
+            this.askari = data.data.askari;
+            this.remoteControl = data.data.remoteControl;
+            this.selfServiceBank = data.data.selfServiceBank;
+            this.businessLibrary = data.data.businessLibrary;
+            this.lobbyEquipment = data.data.lobbyEquipment;
+            this.wallPenetratingEquipment = data.data.wallPenetratingEquipment;
+            this.askariCertificate = data.data.askariCertificate;
+            this.extendId = data.data.id;
+            this.constructionTime = data.data.constructionTime;
+            this.lastUpdateTime = data.data.lastUpdateTime;
+            this.platformBrand = data.data.platformBrand;
+            this.platformSupplierBrand = data.data.platformSupplierBrand;
+            this.businessLibraryType = data.data.businessLibraryType;
+            this.dutyMode = data.data.dutyMode;
+            this.detachedLobbyEquipment = data.data.detachedLobbyEquipment;
+            this.detachedWallPenetratingEquipment =
+              data.data.detachedWallPenetratingEquipment;
+            this.cashAddingRoomRemoteControl =
+              data.data.cashAddingRoomRemoteControl;
+            // if (
+            //   this.askariCertificate &&
+            //   this.askariCertificate.trim() &&
+            //   this.askariCertificate.includes(",")
+            // ) {
+            //   this.imgs = this.askariCertificate.split(",");
+            // } else if (
+            //   this.askariCertificate &&
+            //   this.askariCertificate.trim() &&
+            //   this.askariCertificate.includes(".")
+            // ) {
+            //   this.imgs.push(this.askariCertificate);
+            // }
+
+            // console.log(this.extendId);
+          }
+        });
+      },
+      getLabel(options, value) {
+        return getLabel(options, value);
+      },
+      getOrgPhysicalDefenseConstructionInfo() {
+        this.orgloading = true;
+        let dat = {orgId: this.$route.params.id};
+        listOrgPhysicalDefenseConstruction(dat).then((data) => {
+          console.log("机构信息获取成功");
+          this.constructionList = data.rows;
+          this.orgloading = false;
+        });
+      },
+      getBankPhysicalDefenseConstructionInfo() {
+        this.bankloading = true;
+        let dat = {orgId: this.$route.params.id, type: 3};
+        listOrgPhysicalDefenseConstruction(dat).then((data) => {
+          // console.log(data);
+          this.BankPhysicalDefenseConstructionList = data.rows;
+          this.bankloading = false;
+        });
+      },
+      getdetachedPhysicalDefenseConstructionInfo() {
+        this.detachedloading = true;
+        let dat = {orgId: this.$route.params.id, type: 4};
+        listOrgPhysicalDefenseConstruction(dat).then((data) => {
+          // console.log(data);
+          this.detachedPhysicalDefenseConstructionList = data.rows;
+          this.detachedloading = false;
+        });
+      },
+      getBusinessPhysicalDefenseConstructionInfo() {
+        this.businessloading = true;
+        let dat = {orgId: this.$route.params.id, type: 2};
+        listOrgPhysicalDefenseConstruction(dat).then((data) => {
+          // console.log(data);
+          this.BusinessPhysicalDefenseConstructionList = data.rows;
+          this.businessloading = false;
+        });
+      },
+      // 取消按钮
+      Businesscancel() {
+        this.Businessopen = false;
+        this.Businessreset();
+      },
+      // 表单重置
+      Businessreset() {
+        this.Businessform = {
+          id: null,
+          standard: null,
+          dateOfCompliance: null,
+          certificateEvidence: null,
+          certificate: null,
+          evidence: null,
+          createTime: null,
+          updateTime: null,
+          createBy: null,
+          updateBy: null,
+          orgId: null,
+        };
+        this.reqmsg = false;
+        this.resetForm("Businessform");
+      },
+      // 多选框选中数据
+      handleBusinessSelectionChange(selection) {
+        this.Businessids = selection.map((item) => item.id);
+        this.single = selection.length !== 1;
+        this.multiple = !selection.length;
+      },
+      /** 新增按钮操作 */
+      handleBusinessAdd() {
+        this.Businessreset();
         this.Businessopen = true;
-        this.Businesstitle = "编辑安全防范设施建设达标信息";
-      });
-    },
-    /** 提交按钮 */
-    submitBusinessForm() {
-      if (this.Businessimgs.length > 0) {
-        this.Businessform.certificate =
-          this.Businessimgs[this.Businessimgs.length - 1].toString(",");
-      }
-
-      this.$refs.Businessform.validate((valid) => {
-        if (valid) {
-          // 表单验证通过,提交数据或执行其他操作
-          this.Businessform.orgId = this.$route.params.id;
-          this.Businessform.type = 2;
-
-          if (this.Businessform.id != null) {
-            // console.log(this.Businessform,"this.Businessform")
-            updateOrgPhysicalDefenseConstruction(this.Businessform).then(
-              (response) => {
-                this.$modal.msgSuccess("编辑成功");
-                this.Businessopen = false;
-                this.getBusinessPhysicalDefenseConstructionInfo();
-              }
-            );
+        this.Businesstitle = "新增安全防范设施建设达标信息";
+      },
+      /** 编辑按钮操作 */
+      handleBusinessUpdate(row) {
+        this.Businessreset();
+        const id = row.id || this.Businessids;
+        getOrgPhysicalDefenseConstruction(id).then((response) => {
+          // console.log(response.data,"response.data")
+          this.Businessform = response.data;
+          // this.Businessform.certificateEvidence=parseInt(response.data.certificateEvidence);
+          this.Businessopen = true;
+          this.Businesstitle = "编辑安全防范设施建设达标信息";
+        });
+      },
+      /** 提交按钮 */
+      submitBusinessForm() {
+        if (this.Businessimgs.length > 0) {
+          this.Businessform.certificate =
+            this.Businessimgs[this.Businessimgs.length - 1].toString(",");
+        }
+
+        this.$refs.Businessform.validate((valid) => {
+          if (valid) {
+            // 表单验证通过,提交数据或执行其他操作
+            this.Businessform.orgId = this.$route.params.id;
+            this.Businessform.type = 2;
+
+            if (this.Businessform.id != null) {
+              // console.log(this.Businessform,"this.Businessform")
+              updateOrgPhysicalDefenseConstruction(this.Businessform).then(
+                (response) => {
+                  this.$modal.msgSuccess("编辑成功");
+                  this.Businessopen = false;
+                  this.getBusinessPhysicalDefenseConstructionInfo();
+                }
+              );
+            } else {
+              addOrgPhysicalDefenseConstruction(this.Businessform).then(
+                (response) => {
+                  this.$modal.msgSuccess("新增成功");
+                  this.Businessopen = false;
+                  this.getBusinessPhysicalDefenseConstructionInfo();
+                }
+              );
+            }
+            this.Businessimgs = [];
           } else {
-            addOrgPhysicalDefenseConstruction(this.Businessform).then(
-              (response) => {
-                this.$modal.msgSuccess("新增成功");
-                this.Businessopen = false;
-                this.getBusinessPhysicalDefenseConstructionInfo();
-              }
-            );
+            // 表单验证未通过,显示错误信息
           }
-          this.Businessimgs = [];
-        } else {
-          // 表单验证未通过,显示错误信息
-        }
-      });
+        });
 
-      // this.$refs["Businessform"].validate((valid) => {
-      //   if (valid) {
+        // this.$refs["Businessform"].validate((valid) => {
+        //   if (valid) {
 
-      //   }
-      // });
-    },
-    /** 删除按钮操作 */
-    handleBusinessDelete(row) {
-      const Businessids = row.id || this.Businessids;
-      this.$modal
-        .confirm("确认删除?")
-        .then(function () {
-          return delOrgPhysicalDefenseConstruction(Businessids);
-        })
-        .then(() => {
-          this.getBusinessPhysicalDefenseConstructionInfo();
-          this.$modal.msgSuccess("删除成功");
-        })
-        .catch(() => {});
-    },
-    // resetimg(certificate){
-    //   this.Bankform.certificate=0;
-    // },
-    // 取消按钮
-    Bankcancel() {
-      this.Bankopen = false;
-      this.Bankreset();
-    },
-    // 表单重置
-    Bankreset() {
-      this.Bankform = {
-        id: null,
-        standard: null,
-        dateOfCompliance: null,
-        certificateEvidence: null,
-        certificate: null,
-        evidence: null,
-        createTime: null,
-        updateTime: null,
-        createBy: null,
-        updateBy: null,
-        orgId: null,
-      };
-      this.reqmsg = false;
-      this.resetForm("Bankform");
-    },
-    // 多选框选中数据
-    handleBankSelectionChange(selection) {
-      this.Bankids = selection.map((item) => item.id);
-      this.single = selection.length !== 1;
-      this.multiple = !selection.length;
-    },
-    /** 新增按钮操作 */
-    handleBankAdd() {
-      this.Bankreset();
-      this.Bankopen = true;
-      this.Banktitle = "新增安全防范设施建设达标信息";
-    },
-    /** 编辑按钮操作 */
-    handleBankUpdate(row) {
-      this.Bankreset();
-      const id = row.id || this.Bankids;
-      getOrgPhysicalDefenseConstruction(id).then((response) => {
-        this.Bankform = response.data;
-        // this.Bankform.certificateEvidence=parseInt(response.data.certificateEvidence);
+        //   }
+        // });
+      },
+      /** 删除按钮操作 */
+      handleBusinessDelete(row) {
+        const Businessids = row.id || this.Businessids;
+        this.$modal
+          .confirm("确认删除?")
+          .then(function () {
+            return delOrgPhysicalDefenseConstruction(Businessids);
+          })
+          .then(() => {
+            this.getBusinessPhysicalDefenseConstructionInfo();
+            this.$modal.msgSuccess("删除成功");
+          })
+          .catch(() => {
+          });
+      },
+      // resetimg(certificate){
+      //   this.Bankform.certificate=0;
+      // },
+      // 取消按钮
+      Bankcancel() {
+        this.Bankopen = false;
+        this.Bankreset();
+      },
+      // 表单重置
+      Bankreset() {
+        this.Bankform = {
+          id: null,
+          standard: null,
+          dateOfCompliance: null,
+          certificateEvidence: null,
+          certificate: null,
+          evidence: null,
+          createTime: null,
+          updateTime: null,
+          createBy: null,
+          updateBy: null,
+          orgId: null,
+        };
+        this.reqmsg = false;
+        this.resetForm("Bankform");
+      },
+      // 多选框选中数据
+      handleBankSelectionChange(selection) {
+        this.Bankids = selection.map((item) => item.id);
+        this.single = selection.length !== 1;
+        this.multiple = !selection.length;
+      },
+      /** 新增按钮操作 */
+      handleBankAdd() {
+        this.Bankreset();
         this.Bankopen = true;
-        this.Banktitle = "编辑安全防范设施建设达标信息";
-      });
-    },
-    /** 提交按钮 */
-    submitBankForm() {
-      if (this.Bankimgs.length > 0) {
-        this.Bankform.certificate =
-          this.Bankimgs[this.Bankimgs.length - 1].toString(",");
-      }
-
-      this.$refs.Bankform.validate((valid) => {
-        if (valid) {
-          // 表单验证通过,提交数据或执行其他操作
-          this.Bankform.orgId = this.$route.params.id;
-          this.Bankform.type = 3;
-
-          if (this.Bankform.id != null) {
-            updateOrgPhysicalDefenseConstruction(this.Bankform).then(
-              (response) => {
-                this.$modal.msgSuccess("编辑成功");
-                this.Bankopen = false;
-                this.getBankPhysicalDefenseConstructionInfo();
-              }
-            );
+        this.Banktitle = "新增安全防范设施建设达标信息";
+      },
+      /** 编辑按钮操作 */
+      handleBankUpdate(row) {
+        this.Bankreset();
+        const id = row.id || this.Bankids;
+        getOrgPhysicalDefenseConstruction(id).then((response) => {
+          this.Bankform = response.data;
+          // this.Bankform.certificateEvidence=parseInt(response.data.certificateEvidence);
+          this.Bankopen = true;
+          this.Banktitle = "编辑安全防范设施建设达标信息";
+        });
+      },
+      /** 提交按钮 */
+      submitBankForm() {
+        if (this.Bankimgs.length > 0) {
+          this.Bankform.certificate =
+            this.Bankimgs[this.Bankimgs.length - 1].toString(",");
+        }
+
+        this.$refs.Bankform.validate((valid) => {
+          if (valid) {
+            // 表单验证通过,提交数据或执行其他操作
+            this.Bankform.orgId = this.$route.params.id;
+            this.Bankform.type = 3;
+
+            if (this.Bankform.id != null) {
+              updateOrgPhysicalDefenseConstruction(this.Bankform).then(
+                (response) => {
+                  this.$modal.msgSuccess("编辑成功");
+                  this.Bankopen = false;
+                  this.getBankPhysicalDefenseConstructionInfo();
+                }
+              );
+            } else {
+              addOrgPhysicalDefenseConstruction(this.Bankform).then(
+                (response) => {
+                  this.$modal.msgSuccess("新增成功");
+                  this.Bankopen = false;
+                  this.getBankPhysicalDefenseConstructionInfo();
+                }
+              );
+            }
+            this.Bankimgs = [];
           } else {
-            addOrgPhysicalDefenseConstruction(this.Bankform).then(
-              (response) => {
-                this.$modal.msgSuccess("新增成功");
-                this.Bankopen = false;
-                this.getBankPhysicalDefenseConstructionInfo();
-              }
-            );
+            // 表单验证未通过,显示错误信息
           }
-          this.Bankimgs = [];
-        } else {
-          // 表单验证未通过,显示错误信息
-        }
-      });
+        });
 
-      // this.$refs["Bankform"].validate((valid) => {
-      //   if (valid) {
+        // this.$refs["Bankform"].validate((valid) => {
+        //   if (valid) {
 
-      //   }
-      // });
-    },
-    /** 删除按钮操作 */
-    handleBankDelete(row) {
-      const Bankids = row.id || this.Bankids;
-      this.$modal
-        .confirm("确认删除?")
-        .then(function () {
-          return delOrgPhysicalDefenseConstruction(Bankids);
-        })
-        .then(() => {
-          this.getBankPhysicalDefenseConstructionInfo();
-          this.$modal.msgSuccess("删除成功");
-        })
-        .catch(() => {});
-    },
+        //   }
+        // });
+      },
+      /** 删除按钮操作 */
+      handleBankDelete(row) {
+        const Bankids = row.id || this.Bankids;
+        this.$modal
+          .confirm("确认删除?")
+          .then(function () {
+            return delOrgPhysicalDefenseConstruction(Bankids);
+          })
+          .then(() => {
+            this.getBankPhysicalDefenseConstructionInfo();
+            this.$modal.msgSuccess("删除成功");
+          })
+          .catch(() => {
+          });
+      },
 
-    // 取消按钮
-    detachedcancel() {
-      this.detachedopen = false;
-      this.detachedreset();
-    },
-    // 表单重置
-    detachedreset() {
-      this.detachedform = {
-        id: null,
-        standard: null,
-        dateOfCompliance: null,
-        certificateEvidence: null,
-        certificate: null,
-        evidence: null,
-        createTime: null,
-        updateTime: null,
-        createBy: null,
-        updateBy: null,
-        orgId: null,
-      };
-      this.reqmsg = false;
-      this.resetForm("detachedform");
-    },
-    // 多选框选中数据
-    handledetachedSelectionChange(selection) {
-      this.detachedids = selection.map((item) => item.id);
-      this.single = selection.length !== 1;
-      this.multiple = !selection.length;
-    },
-    /** 新增按钮操作 */
-    handledetachedAdd() {
-      this.detachedreset();
-      this.detachedopen = true;
-      this.detachedtitle = "新增安全防范设施建设达标信息";
-    },
-    /** 编辑按钮操作 */
-    handledetachedUpdate(row) {
-      this.detachedreset();
-      const id = row.id || this.detachedids;
-      getOrgPhysicalDefenseConstruction(id).then((response) => {
-        this.detachedform = response.data;
-        // this.detachedform.certificateEvidence=parseInt(response.data.certificateEvidence);
+      // 取消按钮
+      detachedcancel() {
+        this.detachedopen = false;
+        this.detachedreset();
+      },
+      // 表单重置
+      detachedreset() {
+        this.detachedform = {
+          id: null,
+          standard: null,
+          dateOfCompliance: null,
+          certificateEvidence: null,
+          certificate: null,
+          evidence: null,
+          createTime: null,
+          updateTime: null,
+          createBy: null,
+          updateBy: null,
+          orgId: null,
+        };
+        this.reqmsg = false;
+        this.resetForm("detachedform");
+      },
+      // 多选框选中数据
+      handledetachedSelectionChange(selection) {
+        this.detachedids = selection.map((item) => item.id);
+        this.single = selection.length !== 1;
+        this.multiple = !selection.length;
+      },
+      /** 新增按钮操作 */
+      handledetachedAdd() {
+        this.detachedreset();
         this.detachedopen = true;
+        this.detachedtitle = "新增安全防范设施建设达标信息";
+      },
+      /** 编辑按钮操作 */
+      handledetachedUpdate(row) {
+        this.detachedreset();
+        const id = row.id || this.detachedids;
+        getOrgPhysicalDefenseConstruction(id).then((response) => {
+          this.detachedform = response.data;
+          // this.detachedform.certificateEvidence=parseInt(response.data.certificateEvidence);
+          this.detachedopen = true;
 
-        this.detachedtitle = "编辑安全防范设施建设达标信息";
-      });
-    },
-    /** 提交按钮 */
-    submitdetachedForm() {
-      if (this.detachedimgs.length > 0) {
-        this.detachedform.certificate =
-          this.detachedimgs[this.detachedimgs.length - 1].toString(",");
-      }
-
-      this.$refs.detachedform.validate((valid) => {
-        if (valid) {
-          // 表单验证通过,提交数据或执行其他操作
-          this.detachedform.orgId = this.$route.params.id;
-          this.detachedform.type = 4;
-
-          if (this.detachedform.id != null) {
-            updateOrgPhysicalDefenseConstruction(this.detachedform).then(
-              (response) => {
-                this.$modal.msgSuccess("编辑成功");
-                this.detachedopen = false;
-                this.getdetachedPhysicalDefenseConstructionInfo();
-              }
-            );
+          this.detachedtitle = "编辑安全防范设施建设达标信息";
+        });
+      },
+      /** 提交按钮 */
+      submitdetachedForm() {
+        if (this.detachedimgs.length > 0) {
+          this.detachedform.certificate =
+            this.detachedimgs[this.detachedimgs.length - 1].toString(",");
+        }
+
+        this.$refs.detachedform.validate((valid) => {
+          if (valid) {
+            // 表单验证通过,提交数据或执行其他操作
+            this.detachedform.orgId = this.$route.params.id;
+            this.detachedform.type = 4;
+
+            if (this.detachedform.id != null) {
+              updateOrgPhysicalDefenseConstruction(this.detachedform).then(
+                (response) => {
+                  this.$modal.msgSuccess("编辑成功");
+                  this.detachedopen = false;
+                  this.getdetachedPhysicalDefenseConstructionInfo();
+                }
+              );
+            } else {
+              addOrgPhysicalDefenseConstruction(this.detachedform).then(
+                (response) => {
+                  this.$modal.msgSuccess("新增成功");
+                  this.detachedopen = false;
+                  this.getdetachedPhysicalDefenseConstructionInfo();
+                }
+              );
+            }
+            this.detachedimgs = [];
           } else {
-            addOrgPhysicalDefenseConstruction(this.detachedform).then(
-              (response) => {
-                this.$modal.msgSuccess("新增成功");
-                this.detachedopen = false;
-                this.getdetachedPhysicalDefenseConstructionInfo();
-              }
-            );
+            // 表单验证未通过,显示错误信息
           }
-          this.detachedimgs = [];
-        } else {
-          // 表单验证未通过,显示错误信息
-        }
-      });
+        });
 
-      // this.$refs["detachedform"].validate((valid) => {
-      //   if (valid) {
+        // this.$refs["detachedform"].validate((valid) => {
+        //   if (valid) {
 
-      //   }
-      // });
-    },
-    /** 删除按钮操作 */
-    handledetachedDelete(row) {
-      const detachedids = row.id || this.detachedids;
-      this.$modal
-        .confirm("确认删除?")
-        .then(function () {
-          return delOrgPhysicalDefenseConstruction(detachedids);
-        })
-        .then(() => {
-          this.getdetachedPhysicalDefenseConstructionInfo();
-          this.$modal.msgSuccess("删除成功");
-        })
-        .catch(() => {});
-    },
+        //   }
+        // });
+      },
+      /** 删除按钮操作 */
+      handledetachedDelete(row) {
+        const detachedids = row.id || this.detachedids;
+        this.$modal
+          .confirm("确认删除?")
+          .then(function () {
+            return delOrgPhysicalDefenseConstruction(detachedids);
+          })
+          .then(() => {
+            this.getdetachedPhysicalDefenseConstructionInfo();
+            this.$modal.msgSuccess("删除成功");
+          })
+          .catch(() => {
+          });
+      },
 
-    // 表单重置
-    orgreset() {
-      this.orgform = {
-        id: null,
-        standard: null,
-        dateOfCompliance: null,
-        certificateEvidence: 0,
-        certificate: null,
-        evidence: null,
-        createTime: null,
-        updateTime: null,
-        createBy: null,
-        updateBy: null,
-        orgId: null,
-      };
-      this.reqmsg = false;
-      this.resetForm("orgform");
-    },
-    // 取消按钮
-    orgcancel() {
-      this.orgopen = false;
-      this.orgreset();
-    },
-    // 多选框选中数据
-    handleOrgSelectionChange(selection) {
-      this.orgids = selection.map((item) => item.id);
-      this.single = selection.length !== 1;
-      this.multiple = !selection.length;
-    },
-    /** 新增按钮操作 */
-    handleOrgAdd() {
-      this.orgreset();
-      this.orgopen = true;
-      this.orgtitle = "新增安全防范设施建设达标信息";
-    },
-    /** 编辑按钮操作 */
-    handleOrgUpdate(row) {
-      this.orgreset();
-      const id = row.id || this.orgids;
-      getOrgPhysicalDefenseConstruction(id).then((response) => {
-        this.orgform = response.data;
+      // 表单重置
+      orgreset() {
+        this.orgform = {
+          id: null,
+          standard: null,
+          dateOfCompliance: null,
+          dateOfComplete:null,
+          certificateEvidence: 0,
+          certificate: null,
+          evidence: null,
+          createTime: null,
+          updateTime: null,
+          createBy: null,
+          updateBy: null,
+          orgId: null,
+        };
+        this.reqmsg = false;
+        this.resetForm("orgform");
+      },
+      // 取消按钮
+      orgcancel() {
+        this.orgopen = false;
+        this.orgreset();
+      },
+      // 多选框选中数据
+      handleOrgSelectionChange(selection) {
+        this.orgids = selection.map((item) => item.id);
+        this.single = selection.length !== 1;
+        this.multiple = !selection.length;
+      },
+      /** 新增按钮操作 */
+      handleOrgAdd() {
+        this.orgreset();
         this.orgopen = true;
-        // console.log(response.data.certificateEvidence,"response.data.certificateEvidence")
-        //  this.orgform.certificateEvidence=parseInt(response.data.certificateEvidence);
-        // console.log(this.orgform,"this.orgform")
-        this.orgtitle = "编辑安全防范设施建设达标信息";
-      });
-    },
-    /** 提交按钮 */
-    submitOrgForm() {
-      // console.log(this.orgimgs,"this.orgimgs")
-      // console.log(this.orgform.certificate,"this.orgform.certificate")
-      if (this.orgimgs.length > 0) {
-        this.orgform.certificate =
-          this.orgimgs[this.orgimgs.length - 1].toString(",");
-      }
-      // console.log(this.orgimgs,"this.orgimgs1")
-      // console.log(this.orgform.certificate,"this.orgform.certificate1")
-      this.$refs.orgform.validate((valid) => {
-        if (valid) {
-          // 表单验证通过,提交数据或执行其他操作
-          this.orgform.orgId = this.$route.params.id;
-          // this.orgform.type = 1;
-
-          if (this.orgform.id != null) {
-            updateOrgPhysicalDefenseConstruction(this.orgform).then(
-              (response) => {
-                this.$modal.msgSuccess("编辑成功");
+        this.orgtitle = "新增安全防范设施建设达标信息";
+      },
+      /** 编辑按钮操作 */
+      handleOrgUpdate(row) {
+        this.orgreset();
+        const id = row.id || this.orgids;
+        getOrgPhysicalDefenseConstruction(id).then((response) => {
+          this.orgform = response.data;
+          this.orgopen = true;
+          this.orgtitle = "编辑安全防范设施建设达标信息";
+        });
+      },
+      /** 提交按钮 */
+      submitOrgForm() {
+
+        if (this.orgimgs.length > 0) {
+          this.orgform.certificate =
+            this.orgimgs[this.orgimgs.length - 1].toString(",");
+        }
+        if(!this.orgform.certificate && this.orgform.standard !== '3'){
+          this.$modal.alertError("请上传证书");
+          return;
+        }
+        //certificate
+        this.$refs.orgform.validate((valid) => {
+          if (valid) {
+            // 表单验证通过,提交数据或执行其他操作
+            this.orgform.orgId = this.$route.params.id;
+            // this.orgform.type = 1;
+
+            if (this.orgform.id != null) {
+              updateOrgPhysicalDefenseConstruction(this.orgform).then(
+                (response) => {
+                  this.$modal.msgSuccess("编辑成功");
+                  this.orgopen = false;
+                  this.getOrgPhysicalDefenseConstructionInfo();
+                }
+              );
+            } else {
+              addOrgPhysicalDefenseConstruction(this.orgform).then((response) => {
+                this.$modal.msgSuccess("新增成功");
                 this.orgopen = false;
                 this.getOrgPhysicalDefenseConstructionInfo();
-              }
-            );
+              });
+            }
+            this.orgimgs = [];
           } else {
-            addOrgPhysicalDefenseConstruction(this.orgform).then((response) => {
-              this.$modal.msgSuccess("新增成功");
-              this.orgopen = false;
-              this.getOrgPhysicalDefenseConstructionInfo();
-            });
+            // 表单验证未通过,显示错误信息
           }
-          this.orgimgs = [];
+        });
+      },
+      /** 删除按钮操作 */
+      handleOrgDelete(row) {
+        const orgids = row.id || this.orgids;
+        this.$modal
+          .confirm("确认删除?")
+          .then(function () {
+            return delOrgPhysicalDefenseConstruction(orgids);
+          })
+          .then(() => {
+            this.getOrgPhysicalDefenseConstructionInfo();
+            this.$modal.msgSuccess("删除成功");
+          })
+          .catch(() => {
+          });
+      },
+      saveExtend() {
+        let dat = {
+          safeBox: this.safeBox ? 1 : 0,
+          innerCount: this.innerCount,
+          outsideCount: this.outsideCount,
+          cashAddingRoom: this.cashAddingRoom,
+          orgType: this.orgType,
+          remoteCount: this.remoteCount,
+          weatherAreaCode: this.weatherAreaCode,
+          askariCertificate:
+            this.imgs.length > 0
+              ? this.imgs[this.imgs.length - 1].toString(",")
+              : null,
+          premisesArea: this.premisesArea,
+          ownership: this.ownership,
+          outsideArea: this.outsideArea,
+          askari: this.askari ? 1 : 0,
+          businessLibraryType: this.businessLibraryType,
+          dutyMode: this.dutyMode,
+          remoteControl: this.remoteControl ? 1 : 0,
+          selfServiceBank: this.selfServiceBank ? 1 : 0,
+          businessLibrary: this.businessLibrary ? 1 : 0,
+          lobbyEquipment: this.lobbyEquipment,
+          wallPenetratingEquipment: this.wallPenetratingEquipment,
+          platformBrand: this.platformBrand,
+          platformSupplierBrand: this.platformSupplierBrand,
+          constructionTime: this.constructionTime,
+          lastUpdateTime: this.lastUpdateTime,
+          orgId: this.$route.params.id,
+          id: this.extendId,
+          detachedLobbyEquipment: this.detachedLobbyEquipment,
+          detachedWallPenetratingEquipment: this.detachedWallPenetratingEquipment,
+          cashAddingRoomRemoteControl: this.cashAddingRoomRemoteControl,
+        };
+        // console.log(dat);
+        if (this.extendId) {
+          updateExtend(dat).then((res) => {
+            this.$modal.msgSuccess("保存成功");
+            // this.$router.go(-1);
+            this.$tab.closePageAndPushPrev();
+          });
         } else {
-          // 表单验证未通过,显示错误信息
+          addExtend(dat).then((res) => {
+            this.$modal.msgSuccess("保存成功");
+            // this.$router.go(-1);
+            this.$tab.closePageAndPushPrev();
+          });
         }
-      });
-
-      // this.$refs["orgform"].validate((valid) => {
-      //   if (valid) {
-
-      //   }
-      // });
-    },
-    /** 删除按钮操作 */
-    handleOrgDelete(row) {
-      const orgids = row.id || this.orgids;
-      this.$modal
-        .confirm("确认删除?")
-        .then(function () {
-          return delOrgPhysicalDefenseConstruction(orgids);
-        })
-        .then(() => {
-          this.getOrgPhysicalDefenseConstructionInfo();
-          this.$modal.msgSuccess("删除成功");
-        })
-        .catch(() => {});
-    },
-    saveExtend() {
-      let dat = {
-        safeBox: this.safeBox,
-        innerCount: this.innerCount,
-        outsideCount: this.outsideCount,
-        cashAddingRoom: this.cashAddingRoom,
-        orgType: this.orgType,
-        remoteCount: this.remoteCount,
-        weatherAreaCode: this.weatherAreaCode,
-        askariCertificate:
-          this.imgs.length > 0
-            ? this.imgs[this.imgs.length - 1].toString(",")
-            : null,
-        premisesArea: this.premisesArea,
-        ownership: this.ownership,
-        outsideArea: this.outsideArea,
-        askari: this.askari ? 1 : 0,
-        businessLibraryType: this.businessLibraryType,
-        dutyMode: this.dutyMode,
-        remoteControl: this.remoteControl ? 1 : 0,
-        selfServiceBank: this.selfServiceBank ? 1 : 0,
-        businessLibrary: this.businessLibrary ? 1 : 0,
-        lobbyEquipment: this.lobbyEquipment,
-        wallPenetratingEquipment: this.wallPenetratingEquipment,
-        platformBrand: this.platformBrand,
-        platformSupplierBrand: this.platformSupplierBrand,
-        constructionTime: this.constructionTime,
-        lastUpdateTime: this.lastUpdateTime,
-        orgId: this.$route.params.id,
-        id: this.extendId,
-        detachedLobbyEquipment: this.detachedLobbyEquipment,
-        detachedWallPenetratingEquipment: this.detachedWallPenetratingEquipment,
-        cashAddingRoomRemoteControl: this.cashAddingRoomRemoteControl,
-      };
-      // console.log(dat);
-      if (this.extendId) {
-        updateExtend(dat).then((res) => {
-          this.$modal.msgSuccess("保存成功");
-          // this.$router.go(-1);
-          this.$tab.closePageAndPushPrev();
-        });
-      } else {
-        addExtend(dat).then((res) => {
-          this.$modal.msgSuccess("保存成功");
-          // this.$router.go(-1);
-          this.$tab.closePageAndPushPrev();
-        });
-      }
-    },
-    nosaveExtend() {
-      // this.$router.go(-1);
-      this.$tab.closePageAndPushPrev();
-    },
-    triggerFileInput() {
-      this.$refs.fileInput.click();
-    },
-    async handleFileChange(event) {
-      const file = event.target.files[0];
-      if (!file) return;
-
-      // // 创建 FormData 对象并添加文件
-      // const formData = new FormData();
-      // formData.append("file", file);
-
-      // // 发送文件到您的文件上传 API
-      try {
-        uploadFile(file, "org").then((res) => {
-          console.log(res);
-          // this.orgform.certificateEvidence = res.data;
-        });
-        // 处理上传成功的逻辑
-        console.log("上传成功");
-      } catch (error) {
-        // 处理上传失败的逻辑
-        console.log("上传失败");
-      }
-      // try {
-      //   const response = await request.post('http://localhost:9527/dev-api/file/file/upload', formData, {
-      //     headers: {
-      //       'Content-Type': 'multipart/form-data',
-      //     },
-      //   });
-      //   // 处理上传成功的逻辑
-      //   console.log('上传成功', response);
-      // } catch (error) {
-      //   // 处理上传失败的逻辑
-      //   console.log('上传失败', error);
-      // }
-      // 重置 input 元素,以便下次选择相同文件时仍能触发 change 事件
-      event.target.value = "";
+      },
+      nosaveExtend() {
+        // this.$router.go(-1);
+        this.$tab.closePageAndPushPrev();
+      },
+      triggerFileInput() {
+        this.$refs.fileInput.click();
+      },
+      async handleFileChange(event) {
+        const file = event.target.files[0];
+        if (!file) return;
+        // // 发送文件到您的文件上传 API
+        try {
+          uploadFile(file, "org").then((res) => {
+            console.log(res);
+            // this.orgform.certificateEvidence = res.data;
+          });
+          // 处理上传成功的逻辑
+          console.log("上传成功");
+        } catch (error) {
+          // 处理上传失败的逻辑
+          console.log("上传失败");
+        }
+        event.target.value = "";
+      },
     },
-  },
-  fillter: {},
-};
+    fillter: {},
+  };
 </script>
 
 <style scoped lang="scss">
-.org-extend{
-  background-color: #fff;
-  padding: 10px;
-}
-.title {
-  font-size: 18px;
-  text-align: left;
-  color: #008cd6;
-  height: 36px;
-  line-height: 36px;
-  padding-left: 8px;
-  margin: 0;
-}
-
-.info-box {
-  margin: 30px;
-}
-
-.demo-form-inline {
-}
-
-.dialog-footer {
-}
-
-.container {
-}
-
-.zoom-image {
-  transition: transform 0.3s ease;
-}
-
-.zoom-image:hover {
-  transform: scale(1.02);
-}
-
-.border-color-change {
-  border: 1px solid #ccc;
-  transition: border-color 0.3s ease;
-}
-
-.border-color-change:hover {
-  border-color: #1ea8e9;
-  /* 您可以将此颜色更改为所需的颜色 */
-}
+  /*.org-extend{
+    background-color: #fff;
+    padding: 10px;
+  }*/
+  .title {
+    font-size: 18px;
+    text-align: left;
+    color: #008cd6;
+    height: 36px;
+    line-height: 36px;
+    padding-left: 8px;
+    margin: 0;
+  }
+
+  .info-box {
+    margin: 20px;
+  }
+
+  .demo-form-inline {
+  }
+
+  .dialog-footer {
+  }
+
+  .container {
+  }
+
+  .zoom-image {
+    transition: transform 0.3s ease;
+  }
+
+  .zoom-image:hover {
+    transform: scale(1.02);
+  }
+
+  .border-color-change {
+    border: 1px solid #ccc;
+    transition: border-color 0.3s ease;
+  }
+
+  .border-color-change:hover {
+    border-color: #1ea8e9;
+    /* 您可以将此颜色更改为所需的颜色 */
+  }
+
+  .extend_mod {
+    background-color: #fff;
+    padding: 1px 15px 1px 15px;
+    margin-bottom: 2px;
+    -webkit-box-shadow: 0 2px 8px #ccc;
+    box-shadow: 0 2px 8px #ccc;
+  }
+
+  .el-table thead > tr > th {
+    background-color: #fafafa !important;
+  }
+
+
+
+  .el-row {
+    margin-bottom: 20px;
+    &:last-child {
+      margin-bottom: 0;
+    }
+  }
+  .el-col {
+    border-radius: 4px;
+  }
+  .bg-purple-dark {
+    background: #99a9bf;
+  }
+  .bg-purple {
+    background: #d3dce6;
+  }
+  .bg-purple-light {
+    background: #e5e9f2;
+  }
+  .grid-content {
+    border-radius: 4px;
+    min-height: 36px;
+  }
+  .row-bg {
+    padding: 10px 0;
+    background-color: #f9fafc;
+  }
+
+
 </style>