tranManagementDriverEdit.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950
  1. //添加司机
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="12">
  6. <h2 class="bg-left title">编辑司机</h2>
  7. </el-col>
  8. <el-col :span="12" class="bg-right">
  9. <el-button
  10. class="bg-bottom"
  11. type="primary"
  12. size="small"
  13. @click="returnsales()"
  14. ><img
  15. width="6"
  16. height="10"
  17. style="vertical-align: bottom; margin-right: 3px"
  18. src="../../../public/img/lujing.png"
  19. alt=""
  20. />返回</el-button
  21. >
  22. </el-col>
  23. </el-row>
  24. <ws-form
  25. ref="deptBudgetList"
  26. :rules="mainReportAdd"
  27. :model="deptBudgetList"
  28. >
  29. <div class="flex">
  30. <div class="driver">司机信息</div>
  31. <ws-info-table>
  32. <!--司机姓名-->
  33. <ws-form-item
  34. label="姓名"
  35. span="1"
  36. prop="contractNo"
  37. class="readonly bg-right"
  38. >
  39. <ws-input
  40. v-model="deptBudgetList.driverName"
  41. placeholder="请输入司机姓名"
  42. maxlength="20"
  43. size="small"
  44. />
  45. </ws-form-item>
  46. <!--手机号-->
  47. <ws-form-item
  48. label="手机号"
  49. span="1"
  50. prop="driverPhone"
  51. class="readonly"
  52. >
  53. <ws-input
  54. v-model="deptBudgetList.driverPhone"
  55. placeholder="请输入手机号"
  56. maxlength="100"
  57. size="small"
  58. />
  59. </ws-form-item>
  60. <!--常驻城市-->
  61. <ws-form-item label="常驻城市" span="1" prop="acceptanceMethod">
  62. <el-cascader
  63. :options="options_"
  64. v-model="selectedOptions"
  65. clearable
  66. size="large"
  67. placeholder="请选择常驻城市"
  68. style="width: 200%"
  69. class="el-cascader"
  70. @change="handleChange"
  71. />
  72. </ws-form-item>
  73. <!--身份证号-->
  74. <ws-form-item
  75. label="身份证号"
  76. span="1"
  77. prop="driverNo"
  78. class="readonly"
  79. >
  80. <ws-input
  81. v-model="deptBudgetList.numberCard"
  82. placeholder="请输入身份证号"
  83. maxlength="100"
  84. size="small"
  85. />
  86. </ws-form-item>
  87. </ws-info-table>
  88. {{ age }}
  89. </div>
  90. </ws-form>
  91. <ws-form
  92. ref="deptBudgetList"
  93. :rules="mainReportAdd"
  94. :model="deptBudgetList"
  95. >
  96. <div
  97. style="width: 100%"
  98. class="flex position"
  99. v-for="(item, index) in deptBudgetList.driverCarInfoList"
  100. >
  101. <div class="flex">
  102. <div class="driver">货车信息-{{ index + 1 }}</div>
  103. <ws-info-table class="el-table">
  104. <!--车牌号-->
  105. <ws-form-item
  106. label="车牌号"
  107. span="1"
  108. prop="carNumber"
  109. class="forlist"
  110. width="400px"
  111. >
  112. <ws-input
  113. v-model="item.carNumber"
  114. placeholder="请输入车牌号"
  115. maxlength="20"
  116. size="small"
  117. />
  118. </ws-form-item>
  119. <!--车型-->
  120. <ws-form-item label="车型" span="1" prop="carModel" class="forlist">
  121. <ws-select
  122. v-model="item.carModel"
  123. placeholder=""
  124. class="typeselect"
  125. @change="
  126. (value) => {
  127. selectcarModel(value, index)
  128. }
  129. "
  130. >
  131. <ws-option
  132. v-for="item in carModelList"
  133. :key="item.constKey"
  134. :label="item.constValue"
  135. :value="item.constValue"
  136. />
  137. </ws-select>
  138. </ws-form-item>
  139. <!--车长-->
  140. <ws-form-item
  141. label="不含车头车长(米)"
  142. span="1"
  143. prop="carLength"
  144. class="forlist"
  145. >
  146. <ws-select
  147. v-model="item.carLength"
  148. placeholder=""
  149. class="typeselect"
  150. @change="
  151. (value) => {
  152. selectcarLength(value, index)
  153. }
  154. "
  155. >
  156. <ws-option
  157. v-for="item in carLengthList"
  158. :key="item.constKey"
  159. :label="item.constValue"
  160. :value="item.constValue"
  161. />
  162. </ws-select>
  163. </ws-form-item>
  164. <!--载重-->
  165. <ws-form-item label="载重" span="1" prop="carLoad" class="forlist">
  166. <ws-input
  167. v-model="item.carLoad"
  168. placeholder="请输入载重"
  169. maxlength="100"
  170. size="small"
  171. />
  172. </ws-form-item>
  173. <!--出厂年份-->
  174. <ws-form-item
  175. label="出厂年份"
  176. span="1"
  177. prop="yearManufacture"
  178. class="forlist"
  179. >
  180. <ws-input
  181. v-model="item.yearManufacture"
  182. placeholder="请输入年份"
  183. maxlength="100"
  184. size="small"
  185. />
  186. </ws-form-item>
  187. </ws-info-table>
  188. <img
  189. width="22"
  190. height="22"
  191. class="add"
  192. @click="add"
  193. src="../../../public/img/add.png"
  194. alt=""
  195. />
  196. <img
  197. width="22"
  198. height="22"
  199. class="del"
  200. @click="del(item, index)"
  201. src="../../../public/img/del.png"
  202. alt=""
  203. />
  204. </div>
  205. </div>
  206. </ws-form>
  207. <ws-form
  208. ref="deptBudgetList"
  209. :rules="mainReportAdd"
  210. :model="deptBudgetList"
  211. >
  212. <div
  213. style="width: 100%"
  214. class="flex position"
  215. v-for="(item, index) in deptBudgetList.driverPayeeInfoList"
  216. >
  217. <div class="flex">
  218. <div class="driver">收款人账户信息-{{ index + 1 }}</div>
  219. <ws-info-table class="el-table">
  220. <!--账户类型-->
  221. <ws-form-item
  222. label="账户类型"
  223. span="1"
  224. prop="contractNo"
  225. class="el-car bg-right"
  226. >
  227. <el-radio v-model="item.accountTypeFlag" label="1"
  228. >私人账号</el-radio
  229. >
  230. <el-radio v-model="item.accountTypeFlag" label="2"
  231. >企业账户</el-radio
  232. >
  233. </ws-form-item>
  234. <!--账号-->
  235. <ws-form-item label="账号" span="1" prop="bankCard" class="el-car">
  236. <ws-input
  237. v-model="item.bankCard"
  238. placeholder="请输入账号"
  239. maxlength="100"
  240. size="small"
  241. />
  242. <el-upload
  243. action="https://www.zthymaoyi.com/upload/admin"
  244. :show-file-list="false"
  245. :on-success="
  246. (res, file) => {
  247. uploadSuccessHandle1(index, res, file)
  248. }
  249. "
  250. class="avatar-uploader"
  251. accept=".jpg, .jpeg, .png, .gif"
  252. ><img
  253. width="18"
  254. height="20"
  255. style="
  256. vertical-align: text-top;
  257. position: relative;
  258. top: -1px;
  259. "
  260. src="../../../public/img/fujian.png"
  261. alt=""
  262. />
  263. </el-upload>
  264. </ws-form-item>
  265. <!--开户行-->
  266. <ws-form-item
  267. label="开户行"
  268. span="1"
  269. prop="bankDeposit"
  270. class="el-car"
  271. >
  272. <ws-input
  273. v-model="item.bankDeposit"
  274. placeholder="请输入开户行"
  275. maxlength="100"
  276. size="small"
  277. />
  278. </ws-form-item>
  279. <!--姓名-->
  280. <ws-form-item
  281. label="姓名"
  282. v-if="item.accountTypeFlag == 1"
  283. span="1"
  284. prop="payeeName"
  285. class="el-car"
  286. width="150px"
  287. >
  288. <ws-input
  289. v-model="item.payeeName"
  290. placeholder="请输入姓名"
  291. maxlength="100"
  292. size="small"
  293. />
  294. </ws-form-item>
  295. <!--企业名称-->
  296. <ws-form-item
  297. label="企业名称"
  298. v-else
  299. span="1"
  300. prop="compName"
  301. class="el-car"
  302. width="150px"
  303. >
  304. <ws-input
  305. v-model="item.compName"
  306. placeholder="请输入企业名称"
  307. maxlength="100"
  308. size="small"
  309. />
  310. </ws-form-item>
  311. <!--身份证号-->
  312. <ws-form-item
  313. label="身份证号"
  314. v-if="item.accountTypeFlag == 1"
  315. span="1"
  316. prop="payeeNumberCard"
  317. class="el-car"
  318. >
  319. <ws-input
  320. v-model="item.payeeNumberCard"
  321. placeholder="请输入身份证号"
  322. maxlength="100"
  323. size="small"
  324. />
  325. <el-upload
  326. action="https://www.zthymaoyi.com/upload/admin"
  327. :show-file-list="false"
  328. :on-success="
  329. (res, file) => {
  330. uploadSuccessHandle(index, res, file)
  331. }
  332. "
  333. class="avatar-uploader"
  334. accept=".jpg, .jpeg, .png, .gif"
  335. ><img
  336. width="18"
  337. height="20"
  338. style="
  339. vertical-align: text-top;
  340. position: relative;
  341. top: -1px;
  342. "
  343. src="../../../public/img/fujian.png"
  344. alt=""
  345. />
  346. </el-upload>
  347. </ws-form-item>
  348. <ws-form-item label="开户支行" span="1" prop="bankDepositBranch">
  349. <ws-select
  350. v-model="item.bankDepositBranch"
  351. placeholder=""
  352. class="typeselect"
  353. @change="
  354. (value) => {
  355. selectbankDepositBranch(value, index)
  356. }
  357. "
  358. >
  359. <ws-option
  360. v-for="(items, index) in item.bankDepositBranchList"
  361. :key="index"
  362. :label="items"
  363. :value="items"
  364. />
  365. </ws-select>
  366. </ws-form-item>
  367. </ws-info-table>
  368. <img
  369. width="22"
  370. height="22"
  371. class="add"
  372. @click="add1"
  373. src="../../../public/img/add.png"
  374. alt=""
  375. />
  376. <img
  377. width="22"
  378. height="22"
  379. class="del"
  380. @click="del1(item, index)"
  381. src="../../../public/img/del.png"
  382. alt=""
  383. />
  384. </div>
  385. </div>
  386. </ws-form>
  387. <ws-form
  388. ref="deptBudgetList"
  389. :rules="mainReportAdd"
  390. :model="deptBudgetList"
  391. >
  392. <div class="flex">
  393. <div class="driver">相关附件</div>
  394. <ws-upload
  395. ref="upload"
  396. table-name="maintain_work_order"
  397. oss-key="mainPlan"
  398. :comp-id="compId"
  399. :appendix-ids="appendixIdsAdd"
  400. :vesselId="deptBudgetList.addressUrl"
  401. :size-limit="size"
  402. @uploadSuccess="uploadSuccess"
  403. @onChange="onChange"
  404. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
  405. />
  406. </div>
  407. </ws-form>
  408. <!-- 提交 -->
  409. <div style="text-align: right; padding: 10px" class="center">
  410. <el-button
  411. class="bg-bottom"
  412. type="primary"
  413. size="small"
  414. @click="submit(deptBudgetList)"
  415. >提交</el-button
  416. >
  417. </div>
  418. </div>
  419. </template>
  420. <script>
  421. import {
  422. provinceAndCityData,
  423. CodeToText,
  424. TextToCode,
  425. } from 'element-china-area-data'
  426. import {
  427. lookDriver,
  428. deltrancar,
  429. deltranprocess,
  430. getidentity,
  431. getbank,
  432. packList,
  433. editdriver,
  434. } from '@/model/transport/index'
  435. import WsUpload from '@/components/WsUpload'
  436. import mapDrag from '@/components/mapdrag/mapdrag'
  437. export default {
  438. name: 'viewSpareMoney',
  439. components: {
  440. WsUpload,
  441. mapDrag,
  442. },
  443. watch: {
  444. vesselId(val) {
  445. this.getVesselData()
  446. },
  447. isShow(val) {
  448. this.showType = val
  449. },
  450. },
  451. data() {
  452. let self = this
  453. return {
  454. deptBudgetList: {
  455. totalStorage: 0,
  456. drivercarInfo: {
  457. goodsName: '',
  458. },
  459. driverPayeeInfo: {},
  460. },
  461. radio: '1',
  462. carModelList: [],
  463. carLengthList: [],
  464. options_: provinceAndCityData,
  465. heightData: '600px',
  466. zoom: 7,
  467. selectedOptions: [],
  468. window: '',
  469. district: null,
  470. citylist: [],
  471. compId: sessionStorage.getItem('ws-pf_compId'),
  472. mainReportAdd: {},
  473. appendixIdsAdd: '',
  474. size: 10,
  475. value1: '',
  476. unitList: [],
  477. accessoryBankTFs: false,
  478. freightspace: [
  479. {
  480. carNumber: '',
  481. carModel: '高栏',
  482. carModelKey: '1',
  483. carLength: '13',
  484. carLengthKey: '1',
  485. carLoad: '',
  486. yearManufacture: '',
  487. },
  488. ],
  489. freightspace1: [
  490. {
  491. accountTypeFlag: '1',
  492. cardAddressUrl: '',
  493. cardAddressUrlArray: [],
  494. payeeName: '',
  495. payeeNumberCard: '',
  496. compName: '',
  497. bankDeposit: '',
  498. bankCard: '',
  499. },
  500. ],
  501. name: '',
  502. age: '',
  503. }
  504. },
  505. activated() {
  506. this.loaddata()
  507. this.showType = this.isShow
  508. },
  509. computed: {},
  510. methods: {
  511. IdCard(UUserCard) {
  512. //获取年龄
  513. var myDate = new Date()
  514. var month = myDate.getMonth() + 1
  515. var day = myDate.getDate()
  516. var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
  517. if (
  518. UUserCard.substring(10, 12) < month ||
  519. (UUserCard.substring(10, 12) == month &&
  520. UUserCard.substring(12, 14) <= day)
  521. ) {
  522. age++
  523. }
  524. this.age = age
  525. },
  526. bankcardfujian(item) {
  527. this.accessoryBankTFs = true
  528. },
  529. loaddata() {
  530. lookDriver({ id: this.$route.query.id })
  531. .toPromise()
  532. .then((response) => {
  533. // this.selectedOptions.push()
  534. for (var i = 0; i < response.driverPayeeInfoList.length; i++) {
  535. if (response.driverPayeeInfoList[i].cardAddressUrl != null) {
  536. response.driverPayeeInfoList[i].cardAddressUrlArray =
  537. response.driverPayeeInfoList[i].cardAddressUrl.split(',')
  538. } else {
  539. response.driverPayeeInfoList[i].cardAddressUrlArray = []
  540. }
  541. }
  542. this.deptBudgetList = Object.assign({}, response)
  543. var tmp = []
  544. tmp[0] = TextToCode[this.deptBudgetList.residentCityProvincial].code
  545. tmp[1] =
  546. TextToCode[this.deptBudgetList.residentCityProvincial][
  547. this.deptBudgetList.residentCityMunicipal
  548. ].code
  549. this.selectedOptions = tmp
  550. })
  551. console.log(11111)
  552. // 车型
  553. packList({ constId: 'TRAN1' })
  554. .toPromise()
  555. .then((response) => {
  556. this.carModelList = response
  557. })
  558. // 车长
  559. packList({ constId: 'TRAN2' })
  560. .toPromise()
  561. .then((response) => {
  562. this.carLengthList = response
  563. })
  564. },
  565. confirmPositioncity() {
  566. this.listDate.level = 'city'
  567. this.listDate.country = this.name
  568. },
  569. uploadSuccessHandle(index, e, fileList) {
  570. console.log(index, e, fileList)
  571. const that = this
  572. getidentity({ personImg: e.url })
  573. .toPromise()
  574. .then((response) => {
  575. for (
  576. var i = 0;
  577. i < this.deptBudgetList.driverPayeeInfoList.length;
  578. i++
  579. ) {
  580. if (i == index) {
  581. this.deptBudgetList.driverPayeeInfoList[i].cardAddressUrl = e.url
  582. this.deptBudgetList.driverPayeeInfoList[i].payeeName =
  583. response.recPerson
  584. this.deptBudgetList.driverPayeeInfoList[i].payeeNumberCard =
  585. response.recPersonNo
  586. }
  587. }
  588. })
  589. },
  590. uploadSuccessHandle1(index, e, fileList) {
  591. console.log(index, e, fileList)
  592. const that = this
  593. // this.deptBudgetList.cardAddressUrl = e.url
  594. getbank({ bankImg: e.url })
  595. .toPromise()
  596. .then((response) => {
  597. for (
  598. var i = 0;
  599. i < this.deptBudgetList.driverPayeeInfoList.length;
  600. i++
  601. ) {
  602. if (i == index) {
  603. this.deptBudgetList.driverPayeeInfoList[i].payeeAddressUrl = e.url
  604. this.deptBudgetList.driverPayeeInfoList[i].bankCard =
  605. response.bankNo
  606. this.deptBudgetList.driverPayeeInfoList[i].bankDeposit =
  607. response.bankName
  608. this.deptBudgetList.driverPayeeInfoList[i].bankDepositBranchList =
  609. response.bankNameZhihang
  610. }
  611. }
  612. })
  613. },
  614. // 关闭 dialog时 处理文件url 初始化upload组件
  615. handleClose() {
  616. this.dialogViewSpareMoney = false
  617. },
  618. add() {
  619. this.deptBudgetList.driverCarInfoList.push({
  620. carNumber: '',
  621. carModel: '高栏',
  622. carModelKey: '1',
  623. carLength: '13',
  624. carLengthKey: '1',
  625. carLoad: '',
  626. yearManufacture: '',
  627. })
  628. },
  629. del(row, index) {
  630. if (this.deptBudgetList.driverCarInfoList.length > 1) {
  631. if (row.id) {
  632. deltrancar({ id: row.id })
  633. .toPromise()
  634. .then((response) => {
  635. this.$message.success('删除成功')
  636. })
  637. }
  638. this.deptBudgetList.driverCarInfoList.splice(index, 1)
  639. }
  640. },
  641. add1() {
  642. this.deptBudgetList.driverPayeeInfoList.push({
  643. accountTypeFlag: '1',
  644. cardAddressUrl: '',
  645. cardAddressUrlArray: [],
  646. payeeName: '',
  647. payeeNumberCard: '',
  648. compName: '',
  649. bankDeposit: '',
  650. bankCard: '',
  651. })
  652. },
  653. del1(row, index) {
  654. if (this.deptBudgetList.driverPayeeInfoList.length > 1) {
  655. if (row.id) {
  656. deltranprocess({ id: row.id })
  657. .toPromise()
  658. .then((response) => {
  659. this.$message.success('删除成功')
  660. })
  661. }
  662. this.deptBudgetList.driverPayeeInfoList.splice(index, 1)
  663. }
  664. },
  665. identitycardfujian(item) {},
  666. handleChange(value) {
  667. this.selectedOptions = value
  668. console.log(this.selectedOptions)
  669. },
  670. returnsales() {
  671. this.$router.push({ path: 'tranManagementDriver' })
  672. },
  673. // confirmPosition() {
  674. // this.draggable = false
  675. // },
  676. // 上传附件
  677. uploadSuccess(data, files, url) {
  678. console.log(data, files, url)
  679. // this.deptBudgetList.
  680. // this.formData.append('files', files)
  681. // this.feedbackObj.uploadNameAttachment = data.appendixName
  682. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  683. // // this.newAppendixs = files
  684. // this.onChangeFlag = true
  685. },
  686. selectcarModel(e, index) {
  687. for (var i = 0; i < this.carModelList.length; i++) {
  688. if (this.carModelList[i].constValue == e) {
  689. this.deptBudgetList.driverCarInfoList[index].carModelKey =
  690. this.carModelList[i].constKey
  691. }
  692. }
  693. },
  694. selectcarLength(e, index) {
  695. for (var i = 0; i < this.carLengthList.length; i++) {
  696. if (this.carLengthList[i].constValue == e) {
  697. this.deptBudgetList.driverCarInfoList[index].carLengthKey =
  698. this.carLengthList[i].constKey
  699. }
  700. }
  701. },
  702. selectbankDepositBranch(e, index) {
  703. console.log(e, index)
  704. this.deptBudgetList.driverPayeeInfoList[index].bankDepositBranch = e
  705. },
  706. onChange(files) {
  707. this.fileNum = files
  708. this.$refs.upload.handleSaveBill().then((res) => {
  709. console.log(files)
  710. })
  711. },
  712. submit() {
  713. this.$refs.deptBudgetList.validate((valid) => {
  714. if (valid) {
  715. this.deptBudgetList.compId = sessionStorage.getItem('ws-pf_compId')
  716. this.deptBudgetList.residentCityProvincial =
  717. CodeToText[this.selectedOptions[0]]
  718. this.deptBudgetList.residentCityMunicipal =
  719. CodeToText[this.selectedOptions[1]]
  720. editdriver(this.deptBudgetList)
  721. .toPromise()
  722. .then((response) => {
  723. this.$message.success('添加成功')
  724. this.$router.push({ path: 'tranManagementDriver' })
  725. })
  726. } else {
  727. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  728. return false
  729. }
  730. })
  731. },
  732. resetForm(deptBudgetList) {
  733. this.$refs[deptBudgetList].resetFields()
  734. },
  735. },
  736. }
  737. </script>
  738. <style lang="scss" scoped>
  739. .position {
  740. position: relative;
  741. }
  742. .add,
  743. .del {
  744. position: absolute;
  745. right: -38px;
  746. top: 9px;
  747. cursor: pointer;
  748. }
  749. .del {
  750. right: -70px;
  751. }
  752. .amap-page-container {
  753. width: 300px;
  754. height: 300px;
  755. }
  756. .el-form {
  757. padding: 0 10%;
  758. }
  759. /deep/.ws-info-table .el-form-item {
  760. border-right: 1px solid #cdd2dc;
  761. border-bottom: 1px solid #cdd2dc;
  762. }
  763. .readonly {
  764. position: relative;
  765. }
  766. .title {
  767. position: relative;
  768. }
  769. .el-car {
  770. width: 413px;
  771. }
  772. .title::before {
  773. content: '';
  774. display: inline-block;
  775. width: 5px;
  776. height: 30px;
  777. background: #5473e8;
  778. position: absolute;
  779. left: 0;
  780. }
  781. .el-col {
  782. background: #f6f7fc;
  783. }
  784. /deep/.ws-info-table .el-form-item .el-form-item__content {
  785. padding: 0 25px;
  786. border-left: 1px solid #cdd2dc;
  787. background: #fafbfc;
  788. }
  789. /deep/.ws-info-table .el-form-item .el-form-item__label {
  790. width: 140px;
  791. text-align: center;
  792. background: #f0f2f6;
  793. // border: 1px solid #cdd2dc;
  794. }
  795. .button-container {
  796. display: flex;
  797. flex-wrap: nowrap;
  798. justify-content: space-between;
  799. align-items: center;
  800. background-color: #fff;
  801. width: 100%;
  802. height: 50px;
  803. padding: 0 10px;
  804. & > div {
  805. margin-left: 10px;
  806. display: flex;
  807. flex-wrap: nowrap;
  808. flex-direction: row;
  809. & > span {
  810. line-height: 50px;
  811. }
  812. }
  813. /deep/.auditFlow-box {
  814. position: unset;
  815. margin-left: 10px;
  816. &/deep/.auditFlow-icon {
  817. width: auto;
  818. padding-right: 30px;
  819. }
  820. &/deep/.auditFlow-main {
  821. position: absolute;
  822. }
  823. }
  824. }
  825. .box-app {
  826. display: inline-block;
  827. float: left;
  828. margin-left: 30px;
  829. line-height: 50px;
  830. }
  831. /deep/.el-dialog {
  832. .el-form-item {
  833. margin-bottom: 0 !important;
  834. .el-input--medium {
  835. textarea {
  836. min-height: 100px !important;
  837. }
  838. }
  839. }
  840. }
  841. .collapse-bottom {
  842. margin-bottom: 20px;
  843. }
  844. .input-main .textarea .el-textarea__inner {
  845. width: 100%;
  846. z-index: 1;
  847. }
  848. .bg-left {
  849. padding-left: 30px;
  850. }
  851. .bg-right {
  852. padding-right: 10px;
  853. text-align: right;
  854. }
  855. .bg-bottom {
  856. margin: 15px 0px;
  857. }
  858. .wenzi {
  859. width: 900px;
  860. margin: 0 auto;
  861. }
  862. .wenzi h3 {
  863. display: inline-block;
  864. left: 10px;
  865. }
  866. .wenzi p {
  867. display: inline-block;
  868. }
  869. .center {
  870. width: 900px;
  871. margin: 0 auto;
  872. }
  873. .el-form-item__label {
  874. text-align: center;
  875. }
  876. .el-table {
  877. width: 1240px;
  878. }
  879. .ce {
  880. width: 900px;
  881. margin: 0 auto;
  882. }
  883. .driver {
  884. width: 120px;
  885. margin-top: 10px;
  886. font-weight: bold;
  887. }
  888. // 控制select为只读的时候显示样式
  889. /deep/.ws-class-table-col {
  890. height: auto;
  891. padding: 0px 2px;
  892. /deep/.el-input__inner {
  893. padding: 0px 2px;
  894. }
  895. }
  896. .winseaview-view {
  897. padding: 0 0 20px;
  898. }
  899. .container {
  900. overflow: scroll;
  901. height: 93vh;
  902. }
  903. /deep/.ws-info-table .el-form-item .el-form-item__label {
  904. width: 80px;
  905. }
  906. /deep/.ws-info-table .el-form-item {
  907. width: 25%;
  908. }
  909. .el-textarea__inner {
  910. display: none;
  911. }
  912. .el-form {
  913. margin-top: 50px;
  914. }
  915. .readonly {
  916. width: 16%;
  917. }
  918. .el-cascader {
  919. width: 145px;
  920. }
  921. .forlist {
  922. width: 20%;
  923. }
  924. .el-form-item.forlist.is-success.el-form-item--small {
  925. width: 20%;
  926. }
  927. .el-form-item.forlist.el-form-item--small {
  928. width: 20%;
  929. }
  930. .el-form-item.readonly.is-success.el-form-item--small.showLableToopTip {
  931. width: 20%;
  932. }
  933. .el-form-item.el-car.el-form-item--small {
  934. width: 33.3%;
  935. }
  936. </style>