evaluationStartNewFrom.vue 37 KB

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