monthQuarterYearFrom.vue 35 KB

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