applyHolidayConfirm.vue 20 KB

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