evaluationAmendmentNewFrom.vue 39 KB

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