customerManagementAdd.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862
  1. <!--客户管理添加-->
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="12">
  6. <h2 class="bg-left titleup">{{ trader }}粮商</h2>
  7. </el-col>
  8. <el-col :span="12" class="bg-right">
  9. <el-button class="bg-bottom" type="primary" size="small" @click="cancel"
  10. ><img
  11. width="6"
  12. height="10"
  13. style="vertical-align: bottom; margin-right: 3px"
  14. src="../../../public/img/lujing.png"
  15. alt=""
  16. />返回
  17. </el-button>
  18. </el-col>
  19. </el-row>
  20. <div class="unload">
  21. <ws-form ref="customerList" :model="customerList" label-width="120px">
  22. <ws-info-table>
  23. <div style="display: flex; width: 100%; text-align: center">
  24. <div style="width: 330px; margin: 0 auto">
  25. <div class="unload-img">上传身份证人像面</div>
  26. <el-upload
  27. class="avatar-uploader avatar-uploader1"
  28. :action="global.uploadPath"
  29. :show-file-list="false"
  30. :on-success="upLoadSuccess1"
  31. :disabled="disabled"
  32. >
  33. <!-- :class="avatarshow == true ? 'avatar1' : 'avatar'" -->
  34. <img v-if="imageUrl1" :src="imageUrl1" class="avatar" />
  35. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  36. </el-upload>
  37. </div>
  38. <!-- <div style="width: 330px; margin: 0 auto">
  39. <div class="unload-img">上传身份证国徽面</div>
  40. <el-upload
  41. class="avatar-uploader avatar-uploader2"
  42. :action="global.uploadPath"
  43. :show-file-list="false"
  44. :on-success="upLoadSuccess2"
  45. :disabled="disabled"
  46. >
  47. <img v-if="imageUrl2" :src="imageUrl2" class="avatar" />
  48. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  49. </el-upload>
  50. </div> -->
  51. <div style="width: 330px; margin: 0 auto">
  52. <div class="unload-img">上传银行卡正面</div>
  53. <el-upload
  54. class="avatar-uploader avatar-uploader3"
  55. :action="global.uploadPath"
  56. :show-file-list="false"
  57. :on-success="bankSuccess1"
  58. :disabled="disabled"
  59. >
  60. <img v-if="imageUrl3" :src="imageUrl3" class="avatar" />
  61. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  62. </el-upload>
  63. </div>
  64. </div>
  65. <!-- <div style="display: flex; width: 100%; text-align: center">
  66. <div style="width: 330px; margin: 0 auto">
  67. <div class="unload-img">上传银行卡正面</div>
  68. <el-upload
  69. class="avatar-uploader avatar-uploader3"
  70. :action="global.uploadPath"
  71. :show-file-list="false"
  72. :on-success="bankSuccess1"
  73. :disabled="disabled"
  74. >
  75. <img v-if="imageUrl3" :src="imageUrl3" class="avatar" />
  76. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  77. </el-upload>
  78. </div>
  79. <div style="width: 330px; margin: 0 auto">
  80. <div class="unload-img">上传银行卡反面</div>
  81. <el-upload
  82. class="avatar-uploader avatar-uploader4"
  83. :action="global.uploadPath"
  84. :show-file-list="false"
  85. :on-success="bankSuccess2"
  86. :disabled="disabled"
  87. >
  88. <img v-if="imageUrl4" :src="imageUrl4" class="avatar" />
  89. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  90. </el-upload>
  91. </div>
  92. </div> -->
  93. <ws-form-item
  94. label="姓名"
  95. span="1"
  96. prop="customerName"
  97. label-width="80px"
  98. >
  99. <ws-input
  100. v-model="customerList.customerName"
  101. placeholder="请输入姓名"
  102. maxlength="15"
  103. size="small"
  104. :disabled="disabled"
  105. />
  106. </ws-form-item>
  107. <ws-form-item label="身份证号" span="1" prop="customerNumberCard">
  108. <ws-input
  109. v-model="customerList.customerNumberCard"
  110. placeholder="请输入身份证号"
  111. maxlength="18"
  112. size="small"
  113. :disabled="disabled"
  114. />
  115. </ws-form-item>
  116. <!-- <ws-form-item label="所属供应商" span="1" prop="supplier" label-width="80px">
  117. <ws-input v-model="customerList.supplier" placeholder="请输入供应商姓名" maxlength="15" size="small"
  118. :disabled="disabled" />
  119. </ws-form-item>
  120. <ws-form-item label="供应商电话 " span="1" prop="supplierPhone" label-width="80px">
  121. <ws-input v-model="customerList.supplierPhone" placeholder="请输入供应商电话" maxlength="15" size="small"
  122. :disabled="disabled" />
  123. </ws-form-item> -->
  124. <ws-form-item label="银行卡号" span="1" prop="bankCard">
  125. <ws-input
  126. type="number"
  127. @mousewheel.native.prevent
  128. v-model="customerList.bankCard"
  129. placeholder="请输入银行卡号"
  130. maxlength="19"
  131. size="small"
  132. :disabled="disabled"
  133. />
  134. </ws-form-item>
  135. <ws-form-item label="开户行" span="1" prop="bankDeposit">
  136. <ws-input
  137. v-model="customerList.bankDeposit"
  138. placeholder="请输入开户行"
  139. maxlength="100"
  140. size="small"
  141. :disabled="disabled"
  142. />
  143. </ws-form-item>
  144. <ws-form-item label="开户支行" span="1" prop="bankDepositBranch">
  145. <ws-input
  146. v-if="bankInput"
  147. v-model="customerList.bankDepositBranch"
  148. placeholder="请输入开户支行"
  149. maxlength="100"
  150. size="small"
  151. :disabled="disabled"
  152. />
  153. <!-- <ws-select
  154. v-else
  155. v-model="customerList.bankDepositBranch"
  156. placeholder="请输入开户支行"
  157. :disabled="disabled"
  158. >
  159. <ws-option
  160. v-for="item in bankList"
  161. :key="item"
  162. :label="item"
  163. :value="item"
  164. />
  165. </ws-select> -->
  166. <!-- <el-button
  167. type="primary"
  168. @click="bankInputChange"
  169. v-if="switchType != 2"
  170. >{{ bankText }}</el-button
  171. > -->
  172. </ws-form-item>
  173. <!-- <ws-form-item label="收款人姓名" span="1" prop="payeeName">
  174. <ws-input
  175. v-model="customerList.payeeName"
  176. placeholder="请输入收款人姓名"
  177. maxlength="15"
  178. size="small"
  179. :disabled="disabled"
  180. />
  181. </ws-form-item>
  182. <ws-form-item label="收款人身份证号" span="1" prop="payeeNumberCard">
  183. <ws-input
  184. v-model="customerList.payeeNumberCard"
  185. placeholder="请输入收款人身份证号"
  186. maxlength="18"
  187. size="small"
  188. :disabled="disabled"
  189. />
  190. </ws-form-item> -->
  191. <ws-form-item label="手机号" span="1" prop="customerPhone">
  192. <ws-input
  193. type="number"
  194. @mousewheel.native.prevent
  195. v-model="customerList.customerPhone"
  196. placeholder="请输入手机号"
  197. maxlength="11"
  198. size="small"
  199. :disabled="disabled"
  200. />
  201. </ws-form-item>
  202. <ws-form-item label="联系地址" span="1" prop="compAddress">
  203. <ws-input
  204. v-model="customerList.compAddress"
  205. placeholder="请输入联系地址"
  206. maxlength="100"
  207. size="small"
  208. :disabled="disabled"
  209. />
  210. </ws-form-item>
  211. <!-- <div
  212. v-if="this.switchType == 1 || this.switchType == 3"
  213. class="jiaoYan"
  214. >
  215. <el-button
  216. type="primary"
  217. class="veriCode"
  218. @click="toSend()"
  219. v-if="!sendDisabled"
  220. >获取验证码</el-button
  221. >
  222. <el-button type="warning" class="veriCode" v-if="sendDisabled">{{
  223. sendText
  224. }}</el-button>
  225. <ws-input
  226. type="number"
  227. @mousewheel.native.prevent
  228. v-model="verifyCode"
  229. placeholder="请输入验证码"
  230. maxlength="100"
  231. size="small"
  232. :disabled="disabled"
  233. />
  234. </div> -->
  235. <!-- <ws-form-item label="村委会电话" span="1" prop="villageCommitteePhone">
  236. <ws-input
  237. v-model="customerList.villageCommitteePhone"
  238. placeholder="村委会电话"
  239. maxlength="100"
  240. size="small"
  241. :disabled="disabled"
  242. />
  243. </ws-form-item> -->
  244. </ws-info-table>
  245. <div class="but">
  246. <el-button
  247. type="primary"
  248. @click="commit"
  249. v-if="switchType == 1 || switchType == 3"
  250. >提交</el-button
  251. >
  252. <el-button type="primary" @click="cancel" v-if="switchType == 2"
  253. >关闭</el-button
  254. >
  255. </div>
  256. </ws-form>
  257. </div>
  258. </div>
  259. </template>
  260. <script>
  261. import {
  262. customerAdd,
  263. customerIdentity,
  264. getCustomerLook,
  265. CustomerEdit,
  266. getIdentity,
  267. getBank,
  268. GetCustomerCode,
  269. GetCustomerCodeJY
  270. } from '@/model/houseSelfCollect/index'
  271. export default {
  272. components: {},
  273. watch: {},
  274. data() {
  275. return {
  276. imageUrl1: '',
  277. imageUrl2: '',
  278. imageUrl3: '',
  279. imageUrl4: '',
  280. dialogImageUrl: '',
  281. dialogVisible: false,
  282. customerList: {
  283. customerName: '',
  284. customerNumberCard: '',
  285. bankCard: '',
  286. bankDeposit: '',
  287. },
  288. disabledFlag: true,
  289. disabled: false,
  290. identity: [],
  291. bank: [],
  292. trader: '',
  293. switchType: '',
  294. identityImgUp: [{
  295. url: '',
  296. }, ],
  297. identityImgLow: [{
  298. url: '',
  299. }, ],
  300. bankImgUp: [{
  301. url: '',
  302. }, ],
  303. bankImgLow: [{
  304. url: '',
  305. }, ],
  306. identityUp: 'up',
  307. identityLow: 'low',
  308. bankUps: 'bankUp',
  309. bankLows: 'bankLow',
  310. sendText: '60S后重发',
  311. sendDisabled: false,
  312. verifyCode: '123456',
  313. bankList:[],
  314. bankInput:true,
  315. bankText:'手动填写',
  316. avatarshow:false,
  317. }
  318. },
  319. activated() {
  320. this.switchType = this.$route.query.types
  321. if (!this.switchType) {
  322. this.switchType = 1
  323. this.trader = '新增'
  324. this.imageUrl1 = ''
  325. this.imageUrl2 = ''
  326. this.imageUrl3 = ''
  327. this.imageUrl4 = ''
  328. this.trader = '新增'
  329. this.disabled = false
  330. this.customerList = {}
  331. }
  332. let id = this.$route.query.id
  333. if (this.switchType == 2) {
  334. this.disabled = true
  335. this.trader = '查看'
  336. this.getList(id)
  337. } else if (this.switchType == 3) {
  338. this.disabled = false
  339. this.trader = '编辑'
  340. this.getList(id)
  341. }
  342. },
  343. methods: {
  344. bankInputChange(){
  345. this.bankInput = !this.bankInput
  346. if(this.bankInput){
  347. this.bankText = '自动识别'
  348. }
  349. else{
  350. this.bankText = '手动填写'
  351. }
  352. },
  353. handleRemove(file, index) {
  354. if (index == 1) {
  355. this.identityUp = ''
  356. } else if (index == 2) {
  357. this.identityLow = ''
  358. }
  359. if (this.switchType == 3) {
  360. for (let i = 0; i < this.identity.length; i++) {
  361. if (file.url == this.identity[i]) {
  362. this.identity.splice(i, 1, '')
  363. }
  364. }
  365. } else if (this.switchType == 1) {
  366. for (let i = 0; i < this.identity.length; i++) {
  367. if (file.response.url == this.identity[i]) {
  368. this.identity.splice(i, 1, '')
  369. }
  370. }
  371. }
  372. },
  373. handleRemove1(file, index) {
  374. if (index == 1) {
  375. this.bankUps = ''
  376. } else if (index == 2) {
  377. this.bankLows = ''
  378. }
  379. if (this.switchType == 3) {
  380. for (let i = 0; i < this.bank.length; i++) {
  381. if (file.url == this.bank[i]) {
  382. this.bank.splice(i, 1, '')
  383. }
  384. }
  385. } else if (this.switchType == 1) {
  386. for (let i = 0; i < this.bank.length; i++) {
  387. if (file.response.url == this.bank[i]) {
  388. this.bank.splice(i, 1, '')
  389. }
  390. }
  391. }
  392. },
  393. handlePictureCardPreview(file) {
  394. this.dialogImageUrl = file.url
  395. this.dialogVisible = true
  396. },
  397. // 发送验证码
  398. toSend() {
  399. let that = this;
  400. if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.customerList.customerPhone)) {
  401. GetCustomerCode({
  402. phone: this.customerList.customerPhone
  403. })
  404. .toPromise().then((response) => {
  405. if (response == 'ok') {
  406. that.sendDisabled = true
  407. let sec = 60
  408. let interval = setInterval(() => {
  409. sec--;
  410. that.sendText = sec + 'S后重发'
  411. if (sec <= 0) {
  412. that.sendDisabled = false
  413. that.sendText = '获取验证码'
  414. clearInterval(interval)
  415. }
  416. }, 1000)
  417. } else {}
  418. })
  419. }
  420. },
  421. cancel() {
  422. this.customerList = {}
  423. this.verifyCode = '123456'
  424. this.disabled = false
  425. this.trader = ''
  426. this.$router.push({
  427. path: 'customerManagement'
  428. })
  429. },
  430. obtainWH(e,index){
  431. //获取图片宽高
  432. let type = this.$route.query.types
  433. var img_url = e.url;//图片URL地址
  434. var imgObj = new Image();//创建对象
  435. imgObj.src = img_url;//改变图片地址
  436. imgObj.onload = function(){
  437. if(Number(imgObj.width) < Number(imgObj.height)){
  438. let i = document.getElementsByClassName("avatar");
  439. if(!type){
  440. for( j = 0 ; j < i.length ; j++){
  441. i[j].style.width='auto'
  442. }
  443. }else{
  444. i[index].style.width='auto'
  445. }
  446. let j = document.getElementsByClassName("avatar-uploader" + (index+1))
  447. j[0].style.background = "#e7e3e3"
  448. }
  449. }
  450. },
  451. upLoadSuccess1(e) {
  452. this.identityUp = 'up'
  453. this.identity[0] = e.data.url
  454. this.imageUrl1 = e.data.url
  455. getIdentity({
  456. personImg: e.data.url
  457. })
  458. .toPromise()
  459. .then((response) => {
  460. if (response.recPerson ) {
  461. this.$set( this.customerList,'customerName',response.recPerson)
  462. this.$set( this.customerList,'payeeName',response.recPerson)
  463. }
  464. if (response.recPersonNo ) {
  465. this.$set( this.customerList,'customerNumberCard',response.recPersonNo)
  466. this.$set( this.customerList,'payeeNumberCard',response.recPersonNo)
  467. }
  468. if (response.recPersonAddr ) {
  469. this.$set( this.customerList,'compAddress',response.recPersonAddr)
  470. }
  471. })
  472. this.obtainWH(e,0)
  473. },
  474. upLoadSuccess2(e) {
  475. this.identityLow = 'low'
  476. this.identity[1] = e.data.url
  477. this.imageUrl2 = e.data.url
  478. // getIdentity({
  479. // personImg: e.url
  480. // })
  481. // .toPromise()
  482. // .then((response) => {
  483. // if (response.recPerson ) {
  484. // this.$set( this.customerList,'customerName',response.recPerson)
  485. // this.$set( this.customerList,'payeeName',response.recPerson)
  486. // }
  487. // if (response.recPersonNo ) {
  488. // this.$set( this.customerList,'customerNumberCard',response.recPersonNo)
  489. // this.$set( this.customerList,'payeeNumberCard',response.recPersonNo)
  490. // }
  491. // if (response.recPersonAddr ) {
  492. // this.$set( this.customerList,'compAddress',response.recPersonAddr)
  493. // }
  494. // })
  495. this.obtainWH(e,1)
  496. },
  497. bankSuccess1(e) {
  498. this.bankUps = 'bankUp'
  499. this.bank[0] = e.data.url
  500. this.imageUrl3 = e.data.url
  501. getBank({
  502. bankImg: e.data.url
  503. })
  504. .toPromise()
  505. .then((response) => {
  506. if (response.bankNameZhihang) {
  507. this.bankList = response.bankNameZhihang
  508. }
  509. if (response.bankNo) {
  510. this.$set(this.customerList,'bankCard',response.bankNo)
  511. }
  512. if (response.bankName) {
  513. this.$set(this.customerList,'bankDeposit',response.bankName)
  514. }
  515. })
  516. this.obtainWH(e,2)
  517. },
  518. bankSuccess2(e) {
  519. this.bankLows = 'bankLow'
  520. this.bank[1] = e.data.url
  521. this.imageUrl4 = e.data.url
  522. // getBank({
  523. // bankImg: e.url
  524. // })
  525. // .toPromise()
  526. // .then((response) => {
  527. // if (response.bankNameZhihang) {
  528. // this.bankList = response.bankNameZhihang
  529. // }
  530. // if (response.bankNo) {
  531. // this.$set(this.customerList,'bankCard',response.bankNo)
  532. // }
  533. // if (response.bankName) {
  534. // this.$set(this.customerList,'bankDeposit',response.bankName)
  535. // }
  536. // })
  537. this.obtainWH(e,3)
  538. },
  539. commit() {
  540. if (!this.imageUrl1) {
  541. this.$message({
  542. message: '请上传身份证正面',
  543. type: 'warning',
  544. })
  545. return
  546. }
  547. if (!this.imageUrl3) {
  548. this.$message({
  549. message: '请上传银行卡正面',
  550. type: 'warning',
  551. })
  552. return
  553. }
  554. if (!this.customerList.customerName) {
  555. this.$message({
  556. message: '请输入姓名',
  557. type: 'warning',
  558. })
  559. return
  560. }
  561. if (!this.customerList.bankCard) {
  562. this.$message({
  563. message: '请输入输入银行卡号',
  564. type: 'warning',
  565. })
  566. return
  567. }
  568. if (!this.customerList.bankDeposit) {
  569. this.$message({
  570. message: '请输入开户行',
  571. type: 'warning',
  572. })
  573. return
  574. }
  575. if (!this.customerList.bankDepositBranch) {
  576. this.$message({
  577. message: '请输入开户支行',
  578. type: 'warning',
  579. })
  580. return
  581. }
  582. // if (this.customerList.payeeNumberCard.length != 18) {
  583. // this.$message({
  584. // message: '收款人身份证号输入有误,请重新输入',
  585. // type: 'warning',
  586. // })
  587. // return
  588. // }
  589. if (!this.customerList.customerPhone) {
  590. this.$message({
  591. message: '请输入手机号',
  592. type: 'warning',
  593. })
  594. return
  595. }
  596. if (this.customerList.customerPhone.length != 11) {
  597. this.$message({
  598. message: '输入的手机号有误,请重新输入',
  599. type: 'warning',
  600. })
  601. return
  602. }
  603. // if (!this.customerList.compAddress) {
  604. // this.$message({
  605. // message: '请输入联系地址',
  606. // type: 'warning',
  607. // })
  608. // return
  609. // }
  610. // if (!this.customerList.villageCommitteePhone) {
  611. // this.$message({
  612. // message: '请输入村委会电话',
  613. // type: 'warning',
  614. // })
  615. // return
  616. // }
  617. // 验证码校验
  618. GetCustomerCodeJY({
  619. phone: this.customerList.customerPhone,
  620. verifyCode: this.verifyCode
  621. })
  622. .toPromise()
  623. .then((response) => {
  624. this.customerList.compId = localStorage.getItem('ws-pf_compId')
  625. this.customerList.cardAddressUrl = this.identity.toString()
  626. this.customerList.payeeAddressUrl = this.bank.toString()
  627. this.customerList.payeeName = this.customerList.customerName
  628. this.customerList.payeeNumberCard = this.customerList.customerNumberCard
  629. this.customerList.customerTypeFlag = 1
  630. this.customerList.customerType = '个人'
  631. if (this.switchType == 1) {
  632. this.$confirm('确定提交客户信息?', '提示', {
  633. confirmButtonText: '确定',
  634. cancelButtonText: '取消',
  635. type: 'warning',
  636. })
  637. .then(() => {
  638. customerAdd(this.customerList)
  639. .toPromise()
  640. .then((response) => {
  641. this.$message.success('添加成功')
  642. this.customerList = {}
  643. this.verifyCode = ''
  644. this.$router.go(-1)
  645. })
  646. })
  647. .catch(() => {
  648. return false
  649. })
  650. } else if (this.switchType == 3) {
  651. this.$confirm('确定修改客户信息?', '提示', {
  652. confirmButtonText: '确定',
  653. cancelButtonText: '取消',
  654. type: 'warning',
  655. })
  656. .then(() => {
  657. CustomerEdit(this.customerList)
  658. .toPromise()
  659. .then((response) => {
  660. this.$message.success('修改成功')
  661. this.customerList = {}
  662. this.verifyCode = ''
  663. this.$router.push({
  664. path: 'customerManagement'
  665. })
  666. })
  667. })
  668. .catch(() => {
  669. return false
  670. })
  671. }
  672. })
  673. },
  674. getList(ids) {
  675. getCustomerLook({
  676. id: ids,
  677. authenticationStatusKey: 7
  678. })
  679. .toPromise()
  680. .then((response) => {
  681. this.customerList = response
  682. this.identity = this.customerList.cardAddressUrl.split(',')
  683. this.bank = this.customerList.payeeAddressUrl.split(',')
  684. this.imageUrl1 = this.identity[0]
  685. this.imageUrl2 = this.identity[1]
  686. this.imageUrl3 = this.bank[0]
  687. this.imageUrl4 = this.bank[1]
  688. })
  689. },
  690. },
  691. }
  692. </script>
  693. <style lang="scss" scoped>
  694. .avatar-uploader1 {
  695. background: url('../../../public/img/identityup.png');
  696. }
  697. .avatar-uploader2 {
  698. background: url('../../../public/img/identitylow.png');
  699. }
  700. .avatar-uploader3 {
  701. background: url('../../../public/img/bankup.png');
  702. }
  703. .avatar-uploader4 {
  704. background: url('../../../public/img/banklow.png');
  705. }
  706. /deep/.el-upload {
  707. height: 200px;
  708. }
  709. .avatar-uploader {
  710. background-size: 100% 100%;
  711. }
  712. .avatar-uploader .el-upload {
  713. border: 1px dashed #d9d9d9;
  714. border-radius: 6px;
  715. cursor: pointer;
  716. position: relative;
  717. overflow: hidden;
  718. }
  719. .avatar-uploader .el-upload:hover {
  720. border-color: #409eff;
  721. }
  722. .avatar-uploader-icon {
  723. font-size: 28px;
  724. color: #8c939d;
  725. width: 178px;
  726. height: 178px;
  727. line-height: 178px;
  728. text-align: center;
  729. }
  730. .avatar {
  731. width: 330px;
  732. height: 103%;
  733. display: block;
  734. }
  735. .avatar1 {
  736. height: 103%;
  737. display: block;
  738. }
  739. .center {
  740. background: #f6f7fc;
  741. }
  742. .seach {
  743. display: flex;
  744. align-items: center;
  745. .find {
  746. width: 32px;
  747. }
  748. .search-left {
  749. display: flex;
  750. }
  751. }
  752. .ws-info-table {
  753. border: none;
  754. width: 80%;
  755. margin: 0 auto;
  756. }
  757. .ws-info-table .el-form-item {
  758. width: 50%;
  759. border: none;
  760. }
  761. /deep/.ws-info-table .el-form-item .el-form-item__label {
  762. width: 30%;
  763. text-align: center;
  764. background: #ffffff;
  765. font-size: 14px;
  766. color: #8890b1;
  767. }
  768. /deep/.ws-info-table .el-form-item .el-form-item__content {
  769. border: none;
  770. }
  771. .bg-left {
  772. padding-left: 30px;
  773. }
  774. .bg-right {
  775. padding-right: 10px;
  776. text-align: right;
  777. }
  778. .bg-bottom {
  779. margin: 15px 0px;
  780. }
  781. .titleup {
  782. position: relative;
  783. }
  784. .titleup::before {
  785. content: '';
  786. display: inline-block;
  787. width: 5px;
  788. height: 30px;
  789. background: #5473e8;
  790. position: absolute;
  791. left: 0;
  792. }
  793. .unload {
  794. background: #ffffff;
  795. padding-top: 20px;
  796. }
  797. .but {
  798. text-align: center;
  799. margin: 20px auto;
  800. }
  801. /deep/.up .el-upload--picture-card {
  802. display: none;
  803. }
  804. /deep/.low .el-upload--picture-card {
  805. display: none;
  806. }
  807. /deep/.bankUp .el-upload--picture-card {
  808. display: none;
  809. }
  810. /deep/.bankLow .el-upload--picture-card {
  811. display: none;
  812. }
  813. .unload-img {
  814. margin: 20px 0;
  815. }
  816. .veriCode {
  817. margin: 0 9px;
  818. }
  819. .jiaoYan {
  820. display: flex;
  821. width: 50%;
  822. padding: 0 9px;
  823. }
  824. /deep/.jiaoYan .el-input__inner {
  825. width: 100%;
  826. }
  827. </style>