applyHolidayConfirm.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  1. <template>
  2. <el-dialog
  3. :close-on-click-modal="false"
  4. :close-on-press-escape="false"
  5. :title="dialogTitle"
  6. :visible.sync="dialogVisible"
  7. top="50px"
  8. width="75%"
  9. >
  10. <div class="tabsdom">
  11. <el-tabs v-model="activeName">
  12. <el-tab-pane label="请假申请" name="first" @tab-click="handleClick">
  13. <el-card shadow="always" style="padding: 20px 10px 10px 20px">
  14. <div v-for="(item,index) in hoildaylist" style="margin:10px 0px">
  15. <el-row v-if="item.offWorkType==1" :gutter="10" class="holidayRow">
  16. <el-col :span="2" class="col-txt">
  17. <div style="width: 100%">
  18. &nbsp;
  19. <span v-if="index==0">请假类型 </span>
  20. </div>
  21. </el-col>
  22. <el-col :span="5">
  23. <el-select
  24. v-model="item.offWorkType"
  25. disabled
  26. filterable
  27. placeholder="请假类型"
  28. style="width: 100%!important;"
  29. >
  30. <el-option
  31. v-for="itam in ProjectData"
  32. :key="itam.name"
  33. :disabled="itam.disabled"
  34. :label="itam.name"
  35. :value="itam.type"
  36. />
  37. </el-select>
  38. </el-col>
  39. <el-col :span="4">
  40. <el-date-picker
  41. v-model="item.startDate"
  42. disabled
  43. placeholder="选择日期"
  44. style="width: 100%!important;"
  45. type="date"
  46. value-format="yyyy-MM-dd"
  47. width="100%"
  48. />
  49. </el-col>
  50. <el-col :span="2">
  51. <el-select
  52. v-model="item.startIsAllday"
  53. disabled
  54. filterable
  55. placeholder=""
  56. >
  57. <el-option label="上午" value="上午"/>
  58. <el-option label="下午" value="下午"/>
  59. </el-select>
  60. </el-col>
  61. <el-col :span="1">
  62. <div style="height: 1px;background: #606266;width:100%;margin-top:40%"/>
  63. </el-col>
  64. <el-col :span="4">
  65. <el-date-picker
  66. v-model="item.endDate"
  67. :readonly="!item.startDate||item.startDate.length==0?true:false"
  68. disabled
  69. placeholder="选择日期"
  70. style="width:100%"
  71. type="date"
  72. value-format="yyyy-MM-dd"
  73. />
  74. </el-col>
  75. <el-col :span="2">
  76. <el-select
  77. v-model="item.endIsAllday"
  78. disabled
  79. filterable
  80. placeholder=""
  81. >
  82. <el-option label="上午" value="上午"/>
  83. <el-option label="下午" value="下午"/>
  84. </el-select>
  85. </el-col>
  86. <el-col :span="2" class="col-txt" style="text-align: center">
  87. 共{{
  88. !item.days ? 0 : item.days
  89. }}天
  90. </el-col>
  91. </el-row>
  92. <el-row v-if="item.offWorkType==3||item.offWorkType==2" :gutter="10" class="holidayRow">
  93. <el-col :span="2" class="col-txt">
  94. <div style="
  95. width: 100%"
  96. >
  97. <span v-if="index==0">请假类型 </span>&nbsp;
  98. </div>
  99. </el-col>
  100. <el-col :span="5" class="col-input">
  101. <el-select
  102. v-model="item.offWorkType"
  103. disabled
  104. filterable
  105. placeholder="请假类型"
  106. style="width: 100%"
  107. @change="getHolidayType($event,index,item)"
  108. >
  109. <el-option
  110. v-for="itam in ProjectData"
  111. :key="itam.name"
  112. :disabled="itam.disabled"
  113. :label="itam.name"
  114. :value="itam.type"
  115. />
  116. </el-select>
  117. </el-col>
  118. <el-col :span="6">
  119. <el-date-picker
  120. v-model="item.dayMerange"
  121. class="pdr10px mgb10px"
  122. disabled
  123. placeholder="选择日期"
  124. type="date"
  125. value-format="yyyy-MM-dd"
  126. >
  127. </el-date-picker>
  128. </el-col>
  129. <el-col :span="7">
  130. <el-time-picker
  131. v-model="item.timeMerange"
  132. :disabled="!item.dayMerange"
  133. class="el-input pdr10px mgb10px"
  134. clearable
  135. disabled
  136. end-placeholder="结束时间" format="HH:mm"
  137. is-range
  138. range-separator="至"
  139. start-placeholder="开始时间"
  140. value-format="HH:mm"
  141. @change="getTimeMerange(item.timeMerange,item.dayMerange,item.startIsAllday,item.endIsAllday,index,item.offWorkType)"
  142. />
  143. </el-col>
  144. <el-col :span="2" class="col-txt" style="text-align: center">
  145. <!-- {{ JSON.stringify(item) }}-->
  146. 共{{ item.hour }}小时
  147. </el-col>
  148. </el-row>
  149. <el-row v-if="item.offWorkType!=1&& item.offWorkType!=3&&item.offWorkType!=2" :gutter="10"
  150. class="holidayRow"
  151. >
  152. <el-col :span="2" class="col-txt">
  153. <div style="width: 100%">
  154. &nbsp;
  155. <span v-if="index==0">请假类型 </span>
  156. </div>
  157. </el-col>
  158. <el-col :span="5">
  159. <el-select
  160. v-model="item.offWorkType"
  161. disabled
  162. filterable
  163. placeholder="请假类型"
  164. @change="getHolidayType($event,index,item)"
  165. >
  166. <el-option
  167. v-for="itam in ProjectData"
  168. :key="itam.name"
  169. :disabled="itam.disabled"
  170. :label="itam.name"
  171. :value="itam.type"
  172. />
  173. </el-select>
  174. </el-col>
  175. <el-col :span="4">
  176. <el-date-picker
  177. v-model="item.startDate"
  178. disabled
  179. placeholder="选择日期"
  180. style="width: 100%!important;"
  181. type="date"
  182. value-format="yyyy-MM-dd"
  183. width="100%"
  184. @change="countDays(item.startDate,item.endDate,item.startIsAllday,item.endIsAllday,index,item.offWorkType)"
  185. />
  186. </el-col>
  187. <el-col :span="2">
  188. <el-select v-model="item.startIsAllday"
  189. disabled
  190. filterable
  191. placeholder=""
  192. @change="countDays(item.startDate,item.endDate,item.startIsAllday,item.endIsAllday,index,item.offWorkType)"
  193. >
  194. <el-option label="上午" value="上午"/>
  195. <el-option label="下午" value="下午"/>
  196. </el-select>
  197. </el-col>
  198. <el-col :span="1">
  199. <div style="height: 1px;background: #606266;width:100%;margin-top:40%"/>
  200. </el-col>
  201. <el-col :span="4">
  202. <el-date-picker v-model="item.endDate"
  203. :readonly="!item.startDate||item.startDate.length==0?true:false"
  204. disabled
  205. placeholder="选择日期"
  206. style="width:100%"
  207. type="date"
  208. value-format="yyyy-MM-dd"
  209. @change="countDays(item.startDate,item.endDate,item.startIsAllday,item.endIsAllday,index,item.offWorkType)"
  210. />
  211. </el-col>
  212. <el-col :span="2">
  213. <el-select v-model="item.endIsAllday"
  214. disabled
  215. filterable
  216. placeholder=""
  217. @change="countDays(item.startDate,item.endDate,item.startIsAllday,item.endIsAllday,index,item.offWorkType)"
  218. >
  219. <el-option label="上午" value="上午"/>
  220. <el-option label="下午" value="下午"/>
  221. </el-select>
  222. </el-col>
  223. <el-col :span="2" class="col-txt" style="text-align: center">
  224. 共{{
  225. !item.days ? 0 : item.days
  226. }}天
  227. </el-col>
  228. </el-row>
  229. </div>
  230. <div class="totalApplyTime">{{ totalApplyTime }}</div>
  231. <el-row>
  232. <el-col :span="2" class="col-txt"><span>请假事由</span></el-col>
  233. <el-col :span="22">
  234. <el-input v-model="form.applyReasons" readonly style="min-height:50px;margin-bottom: 25px"
  235. type="textarea"
  236. />
  237. </el-col>
  238. </el-row>
  239. <el-row>
  240. <el-col :span="2" class="col-txt">附件</el-col>
  241. <el-col :span="22">
  242. <el-upload
  243. :action="$constant.BASE_URI+'/FileController/upload'"
  244. :file-list="form.fileUrlList"
  245. :http-request="uploadFile"
  246. class="upload-demo"
  247. disabled
  248. multiple
  249. >
  250. <el-button disabled size="small" type="primary">点击上传</el-button>
  251. <div slot="file" slot-scope="{file}">
  252. <a :href="file.url">{{ file.name }}</a>
  253. <span class="el-upload-list__item-actions">
  254. <i class="el-icon-delete" @click="handlePictureRemove(file,form.fileUrlList)"/>
  255. </span>
  256. </div>
  257. </el-upload>
  258. </el-col>
  259. </el-row>
  260. <el-row style="margin-top: 25px">
  261. <el-col :span="2" class="col-txt">发起人抄送</el-col>
  262. <el-col :span="22">
  263. <user-select
  264. ref="userSelect"
  265. :default-select="selectList"
  266. :multiple="true"
  267. disab
  268. width="700"
  269. />
  270. </el-col>
  271. </el-row>
  272. </el-card>
  273. <h3>流程历史</h3>
  274. <div class="tableDom">
  275. <el-table
  276. :data="tableData"
  277. :header-cell-style="{
  278. background:'#1890FF !important',
  279. color:'white'
  280. }"
  281. border
  282. style="width: 100%"
  283. >
  284. <el-table-column fixed label="序号" type="index" width="60"/>
  285. <el-table-column
  286. label="节点名称"
  287. prop="nodeName"
  288. width="180"
  289. />
  290. <el-table-column
  291. label="处理人"
  292. prop="auditUserName"
  293. width="180"
  294. />
  295. <el-table-column
  296. label="审核结果"
  297. prop="auditContent"
  298. />
  299. <el-table-column
  300. label="审核意见"
  301. prop="auditResultString"
  302. />
  303. <el-table-column
  304. label="发起/审核时间"
  305. prop="createdAt"
  306. >
  307. <template slot-scope="scope">
  308. {{ $common.transTime(scope.row.createdAt) }}
  309. </template>
  310. </el-table-column>
  311. </el-table>
  312. </div>
  313. <h3>处理</h3>
  314. <el-card shadow="always" style="padding: 0px 5px 5px 15px">
  315. <el-form
  316. ref="confirmForm"
  317. :model="confirmForm"
  318. :rules="rules"
  319. class="cost_form"
  320. label-width="100px"
  321. style="width: 100%;padding: 5px"
  322. >
  323. <el-row :gutter="10">
  324. <el-col :span="24">
  325. <el-form-item label="处理结果" style="margin-bottom: 15px">
  326. <el-radio-group v-model="confirmForm.confirmResult">
  327. <el-radio :label="1">同意</el-radio>
  328. <el-radio v-if="argeeNoStatus" :label="2">退回发起人</el-radio>
  329. <el-radio v-if="argeeBackStatus" :label="3">退回上节点</el-radio>
  330. <!-- <el-radio :label="4">结束流程</el-radio>-->
  331. </el-radio-group>
  332. </el-form-item>
  333. </el-col>
  334. <el-col :span="24">
  335. <el-form-item label="处理意见">
  336. <el-input v-model="confirmForm.confirmContent" style="margin-top:10px" type="textarea"/>
  337. <el-dropdown size="mini" split-button trigger="hover" type="primary">
  338. 常用语选择
  339. <el-dropdown-menu slot="dropdown">
  340. <el-dropdown-item
  341. v-for="item in dc_data.COMMON_PHRASES"
  342. @click.native="selectCommonPhrases(item.label)"
  343. >
  344. {{ item.label }}
  345. </el-dropdown-item>
  346. </el-dropdown-menu>
  347. </el-dropdown>
  348. </el-form-item>
  349. </el-col>
  350. <el-col :span="24">
  351. <el-form-item label="审核人抄送">
  352. <user-select
  353. :default-select="confirmList"
  354. :multiple="true"
  355. class="cclist"
  356. @selectValue="parentMethod"
  357. />
  358. </el-form-item>
  359. </el-col>
  360. </el-row>
  361. </el-form>
  362. </el-card>
  363. </el-tab-pane>
  364. <el-tab-pane label="流程图 " name="second">
  365. <holidayCanvas ref="holidayCanvas"/>
  366. </el-tab-pane>
  367. </el-tabs>
  368. </div>
  369. <div slot="footer">
  370. <el-button @click="dialogVisible = false">取 消</el-button>
  371. <el-button type="primary" @click="confirmSubmit()">确 定</el-button>
  372. </div>
  373. </el-dialog>
  374. </template>
  375. <script>
  376. import userSelect from '@/views/components/UserSelect.vue'
  377. import { upload } from '@/static/utils/channel'
  378. import Base from '@/views/base/base'
  379. import BaseData from '@/views/base/baseData'
  380. import holidayCanvas from '@/views/workflow/components/myProcess/holidayCanvas.vue'
  381. export default {
  382. name: 'applyPay',
  383. components: {
  384. userSelect, holidayCanvas
  385. },
  386. mixins: [Base, BaseData],
  387. data() {
  388. return {
  389. row: {},
  390. rules: {
  391. confirmResult: [
  392. { required: true, message: '请选择处理结果', trigger: 'change' }
  393. ]
  394. },
  395. confirmList: [],
  396. freezeHolidayTime: 0,
  397. freezeExchangeTime: 0,
  398. confirmForm: {
  399. confirmContent: '',
  400. confirmResult: 1
  401. },
  402. dc_key: ['ORDER_STATUS', 'PAY_TYPE', 'BUDGET_FY', 'COMMON_PHRASES'],
  403. dc_data: {},
  404. tableData: [],
  405. loading: false,
  406. totalApplyTime: '共计请假0天,0.00小时',
  407. dialogVisible: false,
  408. hoildaylist: [
  409. { offWorkType: 2, hour: 0, days: 0 }
  410. ],
  411. fileError: false,
  412. fileList: [],
  413. selectList: [],
  414. argeeBackStatus: false,
  415. argeeNoStatus: false,
  416. form: {
  417. fileUrlList: []
  418. },
  419. daysNum: 0,
  420. holidayDays: {},
  421. hoildayist: [
  422. { type: 'year' }
  423. ],
  424. options: [
  425. { value: '陈鹏铭', label: '陈鹏铭' },
  426. { value: '宣胜伟', label: '宣胜伟' },
  427. { value: '张洮', label: '张洮' },
  428. { value: '潘毅', label: '潘毅' },
  429. { value: '崔伟', label: '崔伟' }
  430. ],
  431. value1: [],
  432. ProjectData: [
  433. { name: '年假(剩余x天)', type: 'year' },
  434. { name: '调休(剩余x小时)', type: 'affair' },
  435. { name: '病假', type: 'illness' }
  436. ],
  437. dialogTitle: '请假申请-审核',
  438. activeName: 'first'
  439. }
  440. },
  441. mounted() {
  442. const _this = this
  443. _this.initDict(this.dc_key).then((res) => {
  444. })
  445. },
  446. watch: {
  447. 'hoildaylist': {
  448. deep: true,
  449. handler(newValue, oldValue) {
  450. let day = 0
  451. let hour = 0
  452. for (let i = 0; i < this.hoildaylist.length; i++) {
  453. if (this.hoildaylist[i].hour === 0 || this.hoildaylist[i].hour) {
  454. hour = hour + this.hoildaylist[i].hour
  455. }
  456. if (this.hoildaylist[i].days == 0 || this.hoildaylist[i].days) {
  457. day = day + this.hoildaylist[i].days
  458. }
  459. }
  460. this.changeCotalApplyTime(`共计请假${day}天,${hour.toFixed(2)}小时`)
  461. }
  462. }
  463. },
  464. methods: {
  465. handleClick(tab, event) {
  466. this.canVasStatus = false
  467. if (this.activeName == 'second') {
  468. this.canVasStatus = true
  469. this.$nextTick(() => {
  470. this.$refs.holidayCanvas.createNodeCanvas(this.row)
  471. })
  472. }
  473. },
  474. getTimeMerange(timeMerange, dayMerange, startIsAllday, endIsAllday, index, type) {
  475. this.hoildaylist[index].startDate = dayMerange + ' ' + timeMerange[0] + ':00'
  476. this.hoildaylist[index].endDate = dayMerange + ' ' + timeMerange[1] + ':00'
  477. this.countDays(dayMerange + ' ' + timeMerange[0], dayMerange + ' ' + timeMerange[1], startIsAllday, endIsAllday, index, type)
  478. },
  479. selectCommonPhrases(e) {
  480. if (!this.confirmForm.confirmContent) this.confirmForm.confirmContent = ''
  481. this.confirmForm.confirmContent += e
  482. },
  483. changeCotalApplyTime(e) {
  484. this.totalApplyTime = e
  485. },
  486. uploadFile(param) {
  487. upload(param, true).then((res) => {
  488. this.form.fileUrlList.push(res)
  489. })
  490. },
  491. parentMethod(val) {
  492. if (val.length > 0) {
  493. this.confirmForm.ccList = val.join(',')
  494. }
  495. },
  496. async confirmSubmit() {
  497. const { data } = await this.baseRequest1('ApplyOffWorkController', 'AddConfirmResultOffWork', { ...this.confirmForm })
  498. console.log(data)
  499. if (data.code == 200) {
  500. this.$message.success('处理成功')
  501. this.form = {
  502. fileUrlList: []
  503. }
  504. this.confirmForm = {
  505. confirmForm: {
  506. confirmContent: ''
  507. }
  508. }
  509. this.dialogVisible = false
  510. this.$emit('getData')
  511. }
  512. this.dialogVisibl = false
  513. },
  514. baseRequest1(prefix, opUrl, postData) {
  515. return this.$channel.globleRequest(prefix, opUrl, postData, 'project task')
  516. },
  517. async setVisible(status, row) {
  518. this.form.fileUrlList = []
  519. console.log(row)
  520. const { data: holidayDays } = await this.baseRequest1('ApplyOffWorkController', 'getHolidayManagementByApplyUserId', { userId: row.applyUser })
  521. this.holidayDays = holidayDays
  522. this.confirmForm.flowMainPushId = row.flowMainPushId
  523. const noAndbackstatus = await this.baseRequest1('FlowMainController', 'getOutgoingFlowsByFlowMainPushId', { flowMainPushId: row.flowMainPushId })
  524. for (let i = 0; i < noAndbackstatus.data.length; i++) {
  525. if (noAndbackstatus.data[i].conditionExpression == '${agree==\'no\'}') this.argeeNoStatus = true
  526. if (noAndbackstatus.data[i].conditionExpression == '${agree==\'back\'}') this.argeeBackStatus = true
  527. }
  528. this.freezeHolidayTime = holidayDays.freezeHolidayTime
  529. this.freezeExchangeTime = holidayDays.freezeExchangeTime
  530. this.ProjectData = [
  531. {
  532. name: `年假(剩余${holidayDays.restHolidayTime}天,已冻结${holidayDays.freezeHolidayTime}天)`,
  533. type: 1
  534. },
  535. {
  536. name: `调休(剩余${holidayDays.restExchangeTime}小时,已冻结${holidayDays.freezeExchangeTime}小时)`,
  537. type: 3
  538. },
  539. {
  540. name: `事假`,
  541. type: 2
  542. },
  543. {
  544. name: `病假`,
  545. type: 4
  546. },
  547. {
  548. name: `婚假`,
  549. type: 5
  550. },
  551. {
  552. name: `产假`,
  553. type: 6
  554. },
  555. {
  556. name: `陪产假`,
  557. type: 7
  558. },
  559. {
  560. name: `丧假`,
  561. type: 8
  562. }
  563. ]
  564. const { data } = await this.baseRequest1('ApplyOffWorkController', 'getInfoByFlowMainId', { flowMainId: row.id })
  565. const { data: flowHistroy } = await this.baseRequest1('FlowMainController', 'getFlowHistroyByFlowMainId', { flowMainId: row.id })
  566. this.form = data
  567. this.tableData = flowHistroy
  568. this.hoildaylist = data.applyOffWorkTimeList.map((e) => {
  569. return {
  570. offWorkType: Number(e.offWorkType),
  571. endDate: this.$common.transTime(e.endDay),
  572. startDate: this.$common.transTime(e.startDay),
  573. // 这两段是针对小时做的处理
  574. dayMerange: Number(e.offWorkType) == 2 || Number(e.offWorkType) == 3 ? this.$common.transDate(e.startDay) : null,
  575. timeMerange: Number(e.offWorkType) == 2 || Number(e.offWorkType) == 3 ? [this.$common.transhh(e.startDay), this.$common.transhh(e.endDay)] : null,
  576. days: Number(e.offWorkType) != 2 && Number(e.offWorkType) != 3 ? e.useTime : 0,
  577. hour: Number(e.offWorkType) == 2 || Number(e.offWorkType) == 3 ? e.useTime : 0,
  578. startIsAllday: e.startTime,
  579. endIsAllday: e.endTime,
  580. endTime: e.endTime
  581. }
  582. })
  583. let daysNum = 0
  584. let yearsTime = 0
  585. for (let j = 0; j < this.hoildaylist.length; j++) {
  586. if (this.hoildaylist[j].offWorkType == 1) {
  587. daysNum = daysNum + this.hoildaylist[j].days
  588. }
  589. }
  590. for (let j = 0; j < this.hoildaylist.length; j++) {
  591. if (this.hoildaylist[j].offWorkType == 2) {
  592. yearsTime += this.hoildaylist[j].hour
  593. }
  594. }
  595. this.totalApplyTime = `共计请假${daysNum}天,${yearsTime.toFixed(2)}小时`
  596. let selectList = data.flowMainCcList.map((e) => {
  597. return e.ccUser
  598. })
  599. this.selectList = selectList
  600. if (data.fileDataIds) {
  601. const { data: fileTaoTaoList } = await this.baseRequest1('FileZtController', 'findFileInfoByIds/' + data.fileDataIds, '')
  602. console.log(fileTaoTaoList.data)
  603. this.form.fileUrlList = fileTaoTaoList.data.map((e) => {
  604. return {
  605. url: this.$constant.BASE_URI + '/FileController/download/' + e.id,
  606. name: e.fileName,
  607. data: e.id,
  608. uid: new Date().getTime()
  609. }
  610. })
  611. console.log(this.form.fileUrlList)
  612. } else {
  613. this.form.fileUrlList = []
  614. }
  615. this.dialogVisible = status
  616. },
  617. addListRow() {
  618. const _this = this
  619. _this.hoildayist.push({ type: 'year' })
  620. }
  621. }
  622. }
  623. </script>
  624. <style lang="scss">
  625. .totalApplyTime {
  626. font-size: 16px;
  627. font-family: 微软雅黑;
  628. font-weight: 400;
  629. color: #1890FF;
  630. text-align: right;
  631. margin: 15px 0 15px 0;
  632. width: 100%;
  633. }
  634. .ml5 {
  635. margin-left: 5px;
  636. }
  637. .tabsdom {
  638. .el-select {
  639. width: 100%;
  640. }
  641. .el-tabs__header {
  642. text-align: center !important;
  643. width: 139px !important;
  644. text-align: center !important;
  645. display: block !important;
  646. margin: auto !important;
  647. margin-bottom: 15px !important;
  648. }
  649. .el-tabs__nav-wrap::after {
  650. display: none;
  651. }
  652. .el-upload {
  653. width: 100%;
  654. }
  655. }
  656. </style>