taskCenterDeptStartFrom.vue 31 KB

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