evaluationAmendmentNewFrom.vue 39 KB

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