monthQuarterFrom.vue 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819
  1. <template>
  2. <div class="startFrom">
  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="btnASeach">
  49. <div class="seachFor">
  50. <el-select v-model="moduleNameSa" placeholder="请选择业务属性">
  51. <el-option
  52. v-for="item in moduleData"
  53. :key="item.id"
  54. :label="item.sectionName"
  55. :value="item.id">
  56. </el-option>
  57. </el-select>
  58. <el-input v-model="compNameSa" placeholder="请输入单位名称"></el-input>
  59. <el-input v-model="deptNameSa" placeholder="请输入填报部门"></el-input>
  60. <el-input v-model="evalNameSa" placeholder="请输入指标名称"></el-input>
  61. <el-icon :size="20" color="#3B7AD1" @click="seachDeptAEval"><Search /></el-icon>
  62. <el-icon :size="20" color="#3B7AD1" @click="clearDeptAEval"><CircleClose /></el-icon>
  63. </div>
  64. <div class="dateTableBtns">
  65. <!-- -->
  66. <div class="tableBtn add" @click="addTableDetail" v-if="activeName === 'second'">
  67. <img :src="addIcon" alt="">
  68. <span>新增</span>
  69. </div>
  70. <!-- v-if="$utils.havePurview('monthQuarter:twoLevel:save')" -->
  71. <div class="tableBtn save" @click="saveDetail" v-if="$utils.havePurview('monthQuarter:twoLevel:save')">
  72. <img :src="saveIcon" alt="">
  73. <span>保存</span>
  74. </div>
  75. <!-- <div class="tableBtn edit">
  76. <img :src="editIcon" alt="">
  77. <span>新增</span>
  78. </div> -->
  79. <!-- <div class="tableBtn delete">
  80. <img :src="deleteIcon" alt="">
  81. <span>删除</span>
  82. </div> -->
  83. <div class="tableBtn import" @click="handleImport">
  84. <img :src="importIcon" alt="">
  85. <span>导入</span>
  86. </div>
  87. <div class="tableBtn export" @click="handleExport">
  88. <img :src="exportIcon" alt="">
  89. <span>导出</span>
  90. </div>
  91. </div>
  92. </div>
  93. <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
  94. <el-tab-pane label="考评指标项内容" name="first">
  95. <el-table :data="quantifiedList.slice((pageLeft.currentPage-1)*pageLeft.pagesize, pageLeft.currentPage*pageLeft.pagesize)" ref="table" style="width: 100%" @select="rowClick" @select-all="rowClick">
  96. <el-table-column type="selection" label="操作" align="center"></el-table-column>
  97. <el-table-column type="index" label="序号" width="80" />
  98. <el-table-column label="业务阶段" prop="stageName" />
  99. <el-table-column label="业务属性" prop="sectionName" />
  100. <el-table-column label="单位名称" prop="organizationShortName" width="300" />
  101. <el-table-column label="填报部门" prop="deptName" width="260" />
  102. <el-table-column label="指标分类" prop="typeName" />
  103. <el-table-column label="指标名称" prop="childName" />
  104. <el-table-column label="指标项" prop="optionName" />
  105. <el-table-column label="值" width="150">
  106. <template #default="scope">
  107. <el-input-number v-model="scope.row.quantifiedValue"
  108. :precision="2" :step="0.1" :min="0" :disabled="!scope.row.updateMark" />
  109. </template>
  110. </el-table-column>
  111. <el-table-column label="单位" prop="unit" />
  112. <el-table-column label="审核状态">
  113. <template #default="scope">
  114. <el-select v-model="scope.row.state" placeholder="请选择审核状态" :disabled="!scope.row.updateMark">
  115. <el-option
  116. v-for="item in statusData"
  117. :key="item.id"
  118. :label="item.name"
  119. :value="item.id">
  120. </el-option>
  121. </el-select>
  122. </template>
  123. </el-table-column>
  124. </el-table>
  125. <el-pagination
  126. @current-change="handleCurrentChangeLeft"
  127. :current-page="pageLeft.currentPage"
  128. :page-size="pageLeft.pagesize"
  129. layout="total, prev, pager, next, jumper"
  130. :total="pageLeft.total">
  131. </el-pagination>
  132. </el-tab-pane>
  133. <el-tab-pane label="考评评价指标内容" name="second">
  134. <el-table :data="nonQuantifiedList.slice((pageRight.currentPage-1)*pageRight.pagesize, pageRight.currentPage*pageRight.pagesize)" style="width: 100%">
  135. <el-table-column type="index" label="序号" width="80" />
  136. <el-table-column label="单位名称" prop="organizationShortName" width="300">
  137. <template #default="scope">
  138. <el-select v-model="scope.row.organizationShortName" placeholder="请选择单位名称"
  139. :disabled="!scope.row.showInput"
  140. @change="changeOrgZa">
  141. <el-option
  142. v-for="item in orgruleData"
  143. :key="item.id"
  144. :label="item.shortName"
  145. :value="item.id">
  146. </el-option>
  147. </el-select>
  148. </template>
  149. </el-table-column>
  150. <el-table-column label="指标分类" prop="typeName">
  151. <template #default="scope">
  152. <el-select v-model="scope.row.typeName" :disabled="!scope.row.showInput" placeholder="请选择指标分类">
  153. <el-option
  154. v-for="item in indicatorTypeData"
  155. :key="item.id"
  156. :label="item.typeName"
  157. :value="item.id">
  158. </el-option>
  159. </el-select>
  160. </template>
  161. </el-table-column>
  162. <el-table-column label="业务阶段" prop="stageName">
  163. <template #default="scope">
  164. <el-select v-model="scope.row.stageName" placeholder="请选择业务阶段"
  165. :disabled="!scope.row.showInput"
  166. @change="(val)=>changeIndic(val, scope.row)">
  167. <el-option
  168. v-for="item in stageData"
  169. :key="item.id"
  170. :label="item.stageName"
  171. :value="item.id">
  172. </el-option>
  173. </el-select>
  174. </template>
  175. </el-table-column>
  176. <el-table-column label="业务属性" prop="sectionName">
  177. <template #default="scope">
  178. <el-select v-model="scope.row.sectionName" placeholder="请选择业务阶段"
  179. :disabled="!scope.row.showInput"
  180. @change="(val)=>changeIndic(val, scope.row)">
  181. <el-option
  182. v-for="item in sectionNameArr"
  183. :key="item.id"
  184. :label="item.secName"
  185. :value="item.id">
  186. </el-option>
  187. </el-select>
  188. </template>
  189. </el-table-column>
  190. <el-table-column label="指标名称" prop="childName">
  191. <template #default="scope">
  192. <el-select v-model="scope.row.childName" placeholder="请选择指标名称"
  193. :disabled="!scope.row.showInput"
  194. @change="changeDept">
  195. <el-option
  196. v-for="item in indicItemoptions"
  197. :key="item.id"
  198. :label="item.indicatorName"
  199. :value="item.id">
  200. </el-option>
  201. </el-select>
  202. </template>
  203. </el-table-column>
  204. <el-table-column label="填报部门" prop="deptName" width="260">
  205. <template #default="scope">
  206. <el-select v-model="scope.row.deptName" placeholder="请选择填报部门" :disabled="!scope.row.showInput">
  207. <el-option
  208. v-for="item in deptNameArr"
  209. :key="item.id"
  210. :label="item.deptName"
  211. :value="item.id">
  212. </el-option>
  213. </el-select>
  214. </template>
  215. </el-table-column>
  216. <el-table-column label="指标项" prop="optionName">
  217. <template #default="scope">
  218. <el-input v-model="scope.row.optionName" disabled />
  219. </template>
  220. </el-table-column>
  221. <el-table-column label="值">
  222. <template #default="scope">
  223. <el-input v-model="scope.row.nonQuantifiedValue" :disabled="!scope.row.updateMark" />
  224. </template>
  225. </el-table-column>
  226. <el-table-column label="审核状态">
  227. <template #default="scope">
  228. <el-select v-model="scope.row.state" placeholder="请选择审核状态" :disabled="!scope.row.updateMark">
  229. <el-option
  230. v-for="item in statusData"
  231. :key="item.id"
  232. :label="item.name"
  233. :value="item.id">
  234. </el-option>
  235. </el-select>
  236. </template>
  237. </el-table-column>
  238. </el-table>
  239. <el-pagination
  240. @current-change="handleCurrentChangeRight"
  241. :current-page="pageRight.currentPage"
  242. :page-size="pageRight.pagesize"
  243. layout="total, prev, pager, next, jumper"
  244. :total="pageRight.total">
  245. </el-pagination>
  246. </el-tab-pane>
  247. </el-tabs>
  248. </div>
  249. <template #footer>
  250. <span class="dialog-footer">
  251. <el-button type="primary" @click="dialogVisible = false">取 消</el-button>
  252. </span>
  253. </template>
  254. </el-dialog>
  255. <import-dailog ref="importPage" @successImport="successImport"></import-dailog>
  256. </div>
  257. </template>
  258. <script>
  259. import importDailog from '../importPage/importDailog.vue'
  260. import {apiGetOrgEvalInfoList,apiGetOrgEvaInfoBatchDto, apiGetOrganizationRule, apiGetbinsectionList,
  261. apiGetindicatorListAll, apiGetbinstageList, apiGetIndicatorTypeList} from '../../api/api'
  262. import ExcelJS from 'exceljs'
  263. import fileSave from 'file-saver'
  264. import addIcon from '../../assets/btnIcon/add.png'
  265. import saveIcon from '../../assets/btnIcon/save.png'
  266. import editIcon from '../../assets/btnIcon/edit.png'
  267. import deleteIcon from '../../assets/btnIcon/delete.png'
  268. import exportIcon from '../../assets/btnIcon/export.png'
  269. import importIcon from '../../assets/btnIcon/import.png'
  270. export default {
  271. components: {
  272. importDailog
  273. },
  274. data() {
  275. return {
  276. dialogVisible: false,
  277. activeName: 'first',
  278. quantifiedList: [],
  279. nonQuantifiedList: [],
  280. changeDateSelect: [],
  281. receiptMsg: {
  282. code: '',
  283. des: '',
  284. stage: '',
  285. createName: '',
  286. createDate: '',
  287. type: '',
  288. year: '',
  289. recStage: ''
  290. },
  291. addIcon: addIcon,
  292. saveIcon: saveIcon,
  293. editIcon: editIcon,
  294. deleteIcon: deleteIcon,
  295. exportIcon: exportIcon,
  296. importIcon: importIcon,
  297. rowMsg: {},
  298. statusData: [],
  299. pageLeft:{
  300. pagesize: 15,
  301. currentPage: 1,
  302. total: 0
  303. },
  304. pageRight:{
  305. pagesize: 15,
  306. currentPage: 1,
  307. total: 0
  308. },
  309. moduleData: [],
  310. moduleNameSa: '',
  311. compNameSa: '',
  312. deptNameSa: '',
  313. evalNameSa: ''
  314. }
  315. },
  316. created() {
  317. this.statusData = [
  318. {
  319. name: '已完成',
  320. id: '1'
  321. },
  322. {
  323. name: '待审核',
  324. id: '0'
  325. },
  326. {
  327. name: '未开始',
  328. id: '-1'
  329. }
  330. ]
  331. },
  332. methods: {
  333. init(row) {
  334. this.dialogVisible = true
  335. this.activeName = 'first'
  336. this.receiptMsg = {
  337. code: row.organizationEvaluationCode,
  338. des: row.des,
  339. stage: row.stage,
  340. createName: row.createName,
  341. createDate: row.createTime,
  342. type: row.checkCycle === 'YDKP'?'月度考评':row.checkCycle === 'JDKP'?'季度考评':'年度考评',
  343. year: row.year,
  344. recStage: '有效'
  345. }
  346. this.getDetails(row.id, '是')
  347. this.getModelData()
  348. this.getOrgRule(row)
  349. this.getindList()
  350. this.rowMsg = row
  351. },
  352. // 获取业务属性
  353. getModelData() {
  354. let that = this
  355. apiGetbinsectionList().then(datas =>{
  356. if (datas && datas.data) {
  357. that.moduleData = datas.data
  358. }
  359. })
  360. },
  361. rowClick(selection, row) {
  362. this.changeDateSelect = selection
  363. },
  364. handleCurrentChangeLeft(val) {
  365. this.pageLeft.currentPage = val
  366. },
  367. handleCurrentChangeRight(val) {
  368. this.pageRight.currentPage = val
  369. },
  370. //获取详情
  371. getDetails(id, isevl) {
  372. let that = this
  373. let params = {
  374. organizationEvaluationId: id,
  375. isQuantified: isevl,
  376. binSection: that.moduleNameSa,
  377. organizationShortName: that.compNameSa,
  378. dept: that.deptNameSa,
  379. indicatorName: that.evalNameSa
  380. }
  381. apiGetOrgEvalInfoList(params).then(datas =>{
  382. if (datas && datas.data) {
  383. if (isevl === '是') {
  384. that.quantifiedList = datas.data
  385. that.pageLeft.total = datas.data.length
  386. } else {
  387. that.nonQuantifiedList = datas.data
  388. that.pageRight.total = datas.data.length
  389. }
  390. }
  391. })
  392. },
  393. seachDeptAEval() {
  394. if (this.activeName = 'first') {
  395. this.pageLeft = {
  396. pagesize: 15,
  397. currentPage: 1,
  398. total: 0
  399. }
  400. this.getDetails(this.rowMsg.id, '是')
  401. } else {
  402. this.pageRight = {
  403. pagesize: 15,
  404. currentPage: 1,
  405. total: 0
  406. }
  407. this.getDetails(this.rowMsg.id, '否')
  408. }
  409. },
  410. clearDeptAEval() {
  411. this.moduleNameSa = ''
  412. this.compNameSa = ''
  413. this.deptNameSa = ''
  414. this.evalNameSa = ''
  415. this.seachDeptAEval()
  416. },
  417. handleClick(val) {
  418. this.changeDateSelect = []
  419. this.compNameSa = ''
  420. this.deptNameSa = ''
  421. this.evalNameSa = ''
  422. this.moduleNameSa = ''
  423. if (val.props.name === 'first') {
  424. this.quantifiedList = []
  425. this.pageLeft = {
  426. pagesize: 15,
  427. currentPage: 1,
  428. total: 0
  429. }
  430. this.getDetails(this.rowMsg.id, '是')
  431. } else {
  432. this.nonQuantifiedList = []
  433. this.pageRight = {
  434. pagesize: 15,
  435. currentPage: 1,
  436. total: 0
  437. }
  438. this.getDetails(this.rowMsg.id, '否')
  439. }
  440. },
  441. // 考评评价指标内容
  442. getOrgRule(row) {
  443. let that = this
  444. let params = {
  445. id: row.id,
  446. type: 'kp'
  447. }
  448. apiGetOrganizationRule(params).then(datas =>{
  449. if (datas && datas.data) {
  450. that.orgruleData = datas.data
  451. }
  452. })
  453. },
  454. getindList() {
  455. let that = this
  456. let params = {
  457. type: 2
  458. }
  459. apiGetbinstageList(params).then(datas =>{
  460. if (datas && datas.data) {
  461. that.stageData = datas.data
  462. }
  463. })
  464. apiGetIndicatorTypeList(params).then(datas =>{
  465. if (datas && datas.data) {
  466. that.indicatorTypeData = datas.data
  467. }
  468. })
  469. },
  470. getIndListAll(row) {
  471. let that = this
  472. let params = {
  473. binSection: row.sectionName,
  474. binStage: row.stageName
  475. }
  476. apiGetindicatorListAll(params).then(datas =>{
  477. if (datas && datas.data) {
  478. that.indicItemoptions = datas.data
  479. }
  480. })
  481. },
  482. changeIndic(val, row) {
  483. if (row.stageName !== '' && row.sectionName !== '') {
  484. row.childName = ''
  485. this.getIndListAll(row)
  486. }
  487. },
  488. changeOrgZa(val) {
  489. this.sectionNameArr = []
  490. this.orgruleData.forEach(item =>{
  491. if (item.id === val) {
  492. let obj = {
  493. id: item.binSection,
  494. secName: item.binSectionName
  495. }
  496. this.sectionNameArr.push(obj)
  497. }
  498. })
  499. },
  500. changeDept(val) {
  501. this.deptNameArr = []
  502. this.indicItemoptions.forEach(item =>{
  503. if (item.id === val) {
  504. let obj = {
  505. id: item.dept,
  506. deptName: item.deptName
  507. }
  508. this.deptNameArr.push(obj)
  509. }
  510. })
  511. },
  512. addTableDetail() {
  513. let obj = {
  514. showInput: true,
  515. stageName: '',
  516. sectionName: '',
  517. organizationName: '',
  518. deptName: '',
  519. typeName: '',
  520. optionName: '',
  521. nonQuantifiedValue: ''
  522. }
  523. this.nonQuantifiedList.unshift(obj)
  524. },
  525. saveDetail() {
  526. let that = this
  527. let params = []
  528. if (that.activeName === 'first') {
  529. that.quantifiedList.forEach(item =>{
  530. let obj = {
  531. id: item.id,
  532. isQuantified: '是',
  533. quantifiedValue: item.quantifiedValue,
  534. state: item.state
  535. }
  536. params.push(obj)
  537. })
  538. } else {
  539. that.nonQuantifiedList.forEach(item =>{
  540. let obj = {
  541. isQuantified: '否',
  542. quantifiedValue: 0.0,
  543. optionCode: 'ZRMB', // 指标项
  544. nonQuantifiedValue: item.nonQuantifiedValue,
  545. state: item.state,
  546. organizationEvaluationId: that.rowMsg.id
  547. }
  548. if (item.showInput) {
  549. obj.organizationEvaluationRuleId = item.organizationName //单位id
  550. obj.indicatorId = item.childName //指标id
  551. } else {
  552. obj.id = item.id
  553. obj.organizationEvaluationRuleId = item.organizationEvaluationRuleId
  554. obj.indicatorId = item.indicatorId
  555. }
  556. params.push(obj)
  557. })
  558. }
  559. apiGetOrgEvaInfoBatchDto(params).then(datas =>{
  560. if (datas) {
  561. if (datas.success) {
  562. that.$message({
  563. message: '保存成功',
  564. type: 'success'
  565. });
  566. that.getDetails(that.rowMsg.id)
  567. } else {
  568. that.$message({
  569. message: datas.data,
  570. type: 'error'
  571. })
  572. }
  573. }
  574. })
  575. },
  576. handleImport() {
  577. this.$refs.importPage.upload.title = "单位信息导入"
  578. this.$refs.importPage.upload.open = true
  579. this.$refs.importPage.upload.url = '/organization-evaluation-info/import'
  580. },
  581. successImport(val) {
  582. this.getDetails(this.rowMsg.id)
  583. },
  584. handleExport() {
  585. let data = [] //接口返回数据
  586. const workbook = new ExcelJS.Workbook()
  587. const worksheet = workbook.addWorksheet('Sheet1')
  588. //根据数据自己调整
  589. let colums = []
  590. colums = [
  591. { header: 'ID', key: 'id', width: 26 },
  592. { header: '单位名称', key: 'organizationShortName', width: 26 },
  593. { header: '指标分类', key: 'typeName', width: 18 },
  594. { header: '业务阶段', key: 'stageName', width: 18 },
  595. { header: '业务属性', key: 'sectionName', width: 18 },
  596. { header: '指标名称', key: 'childName', width: 18 },
  597. { header: '填报部门', key: 'deptName', width: 26 },
  598. { header: '指标项', key: 'optionName', width: 26 },
  599. ]
  600. if (this.activeName === 'first') {
  601. colums.push(
  602. { header: '目标值', key: 'quantifiedValue', width: 18 },
  603. { header: '单位', key: 'unit', width: 18 },
  604. { header: '审核状态', key: 'state', width: 18 }
  605. )
  606. this.quantifiedList.forEach(item =>{
  607. if (item.updateMark) {
  608. data.push(item)
  609. }
  610. })
  611. } else {
  612. colums.push(
  613. { header: '值', key: 'nonQuantifiedValue', width: 18 },
  614. { header: '审核状态', key: 'state', width: 18 }
  615. )
  616. this.nonQuantifiedList.forEach(item =>{
  617. if (item.updateMark) {
  618. data.push(item)
  619. }
  620. })
  621. }
  622. worksheet.columns = colums
  623. worksheet.getRow(1).font = {
  624. size: 12,
  625. bold: true
  626. }
  627. worksheet.addRows(data)
  628. workbook.xlsx.writeBuffer().then(buffer => {
  629. //这里为type
  630. const blob = new Blob([buffer], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8' })
  631. fileSave(blob, `数据导出.xlsx`)
  632. })
  633. },
  634. }
  635. }
  636. </script>
  637. <style lang="less">
  638. .startFrom{
  639. .el-overlay{
  640. .el-dialog{
  641. // margin-top: 7vh;
  642. .el-dialog__body{
  643. padding: 0 20px !important;
  644. .startDetail{
  645. .starttitleSty{
  646. font-size: 18px;
  647. font-family: Microsoft YaHei;
  648. font-weight: bold;
  649. color: #3B7AD1;
  650. // line-height: 12px;
  651. margin: 20px 0 20px 10px;
  652. }
  653. .danjuMsg{
  654. border: 1px solid #D6DBEA;
  655. padding: 10px 20px;
  656. border-radius: 10px;
  657. // margin-bottom: 20px;
  658. .danjuMsg_data{
  659. padding: 5px 0 10px 0;
  660. .data_tit{
  661. margin-right: 10px;
  662. font-weight: bold;
  663. font-size: 14px;
  664. font-family: Microsoft YaHei;
  665. color: #8991B0;
  666. }
  667. .data_tit_wd{
  668. display: inline-block;
  669. width: 90px;
  670. }
  671. .el-form-item--small{
  672. .el-input{
  673. height: 25px;
  674. width: 160px;
  675. }
  676. margin-bottom: 0;
  677. .el-input-number{
  678. height: 25px;
  679. .el-input-number__decrease, .el-input-number__increase{
  680. right: -39px;
  681. }
  682. }
  683. }
  684. }
  685. }
  686. .el-select, .el-input{
  687. width: 100%;
  688. }
  689. .btnASeach{
  690. display: flex;
  691. z-index: 11111;
  692. justify-content: end;
  693. position: relative;
  694. top: 32px;
  695. left: 50vw;
  696. width: 50%;
  697. .seachFor{
  698. display: flex;
  699. .el-input, .el-select{
  700. margin-right: 5px;
  701. }
  702. .el-icon{
  703. margin: 5px 10px 0 10px;
  704. cursor: pointer;
  705. }
  706. }
  707. .dateTableBtns{
  708. display: flex;
  709. width: 360px;
  710. margin-top: 5px;
  711. .tableBtn {
  712. display: flex;
  713. height: 20px;
  714. margin: 0 10px;
  715. img{
  716. margin-right: 5px;
  717. margin-top: 1px;
  718. }
  719. span{
  720. font-size: 14px;
  721. font-family: Microsoft YaHei;
  722. font-weight: 400;
  723. }
  724. }
  725. .add{
  726. cursor: pointer;
  727. span{
  728. color: #3B7AD1;
  729. }
  730. }
  731. .save{
  732. cursor: pointer;
  733. span{
  734. color: #50C14E;
  735. }
  736. }
  737. .edit{
  738. span{
  739. color: #F5A623;
  740. }
  741. }
  742. .delete{
  743. cursor: no-drop;
  744. span{
  745. color: #F65177;
  746. }
  747. }
  748. .import{
  749. cursor: pointer;
  750. span{
  751. color: #ce1e78;
  752. }
  753. }
  754. .export{
  755. cursor: pointer;
  756. span{
  757. color: #2baa8a;
  758. }
  759. }
  760. }
  761. }
  762. .el-tabs{
  763. .el-tabs__header{
  764. .el-tabs__nav{
  765. .el-tabs__item{
  766. font-size: 18px;
  767. font-family: Microsoft YaHei;
  768. font-weight: bold;
  769. margin: 0 10px;
  770. color: #8991B0;
  771. }
  772. .is-active{
  773. font-size: 18px;
  774. font-family: Microsoft YaHei;
  775. font-weight: bold;
  776. color: #3B7AD1;
  777. margin: 0 10px;
  778. }
  779. }
  780. }
  781. .el-table{
  782. margin-bottom: 10px;
  783. .el-table__body-wrapper{
  784. height: 50vh;
  785. }
  786. .el-table__row{
  787. .cell{
  788. .el-input{
  789. height: 24px;
  790. .el-input__inner{
  791. height: 24px;
  792. }
  793. }
  794. }
  795. }
  796. }
  797. }
  798. }
  799. }
  800. .el-dialog__footer{
  801. .dialog-footer{
  802. display: flex;
  803. justify-content: center;
  804. .el-button{
  805. width: 180px !important;
  806. height: 40px !important;
  807. }
  808. }
  809. }
  810. }
  811. }
  812. }
  813. </style>