taskCenterDeptStartFrom.vue 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815
  1. <template>
  2. <div class="deptstartFrom">
  3. <el-dialog title="考评启动详情" v-model="dialogVisible" :fullscreen="true" :close-on-click-modal="false">
  4. <div class="startDetail">
  5. <p class="starttitleSty">单据信息:</p>
  6. <el-row class="danjuMsg">
  7. <el-col :span="6">
  8. <div class="danjuMsg_data">
  9. <span class="data_tit">业务编号:</span>
  10. <span>{{receiptMsg.code}}</span>
  11. </div>
  12. <div class="danjuMsg_data">
  13. <span class="data_tit">创建日期:</span>
  14. <span>{{receiptMsg.createDate}}</span>
  15. </div>
  16. </el-col>
  17. <el-col :span="6">
  18. <div class="danjuMsg_data">
  19. <span class="data_tit">业务简述:</span>
  20. <span>{{receiptMsg.des}}</span>
  21. </div>
  22. <div class="danjuMsg_data">
  23. <span class="data_tit">考评周期:</span>
  24. <span>{{receiptMsg.type}}</span>
  25. </div>
  26. </el-col>
  27. <el-col :span="6">
  28. <div class="danjuMsg_data">
  29. <span class="data_tit">流程状态:</span>
  30. <span>{{receiptMsg.stage}}</span>
  31. </div>
  32. <div class="danjuMsg_data">
  33. <span class="data_tit">年度:</span>
  34. <span>{{receiptMsg.year}}</span>
  35. </div>
  36. </el-col>
  37. <el-col :span="6">
  38. <div class="danjuMsg_data">
  39. <span class="data_tit">创建人:</span>
  40. <span>{{receiptMsg.createName}}</span>
  41. </div>
  42. <div class="danjuMsg_data">
  43. <span class="data_tit">单据状态:</span>
  44. <span>{{receiptMsg.recStage}}</span>
  45. </div>
  46. </el-col>
  47. </el-row>
  48. <div class="btnStartSeach">
  49. <div class="seachFor" v-if="ispersonDept === 'true'">
  50. <el-input v-model="compNameSa" placeholder="请输入部门名称" @keyup.enter="getDetails(importId)">
  51. </el-input>
  52. </div>
  53. <div class="detaTableBtns">
  54. <div class="tableBtn add" @click="addTableDetail">
  55. <img :src="addIcon" alt="">
  56. <span>新增</span>
  57. </div>
  58. <div class="tableBtn save" @click="saveDetail">
  59. <img :src="saveIcon" alt="">
  60. <span>保存</span>
  61. </div>
  62. <div class="tableBtn import" @click="handleImport">
  63. <img :src="importIcon" alt="">
  64. <span>导入</span>
  65. </div>
  66. <div class="tableBtn export" @click="handleExport">
  67. <img :src="exportIcon" alt="">
  68. <span>导出</span>
  69. </div>
  70. </div>
  71. </div>
  72. <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
  73. <el-tab-pane label="考评指标项内容" name="first">
  74. <el-table
  75. :data="quantifiedList.slice((pageLeft.currentPage-1)*pageLeft.pagesize, pageLeft.currentPage*pageLeft.pagesize)"
  76. style="width: 100%" @select="rowClick" @select-all="rowClick">
  77. <el-table-column label="序号" type="index" width="80" />
  78. <el-table-column label="部门名称" prop="deptName" width="300">
  79. <template #default="scope">
  80. <!-- <el-select v-model="scope.row.deptName"
  81. :disabled="scope.row.dataPermission === '-1' && scope.row.deptName !== ''"
  82. placeholder="请选择所属部门" filterable v-if="scope.row.showInput">
  83. <el-option v-for="item in departData" :key="item.deptId" :label="item.deptName"
  84. :value="item.deptId">
  85. </el-option>
  86. </el-select> -->
  87. <span v-if="scope.row.showInput">{{receiptMsg.deptName}}</span>
  88. <span v-else>{{scope.row.deptName}}</span>
  89. </template>
  90. </el-table-column>
  91. <el-table-column label="指标名称" width="200">
  92. <template #default="scope">
  93. <el-input v-model="scope.row.targetName"
  94. :disabled="scope.row.dataPermission === '-1'" placeholder="请输入指标名称"></el-input>
  95. </template>
  96. </el-table-column>
  97. <el-table-column label="目标值" width="500">
  98. <template #default="scope">
  99. <el-input v-model="scope.row.targetValue"
  100. :disabled="scope.row.dataPermission === '-1'" type="textarea" :rows="2"
  101. placeholder="请输入目标值"></el-input>
  102. </template>
  103. </el-table-column>
  104. <el-table-column label="基础分" width="150">
  105. <template #default="scope">
  106. <el-input-number v-model="scope.row.baseScore" :precision="2" :step="0.1"
  107. :min="0" />
  108. </template>
  109. </el-table-column>
  110. <el-table-column label="评价标准">
  111. <template #default="scope">
  112. <el-input v-model="scope.row.evaluationCriteria" type="textarea" :rows="2"
  113. placeholder="请输入评价标准"></el-input>
  114. </template>
  115. </el-table-column>
  116. <el-table-column label="排序" width="130">
  117. <template #default="scope">
  118. <el-input-number v-model="scope.row.serialNumber"
  119. :disabled="(scope.row.dataPermission === '-1' && scope.row.serialNumber !== '')"
  120. :min="1" />
  121. </template>
  122. </el-table-column>
  123. <!-- <el-table-column label="审核状态" width="150">
  124. <template #default="scope">
  125. <el-select v-model="scope.row.auditStatus"
  126. :disabled="(scope.row.dataPermission === '-1' && scope.row.auditStatus !== '') || ispersonDept !== 'true'"
  127. placeholder="请选择审核状态">
  128. <el-option v-for="item in statusData" :key="item.id" :label="item.name"
  129. :value="item.id">
  130. </el-option>
  131. </el-select>
  132. </template>
  133. </el-table-column> -->
  134. <el-table-column label="操作" width="80" align="center">
  135. <template #default="scope">
  136. <p class="indicitem" v-if="scope.row.dataPermission !== '-1'"
  137. @click="handleDelete(scope.row)">删除</p>
  138. </template>
  139. </el-table-column>
  140. </el-table>
  141. <el-pagination @current-change="handleCurrentChangeLeft" :current-page="pageLeft.currentPage"
  142. :page-size="pageLeft.pagesize" layout="total, prev, pager, next, jumper"
  143. :total="pageLeft.total">
  144. </el-pagination>
  145. </el-tab-pane>
  146. </el-tabs>
  147. <div>
  148. <p class="starttitleSty">审批意见:</p>
  149. <el-input v-model="descMsg" :rows="3" type="textarea" placeholder="请输入审批意见"></el-input>
  150. </div>
  151. </div>
  152. <template #footer>
  153. <span class="dialog-footer">
  154. <el-button type="primary" @click="examineAndApprove('agree')">同 意</el-button>
  155. <el-button @click="examineAndApprove('reject')">拒 绝</el-button>
  156. </span>
  157. </template>
  158. </el-dialog>
  159. <import-dailog ref="importPage" @successImport="successImport" @importLoading="importLoading"></import-dailog>
  160. </div>
  161. </template>
  162. <script>
  163. import importDailog from '../importPage/importDailog.vue'
  164. import {
  165. apiGetevaluationdeptplanDetail,
  166. apiGetevaluationdeptplanUpdate,
  167. apiGetdatadictionaryList,
  168. apiGetcheckAuditStatus,
  169. apiGetevaluationdetailDeptData,
  170. apiPostIsdoAction,
  171. apiGetevaluationdeptplanDetailHeader,
  172. apiGetevaluationdeptplandelete
  173. } from '../../api/api'
  174. import ExcelJS from 'exceljs'
  175. import fileSave from 'file-saver'
  176. import addIcon from '../../assets/btnIcon/add.png'
  177. import saveIcon from '../../assets/btnIcon/save.png'
  178. import editIcon from '../../assets/btnIcon/edit.png'
  179. import deleteIcon from '../../assets/btnIcon/delete.png'
  180. import exportIcon from '../../assets/btnIcon/export.png'
  181. import importIcon from '../../assets/btnIcon/import.png'
  182. export default {
  183. components: {
  184. importDailog
  185. },
  186. data() {
  187. return {
  188. descMsg: '',
  189. dialogVisible: false,
  190. activeName: 'first',
  191. quantifiedList: [],
  192. changeDateSelect: [],
  193. receiptMsg: {
  194. code: '',
  195. des: '',
  196. stage: '',
  197. createName: '',
  198. createDate: '',
  199. type: '',
  200. year: '',
  201. recStage: ''
  202. },
  203. addIcon: addIcon,
  204. saveIcon: saveIcon,
  205. editIcon: editIcon,
  206. deleteIcon: deleteIcon,
  207. exportIcon: exportIcon,
  208. importIcon: importIcon,
  209. rowMsg: {},
  210. orgruleData: [],
  211. indicItemoptions: [],
  212. sectionNameArr: [],
  213. deptNameArr: [],
  214. statusData: [],
  215. pageLeft: {
  216. pagesize: 15,
  217. currentPage: 1,
  218. total: 0
  219. },
  220. pageRight: {
  221. pagesize: 15,
  222. currentPage: 1,
  223. total: 0
  224. },
  225. departData: [],
  226. instanceChild: {},
  227. importId: '',
  228. userMes: {},
  229. ispersonDept: window.sessionStorage.getItem('ispersonDept'),
  230. compNameSa: ''
  231. }
  232. },
  233. created() {
  234. this.statusData = [{
  235. name: '已通过',
  236. id: '0'
  237. },
  238. {
  239. name: '待审核',
  240. id: '-1'
  241. },
  242. {
  243. name: '未通过',
  244. id: '-2'
  245. }
  246. ]
  247. },
  248. methods: {
  249. init(row, id, datas) {
  250. this.dialogVisible = true
  251. this.instanceChild = datas
  252. this.activeName = 'first'
  253. this.importId = id
  254. this.userMes = JSON.parse(window.sessionStorage.getItem('user'))
  255. this.getDetails(id)
  256. this.getDepartmentFromTreeData(datas)
  257. this.rowMsg = row
  258. },
  259. // 查询部门
  260. getDepartmentFromTreeData(datas) {
  261. let that = this
  262. that.departData = []
  263. // let params = {
  264. // superKey: 'BM0001'
  265. // }
  266. // apiGetdatadictionaryList(params).then(datas =>{
  267. // if (datas && datas.data) {
  268. // let departData = datas.data
  269. // that.getshowDepartDataFn(row, departData)
  270. // }
  271. // })
  272. let params = {
  273. // id: datas.bizKey,
  274. deptId: that.userMes.deptId
  275. }
  276. // 获取部门数据
  277. apiGetevaluationdetailDeptData(params).then(datas => {
  278. if (datas && datas.data && datas.data.length > 0) {
  279. that.departData = datas.data
  280. // for(let i in datas.data) {
  281. // let obj = {
  282. // id: i,
  283. // name: datas.data[i]
  284. // }
  285. // that.departData.push(obj)
  286. // }
  287. }
  288. })
  289. },
  290. // 整合部门数据
  291. // getshowDepartDataFn(row, deptData) {
  292. // let deptIdArr = row.deptId.split(',')
  293. // deptIdArr.forEach(it =>{
  294. // deptData.forEach(itv =>{
  295. // if (itv.id === it) {
  296. // that.departData.push(itv)
  297. // }
  298. // })
  299. // })
  300. // },
  301. handleDelete(row) {
  302. this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
  303. confirmButtonText: '确定',
  304. cancelButtonText: '取消',
  305. type: 'warning'
  306. }).then(() => {
  307. let that = this
  308. if (!row.id) {
  309. that.quantifiedList.forEach((it, index) => {
  310. if (it === row) {
  311. that.quantifiedList.splice(index, 1)
  312. }
  313. })
  314. } else {
  315. let params = {
  316. id: row.id,
  317. deptId: that.userMes.deptId
  318. }
  319. apiGetevaluationdeptplandelete(params).then(datas => {
  320. that.$message({
  321. type: 'success',
  322. message: '删除成功!'
  323. });
  324. that.getDetails(that.importId)
  325. that.changeDateSelect = []
  326. })
  327. }
  328. })
  329. },
  330. handleClick() {
  331. this.changeDateSelect = []
  332. },
  333. rowClick(selection, row) {
  334. this.changeDateSelect = selection
  335. },
  336. handleCurrentChangeLeft(val) {
  337. this.pageLeft.currentPage = val
  338. },
  339. handleCurrentChangeRight(val) {
  340. this.pageRight.currentPage = val
  341. },
  342. //获取详情
  343. getDetails(id) {
  344. let that = this
  345. that.quantifiedList = []
  346. let userMes = JSON.parse(window.sessionStorage.getItem('user'))
  347. let params = {
  348. id: id,
  349. deptId: userMes.deptId,
  350. com: that.compNameSa ? that.compNameSa : 'null'
  351. }
  352. apiGetevaluationdeptplanDetailHeader(id).then(datas => {
  353. if (datas && datas.data) {
  354. let item = datas.data
  355. this.receiptMsg = {
  356. code: item.responsibilityCode,
  357. des: item.des,
  358. stage: item.stage,
  359. createName: item.createName,
  360. createDate: item.createTime,
  361. type: item.checkCycle === 'YDKP' ? '月度考评' : item.checkCycle === 'JDKP' ?
  362. '季度考评' : '年度考评',
  363. year: item.appraisalYear,
  364. recStage: '有效',
  365. deptName: item.deptName,
  366. deptId: item.deptId
  367. }
  368. }
  369. })
  370. apiGetevaluationdeptplanDetail(params).then(datas => {
  371. if (datas && datas.data) {
  372. that.quantifiedList = datas.data
  373. that.pageLeft.total = datas.data.length
  374. }
  375. })
  376. },
  377. addTableDetail() {
  378. let obj = {
  379. showInput: true,
  380. businessPlanId: this.importId,
  381. serialNumber: 1,
  382. deptId: this.receiptMsg.deptId,
  383. targetName: '',
  384. targetValue: '',
  385. baseScore: 0,
  386. evaluationCriteria: '',
  387. // auditStatus: '-1',
  388. dataPermission: '1'
  389. }
  390. this.quantifiedList.unshift(obj)
  391. },
  392. saveDetail() {
  393. let that = this
  394. let params = []
  395. let userMes = JSON.parse(window.sessionStorage.getItem('user'))
  396. that.quantifiedList.forEach(item => {
  397. let obj = {
  398. targetName: item.targetName,
  399. targetValue: encodeURI(item.targetValue),
  400. baseScore: item.baseScore.toString(),
  401. evaluationCriteria: item.evaluationCriteria,
  402. // auditStatus: item.auditStatus,
  403. serialNumber: item.serialNumber,
  404. createDept: userMes.deptId
  405. }
  406. if (item.showInput) {
  407. obj.deptId = item.deptId
  408. obj.businessPlanId = item.businessPlanId
  409. } else {
  410. obj.id = item.id
  411. }
  412. params.push(obj)
  413. })
  414. apiGetevaluationdeptplanUpdate(params).then(datas => {
  415. if (datas) {
  416. if (datas.success) {
  417. that.$message({
  418. message: '保存成功',
  419. type: 'success'
  420. });
  421. that.getDetails(that.importId)
  422. } else {
  423. that.$message({
  424. message: datas.data,
  425. type: 'error'
  426. })
  427. }
  428. }
  429. })
  430. },
  431. examineAndApprove(type) {
  432. let that = this
  433. let actionCS = ''
  434. if (type === 'agree') {
  435. if (that.rowMsg.taskType === 'SIGN') {
  436. actionCS = 'signAgree'
  437. } else if (that.rowMsg.taskType === 'NORMAL') {
  438. actionCS = 'agree'
  439. }
  440. } else {
  441. if (that.rowMsg.taskType === 'SIGN') {
  442. actionCS = 'signReject'
  443. } else if (that.rowMsg.taskType === 'NORMAL') {
  444. actionCS = 'reject'
  445. }
  446. }
  447. let params = {
  448. taskId: that.rowMsg.id, //任务ID
  449. nodeId: that.rowMsg.nodeId, //节点ID
  450. action: actionCS, //固定值
  451. instanceId: that.rowMsg.instId, //流程实例ID
  452. opinion: that.descMsg, //审批意见
  453. iamCode: window.localStorage.getItem('code'), //认证后code值
  454. taskName: that.rowMsg.name,
  455. defKey: that.instanceChild.defKey,
  456. bizKey: that.instanceChild.bizKey
  457. }
  458. if (type === 'agree') {
  459. let userMes = JSON.parse(window.sessionStorage.getItem('user'))
  460. let paramsob = {
  461. id: that.importId,
  462. deptId: userMes.deptId
  463. }
  464. apiGetcheckAuditStatus(paramsob).then(datas => {
  465. if (datas) {
  466. if (datas.success) {
  467. that.IsdoActionFn(params)
  468. } else {
  469. that.$message({
  470. message: datas.data,
  471. type: 'error'
  472. })
  473. }
  474. }
  475. })
  476. } else {
  477. that.IsdoActionFn(params)
  478. }
  479. },
  480. IsdoActionFn(params) {
  481. let that = this
  482. apiPostIsdoAction(params).then(datas => {
  483. if (datas && datas.data) {
  484. if (datas.data.isOk) {
  485. that.$message({
  486. message: datas.data.data,
  487. type: 'success'
  488. })
  489. that.dialogVisible = false
  490. that.$emit('approveMsg', datas.data.isOk)
  491. } else {
  492. that.$message({
  493. message: datas.data.msg,
  494. type: 'error'
  495. })
  496. }
  497. }
  498. })
  499. },
  500. handleImport() {
  501. this.$refs.importPage.upload.title = "本部部门业绩指标计划信息导入"
  502. this.$refs.importPage.upload.data = {
  503. id: this.importId
  504. }
  505. this.$refs.importPage.upload.open = true
  506. this.$refs.importPage.upload.url = '/evaluation-dept-plan/import'
  507. },
  508. successImport(val) {
  509. this.getDetails(this.importId)
  510. },
  511. handleExport() {
  512. let data = this.quantifiedList //接口返回数据
  513. const workbook = new ExcelJS.Workbook()
  514. const worksheet = workbook.addWorksheet('Sheet1')
  515. //根据数据自己调整
  516. let colums = []
  517. colums = [
  518. // { header: 'ID', key: 'id', width: 26 },
  519. // { header: '业务ID', key: 'businessPlanId', width: 26 },
  520. {
  521. header: '部门编码',
  522. key: 'deptId',
  523. width: 26
  524. },
  525. {
  526. header: '部门名称',
  527. key: 'deptName',
  528. width: 26
  529. },
  530. // { header: '部门编码', key: 'deptCode', width: 26 },
  531. {
  532. header: '排序',
  533. key: 'serialNumber',
  534. width: 26
  535. },
  536. {
  537. header: '指标名称',
  538. key: 'targetName',
  539. width: 18
  540. },
  541. {
  542. header: '目标值',
  543. key: 'targetValue',
  544. width: 18
  545. },
  546. {
  547. header: '评价标准',
  548. key: 'evaluationCriteria',
  549. width: 18
  550. },
  551. {
  552. header: '基础分',
  553. key: 'baseScore',
  554. width: 18
  555. },
  556. ]
  557. worksheet.columns = colums
  558. worksheet.getRow(1).font = {
  559. size: 12,
  560. bold: true
  561. }
  562. worksheet.addRows(data)
  563. workbook.xlsx.writeBuffer().then(buffer => {
  564. //这里为type
  565. const blob = new Blob([buffer], {
  566. type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8'
  567. })
  568. fileSave(blob, `本部部门业绩指标计划数据导出.xlsx`)
  569. })
  570. },
  571. }
  572. }
  573. </script>
  574. <style lang="less">
  575. .deptstartFrom {
  576. .el-overlay {
  577. .el-dialog {
  578. // margin-top: 7vh;
  579. .el-dialog__body {
  580. padding: 0 20px !important;
  581. .startDetail {
  582. .starttitleSty {
  583. font-size: 18px;
  584. font-family: Microsoft YaHei;
  585. font-weight: bold;
  586. color: #3B7AD1;
  587. // line-height: 12px;
  588. margin: 20px 0 20px 10px;
  589. }
  590. .danjuMsg {
  591. border: 1px solid #D6DBEA;
  592. padding: 10px 20px;
  593. border-radius: 10px;
  594. margin-bottom: 20px;
  595. .danjuMsg_data {
  596. padding: 5px 0 10px 0;
  597. .data_tit {
  598. margin-right: 10px;
  599. font-weight: bold;
  600. font-size: 14px;
  601. font-family: Microsoft YaHei;
  602. color: #8991B0;
  603. }
  604. .data_tit_wd {
  605. display: inline-block;
  606. width: 90px;
  607. }
  608. .el-form-item--small {
  609. .el-input {
  610. height: 25px;
  611. width: 160px;
  612. }
  613. margin-bottom: 0;
  614. .el-input-number {
  615. height: 25px;
  616. .el-input-number__decrease,
  617. .el-input-number__increase {
  618. right: -39px;
  619. }
  620. }
  621. }
  622. }
  623. }
  624. .el-select,
  625. .el-input {
  626. width: 100%;
  627. }
  628. .btnStartSeach {
  629. display: flex;
  630. z-index: 11111;
  631. justify-content: flex-end;
  632. position: relative;
  633. top: 32px;
  634. // left: 50vw;
  635. width: 100%;
  636. .seachFor {
  637. .el-input {
  638. height: 30px;
  639. .el-input__inner {
  640. height: 30px;
  641. }
  642. .el-input__suffix {
  643. .el-select__caret {
  644. line-height: 30px;
  645. }
  646. }
  647. }
  648. }
  649. .detaTableBtns {
  650. display: flex;
  651. justify-content: flex-end;
  652. // width: 300px;
  653. width: fit-content;
  654. margin-top: 5px;
  655. .tableBtn {
  656. display: flex;
  657. height: 20px;
  658. margin: 0 10px;
  659. // width: 20%;
  660. width: fit-content;
  661. img {
  662. margin-right: 5px;
  663. margin-top: 1px;
  664. }
  665. span {
  666. display: inline-block;
  667. // width: 100%;
  668. width: 35px;
  669. font-size: 14px;
  670. font-family: Microsoft YaHei;
  671. font-weight: 400;
  672. }
  673. }
  674. .add {
  675. cursor: pointer;
  676. span {
  677. color: #3B7AD1;
  678. }
  679. }
  680. .save {
  681. cursor: pointer;
  682. span {
  683. color: #50C14E;
  684. }
  685. }
  686. .edit {
  687. span {
  688. color: #F5A623;
  689. }
  690. }
  691. .delete {
  692. cursor: no-drop;
  693. span {
  694. color: #F65177;
  695. }
  696. }
  697. .import {
  698. cursor: pointer;
  699. span {
  700. color: #ce1e78;
  701. }
  702. }
  703. .export {
  704. cursor: pointer;
  705. span {
  706. color: #2baa8a;
  707. }
  708. }
  709. }
  710. }
  711. .el-tabs {
  712. .el-tabs__header {
  713. .el-tabs__nav {
  714. .el-tabs__item {
  715. font-size: 18px;
  716. font-family: Microsoft YaHei;
  717. font-weight: bold;
  718. margin: 0 10px;
  719. color: #8991B0;
  720. }
  721. .is-active {
  722. font-size: 18px;
  723. font-family: Microsoft YaHei;
  724. font-weight: bold;
  725. color: #3B7AD1;
  726. margin: 0 10px;
  727. }
  728. }
  729. }
  730. .el-table {
  731. margin-bottom: 10px;
  732. .el-table__body-wrapper {
  733. height: 38vh;
  734. }
  735. .el-table__row {
  736. .cell {
  737. .el-input {
  738. height: 24px;
  739. .el-input__inner {
  740. height: 24px;
  741. }
  742. }
  743. }
  744. }
  745. .indicitem {
  746. color: #409EFF;
  747. font-size: 12px;
  748. margin-right: 20px;
  749. cursor: pointer;
  750. &:hover {
  751. text-decoration: underline;
  752. }
  753. }
  754. }
  755. }
  756. }
  757. }
  758. .el-dialog__footer {
  759. .dialog-footer {
  760. display: flex;
  761. justify-content: center;
  762. .el-button {
  763. width: 180px !important;
  764. height: 40px !important;
  765. }
  766. }
  767. }
  768. }
  769. }
  770. }
  771. </style>