evaluationAmendmentNewFrom.vue 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819
  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(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 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. organizationShortName: that.compNameSa
  380. }
  381. apiGetgetevaluationrevisiondetails(params).then(datas =>{
  382. if (datas && datas.data) {
  383. if (datas.data.title) {
  384. let header = []
  385. for(let i in datas.data.title) {
  386. let obj = {
  387. name: i,
  388. children: datas.data.title[i]
  389. }
  390. header.push(obj)
  391. }
  392. that.monthQuarterYearHeader = header
  393. }
  394. that.monthQuarterYearData = datas.data.value
  395. }
  396. })
  397. },
  398. changType(data) {
  399. this.titleMsgArr.forEach(it =>{
  400. it.showClick = false
  401. if (it.isName === data.isName) {
  402. it.showClick = true
  403. this.binSectionStr = it.id
  404. this.binSectionCode = data.isNameEn
  405. }
  406. })
  407. let stageId = ''
  408. this.stageData.forEach(it =>{
  409. if (it.stageCode === this.activeName) {
  410. stageId = it.id
  411. }
  412. })
  413. this.getTableData(stageId)
  414. },
  415. // 修订数据
  416. amendmentDetail() {
  417. let that = this
  418. that.revisionVisible = true
  419. that.revisionData = []
  420. let params = {
  421. id: that.rowMsg.id
  422. }
  423. apiGetevaluationrevisionPopUpData(params).then(datas =>{
  424. if (datas && datas.data) {
  425. that.revisionData = datas.data
  426. }
  427. })
  428. },
  429. revisionClick(selection, row) {
  430. this.revisioDataSelect = selection
  431. },
  432. revisionOk() {
  433. this.revisionVisible = false
  434. },
  435. addTableDetail() {
  436. console.log('表头数据11====>>>>>>>', this.monthQuarterYearHeader)
  437. if (this.monthQuarterYearHeader.length>0) {
  438. let headerArr = []
  439. this.monthQuarterYearHeader.forEach(item =>{
  440. headerArr = headerArr.concat(item.children)
  441. })
  442. console.log('表头数据22====>>>>>>>', headerArr)
  443. this.addstageId = ''
  444. this.stageData.forEach(it =>{
  445. if (it.stageCode === this.activeName) {
  446. this.addstageId = it.id
  447. }
  448. })
  449. let obj = {
  450. isAdd: true,
  451. }
  452. headerArr.forEach(it =>{
  453. obj[it.code] = ''
  454. obj['IS_LH_'+it.code] = it.flag
  455. })
  456. this.monthQuarterYearData.unshift(obj)
  457. }
  458. console.log('表格数据====>>>>>>>', this.monthQuarterYearData)
  459. },
  460. saveAddDetail() {
  461. let that = this
  462. let addParams = []
  463. let saveParams = []
  464. let addObj = {
  465. organizationId: that.userMes.unitId,
  466. // organizationId: "23079300",
  467. organizationEvaluationId: that.rowMsg.id,
  468. indicatorId: that.isClickTagId,
  469. binSection: that.binSectionStr,
  470. binStage: that.addstageId,
  471. optionMap: {}
  472. }
  473. that.monthQuarterYearData.forEach(it =>{
  474. if (it.isAdd) {
  475. addObj.optionMap = it
  476. addParams.push(addObj)
  477. } else {
  478. saveParams.push(it)
  479. }
  480. })
  481. if (addParams.length > 0) {
  482. apiPostorganizationUpdateAddEvaluationInfo(addParams).then(datas =>{
  483. if (datas) {
  484. that.responseData(datas)
  485. }
  486. })
  487. }
  488. if (saveParams.length > 0) {
  489. apiPostupdateevaluationrevisionInfo(saveParams).then(datas =>{
  490. if (datas) {
  491. that.responseData(datas)
  492. }
  493. })
  494. }
  495. },
  496. // 返回数据
  497. responseData(datas) {
  498. if (datas.message === '成功') {
  499. this.$message({
  500. message: '考评目标详情信息保存成功',
  501. type: 'success'
  502. });
  503. } else {
  504. this.$message({
  505. message: datas.message,
  506. type: 'error'
  507. });
  508. }
  509. this.getTableData(this.addstageId)
  510. },
  511. saveDetail() {
  512. let that = this
  513. apiPostupdateevaluationrevisionInfo(that.monthQuarterYearData).then(datas =>{
  514. if (datas) {
  515. if (datas.message === '成功') {
  516. that.$message({
  517. message: '考评目标详情信息保存成功',
  518. type: 'success'
  519. });
  520. } else {
  521. that.$message({
  522. message: datas.message,
  523. type: 'error'
  524. });
  525. }
  526. that.getTableData(that.addstageId)
  527. }
  528. })
  529. },
  530. handleImport() {
  531. this.$refs.importPage.upload.title = "考评目标详情信息导入"
  532. this.$refs.importPage.upload.open = true
  533. this.$refs.importPage.upload.url = '/responsibility-indicator-info/import-excel'
  534. },
  535. successImport(val) {
  536. that.getTableData(that.addstageId)
  537. },
  538. handleExport() {
  539. let that = this
  540. let url = 'responsibility-indicator-info/download-excel'
  541. let params = {
  542. responsibilityId: that.rowMsg.id,
  543. binSection: that.binSectionStr,
  544. binStage: that.addstageId
  545. }
  546. apiGetExportMsg(url,params).then(datas =>{
  547. let blob = new Blob([datas])
  548. saveAs(blob, '考评目标详情数据导出.xlsx')
  549. }).catch((r) => {
  550. console.error(r)
  551. })
  552. },
  553. }
  554. }
  555. </script>
  556. <style lang="less">
  557. .evaluationAmendmentFrom{
  558. .el-overlay{
  559. .el-dialog{
  560. // margin-top: 7vh;
  561. .el-dialog__body{
  562. padding: 0 20px !important;
  563. .startDetail{
  564. .starttitleSty{
  565. font-size: 18px;
  566. font-family: Microsoft YaHei;
  567. font-weight: bold;
  568. color: #3B7AD1;
  569. // line-height: 12px;
  570. margin: 20px 0 20px 10px;
  571. }
  572. .danjuMsg{
  573. border: 1px solid #D6DBEA;
  574. padding: 10px 20px;
  575. border-radius: 10px;
  576. // margin-bottom: 20px;
  577. .danjuMsg_data{
  578. padding: 5px 0 10px 0;
  579. .data_tit{
  580. margin-right: 10px;
  581. font-weight: bold;
  582. font-size: 14px;
  583. font-family: Microsoft YaHei;
  584. color: #8991B0;
  585. }
  586. .data_tit_wd{
  587. display: inline-block;
  588. width: 90px;
  589. }
  590. .el-form-item--small{
  591. .el-input{
  592. height: 25px;
  593. width: 160px;
  594. }
  595. margin-bottom: 0;
  596. .el-input-number{
  597. height: 25px;
  598. .el-input-number__decrease, .el-input-number__increase{
  599. right: -39px;
  600. }
  601. }
  602. }
  603. }
  604. }
  605. .el-select, .el-input{
  606. width: 100%;
  607. }
  608. .monthQuarterYear{
  609. display: flex;
  610. width: 100%;
  611. margin-top: 20px;
  612. .tableMain{
  613. width: calc(100% - 100px);
  614. .el-tabs__header{
  615. .el-tabs__nav{
  616. .el-tabs__item{
  617. font-size: 18px;
  618. font-family: Microsoft YaHei;
  619. font-weight: bold;
  620. margin: 0 10px;
  621. color: #8991B0;
  622. }
  623. .is-active{
  624. font-size: 18px;
  625. font-family: Microsoft YaHei;
  626. font-weight: bold;
  627. color: #3B7AD1;
  628. margin: 0 10px;
  629. }
  630. }
  631. }
  632. .detailsHeader{
  633. width: 100%;
  634. display: flex;
  635. .headerRight{
  636. display: flex;
  637. justify-content: end;
  638. width: 100%;
  639. margin-bottom: 5px;
  640. .seachFor{
  641. display: flex;
  642. .el-input{
  643. height: 30px;
  644. .el-input__inner{
  645. height:30px;
  646. }
  647. .el-input__suffix{
  648. .el-select__caret{
  649. line-height:30px;
  650. }
  651. }
  652. }
  653. .el-icon{
  654. margin: 5px 10px 0 10px;
  655. cursor: pointer;
  656. }
  657. }
  658. .tableBtn {
  659. display: flex;
  660. height: 20px;
  661. margin: 5px 10px 0 10px;
  662. width: 13%;
  663. img{
  664. margin-right: 5px;
  665. margin-top: 1px;
  666. }
  667. span{
  668. font-size: 14px;
  669. font-family: Microsoft YaHei;
  670. font-weight: 400;
  671. }
  672. }
  673. .add{
  674. cursor: pointer;
  675. span{
  676. color: #3B7AD1;
  677. }
  678. }
  679. .save{
  680. cursor: pointer;
  681. span{
  682. color: #50C14E;
  683. }
  684. }
  685. .import{
  686. cursor: pointer;
  687. span{
  688. color: #ce1e78;
  689. }
  690. }
  691. .export{
  692. cursor: pointer;
  693. span{
  694. color: #2baa8a;
  695. }
  696. }
  697. }
  698. }
  699. .el-table {
  700. .el-table__header-wrapper{
  701. .el-table__header{
  702. .el-table__cell {
  703. border-bottom: none !important;
  704. }
  705. thead{
  706. tr{
  707. th{
  708. .cell{
  709. line-height: 16px;
  710. }
  711. }
  712. }
  713. }
  714. }
  715. }
  716. .el-table__body-wrapper {
  717. height: 47vh !important;
  718. .el-scrollbar{
  719. .is-horizontal{
  720. .el-scrollbar__thumb{
  721. // width: 100% !important;
  722. }
  723. }
  724. .el-table__body{
  725. tr{
  726. td{
  727. padding: 0;
  728. .cell{
  729. background: #F6F7FA;
  730. line-height: 47px;
  731. height: 47px;
  732. }
  733. }
  734. td:hover {
  735. line-height: 45px;
  736. height: 45px;
  737. }
  738. }
  739. }
  740. }
  741. }
  742. .el-table--border .el-table__cell{
  743. border: none;
  744. }
  745. .el-table thead.is-group th.el-table__cell{
  746. background: transparent;
  747. }
  748. .tooltipCC {
  749. width: 180px;
  750. display: inline-block;
  751. overflow: hidden;
  752. text-overflow: ellipsis;
  753. white-space: nowrap;
  754. }
  755. }
  756. .el-pagination {
  757. margin-top: 20px;
  758. text-align: end;
  759. position: relative;
  760. }
  761. }
  762. .tableSeach{
  763. width: 88px;
  764. height: 63vh;
  765. margin-left: 10px;
  766. margin-top: 37px;
  767. border: 1px solid #D6DBEA;
  768. padding: 5px 0;
  769. border-radius: 5px;
  770. overflow-y: auto;
  771. .seachType{
  772. width: 78px;
  773. height: 78px;
  774. cursor: pointer;
  775. border-left: 3px solid transparent;
  776. img{
  777. margin-top: 17px;
  778. margin-left: 27px;
  779. }
  780. p{
  781. text-align: center;
  782. font-size: 14px;
  783. }
  784. }
  785. .seachTypeCha{
  786. background: #E6EBF5;
  787. cursor: pointer;
  788. border-left: 3px solid #3B7AD1;
  789. }
  790. }
  791. }
  792. }
  793. }
  794. .el-dialog__footer{
  795. .dialog-footer{
  796. display: flex;
  797. justify-content: center;
  798. .el-button{
  799. width: 180px !important;
  800. height: 40px !important;
  801. }
  802. }
  803. }
  804. }
  805. }
  806. }
  807. </style>