| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008 | 
							- <template>
 
-   <div class="app-container">
 
-     <h3 class="title">同步信息</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">{{
 
-           getLabel(dict.type.reality_org_type, orgType)
 
-         }}</el-descriptions-item>
 
-         <el-descriptions-item label="是否可用">{{
 
-           isLock == 1 ? "否" : "是"
 
-         }}</el-descriptions-item>
 
-         <el-descriptions-item label="机构类型">{{
 
-           getLabel(dict.type.sys_org_type, type)
 
-         }}</el-descriptions-item>
 
-       </el-descriptions>
 
-     </div>
 
-     <h3 v-if="type == 4" class="title">补充基础信息</h3>
 
-     <div class="info-box">
 
-       <el-form
 
-         inline
 
-         class="demo-form-inline"
 
-         label-position="left"
 
-         label-width="120px"
 
-       >
 
-         <el-row>
 
-           <el-col :span="8">
 
-             <el-form-item label="机构类型" v-if="false">
 
-               <el-select v-model="type" placeholder="请选择机构类型">
 
-                 <el-option
 
-                   v-for="dict in dict.type.sys_org_type"
 
-                   :key="dict.value"
 
-                   :label="dict.label"
 
-                   :value="dict.value"
 
-                 ></el-option>
 
-               </el-select>
 
-             </el-form-item>
 
-           </el-col>
 
-           <el-col :span="8">
 
-             <el-form-item v-if="type == 4" label="城市天气区域">
 
-               <!--              <el-input
 
-                 v-model="weatherAreaCode"
 
-                 placeholder="天气区域编码"
 
-                 @input="handleInput2"
 
-               ></el-input>-->
 
-               <!--              <el-select v-model="weatherAreaCode" placeholder="请选择"   clearable>
 
-                 <el-option v-for="item in areaList" :key="item.key" :label="item.value" :value="item.key"></el-option>
 
-               </el-select>-->
 
-               <el-cascader
 
-                 clearable
 
-                 v-model="weatherAreaCode"
 
-                 :options="areaList"
 
-                 @change="selectArea"
 
-                 placeholder="请选择城市天气区域"
 
-               ></el-cascader>
 
-             </el-form-item>
 
-           </el-col>
 
-           <el-col :span="8">
 
-             <el-form-item v-if="type == 4" label="营业场所面积">
 
-               <el-input
 
-                 clearable
 
-                 v-model="premisesArea"
 
-                 placeholder="请输入营业场所面积"
 
-                 @input="handleInput"
 
-               ></el-input>
 
-             </el-form-item>
 
-           </el-col>
 
-           <el-col :span="8">
 
-             <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="8">
 
-             <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="8">
 
-             <el-form-item v-if="type == 10" 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-form-item>
 
-           </el-col>
 
-           <el-col :span="8">
 
-             <el-form-item v-if="type == 10" label="平台供应商品牌">
 
-               <el-select
 
-                 clearable
 
-                 v-model="platformSupplierBrand"
 
-                 placeholder="请选择平台供应商品牌"
 
-               >
 
-                 <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 v-if="type == 4" class="info-box">
 
-       <!--  下拉框选择    -->
 
-       <div>
 
-         <el-form
 
-           inline
 
-           class="demo-form-inline"
 
-           label-position="left"
 
-           label-width="120px"
 
-         >
 
-           <el-row>
 
-             <el-col :span="8">
 
-               <el-form-item 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-form-item>
 
-             </el-col>
 
-             <el-col :span="8">
 
-               <el-form-item 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-form-item>
 
-             </el-col>
 
-           </el-row>
 
-         </el-form>
 
-       </div>
 
-       <!--  表格   -->
 
-       <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" prop="id" />
 
-           <el-table-column label="标准" 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
 
-             label="证书佐证"
 
-             align="center"
 
-             prop="certificateEvidence"
 
-           >
 
-             <template slot-scope="scope">
 
-               <span v-if="scope.row.certificateEvidence > 0">是</span>
 
-               <span v-else>否</span>
 
-             </template></el-table-column
 
-           > -->
 
-           <!-- <el-table-column label="证书" align="center" prop="certificate" />
 
-           <el-table-column label="佐证" align="center" prop="evidence" /> -->
 
-           <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-edit"
 
-                 @click="downBusiness(scope.row.certificate)"
 
-                 >查看证书</el-button
 
-               >
 
-               <el-button
 
-                 size="mini"
 
-                 type="text"
 
-                 icon="el-icon-edit"
 
-                 @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>
 
-       <!--   上传   -->
 
-       <div style="margin-top: 30px">
 
-         <el-switch
 
-           v-model="askari"
 
-           active-text
 
-           inactive-text="是否有保安"
 
-           :active-value="1"
 
-           :inactive-value="0"
 
-         ></el-switch>
 
-         <div></div>
 
-         <el-row v-if="askari">
 
-           <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-image class="zoom-image border-color-change" :src="uploadp" fit="contain" @click="triggerFileInput"></el-image>-->
 
-             <!--            <input type="file"-->
 
-             <!--                   ref="fileInput"-->
 
-             <!--                   @change="handleFileChange"-->
 
-             <!--                   style="display: none;"/>-->
 
-           </el-col>
 
-           <!-- <el-col :span="12" :xs="24">
 
-             <p style="font-size: 12px; color: #999">示例图</p>
 
-             <div style="width: 350px">
 
-               <el-image :src="uplp"></el-image>
 
-             </div>
 
-           </el-col> -->
 
-           <!--            <el-image class="zoom-image border-color-change" :src="uplp" fit="contain"></el-image>-->
 
-         </el-row>
 
-       </div>
 
-     </div>
 
-     <el-switch
 
-       v-if="type == 4"
 
-       style="margin-top: 30px; margin-left: 30px"
 
-       v-model="businessLibrary"
 
-       active-text
 
-       inactive-text="是否有业务库"
 
-       :active-value="1"
 
-       :inactive-value="0"
 
-     ></el-switch>
 
-     <div v-if="(type == 4) & (businessLibrary > 0)" style="margin-top: 30px">
 
-       <h3 class="title">业务库信息</h3>
 
-       <div class="info-box">
 
-         <el-form inline label-position="left" label-width="100px">
 
-           <el-row>
 
-             <el-col :span="7">
 
-               <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="7">
 
-               <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-form-item>
 
-             </el-col>
 
-             <el-col :span="7">
 
-               <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-form-item>
 
-             </el-col>
 
-           </el-row>
 
-         </el-form>
 
-       </div>
 
-       <div class="info-box">
 
-         <el-button
 
-           style="margin-bottom: 20px"
 
-           type="primary"
 
-           plain
 
-           icon="el-icon-plus"
 
-           size="mini"
 
-           @click="handleBusinessAdd"
 
-           >新增</el-button
 
-         >
 
-         <el-table
 
-           border
 
-           size="small"
 
-           v-loading="businessloading"
 
-           :data="BusinessPhysicalDefenseConstructionList"
 
-           @selection-change="handleBusinessSelectionChange"
 
-         >
 
-           <el-table-column
 
-             type="selection"
 
-             width="55"
 
-             v-if="false"
 
-             align="center"
 
-           />
 
-           <el-table-column type="index" label="序号" align="center" prop="id" />
 
-           <el-table-column label="标准" align="center" prop="standard">
 
-             <template slot-scope="r"
 
-               >{{
 
-                 getLabel(
 
-                   dict.type.org_extend_business_library_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
 
-             label="证书佐证"
 
-             align="center"
 
-             prop="certificateEvidence"
 
-           >
 
-             <template slot-scope="scope">
 
-               <span v-if="scope.row.certificateEvidence > 0">是</span>
 
-               <span v-else>否</span>
 
-             </template></el-table-column
 
-           >
 
-           <!-- <el-table-column label="证书" align="center" prop="certificate">
 
-           </el-table-column>
 
-           <el-table-column label="佐证" align="center" prop="evidence" /> -->
 
-           <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-edit"
 
-                 @click="downBusiness(scope.row.certificate)"
 
-                 >查看证书</el-button
 
-               >
 
-               <el-button
 
-                 size="mini"
 
-                 type="text"
 
-                 icon="el-icon-edit"
 
-                 @click="handleBusinessUpdate(scope.row)"
 
-                 >编辑</el-button
 
-               >
 
-               <el-button
 
-                 size="mini"
 
-                 type="text"
 
-                 icon="el-icon-delete"
 
-                 @click="handleBusinessDelete(scope.row)"
 
-                 >删除</el-button
 
-               >
 
-             </template>
 
-           </el-table-column>
 
-         </el-table>
 
-       </div>
 
-     </div>
 
-     <el-switch
 
-       v-if="type == 4"
 
-       style="margin-top: 30px; margin-left: 30px"
 
-       v-model="selfServiceBank"
 
-       active-text
 
-       inactive-text="是否有在行自助银行"
 
-       :active-value="1"
 
-       :inactive-value="0"
 
-     ></el-switch>
 
-     <div v-if="(type == 4) & (selfServiceBank > 0)" style="margin-top: 30px">
 
-       <h3 class="title">在行自助银行信息</h3>
 
-       <div class="info-box">
 
-         <el-switch
 
-           v-if="false"
 
-           v-model="selfServiceBank"
 
-           active-text
 
-           inactive-text="是否有在行自助银行"
 
-           :active-value="1"
 
-           :inactive-value="0"
 
-         ></el-switch>
 
-         <span>在行式大堂设备</span>
 
-         <div style="display: inline-block; width: 200px">
 
-           <el-input-number
 
-             style="margin-left: 10px"
 
-             v-model="lobbyEquipment"
 
-             controls-position="right"
 
-             @change="handleChange"
 
-             :min="0"
 
-             :max="9999"
 
-           ></el-input-number>
 
-         </div>
 
-         <span style="margin-left: 50px">在行式穿墙设备</span>
 
-         <div style="display: inline-block; width: 200px">
 
-           <el-input-number
 
-             style="margin-left: 10px"
 
-             v-model="wallPenetratingEquipment"
 
-             controls-position="right"
 
-             @change="handleChange"
 
-             :min="0"
 
-             :max="9999"
 
-           ></el-input-number>
 
-         </div>
 
-       </div>
 
-       <div class="info-box">
 
-         <el-button
 
-           style="margin-bottom: 20px"
 
-           type="primary"
 
-           plain
 
-           icon="el-icon-plus"
 
-           size="mini"
 
-           @click="handleBankAdd"
 
-           >新增</el-button
 
-         >
 
-         <el-table
 
-           border
 
-           size="small"
 
-           v-loading="bankloading"
 
-           :data="BankPhysicalDefenseConstructionList"
 
-           @selection-change="handleBankSelectionChange"
 
-         >
 
-           <el-table-column
 
-             type="selection"
 
-             width="55"
 
-             v-if="false"
 
-             align="center"
 
-           />
 
-           <el-table-column type="index" label="序号" align="center" prop="id" />
 
-           <el-table-column label="标准" align="center" prop="standard">
 
-             <template slot-scope="r"
 
-               >{{
 
-                 getLabel(
 
-                   dict.type.org_extend_self_service_bank_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
 
-             label="证书佐证"
 
-             align="center"
 
-             prop="certificateEvidence"
 
-           >
 
-             <template slot-scope="scope">
 
-               <span v-if="scope.row.certificateEvidence > 0">是</span>
 
-               <span v-else>否</span>
 
-             </template></el-table-column
 
-           >
 
-           <!-- <el-table-column label="证书" align="center" prop="certificate" />
 
-           <el-table-column label="佐证" align="center" prop="evidence" /> -->
 
-           <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-edit"
 
-                 @click="downBusiness(scope.row.certificate)"
 
-                 >查看证书</el-button
 
-               >
 
-               <el-button
 
-                 size="mini"
 
-                 type="text"
 
-                 icon="el-icon-edit"
 
-                 @click="handleBankUpdate(scope.row)"
 
-                 >编辑</el-button
 
-               >
 
-               <el-button
 
-                 size="mini"
 
-                 type="text"
 
-                 icon="el-icon-delete"
 
-                 @click="handleBankDelete(scope.row)"
 
-                 >删除</el-button
 
-               >
 
-             </template>
 
-           </el-table-column>
 
-         </el-table>
 
-       </div>
 
-     </div>
 
-     <div v-if="type == 5">
 
-       <h3 class="title">离行自助银行信息</h3>
 
-       <div class="info-box">
 
-         <span>离行式大堂设备</span>
 
-         <div style="display: inline-block; width: 200px">
 
-           <el-input-number
 
-             style="margin-left: 10px"
 
-             v-model="detachedLobbyEquipment"
 
-             controls-position="right"
 
-             @change="handleChange"
 
-             :min="0"
 
-             :max="9999"
 
-           ></el-input-number>
 
-         </div>
 
-         <span style="margin-left: 50px">离行式穿墙设备</span>
 
-         <div style="display: inline-block; width: 200px">
 
-           <el-input-number
 
-             style="margin-left: 10px"
 
-             v-model="detachedWallPenetratingEquipment"
 
-             controls-position="right"
 
-             @change="handleChange"
 
-             :min="0"
 
-             :max="9999"
 
-           ></el-input-number>
 
-         </div>
 
-       </div>
 
-       <div class="info-box">
 
-         <el-button
 
-           style="margin-bottom: 20px"
 
-           type="primary"
 
-           plain
 
-           icon="el-icon-plus"
 
-           size="mini"
 
-           @click="handledetachedAdd"
 
-           >新增</el-button
 
-         >
 
-         <el-table
 
-           border
 
-           size="small"
 
-           v-loading="detachedloading"
 
-           :data="detachedPhysicalDefenseConstructionList"
 
-           @selection-change="handledetachedSelectionChange"
 
-         >
 
-           <el-table-column
 
-             type="selection"
 
-             width="55"
 
-             v-if="false"
 
-             align="center"
 
-           />
 
-           <el-table-column type="index" label="序号" align="center" prop="id" />
 
-           <el-table-column label="标准" align="center" prop="standard">
 
-             <template slot-scope="r"
 
-               >{{
 
-                 getLabel(
 
-                   dict.type.org_extend_detached_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
 
-             label="证书佐证"
 
-             align="center"
 
-             prop="certificateEvidence"
 
-           >
 
-             <template slot-scope="scope">
 
-               <span v-if="scope.row.certificateEvidence > 0">是</span>
 
-               <span v-else>否</span>
 
-             </template></el-table-column
 
-           >
 
-           <!-- <el-table-column label="证书" align="center" prop="certificate" />
 
-           <el-table-column label="佐证" align="center" prop="evidence" /> -->
 
-           <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-edit"
 
-                 @click="downBusiness(scope.row.certificate)"
 
-                 >查看证书</el-button
 
-               >
 
-               <el-button
 
-                 size="mini"
 
-                 type="text"
 
-                 icon="el-icon-edit"
 
-                 @click="handledetachedUpdate(scope.row)"
 
-                 >编辑</el-button
 
-               >
 
-               <el-button
 
-                 size="mini"
 
-                 type="text"
 
-                 icon="el-icon-delete"
 
-                 @click="handledetachedDelete(scope.row)"
 
-                 >删除</el-button
 
-               >
 
-             </template>
 
-           </el-table-column>
 
-         </el-table>
 
-       </div>
 
-     </div>
 
-     <div style="margin-top: 50px; margin-left: 42%">
 
-       <el-button type="primary" @click="saveExtend" size="small"
 
-         >提交</el-button
 
-       >
 
-       <el-button type="primary" @click="nosaveExtend" size="small"
 
-         >取消</el-button
 
-       >
 
-     </div>
 
-     <!-- 添加或编辑业务库物防建设对话框 -->
 
-     <DialogCom
 
-       :title="Businesstitle"
 
-       :visible.sync="Businessopen"
 
-       width="500px"
 
-       append-to-body
 
-     >
 
-       <el-form
 
-         ref="Businessform"
 
-         :model="Businessform"
 
-         :rules="rules"
 
-         label-width="80px"
 
-       >
 
-         <el-form-item label="标准" prop="standard">
 
-           <!-- <el-input v-model="Businessform.standard" placeholder="请输入标准" /> -->
 
-           <el-select
 
-             prop="planType"
 
-             label="标准"
 
-             v-model="Businessform.standard"
 
-             placeholder="请选择标准"
 
-             clearable
 
-           >
 
-             <el-option
 
-               v-for="dict in dict.type.org_extend_business_library_standard"
 
-               :key="dict.value"
 
-               :label="dict.label"
 
-               :value="dict.value"
 
-             />
 
-           </el-select>
 
-         </el-form-item>
 
-         <el-form-item label="达标日期" prop="dateOfCompliance">
 
-           <el-date-picker
 
-             clearable
 
-             v-model="Businessform.dateOfCompliance"
 
-             type="date"
 
-             value-format="yyyy-MM-dd HH:mm:ss"
 
-             placeholder="请选择达标日期"
 
-           >
 
-           </el-date-picker>
 
-         </el-form-item>
 
-         <el-form-item label="证书佐证" prop="certificateEvidence">
 
-           <el-switch
 
-             v-model="Businessform.certificateEvidence"
 
-             active-text
 
-             :active-value="1"
 
-             :inactive-value="0"
 
-           ></el-switch>
 
-         </el-form-item>
 
-         <el-form-item
 
-           v-if="Businessform.certificateEvidence"
 
-           label="证书"
 
-           prop="certificate"
 
-         >
 
-           <!-- <el-input
 
-             v-if="false"
 
-             v-model="Businessform.certificate"
 
-             placeholder="请输入证书"
 
-           /> -->
 
-           <div
 
-             class="image-container"
 
-             style="margin-left: 20px"
 
-             v-if="Businessform.certificateEvidence"
 
-           >
 
-             <p style="font-size: 12px; color: #999">上传证书</p>
 
-             <image-upload
 
-               :limit="5"
 
-               :fileSize="2"
 
-               :value="Businessform.certificate"
 
-               @input="uploadBusinessSuccess"
 
-             ></image-upload>
 
-           </div>
 
-           <!-- <el-button type="primary" @click="resetimg(Businessform.certificate)">重新上传</el-button> -->
 
-         </el-form-item>
 
-         <el-form-item v-if="false" label="佐证" prop="evidence">
 
-           <el-input v-model="Businessform.evidence" placeholder="请输入佐证" />
 
-         </el-form-item>
 
-         <el-form-item v-if="false" label="机构id" prop="orgId">
 
-           <el-input v-model="Businessform.orgId" placeholder="请输入机构id" />
 
-         </el-form-item>
 
-       </el-form>
 
-       <div slot="footer" class="dialog-footer">
 
-         <el-button type="primary" @click="submitBusinessForm">确 定</el-button>
 
-         <el-button @click="Businesscancel">取 消</el-button>
 
-       </div>
 
-     </DialogCom>
 
-     <!-- 添加或编辑银行物防建设对话框 -->
 
-     <DialogCom
 
-       :title="Banktitle"
 
-       :visible.sync="Bankopen"
 
-       width="500px"
 
-       append-to-body
 
-     >
 
-       <el-form
 
-         ref="Bankform"
 
-         :model="Bankform"
 
-         label-width="80px"
 
-         :rules="rules"
 
-       >
 
-         <el-form-item label="标准" prop="standard">
 
-           <!-- <el-input v-model="Bankform.standard" placeholder="请输入标准" /> -->
 
-           <el-select
 
-             prop="planType"
 
-             label="标准"
 
-             v-model="Bankform.standard"
 
-             placeholder="请选择标准"
 
-             clearable
 
-           >
 
-             <el-option
 
-               v-for="dict in dict.type.org_extend_self_service_bank_standard"
 
-               :key="dict.value"
 
-               :label="dict.label"
 
-               :value="dict.value"
 
-             />
 
-           </el-select>
 
-         </el-form-item>
 
-         <el-form-item label="达标日期" prop="dateOfCompliance">
 
-           <el-date-picker
 
-             clearable
 
-             v-model="Bankform.dateOfCompliance"
 
-             type="date"
 
-             value-format="yyyy-MM-dd HH:mm:ss"
 
-             placeholder="请选择达标日期"
 
-           >
 
-           </el-date-picker>
 
-         </el-form-item>
 
-         <el-form-item label="证书佐证" prop="certificateEvidence">
 
-           <!-- <el-input
 
-             v-model="Bankform.certificateEvidence"
 
-             placeholder="请输入证书佐证"
 
-           /> -->
 
-           <el-switch
 
-             v-model="Bankform.certificateEvidence"
 
-             active-text
 
-             :active-value="1"
 
-             :inactive-value="0"
 
-           ></el-switch>
 
-         </el-form-item>
 
-         <el-form-item
 
-           v-if="Bankform.certificateEvidence"
 
-           label="证书"
 
-           prop="certificate"
 
-         >
 
-           <!-- <el-input
 
-             v-if="false"
 
-             v-model="Bankform.certificate"
 
-             placeholder="请输入证书"
 
-           /> -->
 
-           <div
 
-             class="image-container"
 
-             style="margin-left: 20px"
 
-             v-if="Bankform.certificateEvidence"
 
-           >
 
-             <p style="font-size: 12px; color: #999">上传证书</p>
 
-             <image-upload
 
-               :limit="5"
 
-               :fileSize="2"
 
-               :value="Bankform.certificate"
 
-               @input="uploadBankSuccess"
 
-             ></image-upload>
 
-           </div>
 
-         </el-form-item>
 
-         <el-form-item v-if="false" label="佐证" prop="evidence">
 
-           <el-input v-model="Bankform.evidence" placeholder="请输入佐证" />
 
-         </el-form-item>
 
-         <el-form-item v-if="false" label="机构id" prop="orgId">
 
-           <el-input v-model="Bankform.orgId" placeholder="请输入机构id" />
 
-         </el-form-item>
 
-       </el-form>
 
-       <div slot="footer" class="dialog-footer">
 
-         <el-button type="primary" @click="submitBankForm">确 定</el-button>
 
-         <el-button @click="Bankcancel">取 消</el-button>
 
-       </div>
 
-     </DialogCom>
 
-     <DialogCom
 
-       :title="orgtitle"
 
-       :visible.sync="orgopen"
 
-       width="500px"
 
-       append-to-body
 
-     >
 
-       <el-form ref="orgform" :model="orgform" label-width="80px" :rules="rules">
 
-         <el-form-item label="标准" prop="standard">
 
-           <!-- <el-input v-model="orgform.standard" placeholder="请输入标准" /> -->
 
-           <el-select
 
-             prop="planType"
 
-             label="标准"
 
-             v-model="orgform.standard"
 
-             placeholder="请选择标准"
 
-             clearable
 
-           >
 
-             <el-option
 
-               v-for="dict in dict.type.org_extend_standard"
 
-               :key="dict.value"
 
-               :label="dict.label"
 
-               :value="dict.value"
 
-             />
 
-           </el-select>
 
-         </el-form-item>
 
-         <el-form-item label="达标日期" prop="dateOfCompliance">
 
-           <el-date-picker
 
-             clearable
 
-             v-model="orgform.dateOfCompliance"
 
-             type="date"
 
-             value-format="yyyy-MM-dd HH:mm:ss"
 
-             placeholder="请选择达标日期"
 
-           >
 
-           </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
 
-           v-if="orgform.certificateEvidence"
 
-           label="证书"
 
-           prop="certificate"
 
-         >
 
-           <!-- <el-input
 
-             v-if="false"
 
-             v-model="orgform.certificate"
 
-             placeholder="请输入证书"
 
-           /> -->
 
-           <div
 
-             class="image-container"
 
-             style="margin-left: 20px"
 
-             v-if="orgform.certificateEvidence"
 
-           >
 
-             <p style="font-size: 12px; color: #999">上传证书</p>
 
-             <image-upload
 
-               :limit="5"
 
-               :fileSize="2"
 
-               :value="orgform.certificate"
 
-               @input="uploadorgSuccess"
 
-             ></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-form-item>
 
-       </el-form>
 
-       <div slot="footer" class="dialog-footer">
 
-         <el-button type="primary" @click="submitOrgForm">确 定</el-button>
 
-         <el-button @click="orgcancel">取 消</el-button>
 
-       </div>
 
-     </DialogCom>
 
-     <!-- 添加或编辑离行物防建设对话框 -->
 
-     <DialogCom
 
-       :title="detachedtitle"
 
-       :visible.sync="detachedopen"
 
-       width="500px"
 
-       append-to-body
 
-     >
 
-       <el-form
 
-         ref="detachedform"
 
-         :model="detachedform"
 
-         label-width="80px"
 
-         :rules="rules"
 
-       >
 
-         <el-form-item label="标准" prop="standard">
 
-           <!-- <el-input v-model="detachedform.standard" placeholder="请输入标准" /> -->
 
-           <el-select
 
-             prop="planType"
 
-             label="标准"
 
-             v-model="detachedform.standard"
 
-             placeholder="请选择标准"
 
-             clearable
 
-           >
 
-             <el-option
 
-               v-for="dict in dict.type.org_extend_detached_standard"
 
-               :key="dict.value"
 
-               :label="dict.label"
 
-               :value="dict.value"
 
-             />
 
-           </el-select>
 
-         </el-form-item>
 
-         <el-form-item label="达标日期" prop="dateOfCompliance">
 
-           <el-date-picker
 
-             clearable
 
-             v-model="detachedform.dateOfCompliance"
 
-             type="date"
 
-             value-format="yyyy-MM-dd HH:mm:ss"
 
-             placeholder="请选择达标日期"
 
-           >
 
-           </el-date-picker>
 
-         </el-form-item>
 
-         <el-form-item label="证书佐证" prop="certificateEvidence">
 
-           <!-- <el-input
 
-             v-model="detachedform.certificateEvidence"
 
-             placeholder="请输入证书佐证"
 
-           /> -->
 
-           <el-switch
 
-             v-model="detachedform.certificateEvidence"
 
-             active-text
 
-             :active-value="1"
 
-             :inactive-value="0"
 
-           ></el-switch>
 
-         </el-form-item>
 
-         <el-form-item
 
-           v-if="detachedform.certificateEvidence"
 
-           label="证书"
 
-           prop="certificate"
 
-         >
 
-           <!-- <el-input
 
-             v-if="false"
 
-             v-model="detachedform.certificate"
 
-             placeholder="请输入证书"
 
-           /> -->
 
-           <div
 
-             class="image-container"
 
-             style="margin-left: 20px"
 
-             v-if="detachedform.certificateEvidence"
 
-           >
 
-             <p style="font-size: 12px; color: #999">上传证书</p>
 
-             <image-upload
 
-               :limit="5"
 
-               :fileSize="2"
 
-               :value="detachedform.certificate"
 
-               @input="uploaddetachedSuccess"
 
-             ></image-upload>
 
-           </div>
 
-         </el-form-item>
 
-         <el-form-item v-if="false" label="佐证" prop="evidence">
 
-           <el-input v-model="detachedform.evidence" placeholder="请输入佐证" />
 
-         </el-form-item>
 
-         <el-form-item v-if="false" label="机构id" prop="orgId">
 
-           <el-input v-model="detachedform.orgId" placeholder="请输入机构id" />
 
-         </el-form-item>
 
-       </el-form>
 
-       <div slot="footer" class="dialog-footer">
 
-         <el-button type="primary" @click="submitdetachedForm">确 定</el-button>
 
-         <el-button @click="detachedcancel">取 消</el-button>
 
-       </div>
 
-     </DialogCom>
 
-   </div>
 
- </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: {},
 
-   data() {
 
-     return {
 
-       reqmsg: false,
 
-       //表单验证
 
-       rules: {
 
-         standard: [{ required: true, message: "请输入标准", trigger: "blur" }],
 
-         dateOfCompliance: [
 
-           {
 
-             required: TreeNodeDialogVue,
 
-             message: "请输入达标日期",
 
-             trigger: "blur",
 
-           },
 
-         ],
 
-         // certificate: [
 
-         //   { validator: this.isreq, message: "请选择图片", trigger: "blur" },
 
-         // ],
 
-       },
 
-       //基础信息key
 
-       infoKeys: [
 
-         { label: "机构名称", key: "name" },
 
-         // { label: "机构组织类型", key: "type" },
 
-         { label: "部门机构电话", key: "phone" },
 
-         { label: "部门机构地址", key: "address" },
 
-         { label: "排序号", key: "sort" },
 
-         // { label: "是否可用", key: "isLock" },
 
-         { label: "更新时间", key: "updateTime" },
 
-         { label: "同步时间", key: "createTime" },
 
-         { label: "机构简称", key: "shortName" },
 
-       ],
 
-       type: null,
 
-       isLock: null,
 
-       dataInfo: [],
 
-       //机构补充信息
 
-       extendId: null,
 
-       orgType: 1,
 
-       weatherAreaCode: null,
 
-       premisesArea: null,
 
-       ownership: null,
 
-       outsideArea: null,
 
-       askari: 0,
 
-       businessLibrary: 0,
 
-       businessLibraryType: null,
 
-       dutyMode: 0,
 
-       remoteControl: null,
 
-       selfServiceBank: null,
 
-       lobbyEquipment: 1,
 
-       wallPenetratingEquipment: 2,
 
-       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,
 
-       // 表单参数
 
-       Bankform: {},
 
-       detachedform: {},
 
-       Businessform: {},
 
-       // 是否显示弹出层
 
-       Businessopen: false,
 
-       orgopen: false,
 
-       // 表单参数
 
-       orgform: {},
 
-       //2个图片信息
 
-       uploadp: uploadpng,
 
-       uplp: uplpng,
 
-       //下拉框生成信息
 
-       orgTypes: {
 
-         orgTyp1: { label: "营业网点", value: 0 },
 
-         orgTyp2: { label: "监控中心", value: 1 },
 
-       },
 
-       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.reqmsg = true;
 
-       }
 
-       if (newValue === 0) {
 
-         this.reqmsg = false;
 
-       }
 
-     },
 
-     "Bankform.certificateEvidence"(newValue) {
 
-       if (newValue === 1) {
 
-         this.reqmsg = true;
 
-       }
 
-       if (newValue === 0) {
 
-         this.reqmsg = false;
 
-       }
 
-     },
 
-     "Businessform.certificateEvidence"(newValue) {
 
-       if (newValue === 1) {
 
-         this.reqmsg = true;
 
-       }
 
-       if (newValue === 0) {
 
-         this.reqmsg = false;
 
-       }
 
-     },
 
-     "orgform.certificateEvidence"(newValue) {
 
-       if (newValue === 1) {
 
-         this.reqmsg = true;
 
-       }
 
-       if (newValue === 0) {
 
-         this.reqmsg = false;
 
-       }
 
-     },
 
-   },
 
-   computed: {
 
-     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: {
 
-     isreq(rule, value, callback) {
 
-       if (this.reqmsg) {
 
-         callback(new Error("证书为必填项"));
 
-       } else {
 
-         callback();
 
-       }
 
-     },
 
-     // 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");
 
-     },
 
-     getAreaList() {
 
-       selectCityInfoVoList({}).then((response) => {
 
-         this.areaList = response.data;
 
-       });
 
-     },
 
-     selectArea(value) {
 
-       this.weatherAreaCode = value[1];
 
-     },
 
-     downBusiness(file) {
 
-       let array = file.split(',');
 
-       console.log(array)
 
-       for (let i = 0; i < array.length; i++) {
 
-         window.open(array[i]);
 
-       }
 
-     },
 
-     //证书上传
 
-     uploadBusinessSuccess(img) {
 
-       this.Businessimgs.push(img);
 
-     },
 
-     uploadBankSuccess(img) {
 
-       this.Bankimgs.push(img);
 
-     },
 
-     uploadorgSuccess(img) {
 
-       this.orgimgs.push(img);
 
-     },
 
-     uploaddetachedSuccess(img) {
 
-       this.detachedimgs.push(img);
 
-     },
 
-     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;
 
-         });
 
-         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.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, type: 1 };
 
-       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) => {
 
-         this.Businessform = response.data;
 
-         this.Businessopen = true;
 
-         this.Businesstitle = "编辑物防建设";
 
-       });
 
-     },
 
-     /** 提交按钮 */
 
-     submitBusinessForm() {
 
-       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();
 
-               }
 
-             );
 
-           }
 
-         } else {
 
-           // 表单验证未通过,显示错误信息
 
-         }
 
-       });
 
-       // 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.Bankopen = true;
 
-         this.Banktitle = "编辑物防建设";
 
-       });
 
-     },
 
-     /** 提交按钮 */
 
-     submitBankForm() {
 
-       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();
 
-               }
 
-             );
 
-           }
 
-         } else {
 
-           // 表单验证未通过,显示错误信息
 
-         }
 
-       });
 
-       // 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(() => {});
 
-     },
 
-     // 取消按钮
 
-     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.detachedopen = true;
 
-         this.detachedtitle = "编辑物防建设";
 
-       });
 
-     },
 
-     /** 提交按钮 */
 
-     submitdetachedForm() {
 
-       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();
 
-               }
 
-             );
 
-           }
 
-         } else {
 
-           // 表单验证未通过,显示错误信息
 
-         }
 
-       });
 
-       // 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(() => {});
 
-     },
 
-     // 表单重置
 
-     orgreset() {
 
-       this.orgform = {
 
-         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("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) => {
 
-         // console.log(response)
 
-         this.orgform = response.data;
 
-         this.orgopen = true;
 
-         this.orgtitle = "编辑物防建设";
 
-       });
 
-     },
 
-     /** 提交按钮 */
 
-     submitOrgForm() {
 
-       this.orgform.certificate= this.orgimgs[this.orgimgs.length - 1].toString(",");
 
-       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();
 
-             });
 
-           }
 
-         } else {
 
-           // 表单验证未通过,显示错误信息
 
-         }
 
-       });
 
-       // 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 = {
 
-         orgType: this.orgType,
 
-         weatherAreaCode: this.weatherAreaCode,
 
-         askariCertificate: this.imgs[this.imgs.length - 1].toString(","),
 
-         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);
 
-         });
 
-       } else {
 
-         addExtend(dat).then((res) => {
 
-           this.$modal.msgSuccess("保存成功");
 
-           this.$router.go(-1);
 
-         });
 
-       }
 
-     },
 
-     nosaveExtend() {
 
-       this.$router.go(-1);
 
-     },
 
-     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 = "";
 
-     },
 
-   },
 
-   fillter: {},
 
- };
 
- </script>
 
- <style scoped lang="scss">
 
- .title {
 
-   font-size: 18px;
 
-   text-align: left;
 
-   background: #008cd6bd;
 
-   color: #fff;
 
-   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;
 
-   /* 您可以将此颜色更改为所需的颜色 */
 
- }
 
- </style>
 
 
  |