extend.vue 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052
  1. <template>
  2. <div class="app-container">
  3. <h3 class="title">同步信息</h3>
  4. <div class="info-box">
  5. <el-descriptions>
  6. <el-descriptions-item
  7. v-for="v in dataInfo"
  8. :label="v.label"
  9. :key="v.key"
  10. >{{ v.value }}</el-descriptions-item
  11. >
  12. <el-descriptions-item label="机构组织类型" v-if="false">{{
  13. getLabel(dict.type.reality_org_type, orgType)
  14. }}</el-descriptions-item>
  15. <el-descriptions-item label="是否可用">{{
  16. isLock == 1 ? "否" : "是"
  17. }}</el-descriptions-item>
  18. <el-descriptions-item label="机构类型">{{
  19. getLabel(dict.type.sys_org_type, type)
  20. }}</el-descriptions-item>
  21. </el-descriptions>
  22. </div>
  23. <h3 v-if="type == 4" class="title">补充基础信息</h3>
  24. <div class="info-box">
  25. <el-form
  26. inline
  27. class="demo-form-inline"
  28. label-position="left"
  29. label-width="120px"
  30. >
  31. <el-row>
  32. <el-col :span="8">
  33. <el-form-item label="机构类型" v-if="false">
  34. <el-select v-model="type" placeholder="请选择机构类型">
  35. <el-option
  36. v-for="dict in dict.type.sys_org_type"
  37. :key="dict.value"
  38. :label="dict.label"
  39. :value="dict.value"
  40. ></el-option>
  41. </el-select>
  42. </el-form-item>
  43. </el-col>
  44. <el-col :span="8">
  45. <el-form-item v-if="type == 4" label="城市天气区域">
  46. <!-- <el-input
  47. v-model="weatherAreaCode"
  48. placeholder="天气区域编码"
  49. @input="handleInput2"
  50. ></el-input>-->
  51. <!-- <el-select v-model="weatherAreaCode" placeholder="请选择" clearable>
  52. <el-option v-for="item in areaList" :key="item.key" :label="item.value" :value="item.key"></el-option>
  53. </el-select>-->
  54. <el-cascader
  55. clearable
  56. v-model="weatherAreaCode"
  57. :options="areaList"
  58. @change="selectArea"
  59. placeholder="请选择城市天气区域"
  60. ></el-cascader>
  61. </el-form-item>
  62. </el-col>
  63. <el-col :span="8">
  64. <el-form-item v-if="type == 4" label="营业场所面积">
  65. <el-input
  66. clearable
  67. v-model="premisesArea"
  68. placeholder="请输入营业场所面积"
  69. @input="handleInput"
  70. ></el-input>
  71. </el-form-item>
  72. </el-col>
  73. <el-col :span="8">
  74. <el-form-item
  75. v-if="type == 10"
  76. label="建设时间"
  77. prop="constructionTime"
  78. >
  79. <el-date-picker
  80. clearable
  81. v-model="constructionTime"
  82. type="date"
  83. value-format="yyyy-MM-dd HH:mm:ss"
  84. placeholder="请选择建设时间"
  85. >
  86. </el-date-picker>
  87. </el-form-item>
  88. </el-col>
  89. <el-col :span="8">
  90. <el-form-item
  91. v-if="type == 10"
  92. label="最近一次更新"
  93. prop="lastUpdateTime"
  94. >
  95. <el-date-picker
  96. clearable
  97. v-model="lastUpdateTime"
  98. type="date"
  99. value-format="yyyy-MM-dd HH:mm:ss"
  100. placeholder="请选择最近一次更新"
  101. >
  102. </el-date-picker>
  103. </el-form-item>
  104. </el-col>
  105. <el-col :span="8">
  106. <el-form-item v-if="type == 10" label="平台品牌">
  107. <el-select
  108. clearable
  109. v-model="platformBrand"
  110. placeholder="请选择平台品牌"
  111. >
  112. <el-option
  113. v-for="dict in dict.type.org_platform_brand"
  114. :key="dict.value"
  115. :label="dict.label"
  116. :value="dict.value"
  117. ></el-option>
  118. </el-select>
  119. </el-form-item>
  120. </el-col>
  121. <el-col :span="8">
  122. <el-form-item v-if="type == 10" label="平台供应商品牌">
  123. <el-select
  124. clearable
  125. v-model="platformSupplierBrand"
  126. placeholder="请选择平台供应商品牌"
  127. >
  128. <el-option
  129. v-for="dict in dict.type.org_platform_supplier_brand"
  130. :key="dict.value"
  131. :label="dict.label"
  132. :value="dict.value"
  133. ></el-option>
  134. </el-select>
  135. </el-form-item>
  136. </el-col>
  137. </el-row>
  138. </el-form>
  139. </div>
  140. <div v-if="type == 4" class="info-box">
  141. <!-- 下拉框选择 -->
  142. <div>
  143. <el-form
  144. inline
  145. class="demo-form-inline"
  146. label-position="left"
  147. label-width="120px"
  148. >
  149. <el-row>
  150. <el-col :span="8">
  151. <el-form-item label="是否自有产权">
  152. <el-select
  153. clearable
  154. v-model="ownership"
  155. placeholder="请选择是否自有产权"
  156. >
  157. <el-option
  158. v-for="dict in dict.type.property_situation"
  159. :key="dict.value"
  160. :label="dict.label"
  161. :value="dict.value"
  162. ></el-option>
  163. </el-select>
  164. </el-form-item>
  165. </el-col>
  166. <el-col :span="8">
  167. <el-form-item label="是否区域外">
  168. <el-select
  169. clearable
  170. v-model="outsideArea"
  171. placeholder="请选择是否区域外"
  172. >
  173. <el-option
  174. v-for="dict in dict.type.org_extend_is"
  175. :key="dict.value"
  176. :label="dict.label"
  177. :value="dict.value"
  178. ></el-option>
  179. </el-select>
  180. </el-form-item>
  181. </el-col>
  182. </el-row>
  183. </el-form>
  184. </div>
  185. <!-- 表格 -->
  186. <div style="margin-top: 30px">
  187. <el-button
  188. style="margin-bottom: 20px"
  189. type="primary"
  190. plain
  191. icon="el-icon-plus"
  192. size="mini"
  193. @click="handleOrgAdd"
  194. >新增</el-button
  195. >
  196. <el-table
  197. border
  198. size="small"
  199. v-loading="orgloading"
  200. :data="constructionList"
  201. @selection-change="handleOrgSelectionChange"
  202. >
  203. <el-table-column
  204. type="selection"
  205. width="55"
  206. align="center"
  207. v-if="false"
  208. />
  209. <el-table-column type="index" label="序号" align="center" prop="id" />
  210. <el-table-column label="标准" align="center" prop="standard">
  211. <template slot-scope="r"
  212. >{{
  213. getLabel(dict.type.org_extend_standard, `${r.row.standard}`)
  214. }}
  215. </template>
  216. </el-table-column>
  217. <el-table-column
  218. label="达标日期"
  219. align="center"
  220. prop="dateOfCompliance"
  221. width="180"
  222. >
  223. <template slot-scope="scope">
  224. <span>{{
  225. formatTime(scope.row.dateOfCompliance, "YYYY-MM-DD")
  226. }}</span>
  227. </template>
  228. </el-table-column>
  229. <!-- <el-table-column
  230. label="证书佐证"
  231. align="center"
  232. prop="certificateEvidence"
  233. >
  234. <template slot-scope="scope">
  235. <span v-if="scope.row.certificateEvidence > 0">是</span>
  236. <span v-else>否</span>
  237. </template></el-table-column
  238. > -->
  239. <!-- <el-table-column label="证书" align="center" prop="certificate" />
  240. <el-table-column label="佐证" align="center" prop="evidence" /> -->
  241. <el-table-column
  242. v-if="false"
  243. label="机构id"
  244. align="center"
  245. prop="orgId"
  246. />
  247. <el-table-column
  248. label="操作"
  249. align="center"
  250. class-name="small-padding fixed-width"
  251. >
  252. <template slot-scope="scope">
  253. <el-button
  254. v-if="scope.row.certificate"
  255. size="mini"
  256. type="text"
  257. icon="el-icon-edit"
  258. @click="downBusiness(scope.row.certificate)"
  259. >查看证书</el-button
  260. >
  261. <el-button
  262. size="mini"
  263. type="text"
  264. icon="el-icon-edit"
  265. @click="handleOrgUpdate(scope.row)"
  266. >编辑</el-button
  267. >
  268. <el-button
  269. size="mini"
  270. type="text"
  271. icon="el-icon-delete"
  272. @click="handleOrgDelete(scope.row)"
  273. >删除</el-button
  274. >
  275. </template>
  276. </el-table-column>
  277. </el-table>
  278. </div>
  279. <!-- 上传 -->
  280. <div style="margin-top: 30px">
  281. <el-switch
  282. v-model="askari"
  283. active-text
  284. inactive-text="是否有保安"
  285. :active-value="1"
  286. :inactive-value="0"
  287. ></el-switch>
  288. <div></div>
  289. <el-row v-if="askari">
  290. <el-col :span="12" :xs="24">
  291. <p style="font-size: 12px; color: #999">上传保安证</p>
  292. <image-upload
  293. :limit="5"
  294. :value="askariCertificate"
  295. :fileSize="2"
  296. @input="getImgUrl"
  297. ></image-upload>
  298. <!-- <el-image class="zoom-image border-color-change" :src="uploadp" fit="contain" @click="triggerFileInput"></el-image>-->
  299. <!-- <input type="file"-->
  300. <!-- ref="fileInput"-->
  301. <!-- @change="handleFileChange"-->
  302. <!-- style="display: none;"/>-->
  303. </el-col>
  304. <!-- <el-col :span="12" :xs="24">
  305. <p style="font-size: 12px; color: #999">示例图</p>
  306. <div style="width: 350px">
  307. <el-image :src="uplp"></el-image>
  308. </div>
  309. </el-col> -->
  310. <!-- <el-image class="zoom-image border-color-change" :src="uplp" fit="contain"></el-image>-->
  311. </el-row>
  312. </div>
  313. </div>
  314. <el-switch
  315. v-if="type == 4"
  316. style="margin-top: 30px; margin-left: 30px"
  317. v-model="businessLibrary"
  318. active-text
  319. inactive-text="是否有业务库"
  320. :active-value="1"
  321. :inactive-value="0"
  322. ></el-switch>
  323. <div v-if="(type == 4) & (businessLibrary > 0)" style="margin-top: 30px">
  324. <h3 class="title">业务库信息</h3>
  325. <div class="info-box">
  326. <el-form inline label-position="left" label-width="100px">
  327. <el-row>
  328. <el-col :span="7">
  329. <el-form-item label="业务库类型">
  330. <el-select
  331. clearable
  332. v-model="businessLibraryType"
  333. placeholder="请选择业务库类型"
  334. >
  335. <el-option
  336. v-for="dict in dict.type.business_library_type"
  337. :key="dict.value"
  338. :label="dict.label"
  339. :value="dict.value"
  340. ></el-option>
  341. </el-select>
  342. </el-form-item>
  343. </el-col>
  344. <el-col :span="7">
  345. <el-form-item label="值守方式">
  346. <el-radio-group v-model="dutyMode">
  347. <el-radio :label="0">同楼异地值守</el-radio>
  348. <el-radio :label="1">远程值守</el-radio>
  349. </el-radio-group>
  350. </el-form-item>
  351. </el-col>
  352. <el-col :span="7">
  353. <el-form-item label="业务库出入口远程控制" label-width="150">
  354. <el-switch
  355. v-model="remoteControl"
  356. active-text
  357. inactive-text
  358. :active-value="1"
  359. :inactive-value="0"
  360. ></el-switch>
  361. </el-form-item>
  362. </el-col>
  363. </el-row>
  364. </el-form>
  365. </div>
  366. <div class="info-box">
  367. <el-button
  368. style="margin-bottom: 20px"
  369. type="primary"
  370. plain
  371. icon="el-icon-plus"
  372. size="mini"
  373. @click="handleBusinessAdd"
  374. >新增</el-button
  375. >
  376. <el-table
  377. border
  378. size="small"
  379. v-loading="businessloading"
  380. :data="BusinessPhysicalDefenseConstructionList"
  381. @selection-change="handleBusinessSelectionChange"
  382. >
  383. <el-table-column
  384. type="selection"
  385. width="55"
  386. v-if="false"
  387. align="center"
  388. />
  389. <el-table-column type="index" label="序号" align="center" prop="id" />
  390. <el-table-column label="标准" align="center" prop="standard">
  391. <template slot-scope="r"
  392. >{{
  393. getLabel(
  394. dict.type.org_extend_business_library_standard,
  395. `${r.row.standard}`
  396. )
  397. }}
  398. </template>
  399. </el-table-column>
  400. <el-table-column
  401. label="达标日期"
  402. align="center"
  403. prop="dateOfCompliance"
  404. width="180"
  405. >
  406. <template slot-scope="scope">
  407. <span>{{
  408. formatTime(scope.row.dateOfCompliance, "YYYY-MM-DD")
  409. }}</span>
  410. </template>
  411. </el-table-column>
  412. <el-table-column
  413. label="证书佐证"
  414. align="center"
  415. prop="certificateEvidence"
  416. >
  417. <template slot-scope="scope">
  418. <span v-if="scope.row.certificateEvidence > 0">是</span>
  419. <span v-else>否</span>
  420. </template></el-table-column
  421. >
  422. <!-- <el-table-column label="证书" align="center" prop="certificate">
  423. </el-table-column>
  424. <el-table-column label="佐证" align="center" prop="evidence" /> -->
  425. <el-table-column
  426. v-if="false"
  427. label="机构id"
  428. align="center"
  429. prop="orgId"
  430. />
  431. <el-table-column
  432. label="操作"
  433. align="center"
  434. class-name="small-padding fixed-width"
  435. >
  436. <template slot-scope="scope">
  437. <el-button
  438. v-if="scope.row.certificate"
  439. size="mini"
  440. type="text"
  441. icon="el-icon-edit"
  442. @click="downBusiness(scope.row.certificate)"
  443. >查看证书</el-button
  444. >
  445. <el-button
  446. size="mini"
  447. type="text"
  448. icon="el-icon-edit"
  449. @click="handleBusinessUpdate(scope.row)"
  450. >编辑</el-button
  451. >
  452. <el-button
  453. size="mini"
  454. type="text"
  455. icon="el-icon-delete"
  456. @click="handleBusinessDelete(scope.row)"
  457. >删除</el-button
  458. >
  459. </template>
  460. </el-table-column>
  461. </el-table>
  462. </div>
  463. </div>
  464. <el-switch
  465. v-if="type == 4"
  466. style="margin-top: 30px; margin-left: 30px"
  467. v-model="selfServiceBank"
  468. active-text
  469. inactive-text="是否有在行自助银行"
  470. :active-value="1"
  471. :inactive-value="0"
  472. ></el-switch>
  473. <div v-if="(type == 4) & (selfServiceBank > 0)" style="margin-top: 30px">
  474. <h3 class="title">在行自助银行信息</h3>
  475. <div class="info-box">
  476. <el-switch
  477. v-if="false"
  478. v-model="selfServiceBank"
  479. active-text
  480. inactive-text="是否有在行自助银行"
  481. :active-value="1"
  482. :inactive-value="0"
  483. ></el-switch>
  484. <span>在行式大堂设备</span>
  485. <div style="display: inline-block; width: 200px">
  486. <el-input-number
  487. style="margin-left: 10px"
  488. v-model="lobbyEquipment"
  489. controls-position="right"
  490. @change="handleChange"
  491. :min="0"
  492. :max="9999"
  493. ></el-input-number>
  494. </div>
  495. <span style="margin-left: 50px">在行式穿墙设备</span>
  496. <div style="display: inline-block; width: 200px">
  497. <el-input-number
  498. style="margin-left: 10px"
  499. v-model="wallPenetratingEquipment"
  500. controls-position="right"
  501. @change="handleChange"
  502. :min="0"
  503. :max="9999"
  504. ></el-input-number>
  505. </div>
  506. </div>
  507. <div class="info-box">
  508. <el-button
  509. style="margin-bottom: 20px"
  510. type="primary"
  511. plain
  512. icon="el-icon-plus"
  513. size="mini"
  514. @click="handleBankAdd"
  515. >新增</el-button
  516. >
  517. <el-table
  518. border
  519. size="small"
  520. v-loading="bankloading"
  521. :data="BankPhysicalDefenseConstructionList"
  522. @selection-change="handleBankSelectionChange"
  523. >
  524. <el-table-column
  525. type="selection"
  526. width="55"
  527. v-if="false"
  528. align="center"
  529. />
  530. <el-table-column type="index" label="序号" align="center" prop="id" />
  531. <el-table-column label="标准" align="center" prop="standard">
  532. <template slot-scope="r"
  533. >{{
  534. getLabel(
  535. dict.type.org_extend_self_service_bank_standard,
  536. `${r.row.standard}`
  537. )
  538. }}
  539. </template>
  540. </el-table-column>
  541. <el-table-column
  542. label="达标日期"
  543. align="center"
  544. prop="dateOfCompliance"
  545. width="180"
  546. >
  547. <template slot-scope="scope">
  548. <span>{{
  549. formatTime(scope.row.dateOfCompliance, "YYYY-MM-DD")
  550. }}</span>
  551. </template>
  552. </el-table-column>
  553. <el-table-column
  554. label="证书佐证"
  555. align="center"
  556. prop="certificateEvidence"
  557. >
  558. <template slot-scope="scope">
  559. <span v-if="scope.row.certificateEvidence > 0">是</span>
  560. <span v-else>否</span>
  561. </template></el-table-column
  562. >
  563. <!-- <el-table-column label="证书" align="center" prop="certificate" />
  564. <el-table-column label="佐证" align="center" prop="evidence" /> -->
  565. <el-table-column
  566. v-if="false"
  567. label="机构id"
  568. align="center"
  569. prop="orgId"
  570. />
  571. <el-table-column
  572. label="操作"
  573. align="center"
  574. class-name="small-padding fixed-width"
  575. >
  576. <template slot-scope="scope">
  577. <el-button
  578. v-if="scope.row.certificate"
  579. size="mini"
  580. type="text"
  581. icon="el-icon-edit"
  582. @click="downBusiness(scope.row.certificate)"
  583. >查看证书</el-button
  584. >
  585. <el-button
  586. size="mini"
  587. type="text"
  588. icon="el-icon-edit"
  589. @click="handleBankUpdate(scope.row)"
  590. >编辑</el-button
  591. >
  592. <el-button
  593. size="mini"
  594. type="text"
  595. icon="el-icon-delete"
  596. @click="handleBankDelete(scope.row)"
  597. >删除</el-button
  598. >
  599. </template>
  600. </el-table-column>
  601. </el-table>
  602. </div>
  603. </div>
  604. <div v-if="type == 5">
  605. <h3 class="title">离行自助银行信息</h3>
  606. <div class="info-box">
  607. <span>离行式大堂设备</span>
  608. <div style="display: inline-block; width: 200px">
  609. <el-input-number
  610. style="margin-left: 10px"
  611. v-model="detachedLobbyEquipment"
  612. controls-position="right"
  613. @change="handleChange"
  614. :min="0"
  615. :max="9999"
  616. ></el-input-number>
  617. </div>
  618. <span style="margin-left: 50px">离行式穿墙设备</span>
  619. <div style="display: inline-block; width: 200px">
  620. <el-input-number
  621. style="margin-left: 10px"
  622. v-model="detachedWallPenetratingEquipment"
  623. controls-position="right"
  624. @change="handleChange"
  625. :min="0"
  626. :max="9999"
  627. ></el-input-number>
  628. </div>
  629. </div>
  630. <div class="info-box">
  631. <el-button
  632. style="margin-bottom: 20px"
  633. type="primary"
  634. plain
  635. icon="el-icon-plus"
  636. size="mini"
  637. @click="handledetachedAdd"
  638. >新增</el-button
  639. >
  640. <el-table
  641. border
  642. size="small"
  643. v-loading="detachedloading"
  644. :data="detachedPhysicalDefenseConstructionList"
  645. @selection-change="handledetachedSelectionChange"
  646. >
  647. <el-table-column
  648. type="selection"
  649. width="55"
  650. v-if="false"
  651. align="center"
  652. />
  653. <el-table-column type="index" label="序号" align="center" prop="id" />
  654. <el-table-column label="标准" align="center" prop="standard">
  655. <template slot-scope="r"
  656. >{{
  657. getLabel(
  658. dict.type.org_extend_detached_standard,
  659. `${r.row.standard}`
  660. )
  661. }}
  662. </template>
  663. </el-table-column>
  664. <el-table-column
  665. label="达标日期"
  666. align="center"
  667. prop="dateOfCompliance"
  668. width="180"
  669. >
  670. <template slot-scope="scope">
  671. <span>{{
  672. formatTime(scope.row.dateOfCompliance, "YYYY-MM-DD")
  673. }}</span>
  674. </template>
  675. </el-table-column>
  676. <el-table-column
  677. label="证书佐证"
  678. align="center"
  679. prop="certificateEvidence"
  680. >
  681. <template slot-scope="scope">
  682. <span v-if="scope.row.certificateEvidence > 0">是</span>
  683. <span v-else>否</span>
  684. </template></el-table-column
  685. >
  686. <!-- <el-table-column label="证书" align="center" prop="certificate" />
  687. <el-table-column label="佐证" align="center" prop="evidence" /> -->
  688. <el-table-column
  689. v-if="false"
  690. label="机构id"
  691. align="center"
  692. prop="orgId"
  693. />
  694. <el-table-column
  695. label="操作"
  696. align="center"
  697. class-name="small-padding fixed-width"
  698. >
  699. <template slot-scope="scope">
  700. <el-button
  701. v-if="scope.row.certificate"
  702. size="mini"
  703. type="text"
  704. icon="el-icon-edit"
  705. @click="downBusiness(scope.row.certificate)"
  706. >查看证书</el-button
  707. >
  708. <el-button
  709. size="mini"
  710. type="text"
  711. icon="el-icon-edit"
  712. @click="handledetachedUpdate(scope.row)"
  713. >编辑</el-button
  714. >
  715. <el-button
  716. size="mini"
  717. type="text"
  718. icon="el-icon-delete"
  719. @click="handledetachedDelete(scope.row)"
  720. >删除</el-button
  721. >
  722. </template>
  723. </el-table-column>
  724. </el-table>
  725. </div>
  726. </div>
  727. <div style="margin-top: 50px; margin-left: 42%">
  728. <el-button type="primary" @click="saveExtend" size="small"
  729. >提交</el-button
  730. >
  731. <el-button type="primary" @click="nosaveExtend" size="small"
  732. >取消</el-button
  733. >
  734. </div>
  735. <!-- 添加或编辑业务库物防建设对话框 -->
  736. <DialogCom
  737. :title="Businesstitle"
  738. :visible.sync="Businessopen"
  739. width="500px"
  740. append-to-body
  741. >
  742. <el-form
  743. ref="Businessform"
  744. :model="Businessform"
  745. :rules="rules"
  746. label-width="80px"
  747. >
  748. <el-form-item label="标准" prop="standard">
  749. <!-- <el-input v-model="Businessform.standard" placeholder="请输入标准" /> -->
  750. <el-select
  751. prop="planType"
  752. label="标准"
  753. v-model="Businessform.standard"
  754. placeholder="请选择标准"
  755. clearable
  756. >
  757. <el-option
  758. v-for="dict in dict.type.org_extend_business_library_standard"
  759. :key="dict.value"
  760. :label="dict.label"
  761. :value="dict.value"
  762. />
  763. </el-select>
  764. </el-form-item>
  765. <el-form-item label="达标日期" prop="dateOfCompliance">
  766. <el-date-picker
  767. clearable
  768. v-model="Businessform.dateOfCompliance"
  769. type="date"
  770. value-format="yyyy-MM-dd HH:mm:ss"
  771. placeholder="请选择达标日期"
  772. >
  773. </el-date-picker>
  774. </el-form-item>
  775. <el-form-item label="证书佐证" prop="certificateEvidence">
  776. <el-switch
  777. v-model="Businessform.certificateEvidence"
  778. active-text
  779. :active-value="1"
  780. :inactive-value="0"
  781. ></el-switch>
  782. </el-form-item>
  783. <el-form-item
  784. v-if="Businessform.certificateEvidence"
  785. label="证书"
  786. prop="certificate"
  787. >
  788. <!-- <el-input
  789. v-if="false"
  790. v-model="Businessform.certificate"
  791. placeholder="请输入证书"
  792. /> -->
  793. <div
  794. class="image-container"
  795. style="margin-left: 20px"
  796. v-if="Businessform.certificateEvidence"
  797. >
  798. <p style="font-size: 12px; color: #999">上传证书</p>
  799. <image-upload
  800. :limit="5"
  801. :fileSize="2"
  802. :value="Businessform.certificate"
  803. @input="uploadBusinessSuccess"
  804. ></image-upload>
  805. </div>
  806. <!-- <el-button type="primary" @click="resetimg(Businessform.certificate)">重新上传</el-button> -->
  807. </el-form-item>
  808. <el-form-item v-if="false" label="佐证" prop="evidence">
  809. <el-input v-model="Businessform.evidence" placeholder="请输入佐证" />
  810. </el-form-item>
  811. <el-form-item v-if="false" label="机构id" prop="orgId">
  812. <el-input v-model="Businessform.orgId" placeholder="请输入机构id" />
  813. </el-form-item>
  814. </el-form>
  815. <div slot="footer" class="dialog-footer">
  816. <el-button type="primary" @click="submitBusinessForm">确 定</el-button>
  817. <el-button @click="Businesscancel">取 消</el-button>
  818. </div>
  819. </DialogCom>
  820. <!-- 添加或编辑银行物防建设对话框 -->
  821. <DialogCom
  822. :title="Banktitle"
  823. :visible.sync="Bankopen"
  824. width="500px"
  825. append-to-body
  826. >
  827. <el-form
  828. ref="Bankform"
  829. :model="Bankform"
  830. label-width="80px"
  831. :rules="rules"
  832. >
  833. <el-form-item label="标准" prop="standard">
  834. <!-- <el-input v-model="Bankform.standard" placeholder="请输入标准" /> -->
  835. <el-select
  836. prop="planType"
  837. label="标准"
  838. v-model="Bankform.standard"
  839. placeholder="请选择标准"
  840. clearable
  841. >
  842. <el-option
  843. v-for="dict in dict.type.org_extend_self_service_bank_standard"
  844. :key="dict.value"
  845. :label="dict.label"
  846. :value="dict.value"
  847. />
  848. </el-select>
  849. </el-form-item>
  850. <el-form-item label="达标日期" prop="dateOfCompliance">
  851. <el-date-picker
  852. clearable
  853. v-model="Bankform.dateOfCompliance"
  854. type="date"
  855. value-format="yyyy-MM-dd HH:mm:ss"
  856. placeholder="请选择达标日期"
  857. >
  858. </el-date-picker>
  859. </el-form-item>
  860. <el-form-item label="证书佐证" prop="certificateEvidence">
  861. <!-- <el-input
  862. v-model="Bankform.certificateEvidence"
  863. placeholder="请输入证书佐证"
  864. /> -->
  865. <el-switch
  866. v-model="Bankform.certificateEvidence"
  867. active-text
  868. :active-value="1"
  869. :inactive-value="0"
  870. ></el-switch>
  871. </el-form-item>
  872. <el-form-item
  873. v-if="Bankform.certificateEvidence"
  874. label="证书"
  875. prop="certificate"
  876. >
  877. <!-- <el-input
  878. v-if="false"
  879. v-model="Bankform.certificate"
  880. placeholder="请输入证书"
  881. /> -->
  882. <div
  883. class="image-container"
  884. style="margin-left: 20px"
  885. v-if="Bankform.certificateEvidence"
  886. >
  887. <p style="font-size: 12px; color: #999">上传证书</p>
  888. <image-upload
  889. :limit="5"
  890. :fileSize="2"
  891. :value="Bankform.certificate"
  892. @input="uploadBankSuccess"
  893. ></image-upload>
  894. </div>
  895. </el-form-item>
  896. <el-form-item v-if="false" label="佐证" prop="evidence">
  897. <el-input v-model="Bankform.evidence" placeholder="请输入佐证" />
  898. </el-form-item>
  899. <el-form-item v-if="false" label="机构id" prop="orgId">
  900. <el-input v-model="Bankform.orgId" placeholder="请输入机构id" />
  901. </el-form-item>
  902. </el-form>
  903. <div slot="footer" class="dialog-footer">
  904. <el-button type="primary" @click="submitBankForm">确 定</el-button>
  905. <el-button @click="Bankcancel">取 消</el-button>
  906. </div>
  907. </DialogCom>
  908. <DialogCom
  909. :title="orgtitle"
  910. :visible.sync="orgopen"
  911. width="500px"
  912. append-to-body
  913. >
  914. <el-form ref="orgform" :model="orgform" label-width="80px" :rules="rules">
  915. <el-form-item label="标准" prop="standard">
  916. <!-- <el-input v-model="orgform.standard" placeholder="请输入标准" /> -->
  917. <el-select
  918. prop="planType"
  919. label="标准"
  920. v-model="orgform.standard"
  921. placeholder="请选择标准"
  922. clearable
  923. >
  924. <el-option
  925. v-for="dict in dict.type.org_extend_standard"
  926. :key="dict.value"
  927. :label="dict.label"
  928. :value="dict.value"
  929. />
  930. </el-select>
  931. </el-form-item>
  932. <el-form-item label="达标日期" prop="dateOfCompliance">
  933. <el-date-picker
  934. clearable
  935. v-model="orgform.dateOfCompliance"
  936. type="date"
  937. value-format="yyyy-MM-dd HH:mm:ss"
  938. placeholder="请选择达标日期"
  939. >
  940. </el-date-picker>
  941. </el-form-item>
  942. <el-form-item label="证书佐证" prop="certificateEvidence">
  943. <el-switch
  944. v-model="orgform.certificateEvidence"
  945. active-text
  946. :active-value="1"
  947. :inactive-value="0"
  948. ></el-switch>
  949. </el-form-item>
  950. <el-form-item
  951. v-if="orgform.certificateEvidence"
  952. label="证书"
  953. prop="certificate"
  954. >
  955. <!-- <el-input
  956. v-if="false"
  957. v-model="orgform.certificate"
  958. placeholder="请输入证书"
  959. /> -->
  960. <div
  961. class="image-container"
  962. style="margin-left: 20px"
  963. v-if="orgform.certificateEvidence"
  964. >
  965. <p style="font-size: 12px; color: #999">上传证书</p>
  966. <image-upload
  967. :limit="5"
  968. :fileSize="2"
  969. :value="orgform.certificate"
  970. @input="uploadorgSuccess"
  971. ></image-upload>
  972. </div>
  973. </el-form-item>
  974. <el-form-item v-if="false" label="佐证" prop="evidence">
  975. <el-input v-model="orgform.evidence" placeholder="请输入佐证" />
  976. </el-form-item>
  977. <el-form-item v-if="false" label="机构id" prop="orgId">
  978. <el-input v-model="orgform.orgId" placeholder="请输入机构id" />
  979. </el-form-item>
  980. </el-form>
  981. <div slot="footer" class="dialog-footer">
  982. <el-button type="primary" @click="submitOrgForm">确 定</el-button>
  983. <el-button @click="orgcancel">取 消</el-button>
  984. </div>
  985. </DialogCom>
  986. <!-- 添加或编辑离行物防建设对话框 -->
  987. <DialogCom
  988. :title="detachedtitle"
  989. :visible.sync="detachedopen"
  990. width="500px"
  991. append-to-body
  992. >
  993. <el-form
  994. ref="detachedform"
  995. :model="detachedform"
  996. label-width="80px"
  997. :rules="rules"
  998. >
  999. <el-form-item label="标准" prop="standard">
  1000. <!-- <el-input v-model="detachedform.standard" placeholder="请输入标准" /> -->
  1001. <el-select
  1002. prop="planType"
  1003. label="标准"
  1004. v-model="detachedform.standard"
  1005. placeholder="请选择标准"
  1006. clearable
  1007. >
  1008. <el-option
  1009. v-for="dict in dict.type.org_extend_detached_standard"
  1010. :key="dict.value"
  1011. :label="dict.label"
  1012. :value="dict.value"
  1013. />
  1014. </el-select>
  1015. </el-form-item>
  1016. <el-form-item label="达标日期" prop="dateOfCompliance">
  1017. <el-date-picker
  1018. clearable
  1019. v-model="detachedform.dateOfCompliance"
  1020. type="date"
  1021. value-format="yyyy-MM-dd HH:mm:ss"
  1022. placeholder="请选择达标日期"
  1023. >
  1024. </el-date-picker>
  1025. </el-form-item>
  1026. <el-form-item label="证书佐证" prop="certificateEvidence">
  1027. <!-- <el-input
  1028. v-model="detachedform.certificateEvidence"
  1029. placeholder="请输入证书佐证"
  1030. /> -->
  1031. <el-switch
  1032. v-model="detachedform.certificateEvidence"
  1033. active-text
  1034. :active-value="1"
  1035. :inactive-value="0"
  1036. ></el-switch>
  1037. </el-form-item>
  1038. <el-form-item
  1039. v-if="detachedform.certificateEvidence"
  1040. label="证书"
  1041. prop="certificate"
  1042. >
  1043. <!-- <el-input
  1044. v-if="false"
  1045. v-model="detachedform.certificate"
  1046. placeholder="请输入证书"
  1047. /> -->
  1048. <div
  1049. class="image-container"
  1050. style="margin-left: 20px"
  1051. v-if="detachedform.certificateEvidence"
  1052. >
  1053. <p style="font-size: 12px; color: #999">上传证书</p>
  1054. <image-upload
  1055. :limit="5"
  1056. :fileSize="2"
  1057. :value="detachedform.certificate"
  1058. @input="uploaddetachedSuccess"
  1059. ></image-upload>
  1060. </div>
  1061. </el-form-item>
  1062. <el-form-item v-if="false" label="佐证" prop="evidence">
  1063. <el-input v-model="detachedform.evidence" placeholder="请输入佐证" />
  1064. </el-form-item>
  1065. <el-form-item v-if="false" label="机构id" prop="orgId">
  1066. <el-input v-model="detachedform.orgId" placeholder="请输入机构id" />
  1067. </el-form-item>
  1068. </el-form>
  1069. <div slot="footer" class="dialog-footer">
  1070. <el-button type="primary" @click="submitdetachedForm">确 定</el-button>
  1071. <el-button @click="detachedcancel">取 消</el-button>
  1072. </div>
  1073. </DialogCom>
  1074. </div>
  1075. </template>
  1076. <script>
  1077. import uploadpng from "@/assets/images/upload.png";
  1078. import uplpng from "@/assets/images/upl.png";
  1079. import request from "@/utils/request";
  1080. import { statusOptions, getLabel } from "./../../commonOption";
  1081. import {
  1082. listExtend,
  1083. getExtend,
  1084. addExtend,
  1085. updateExtend,
  1086. delExtend,
  1087. getExtendByOrgId,
  1088. uploadFile,
  1089. } from "@/api/system/extend";
  1090. import {
  1091. listDept,
  1092. getDept,
  1093. delDept,
  1094. addDept,
  1095. updateDept,
  1096. listDeptExcludeChild,
  1097. } from "@/api/system/dept";
  1098. import {
  1099. listOrgPhysicalDefenseConstruction,
  1100. getOrgPhysicalDefenseConstruction,
  1101. addOrgPhysicalDefenseConstruction,
  1102. updateOrgPhysicalDefenseConstruction,
  1103. delOrgPhysicalDefenseConstruction,
  1104. } from "@/api/system/OrgPhysicalDefenseConstruction";
  1105. import { selectCityInfoVoList } from "@/api/core/weather";
  1106. import TreeNodeDialogVue from "../../tool/build/TreeNodeDialog.vue";
  1107. export default {
  1108. dicts: [
  1109. "sys_org_type",
  1110. "org_platform_brand",
  1111. "org_platform_supplier_brand",
  1112. "org_extend_type",
  1113. "business_library_type",
  1114. "reality_org_type",
  1115. "org_extend_standard",
  1116. "org_extend_business_library_standard",
  1117. "org_extend_self_service_bank_standard",
  1118. "org_extend_detached_standard",
  1119. "org_extend_is",
  1120. "property_situation",
  1121. ],
  1122. props: [],
  1123. components: {},
  1124. data() {
  1125. let formatRule = function(rule, value, callback) {
  1126. console.log(value,'value')
  1127. if (!value.length) {
  1128. callback(new Error("证书为必填项"));
  1129. } else {
  1130. callback();
  1131. }
  1132. };
  1133. return {
  1134. reqmsg: false,
  1135. //表单验证
  1136. rules: {
  1137. standard: [{ required: true, message: "请输入标准", trigger: "blur" }],
  1138. dateOfCompliance: [
  1139. {
  1140. required: TreeNodeDialogVue,
  1141. message: "请输入达标日期",
  1142. trigger: "blur",
  1143. },
  1144. ],
  1145. certificate: [
  1146. { validator: this.isreq, message: "请选择图片", trigger: "blur" },
  1147. ],
  1148. },
  1149. //基础信息key
  1150. infoKeys: [
  1151. { label: "机构名称", key: "name" },
  1152. // { label: "机构组织类型", key: "type" },
  1153. { label: "部门机构电话", key: "phone" },
  1154. { label: "部门机构地址", key: "address" },
  1155. { label: "排序号", key: "sort" },
  1156. // { label: "是否可用", key: "isLock" },
  1157. { label: "更新时间", key: "updateTime" },
  1158. { label: "同步时间", key: "createTime" },
  1159. { label: "机构简称", key: "shortName" },
  1160. ],
  1161. type: null,
  1162. isLock: null,
  1163. dataInfo: [],
  1164. //机构补充信息
  1165. extendId: null,
  1166. orgType: 1,
  1167. weatherAreaCode: null,
  1168. premisesArea: null,
  1169. ownership: null,
  1170. outsideArea: null,
  1171. askari: 0,
  1172. businessLibrary: 0,
  1173. businessLibraryType: null,
  1174. dutyMode: 0,
  1175. remoteControl: null,
  1176. selfServiceBank: null,
  1177. lobbyEquipment: 0,
  1178. wallPenetratingEquipment: 0,
  1179. platformBrand: null,
  1180. platformSupplierBrand: null,
  1181. constructionTime: null,
  1182. lastUpdateTime: null,
  1183. detachedLobbyEquipment: null,
  1184. detachedWallPenetratingEquipment: null,
  1185. cashAddingRoomRemoteControl: null,
  1186. source: null,
  1187. askariCertificate: null,
  1188. //机构建设数据
  1189. // 遮罩层
  1190. orgloading: true,
  1191. businessloading: true,
  1192. // 选中数组
  1193. orgids: [],
  1194. // 选中数组
  1195. Bankids: [],
  1196. Businessids: [],
  1197. // 非单个禁用
  1198. single: true,
  1199. // 非多个禁用
  1200. multiple: true,
  1201. // 显示搜索条件
  1202. showSearch: true,
  1203. // 总条数
  1204. total: 0,
  1205. // 机构物防建设表格数据
  1206. constructionList: [],
  1207. // 银行物防建设表格数据
  1208. BankPhysicalDefenseConstructionList: [],
  1209. detachedPhysicalDefenseConstructionList: [],
  1210. BusinessPhysicalDefenseConstructionList: [],
  1211. // 弹出层标题
  1212. orgtitle: "",
  1213. Businesstitle: "",
  1214. // 弹出层标题
  1215. Banktitle: "",
  1216. detachedtitle: "",
  1217. detachedloading: false,
  1218. // 是否显示弹出层
  1219. Bankopen: false,
  1220. detachedopen: false,
  1221. // 表单参数
  1222. Bankform: {},
  1223. detachedform: {},
  1224. Businessform: {},
  1225. // 是否显示弹出层
  1226. Businessopen: false,
  1227. orgopen: false,
  1228. // 表单参数
  1229. orgform: {},
  1230. //2个图片信息
  1231. uploadp: uploadpng,
  1232. uplp: uplpng,
  1233. //下拉框生成信息
  1234. orgTypes: {
  1235. orgTyp1: { label: "营业网点", value: 0 },
  1236. orgTyp2: { label: "监控中心", value: 1 },
  1237. },
  1238. businessLibraryTypes: {
  1239. businessLibraryTyp1: { label: "1类业务库", value: 1 },
  1240. businessLibraryTyp2: { label: "2类业务库", value: 2 },
  1241. businessLibraryTyp3: { label: "3类业务库", value: 3 },
  1242. },
  1243. platformBrands: {
  1244. platformBrand1: { label: "品牌1", value: 0 },
  1245. platformBrand2: { label: "品牌2", value: 1 },
  1246. },
  1247. platformSupplierBrands: {
  1248. platformSupplierBrand1: { label: "品牌1", value: 0 },
  1249. platformSupplierBrand2: { label: "品牌2", value: 1 },
  1250. },
  1251. prop: "",
  1252. propItem: "",
  1253. row: "",
  1254. areaList: [],
  1255. imgs: [],
  1256. Businessimgs: [],
  1257. Bankimgs: [],
  1258. orgimgs: [],
  1259. detachedimgs: [],
  1260. };
  1261. },
  1262. watch: {
  1263. "detachedform.certificateEvidence"(newValue) {
  1264. if (newValue === 1&&this.detachedform.certificate==null&&this.detachedimgs.length==0) {
  1265. this.reqmsg = true;
  1266. }
  1267. if (newValue === 0) {
  1268. this.reqmsg = false;
  1269. }
  1270. },
  1271. "Bankform.certificateEvidence"(newValue) {
  1272. // console.log(this.Bankimgs.length,"this.imgs")
  1273. // console.log(this.Bankform.certificate,"Bankform.certificate")
  1274. if (newValue === 1&&this.Bankform.certificate==null&&this.Bankimgs.length==0) {
  1275. this.reqmsg = true;
  1276. }
  1277. if (newValue === 0) {
  1278. this.reqmsg = false;
  1279. }
  1280. },
  1281. "Businessform.certificateEvidence"(newValue) {
  1282. if (newValue === 1&&this.Businessform.certificate==null&&this.Businessimgs.length==0) {
  1283. this.reqmsg = true;
  1284. }
  1285. if (newValue === 0) {
  1286. this.reqmsg = false;
  1287. }
  1288. },
  1289. "orgform.certificateEvidence"(newValue) {
  1290. if (newValue === 1&&this.orgform.certificate==null&&this.orgimgs.length==0) {
  1291. this.reqmsg = true;
  1292. }
  1293. if (newValue === 0) {
  1294. this.reqmsg = false;
  1295. }
  1296. },
  1297. },
  1298. computed: {
  1299. switchModel: {
  1300. get() {
  1301. return this.switchValue === 1; // 将0转换为false,1转换为true
  1302. },
  1303. set(value) {
  1304. this.switchValue = value ? 1 : 0; // 将false转换为0,true转换为1
  1305. },
  1306. },
  1307. },
  1308. created() {
  1309. this.getOrgInfo();
  1310. this.getExtendInfo();
  1311. this.getOrgPhysicalDefenseConstructionInfo();
  1312. this.getBankPhysicalDefenseConstructionInfo();
  1313. this.getBusinessPhysicalDefenseConstructionInfo();
  1314. this.getdetachedPhysicalDefenseConstructionInfo();
  1315. this.getAreaList();
  1316. },
  1317. mounted() {},
  1318. methods: {
  1319. isreq(rule, value, callback) {
  1320. if (this.reqmsg) {
  1321. callback(new Error("证书为必填项"));
  1322. } else {
  1323. callback();
  1324. }
  1325. },
  1326. // getImgUrl(fileList) {
  1327. // let matchResult = fileList.match(/\/statics(.*)/);
  1328. // if (matchResult) {
  1329. // let result = matchResult[0];
  1330. // this.askariCertificate = result;
  1331. // } else {
  1332. // }
  1333. // // this.askariCertificate=img;
  1334. // console.log(this.askariCertificate, "imgs");
  1335. // },
  1336. getImgUrl(img) {
  1337. this.imgs.push(img);
  1338. // console.log(this.imgs, "imgs");
  1339. },
  1340. getAreaList() {
  1341. selectCityInfoVoList({}).then((response) => {
  1342. this.areaList = response.data;
  1343. });
  1344. },
  1345. selectArea(value) {
  1346. this.weatherAreaCode = value[1];
  1347. },
  1348. downBusiness(file) {
  1349. let array = file.split(',');
  1350. console.log(array)
  1351. for (let i = 0; i < array.length; i++) {
  1352. window.open(array[i]);
  1353. }
  1354. },
  1355. //证书上传
  1356. uploadBusinessSuccess(img) {
  1357. this.Businessimgs.push(img);
  1358. this.reqmsg = false;
  1359. },
  1360. uploadBankSuccess(img) {
  1361. this.Bankimgs.push(img);
  1362. this.reqmsg = false;
  1363. },
  1364. uploadorgSuccess(img) {
  1365. this.orgimgs.push(img);
  1366. this.reqmsg = false;
  1367. },
  1368. uploaddetachedSuccess(img) {
  1369. this.detachedimgs.push(img);
  1370. this.reqmsg = false;
  1371. },
  1372. handleInput() {
  1373. // 使用正则表达式过滤输入,只保留数字和小数点
  1374. // this.premisesArea = this.premisesArea.replace(/[^0-9.]/g, "");
  1375. // 限制只能输入1到999999之间的数字
  1376. let value = parseInt(this.premisesArea, 10); // 将输入的值转为整数
  1377. if (isNaN(value) || value < 1 || value > 999999) {
  1378. // 判断是否在范围内
  1379. this.premisesArea = ""; // 不在范围内则清空输入的值
  1380. } else {
  1381. this.premisesArea = value.toString(); // 在范围内则保留输入的值
  1382. }
  1383. },
  1384. handleInput2() {
  1385. // 使用正则表达式过滤输入,只保留数字和小数点
  1386. this.weatherAreaCode = this.weatherAreaCode.replace(/[^a-zA-Z0-9]/g, "");
  1387. },
  1388. request() {},
  1389. handleChange(value) {},
  1390. getOrgInfo() {
  1391. getDept(this.$route.params.id).then((data) => {
  1392. // console.log(data.data);
  1393. if (!data.data) return;
  1394. let res = data.data;
  1395. this.dataInfo = this.infoKeys.map((v, i) => {
  1396. // console.log(v, res[v.key], "vvvvv");
  1397. v.value = res[v.key];
  1398. return v;
  1399. });
  1400. this.type = data.data.type;
  1401. this.isLock = data.data.isLock;
  1402. this.source = data.data.source;
  1403. // console.log(this.dataInfo, "info");
  1404. });
  1405. },
  1406. getExtendInfo() {
  1407. getExtendByOrgId(this.$route.params.id).then((data) => {
  1408. console.log(data.data);
  1409. if (data.data != null) {
  1410. this.orgType = data.data.orgType;
  1411. this.weatherAreaCode = data.data.weatherAreaCode;
  1412. this.premisesArea = data.data.premisesArea;
  1413. this.ownership = data.data.ownership;
  1414. this.outsideArea = data.data.outsideArea;
  1415. this.askari = data.data.askari;
  1416. this.remoteControl = data.data.remoteControl;
  1417. this.selfServiceBank = data.data.selfServiceBank;
  1418. this.businessLibrary = data.data.businessLibrary;
  1419. this.lobbyEquipment = data.data.lobbyEquipment;
  1420. this.wallPenetratingEquipment = data.data.wallPenetratingEquipment;
  1421. this.askariCertificate = data.data.askariCertificate;
  1422. this.extendId = data.data.id;
  1423. this.constructionTime = data.data.constructionTime;
  1424. this.lastUpdateTime = data.data.lastUpdateTime;
  1425. this.platformBrand = data.data.platformBrand;
  1426. this.platformSupplierBrand = data.data.platformSupplierBrand;
  1427. this.businessLibraryType = data.data.businessLibraryType;
  1428. this.dutyMode = data.data.dutyMode;
  1429. this.detachedLobbyEquipment = data.data.detachedLobbyEquipment;
  1430. this.detachedWallPenetratingEquipment =
  1431. data.data.detachedWallPenetratingEquipment;
  1432. this.cashAddingRoomRemoteControl =
  1433. data.data.cashAddingRoomRemoteControl;
  1434. // if (
  1435. // this.askariCertificate &&
  1436. // this.askariCertificate.trim() &&
  1437. // this.askariCertificate.includes(",")
  1438. // ) {
  1439. // this.imgs = this.askariCertificate.split(",");
  1440. // } else if (
  1441. // this.askariCertificate &&
  1442. // this.askariCertificate.trim() &&
  1443. // this.askariCertificate.includes(".")
  1444. // ) {
  1445. // this.imgs.push(this.askariCertificate);
  1446. // }
  1447. // console.log(this.extendId);
  1448. }
  1449. });
  1450. },
  1451. getLabel(options, value) {
  1452. return getLabel(options, value);
  1453. },
  1454. getOrgPhysicalDefenseConstructionInfo() {
  1455. this.orgloading = true;
  1456. let dat = { orgId: this.$route.params.id, type: 1 };
  1457. listOrgPhysicalDefenseConstruction(dat).then((data) => {
  1458. console.log("机构信息获取成功");
  1459. this.constructionList = data.rows;
  1460. this.orgloading = false;
  1461. });
  1462. },
  1463. getBankPhysicalDefenseConstructionInfo() {
  1464. this.bankloading = true;
  1465. let dat = { orgId: this.$route.params.id, type: 3 };
  1466. listOrgPhysicalDefenseConstruction(dat).then((data) => {
  1467. // console.log(data);
  1468. this.BankPhysicalDefenseConstructionList = data.rows;
  1469. this.bankloading = false;
  1470. });
  1471. },
  1472. getdetachedPhysicalDefenseConstructionInfo() {
  1473. this.detachedloading = true;
  1474. let dat = { orgId: this.$route.params.id, type: 4 };
  1475. listOrgPhysicalDefenseConstruction(dat).then((data) => {
  1476. // console.log(data);
  1477. this.detachedPhysicalDefenseConstructionList = data.rows;
  1478. this.detachedloading = false;
  1479. });
  1480. },
  1481. getBusinessPhysicalDefenseConstructionInfo() {
  1482. this.businessloading = true;
  1483. let dat = { orgId: this.$route.params.id, type: 2 };
  1484. listOrgPhysicalDefenseConstruction(dat).then((data) => {
  1485. // console.log(data);
  1486. this.BusinessPhysicalDefenseConstructionList = data.rows;
  1487. this.businessloading = false;
  1488. });
  1489. },
  1490. // 取消按钮
  1491. Businesscancel() {
  1492. this.Businessopen = false;
  1493. this.Businessreset();
  1494. },
  1495. // 表单重置
  1496. Businessreset() {
  1497. this.Businessform = {
  1498. id: null,
  1499. standard: null,
  1500. dateOfCompliance: null,
  1501. certificateEvidence: null,
  1502. certificate: null,
  1503. evidence: null,
  1504. createTime: null,
  1505. updateTime: null,
  1506. createBy: null,
  1507. updateBy: null,
  1508. orgId: null,
  1509. };
  1510. this.reqmsg = false;
  1511. this.resetForm("Businessform");
  1512. },
  1513. // 多选框选中数据
  1514. handleBusinessSelectionChange(selection) {
  1515. this.Businessids = selection.map((item) => item.id);
  1516. this.single = selection.length !== 1;
  1517. this.multiple = !selection.length;
  1518. },
  1519. /** 新增按钮操作 */
  1520. handleBusinessAdd() {
  1521. this.Businessreset();
  1522. this.Businessopen = true;
  1523. this.Businesstitle = "新增安全防范设施建设达标情况";
  1524. },
  1525. /** 编辑按钮操作 */
  1526. handleBusinessUpdate(row) {
  1527. this.Businessreset();
  1528. const id = row.id || this.Businessids;
  1529. getOrgPhysicalDefenseConstruction(id).then((response) => {
  1530. // console.log(response.data,"response.data")
  1531. this.Businessform = response.data;
  1532. this.Businessopen = true;
  1533. this.Businesstitle = "编辑安全防范设施建设达标情况";
  1534. });
  1535. },
  1536. /** 提交按钮 */
  1537. submitBusinessForm() {
  1538. if(this.Businessimgs.length>0){
  1539. this.Businessform.certificate= this.Businessimgs[this.Businessimgs.length - 1].toString(",");
  1540. }
  1541. this.$refs.Businessform.validate((valid) => {
  1542. if (valid) {
  1543. // 表单验证通过,提交数据或执行其他操作
  1544. this.Businessform.orgId = this.$route.params.id;
  1545. this.Businessform.type = 2;
  1546. if (this.Businessform.id != null) {
  1547. // console.log(this.Businessform,"this.Businessform")
  1548. updateOrgPhysicalDefenseConstruction(this.Businessform).then(
  1549. (response) => {
  1550. this.$modal.msgSuccess("编辑成功");
  1551. this.Businessopen = false;
  1552. this.getBusinessPhysicalDefenseConstructionInfo();
  1553. }
  1554. );
  1555. } else {
  1556. addOrgPhysicalDefenseConstruction(this.Businessform).then(
  1557. (response) => {
  1558. this.$modal.msgSuccess("新增成功");
  1559. this.Businessopen = false;
  1560. this.getBusinessPhysicalDefenseConstructionInfo();
  1561. }
  1562. );
  1563. }
  1564. this.Businessimgs=[];
  1565. } else {
  1566. // 表单验证未通过,显示错误信息
  1567. }
  1568. });
  1569. // this.$refs["Businessform"].validate((valid) => {
  1570. // if (valid) {
  1571. // }
  1572. // });
  1573. },
  1574. /** 删除按钮操作 */
  1575. handleBusinessDelete(row) {
  1576. const Businessids = row.id || this.Businessids;
  1577. this.$modal
  1578. .confirm("确认删除?")
  1579. .then(function () {
  1580. return delOrgPhysicalDefenseConstruction(Businessids);
  1581. })
  1582. .then(() => {
  1583. this.getBusinessPhysicalDefenseConstructionInfo();
  1584. this.$modal.msgSuccess("删除成功");
  1585. })
  1586. .catch(() => {});
  1587. },
  1588. // resetimg(certificate){
  1589. // this.Bankform.certificate=0;
  1590. // },
  1591. // 取消按钮
  1592. Bankcancel() {
  1593. this.Bankopen = false;
  1594. this.Bankreset();
  1595. },
  1596. // 表单重置
  1597. Bankreset() {
  1598. this.Bankform = {
  1599. id: null,
  1600. standard: null,
  1601. dateOfCompliance: null,
  1602. certificateEvidence: null,
  1603. certificate: null,
  1604. evidence: null,
  1605. createTime: null,
  1606. updateTime: null,
  1607. createBy: null,
  1608. updateBy: null,
  1609. orgId: null,
  1610. };
  1611. this.reqmsg = false;
  1612. this.resetForm("Bankform");
  1613. },
  1614. // 多选框选中数据
  1615. handleBankSelectionChange(selection) {
  1616. this.Bankids = selection.map((item) => item.id);
  1617. this.single = selection.length !== 1;
  1618. this.multiple = !selection.length;
  1619. },
  1620. /** 新增按钮操作 */
  1621. handleBankAdd() {
  1622. this.Bankreset();
  1623. this.Bankopen = true;
  1624. this.Banktitle = "新增安全防范设施建设达标情况";
  1625. },
  1626. /** 编辑按钮操作 */
  1627. handleBankUpdate(row) {
  1628. this.Bankreset();
  1629. const id = row.id || this.Bankids;
  1630. getOrgPhysicalDefenseConstruction(id).then((response) => {
  1631. this.Bankform = response.data;
  1632. this.Bankopen = true;
  1633. this.Banktitle = "编辑安全防范设施建设达标情况";
  1634. });
  1635. },
  1636. /** 提交按钮 */
  1637. submitBankForm() {
  1638. if(this.Bankimgs.length>0){
  1639. this.Bankform.certificate= this.Bankimgs[this.Bankimgs.length - 1].toString(",");
  1640. }
  1641. this.$refs.Bankform.validate((valid) => {
  1642. if (valid) {
  1643. // 表单验证通过,提交数据或执行其他操作
  1644. this.Bankform.orgId = this.$route.params.id;
  1645. this.Bankform.type = 3;
  1646. if (this.Bankform.id != null) {
  1647. updateOrgPhysicalDefenseConstruction(this.Bankform).then(
  1648. (response) => {
  1649. this.$modal.msgSuccess("编辑成功");
  1650. this.Bankopen = false;
  1651. this.getBankPhysicalDefenseConstructionInfo();
  1652. }
  1653. );
  1654. } else {
  1655. addOrgPhysicalDefenseConstruction(this.Bankform).then(
  1656. (response) => {
  1657. this.$modal.msgSuccess("新增成功");
  1658. this.Bankopen = false;
  1659. this.getBankPhysicalDefenseConstructionInfo();
  1660. }
  1661. );
  1662. }
  1663. this.Bankimgs = [];
  1664. } else {
  1665. // 表单验证未通过,显示错误信息
  1666. }
  1667. });
  1668. // this.$refs["Bankform"].validate((valid) => {
  1669. // if (valid) {
  1670. // }
  1671. // });
  1672. },
  1673. /** 删除按钮操作 */
  1674. handleBankDelete(row) {
  1675. const Bankids = row.id || this.Bankids;
  1676. this.$modal
  1677. .confirm("确认删除?")
  1678. .then(function () {
  1679. return delOrgPhysicalDefenseConstruction(Bankids);
  1680. })
  1681. .then(() => {
  1682. this.getBankPhysicalDefenseConstructionInfo();
  1683. this.$modal.msgSuccess("删除成功");
  1684. })
  1685. .catch(() => {});
  1686. },
  1687. // 取消按钮
  1688. detachedcancel() {
  1689. this.detachedopen = false;
  1690. this.detachedreset();
  1691. },
  1692. // 表单重置
  1693. detachedreset() {
  1694. this.detachedform = {
  1695. id: null,
  1696. standard: null,
  1697. dateOfCompliance: null,
  1698. certificateEvidence: null,
  1699. certificate: null,
  1700. evidence: null,
  1701. createTime: null,
  1702. updateTime: null,
  1703. createBy: null,
  1704. updateBy: null,
  1705. orgId: null,
  1706. };
  1707. this.reqmsg = false;
  1708. this.resetForm("detachedform");
  1709. },
  1710. // 多选框选中数据
  1711. handledetachedSelectionChange(selection) {
  1712. this.detachedids = selection.map((item) => item.id);
  1713. this.single = selection.length !== 1;
  1714. this.multiple = !selection.length;
  1715. },
  1716. /** 新增按钮操作 */
  1717. handledetachedAdd() {
  1718. this.detachedreset();
  1719. this.detachedopen = true;
  1720. this.detachedtitle = "新增安全防范设施建设达标情况";
  1721. },
  1722. /** 编辑按钮操作 */
  1723. handledetachedUpdate(row) {
  1724. this.detachedreset();
  1725. const id = row.id || this.detachedids;
  1726. getOrgPhysicalDefenseConstruction(id).then((response) => {
  1727. this.detachedform = response.data;
  1728. this.detachedopen = true;
  1729. this.detachedtitle = "编辑安全防范设施建设达标情况";
  1730. });
  1731. },
  1732. /** 提交按钮 */
  1733. submitdetachedForm() {
  1734. if(this.detachedimgs.length>0){
  1735. this.detachedform.certificate= this.detachedimgs[this.detachedimgs.length - 1].toString(",");
  1736. }
  1737. this.$refs.detachedform.validate((valid) => {
  1738. if (valid) {
  1739. // 表单验证通过,提交数据或执行其他操作
  1740. this.detachedform.orgId = this.$route.params.id;
  1741. this.detachedform.type = 4;
  1742. if (this.detachedform.id != null) {
  1743. updateOrgPhysicalDefenseConstruction(this.detachedform).then(
  1744. (response) => {
  1745. this.$modal.msgSuccess("编辑成功");
  1746. this.detachedopen = false;
  1747. this.getdetachedPhysicalDefenseConstructionInfo();
  1748. }
  1749. );
  1750. } else {
  1751. addOrgPhysicalDefenseConstruction(this.detachedform).then(
  1752. (response) => {
  1753. this.$modal.msgSuccess("新增成功");
  1754. this.detachedopen = false;
  1755. this.getdetachedPhysicalDefenseConstructionInfo();
  1756. }
  1757. );
  1758. }
  1759. this.detachedimgs=[];
  1760. } else {
  1761. // 表单验证未通过,显示错误信息
  1762. }
  1763. });
  1764. // this.$refs["detachedform"].validate((valid) => {
  1765. // if (valid) {
  1766. // }
  1767. // });
  1768. },
  1769. /** 删除按钮操作 */
  1770. handledetachedDelete(row) {
  1771. const detachedids = row.id || this.detachedids;
  1772. this.$modal
  1773. .confirm("确认删除?")
  1774. .then(function () {
  1775. return delOrgPhysicalDefenseConstruction(detachedids);
  1776. })
  1777. .then(() => {
  1778. this.getdetachedPhysicalDefenseConstructionInfo();
  1779. this.$modal.msgSuccess("删除成功");
  1780. })
  1781. .catch(() => {});
  1782. },
  1783. // 表单重置
  1784. orgreset() {
  1785. this.orgform = {
  1786. id: null,
  1787. standard: null,
  1788. dateOfCompliance: null,
  1789. certificateEvidence: null,
  1790. certificate: null,
  1791. evidence: null,
  1792. createTime: null,
  1793. updateTime: null,
  1794. createBy: null,
  1795. updateBy: null,
  1796. orgId: null,
  1797. };
  1798. this.reqmsg = false;
  1799. this.resetForm("orgform");
  1800. },
  1801. // 取消按钮
  1802. orgcancel() {
  1803. this.orgopen = false;
  1804. this.orgreset();
  1805. },
  1806. // 多选框选中数据
  1807. handleOrgSelectionChange(selection) {
  1808. this.orgids = selection.map((item) => item.id);
  1809. this.single = selection.length !== 1;
  1810. this.multiple = !selection.length;
  1811. },
  1812. /** 新增按钮操作 */
  1813. handleOrgAdd() {
  1814. this.orgreset();
  1815. this.orgopen = true;
  1816. this.orgtitle = "新增安全防范设施建设达标情况";
  1817. },
  1818. /** 编辑按钮操作 */
  1819. handleOrgUpdate(row) {
  1820. this.orgreset();
  1821. const id = row.id || this.orgids;
  1822. getOrgPhysicalDefenseConstruction(id).then((response) => {
  1823. this.orgform = response.data;
  1824. this.orgopen = true;
  1825. console.log(response.data.certificateEvidence,"response.data.certificateEvidence")
  1826. this.orgform.certificateEvidence=1;
  1827. console.log(this.orgform,"this.orgform")
  1828. this.orgtitle = "编辑安全防范设施建设达标情况";
  1829. });
  1830. },
  1831. /** 提交按钮 */
  1832. submitOrgForm() {
  1833. // console.log(this.orgimgs,"this.orgimgs")
  1834. // console.log(this.orgform.certificate,"this.orgform.certificate")
  1835. if(this.orgimgs.length>0){
  1836. this.orgform.certificate= this.orgimgs[this.orgimgs.length - 1].toString(",");
  1837. }
  1838. // console.log(this.orgimgs,"this.orgimgs1")
  1839. // console.log(this.orgform.certificate,"this.orgform.certificate1")
  1840. this.$refs.orgform.validate((valid) => {
  1841. if (valid) {
  1842. // 表单验证通过,提交数据或执行其他操作
  1843. this.orgform.orgId = this.$route.params.id;
  1844. this.orgform.type = 1;
  1845. if (this.orgform.id != null) {
  1846. updateOrgPhysicalDefenseConstruction(this.orgform).then(
  1847. (response) => {
  1848. this.$modal.msgSuccess("编辑成功");
  1849. this.orgopen = false;
  1850. this.getOrgPhysicalDefenseConstructionInfo();
  1851. }
  1852. );
  1853. } else {
  1854. addOrgPhysicalDefenseConstruction(this.orgform).then((response) => {
  1855. this.$modal.msgSuccess("新增成功");
  1856. this.orgopen = false;
  1857. this.getOrgPhysicalDefenseConstructionInfo();
  1858. });
  1859. }
  1860. this.orgimgs=[];
  1861. } else {
  1862. // 表单验证未通过,显示错误信息
  1863. }
  1864. });
  1865. // this.$refs["orgform"].validate((valid) => {
  1866. // if (valid) {
  1867. // }
  1868. // });
  1869. },
  1870. /** 删除按钮操作 */
  1871. handleOrgDelete(row) {
  1872. const orgids = row.id || this.orgids;
  1873. this.$modal
  1874. .confirm("确认删除?")
  1875. .then(function () {
  1876. return delOrgPhysicalDefenseConstruction(orgids);
  1877. })
  1878. .then(() => {
  1879. this.getOrgPhysicalDefenseConstructionInfo();
  1880. this.$modal.msgSuccess("删除成功");
  1881. })
  1882. .catch(() => {});
  1883. },
  1884. saveExtend() {
  1885. let dat = {
  1886. orgType: this.orgType,
  1887. weatherAreaCode: this.weatherAreaCode,
  1888. askariCertificate: this.imgs.length>0?this.imgs[this.imgs.length - 1].toString(","):null,
  1889. premisesArea: this.premisesArea,
  1890. ownership: this.ownership,
  1891. outsideArea: this.outsideArea,
  1892. askari: this.askari ? 1 : 0,
  1893. businessLibraryType: this.businessLibraryType,
  1894. dutyMode: this.dutyMode,
  1895. remoteControl: this.remoteControl ? 1 : 0,
  1896. selfServiceBank: this.selfServiceBank ? 1 : 0,
  1897. businessLibrary: this.businessLibrary ? 1 : 0,
  1898. lobbyEquipment: this.lobbyEquipment,
  1899. wallPenetratingEquipment: this.wallPenetratingEquipment,
  1900. platformBrand: this.platformBrand,
  1901. platformSupplierBrand: this.platformSupplierBrand,
  1902. constructionTime: this.constructionTime,
  1903. lastUpdateTime: this.lastUpdateTime,
  1904. orgId: this.$route.params.id,
  1905. id: this.extendId,
  1906. detachedLobbyEquipment: this.detachedLobbyEquipment,
  1907. detachedWallPenetratingEquipment: this.detachedWallPenetratingEquipment,
  1908. cashAddingRoomRemoteControl: this.cashAddingRoomRemoteControl,
  1909. };
  1910. // console.log(dat);
  1911. if (this.extendId) {
  1912. updateExtend(dat).then((res) => {
  1913. this.$modal.msgSuccess("保存成功");
  1914. // this.$router.go(-1);
  1915. this.$tab.closePageAndPushPrev();
  1916. });
  1917. } else {
  1918. addExtend(dat).then((res) => {
  1919. this.$modal.msgSuccess("保存成功");
  1920. // this.$router.go(-1);
  1921. this.$tab.closePageAndPushPrev();
  1922. });
  1923. }
  1924. },
  1925. nosaveExtend() {
  1926. // this.$router.go(-1);
  1927. this.$tab.closePageAndPushPrev();
  1928. },
  1929. triggerFileInput() {
  1930. this.$refs.fileInput.click();
  1931. },
  1932. async handleFileChange(event) {
  1933. const file = event.target.files[0];
  1934. if (!file) return;
  1935. // // 创建 FormData 对象并添加文件
  1936. // const formData = new FormData();
  1937. // formData.append("file", file);
  1938. // // 发送文件到您的文件上传 API
  1939. try {
  1940. uploadFile(file, "org").then((res) => {
  1941. console.log(res);
  1942. // this.orgform.certificateEvidence = res.data;
  1943. });
  1944. // 处理上传成功的逻辑
  1945. console.log("上传成功");
  1946. } catch (error) {
  1947. // 处理上传失败的逻辑
  1948. console.log("上传失败");
  1949. }
  1950. // try {
  1951. // const response = await request.post('http://localhost:9527/dev-api/file/file/upload', formData, {
  1952. // headers: {
  1953. // 'Content-Type': 'multipart/form-data',
  1954. // },
  1955. // });
  1956. // // 处理上传成功的逻辑
  1957. // console.log('上传成功', response);
  1958. // } catch (error) {
  1959. // // 处理上传失败的逻辑
  1960. // console.log('上传失败', error);
  1961. // }
  1962. // 重置 input 元素,以便下次选择相同文件时仍能触发 change 事件
  1963. event.target.value = "";
  1964. },
  1965. },
  1966. fillter: {},
  1967. };
  1968. </script>
  1969. <style scoped lang="scss">
  1970. .title {
  1971. font-size: 18px;
  1972. text-align: left;
  1973. background: #008cd6bd;
  1974. color: #fff;
  1975. height: 36px;
  1976. line-height: 36px;
  1977. padding-left: 8px;
  1978. margin: 0;
  1979. }
  1980. .info-box {
  1981. margin: 30px;
  1982. }
  1983. .demo-form-inline {
  1984. }
  1985. .dialog-footer {
  1986. }
  1987. .container {
  1988. }
  1989. .zoom-image {
  1990. transition: transform 0.3s ease;
  1991. }
  1992. .zoom-image:hover {
  1993. transform: scale(1.02);
  1994. }
  1995. .border-color-change {
  1996. border: 1px solid #ccc;
  1997. transition: border-color 0.3s ease;
  1998. }
  1999. .border-color-change:hover {
  2000. border-color: #1ea8e9;
  2001. /* 您可以将此颜色更改为所需的颜色 */
  2002. }
  2003. </style>