taskCenterEvlNewFrom.vue 36 KB

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