taskCenterEvlNewFrom.vue 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  1. <template>
  2. <div class="startFrom">
  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="monthQuarterYear">
  49. <el-tabs v-model="activeName" class="tableMain" @tab-click="handleClick">
  50. <el-tab-pane v-for="it in stageData" :key="it.id" :label="it.stageName" :name="it.stageCode">
  51. <div class="detailsHeader">
  52. <div class="headerLeft">
  53. <el-tag v-for="tag in indicatorList" :key="tag.id" size="large" class="tagArr"
  54. effect="dark" :type="tag.id === isClickTagId ? '': 'info'" @click="handleShowPage(tag)">
  55. <span>{{ tag.indicator_name }}</span>
  56. </el-tag>
  57. </div>
  58. <div class="headerRight">
  59. <div class="tableBtn add" @click="addTableDetail"
  60. v-if="(activeName === 'ZDZX' || activeName === 'GLSX') && indicatorList.length > 0">
  61. <img :src="addIcon" alt="">
  62. <span>新增</span>
  63. </div>
  64. <div class="tableBtn save" @click="saveAddDetail"
  65. v-if="(activeName === 'ZDZX' || activeName === 'GLSX') && indicatorList.length > 0">
  66. <img :src="saveIcon" alt="">
  67. <span>保存</span>
  68. </div>
  69. <div class="tableBtn save" @click="saveDetail" v-else>
  70. <img :src="saveIcon" alt="">
  71. <span>保存</span>
  72. </div>
  73. <div class="tableBtn import" @click="handleImport">
  74. <img :src="importIcon" alt="">
  75. <span>导入</span>
  76. </div>
  77. <div class="tableBtn export" @click="handleExport">
  78. <img :src="exportIcon" alt="">
  79. <span>导出</span>
  80. </div>
  81. </div>
  82. </div>
  83. <el-table :data="monthQuarterYearData" style="width: 100%" ref="monthQuarterYearTT" :border="true" >
  84. <el-table-column type="index" label="排名" align="center"></el-table-column>
  85. <el-table-column label="考评单位" prop="organizationShortName" width="300" />
  86. <el-table-column v-for="(it, index) in monthQuarterYearHeader" :key="index" :label="it.name" align="center">
  87. <el-table-column v-for="(iv, index) in it.children" :key="index" :label="iv.key" align="center">
  88. <template #default="scope">
  89. <el-input v-model="scope.row[iv.code]" v-if="!scope.row['IS_LH_'+iv.code]"></el-input>
  90. <el-input-number v-model="scope.row[iv.code]" v-else />
  91. </template>
  92. </el-table-column>
  93. </el-table-column>
  94. </el-table>
  95. </el-tab-pane>
  96. </el-tabs>
  97. <div class="tableSeach">
  98. <div class="seachType" v-for="item in titleMsgArr" :key="item.isName"
  99. :class="item.showClick? 'seachTypeCha':''" @click="changType(item)">
  100. <img :src="item.img" alt="" v-if="!item.showClick">
  101. <img :src="item.clickImg" alt="" v-else>
  102. <p :style="item.showClick? 'color: #3B7AD1' : ''">{{item.isName}}</p>
  103. </div>
  104. </div>
  105. </div>
  106. <div>
  107. <p class="starttitleSty">审批意见:</p>
  108. <el-input v-model="descMsg" :rows="3" type="textarea" placeholder="请输入审批意见"></el-input>
  109. </div>
  110. </div>
  111. <!-- <template #footer>
  112. <span class="dialog-footer">
  113. <el-button type="primary" @click="dialogVisible = false">取 消</el-button>
  114. </span>
  115. </template> -->
  116. <template #footer>
  117. <span class="dialog-footer">
  118. <el-button type="primary" @click="examineAndApprove('agree')">同 意</el-button>
  119. <el-button @click="examineAndApprove('reject')">拒 绝</el-button>
  120. </span>
  121. </template>
  122. </el-dialog>
  123. <import-dailog ref="importPage" @successImport="successImport"></import-dailog>
  124. </div>
  125. </template>
  126. <script>
  127. import importDailog from '../importPage/importDailog.vue'
  128. import {apiGetEvaluationIndicatorList,apiGetgetEvaluationInfoDataList,apiGetbinsectionList, apiGetbinstageList,
  129. apiPostorganizationUpdateEvaluationInfo, apiPostorganizationUpdateAddEvaluationInfo} from '../../api/api'
  130. import * as XLSX from 'xlsx'
  131. import { saveAs } from 'file-saver'
  132. import * as XLSXD from 'xlsx-js-style'
  133. import sectionDef from '../../assets/benchmarkImg/sectionDef.png'
  134. import sectionCha from '../../assets/benchmarkImg/sectionCha.png'
  135. import addIcon from '../../assets/btnIcon/add.png'
  136. import saveIcon from '../../assets/btnIcon/save.png'
  137. import exportIcon from '../../assets/btnIcon/export.png'
  138. import importIcon from '../../assets/btnIcon/import.png'
  139. export default {
  140. components: {
  141. importDailog
  142. },
  143. data() {
  144. return {
  145. dialogVisible: false,
  146. activeName: '',
  147. monthQuarterYearData: [],
  148. monthQuarterYearHeader: [],
  149. indicatorList: [],
  150. isClickTagId: '',
  151. receiptMsg: {
  152. code: '',
  153. des: '',
  154. stage: '',
  155. createName: '',
  156. createDate: '',
  157. type: '',
  158. year: '',
  159. recStage: ''
  160. },
  161. rowMsg: {},
  162. moduleData: [],
  163. stageData: [],
  164. titleMsgArr: [],
  165. binSectionStr: '',
  166. addIcon: addIcon,
  167. saveIcon: saveIcon,
  168. exportIcon: exportIcon,
  169. importIcon: importIcon,
  170. addstageId: '',
  171. userMes: {},
  172. instanceChild: {}
  173. }
  174. },
  175. created() {
  176. },
  177. methods: {
  178. init(row, type) {
  179. this.dialogVisible = true
  180. this.receiptMsg = {
  181. code: row.organizationEvaluationCode,
  182. des: row.des,
  183. stage: row.stage,
  184. createName: row.createName,
  185. createDate: row.createTime,
  186. type: row.checkCycle === 'YDKP'?'月度考评':row.checkCycle === 'JDKP'?'季度考评':'年度考评',
  187. year: row.year,
  188. recStage: '有效'
  189. }
  190. this.userMes = JSON.parse(window.sessionStorage.getItem('user'))
  191. this.getModelData(type)
  192. this.rowMsg = row
  193. },
  194. // 获取业务属性
  195. getModelData(type) {
  196. let that = this
  197. that.titleMsgArr = []
  198. let params = {
  199. type: type === '年度' ? '3' : '2'
  200. }
  201. apiGetbinsectionList(params).then(datas =>{
  202. if (datas && datas.data) {
  203. that.moduleData = datas.data
  204. that.moduleData.forEach(item =>{
  205. let obj = {
  206. id: item.id,
  207. isName: item.sectionName === '新能源(光电)' ? '新能源光电' : item.sectionName === '新能源(风电)' ? '新能源风电' : item.sectionName,
  208. isNameEn: item.sectionCode,
  209. showClick: false,
  210. isClass: 'sectionDef',
  211. img: sectionDef,
  212. isClassC: 'sectionCha',
  213. clickImg: sectionCha
  214. }
  215. that.titleMsgArr.push(obj)
  216. })
  217. that.titleMsgArr[0].showClick = true
  218. that.binSectionStr = that.titleMsgArr[0].id
  219. that.getStageData()
  220. }
  221. })
  222. },
  223. //根据业务属性获取业务阶段
  224. getStageData() {
  225. let that = this
  226. apiGetbinstageList().then(datas =>{
  227. if (datas && datas.data) {
  228. that.stageData = datas.data
  229. that.activeName = datas.data[0].stageCode
  230. that.getTableHeaderData(datas.data[0].id)
  231. }
  232. })
  233. },
  234. //获取指标数据
  235. getTableHeaderData(id) {
  236. let that = this
  237. that.monthQuarterYearHeader = []
  238. that.monthQuarterYearData = []
  239. that.isClickTagId = ''
  240. let params = {
  241. organizationEvaluationId: that.rowMsg.id,
  242. binSection: that.binSectionStr,
  243. binStage: id
  244. }
  245. apiGetEvaluationIndicatorList(params).then(datas =>{
  246. if (datas && datas.data) {
  247. that.indicatorList = datas.data
  248. if (datas.data.length>0) {
  249. that.isClickTagId = datas.data[0].id
  250. that.getTableData(that.isClickTagId)
  251. }
  252. }
  253. })
  254. },
  255. // 根据流程ID获取业务ID
  256. // getTaskId(row) {
  257. // let that = this
  258. // let params = {
  259. // id: row.instId,
  260. // iamCode: window.localStorage.getItem('code')
  261. // }
  262. // apiPostgetInstanceAndChildren(params).then(datas =>{
  263. // if (datas && datas.data) {
  264. // that.instanceChild = datas.data.data.bpmInstance
  265. // let keyId = datas.data.data.bpmInstance.bizKey
  266. // that.tastbizKey = datas.data.data.bpmInstance.bizKey
  267. // that.taskDefKey = datas.data.data.bpmInstance.defKey
  268. // that.getevalStartDetails(keyId, that.instanceChild.defKey)
  269. // that.getOrgRule(keyId, that.instanceChild.defKey)
  270. // }
  271. // })
  272. // },
  273. handleClick(val) {
  274. let stageId = ''
  275. this.stageData.forEach(it =>{
  276. if (it.stageCode === val.props.name) {
  277. stageId = it.id
  278. }
  279. })
  280. this.getTableHeaderData(stageId)
  281. },
  282. //获取表格数据
  283. getTableData(id) {
  284. let that = this
  285. let params = {
  286. organizationEvaluationId: that.rowMsg.id,
  287. indicatorId: id
  288. }
  289. apiGetgetEvaluationInfoDataList(params).then(datas =>{
  290. if (datas && datas.data) {
  291. if (datas.data.title) {
  292. let header = []
  293. for(let i in datas.data.title) {
  294. let obj = {
  295. name: i,
  296. children: datas.data.title[i]
  297. }
  298. header.push(obj)
  299. }
  300. that.monthQuarterYearHeader = header
  301. }
  302. that.monthQuarterYearData = datas.data.value
  303. }
  304. })
  305. },
  306. handleShowPage(tag) {
  307. this.isClickTagId = tag.id
  308. this.monthQuarterYearHeader = []
  309. this.monthQuarterYearData = []
  310. this.getTableData(tag.id)
  311. },
  312. changType(data) {
  313. this.titleMsgArr.forEach(it =>{
  314. it.showClick = false
  315. if (it.isName === data.isName) {
  316. it.showClick = true
  317. this.binSectionStr = it.id
  318. }
  319. })
  320. let stageId = ''
  321. this.stageData.forEach(it =>{
  322. if (it.stageCode === this.activeName) {
  323. stageId = it.id
  324. }
  325. })
  326. this.getTableHeaderData(stageId)
  327. },
  328. addTableDetail() {
  329. console.log('表头数据11====>>>>>>>', this.monthQuarterYearHeader)
  330. if (this.monthQuarterYearHeader.length>0) {
  331. let headerArr = []
  332. this.monthQuarterYearHeader.forEach(item =>{
  333. headerArr = headerArr.concat(item.children)
  334. })
  335. console.log('表头数据22====>>>>>>>', headerArr)
  336. this.addstageId = ''
  337. this.stageData.forEach(it =>{
  338. if (it.stageCode === this.activeName) {
  339. this.addstageId = it.id
  340. }
  341. })
  342. let obj = {
  343. isAdd: true,
  344. }
  345. headerArr.forEach(it =>{
  346. obj[it.code] = ''
  347. obj['IS_LH_'+it.code] = it.flag
  348. })
  349. this.monthQuarterYearData.unshift(obj)
  350. }
  351. console.log('表格数据====>>>>>>>', this.monthQuarterYearData)
  352. },
  353. saveAddDetail() {
  354. let that = this
  355. let addParams = []
  356. let saveParams = []
  357. let addObj = {
  358. organizationId: that.userMes.unitId,
  359. // organizationId: "23079300",
  360. organizationEvaluationId: that.rowMsg.id,
  361. indicatorId: that.isClickTagId,
  362. binSection: that.binSectionStr,
  363. binStage: that.addstageId,
  364. optionMap: {}
  365. }
  366. that.monthQuarterYearData.forEach(it =>{
  367. if (it.isAdd) {
  368. addObj.optionMap = it
  369. addParams.push(addObj)
  370. } else {
  371. saveParams.push(it)
  372. }
  373. })
  374. if (addParams.length > 0) {
  375. apiPostorganizationUpdateAddEvaluationInfo(addParams).then(datas =>{
  376. if (datas) {
  377. that.responseData(datas)
  378. }
  379. })
  380. }
  381. if (saveParams.length > 0) {
  382. apiPostorganizationUpdateEvaluationInfo(saveParams).then(datas =>{
  383. if (datas) {
  384. that.responseData(datas)
  385. }
  386. })
  387. }
  388. },
  389. // 返回数据
  390. responseData(datas) {
  391. if (datas.message === '成功') {
  392. this.$message({
  393. message: '考评详情信息保存成功',
  394. type: 'success'
  395. });
  396. } else {
  397. this.$message({
  398. message: datas.message,
  399. type: 'error'
  400. });
  401. }
  402. this.getTableData(this.isClickTagId)
  403. },
  404. saveDetail() {
  405. let that = this
  406. apiPostorganizationUpdateEvaluationInfo(that.monthQuarterYearData).then(datas =>{
  407. if (datas) {
  408. if (datas.message === '成功') {
  409. that.$message({
  410. message: '考评详情信息保存成功',
  411. type: 'success'
  412. });
  413. } else {
  414. that.$message({
  415. message: datas.message,
  416. type: 'error'
  417. });
  418. }
  419. that.getTableData(that.isClickTagId)
  420. }
  421. })
  422. },
  423. handleImport() {
  424. this.$refs.importPage.upload.title = "考评详情信息导入"
  425. this.$refs.importPage.upload.open = true
  426. this.$refs.importPage.upload.url = '/organization-evaluation-info/import-excel'
  427. },
  428. successImport(val) {
  429. that.getTableData(that.isClickTagId)
  430. },
  431. handleExport() {
  432. let indexvs = 0
  433. this.stageData.forEach((it, index) =>{
  434. if (it.stageCode === this.activeName) {
  435. indexvs = index
  436. }
  437. })
  438. let $e = this.$refs.monthQuarterYearTT[indexvs].$el
  439. try {
  440. let $table = $e.querySelector('.el-table__fixed')
  441. if(!$table) {
  442. $table = $e
  443. }
  444. const wb = XLSX.utils.table_to_book($table, {raw:true})
  445. const wbout = XLSXD.write(wb, {bookType: 'xlsx', bookSST:true, type: 'array'})
  446. saveAs(
  447. new Blob([wbout],{type: 'application/octet-stream'}),
  448. `考评详情数据导出.xlsx`,
  449. )
  450. } catch (e) {
  451. if (typeof console !== 'undefined') console.error(e)
  452. }
  453. },
  454. examineAndApprove(type) {
  455. let that = this
  456. let actionCS = ''
  457. if (type === 'agree') {
  458. if (that.rowMsg.taskType === 'SIGN') {
  459. actionCS = 'signAgree'
  460. } else if (that.rowMsg.taskType === 'NORMAL') {
  461. actionCS = 'agree'
  462. }
  463. } else {
  464. if (that.rowMsg.taskType === 'SIGN') {
  465. actionCS = 'signReject'
  466. } else if (that.rowMsg.taskType === 'NORMAL') {
  467. actionCS = 'reject'
  468. }
  469. }
  470. let params = {
  471. taskId: that.rowMsg.id, //任务ID
  472. nodeId: that.rowMsg.nodeId, //节点ID
  473. action: actionCS, //固定值
  474. instanceId: that.rowMsg.instId, //流程实例ID
  475. opinion: that.descMsg, //审批意见
  476. iamCode: window.localStorage.getItem('code'), //认证后code值
  477. taskName: that.rowMsg.name,
  478. defKey: that.instanceChild.defKey,
  479. bizKey: that.instanceChild.bizKey
  480. }
  481. apiPostIsdoAction(params).then(datas =>{
  482. if (datas && datas.data) {
  483. if (datas.data.isOk) {
  484. that.$message({
  485. message: datas.data.data,
  486. type: 'success'
  487. })
  488. that.dialogVisible = false
  489. that.$emit('approveMsg', datas.data.isOk)
  490. } else {
  491. that.$message({
  492. message: datas.data.msg,
  493. type: 'error'
  494. })
  495. }
  496. }
  497. })
  498. },
  499. }
  500. }
  501. </script>
  502. <style lang="less">
  503. .startFrom{
  504. .el-overlay{
  505. .el-dialog{
  506. // margin-top: 7vh;
  507. .el-dialog__body{
  508. padding: 0 20px !important;
  509. .startDetail{
  510. .starttitleSty{
  511. font-size: 18px;
  512. font-family: Microsoft YaHei;
  513. font-weight: bold;
  514. color: #3B7AD1;
  515. // line-height: 12px;
  516. margin: 20px 0 20px 10px;
  517. }
  518. .danjuMsg{
  519. border: 1px solid #D6DBEA;
  520. padding: 10px 20px;
  521. border-radius: 10px;
  522. // margin-bottom: 20px;
  523. .danjuMsg_data{
  524. padding: 5px 0 10px 0;
  525. .data_tit{
  526. margin-right: 10px;
  527. font-weight: bold;
  528. font-size: 14px;
  529. font-family: Microsoft YaHei;
  530. color: #8991B0;
  531. }
  532. .data_tit_wd{
  533. display: inline-block;
  534. width: 90px;
  535. }
  536. .el-form-item--small{
  537. .el-input{
  538. height: 25px;
  539. width: 160px;
  540. }
  541. margin-bottom: 0;
  542. .el-input-number{
  543. height: 25px;
  544. .el-input-number__decrease, .el-input-number__increase{
  545. right: -39px;
  546. }
  547. }
  548. }
  549. }
  550. }
  551. .el-select, .el-input{
  552. width: 100%;
  553. }
  554. .monthQuarterYear{
  555. display: flex;
  556. width: 100%;
  557. margin-top: 20px;
  558. .tableMain{
  559. width: calc(100% - 100px);
  560. .el-tabs__header{
  561. .el-tabs__nav{
  562. .el-tabs__item{
  563. font-size: 18px;
  564. font-family: Microsoft YaHei;
  565. font-weight: bold;
  566. margin: 0 10px;
  567. color: #8991B0;
  568. }
  569. .is-active{
  570. font-size: 18px;
  571. font-family: Microsoft YaHei;
  572. font-weight: bold;
  573. color: #3B7AD1;
  574. margin: 0 10px;
  575. }
  576. }
  577. }
  578. .detailsHeader{
  579. width: 100%;
  580. display: flex;
  581. justify-content: space-between;
  582. .headerLeft{
  583. display: flex;
  584. width: 80%;
  585. .tagArr {
  586. height: 33px;
  587. margin-right: 10px;
  588. cursor: pointer;
  589. margin-bottom: 10px;
  590. }
  591. .el-tag--dark {
  592. background-color: #184FB4;
  593. border: 1px solid #184FB4;
  594. }
  595. .el-tag--info {
  596. background-color: #E6EBF5;
  597. border: 1px solid #E6EBF5;
  598. color: #9DA5BE;
  599. .el-tag__close {
  600. color: #9DA5BE;
  601. }
  602. }
  603. }
  604. .headerRight{
  605. display: flex;
  606. justify-content: end;
  607. width: 20%;
  608. margin-bottom: 5px;
  609. .tableBtn {
  610. display: flex;
  611. height: 20px;
  612. margin: 0 10px;
  613. img{
  614. margin-right: 5px;
  615. margin-top: 1px;
  616. }
  617. span{
  618. font-size: 14px;
  619. font-family: Microsoft YaHei;
  620. font-weight: 400;
  621. }
  622. }
  623. .add{
  624. cursor: pointer;
  625. span{
  626. color: #3B7AD1;
  627. }
  628. }
  629. .save{
  630. cursor: pointer;
  631. span{
  632. color: #50C14E;
  633. }
  634. }
  635. .import{
  636. cursor: pointer;
  637. span{
  638. color: #ce1e78;
  639. }
  640. }
  641. .export{
  642. cursor: pointer;
  643. span{
  644. color: #2baa8a;
  645. }
  646. }
  647. }
  648. }
  649. .el-table {
  650. .el-table__header-wrapper{
  651. .el-table__header{
  652. .el-table__cell {
  653. border-bottom: none !important;
  654. }
  655. thead{
  656. tr{
  657. th{
  658. .cell{
  659. line-height: 16px;
  660. }
  661. }
  662. }
  663. }
  664. }
  665. }
  666. .el-table__body-wrapper {
  667. height: 35vh !important;
  668. .el-scrollbar{
  669. .is-horizontal{
  670. .el-scrollbar__thumb{
  671. width: 100% !important;
  672. }
  673. }
  674. .el-table__body{
  675. tr{
  676. td{
  677. padding: 0;
  678. .cell{
  679. background: #F6F7FA;
  680. line-height: 47px;
  681. height: 47px;
  682. }
  683. }
  684. td:hover {
  685. line-height: 45px;
  686. height: 45px;
  687. }
  688. }
  689. }
  690. }
  691. }
  692. .el-table--border .el-table__cell{
  693. border: none;
  694. }
  695. .el-table thead.is-group th.el-table__cell{
  696. background: transparent;
  697. }
  698. .tooltipCC {
  699. width: 180px;
  700. display: inline-block;
  701. overflow: hidden;
  702. text-overflow: ellipsis;
  703. white-space: nowrap;
  704. }
  705. }
  706. .el-pagination {
  707. margin-top: 20px;
  708. text-align: end;
  709. position: relative;
  710. }
  711. }
  712. .tableSeach{
  713. width: 88px;
  714. height: 50vh;
  715. margin-left: 10px;
  716. margin-top: 37px;
  717. border: 1px solid #D6DBEA;
  718. padding: 5px 0;
  719. border-radius: 5px;
  720. overflow-y: auto;
  721. .seachType{
  722. width: 78px;
  723. height: 78px;
  724. cursor: pointer;
  725. border-left: 3px solid transparent;
  726. img{
  727. margin-top: 17px;
  728. margin-left: 27px;
  729. }
  730. p{
  731. text-align: center;
  732. font-size: 14px;
  733. }
  734. }
  735. .seachTypeCha{
  736. background: #E6EBF5;
  737. cursor: pointer;
  738. border-left: 3px solid #3B7AD1;
  739. }
  740. }
  741. }
  742. }
  743. }
  744. .el-dialog__footer{
  745. .dialog-footer{
  746. display: flex;
  747. justify-content: center;
  748. .el-button{
  749. width: 180px !important;
  750. height: 40px !important;
  751. }
  752. }
  753. }
  754. }
  755. }
  756. }
  757. </style>