assessmentApplicationFrom.vue 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791
  1. <template>
  2. <div class="applicationFrom">
  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.deptName}}</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.declarationLevel}}级</span>
  21. </div>
  22. <div class="danjuMsg_data">
  23. <span class="data_tit">申报年度:</span>
  24. <span>{{receiptMsg.year}}年</span>
  25. </div>
  26. <!-- <div class="danjuMsg_data">
  27. <span class="data_tit">申报领导:</span>
  28. <span>{{receiptMsg.deptLeaderName}}</span>
  29. </div> -->
  30. </el-col>
  31. <el-col :span="6">
  32. <div class="danjuMsg_data">
  33. <span class="data_tit">流程状态:</span>
  34. <span>{{receiptMsg.stage}}</span>
  35. </div>
  36. <div class="danjuMsg_data">
  37. <span class="data_tit">申报月份:</span>
  38. <span>{{receiptMsg.month}}月</span>
  39. </div>
  40. </el-col>
  41. <el-col :span="6">
  42. <div class="danjuMsg_data">
  43. <span class="data_tit">创建日期:</span>
  44. <span>{{receiptMsg.createDate}}</span>
  45. </div>
  46. </el-col>
  47. <el-col :span="6">
  48. <div class="danjuMsg_data">
  49. <span class="data_tit">评定等级:</span>
  50. <span>{{receiptMsg.ratingGrade}}</span>
  51. </div>
  52. </el-col>
  53. <el-col :span="18">
  54. <div class="danjuMsg_data">
  55. <span class="data_tit">申报理由:</span>
  56. <span>{{receiptMsg.des}}</span>
  57. </div>
  58. </el-col>
  59. </el-row>
  60. <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
  61. <el-tab-pane label="员工月度考核系数" name="first">
  62. <div class="detaTableBtns">
  63. <div class="tableBtn add" @click="addTableDetail" v-if="isShowFn(receiptMsg.stage)">
  64. <img :src="addIcon" alt="">
  65. <span>新增</span>
  66. </div>
  67. <div class="tableBtn save" @click="saveDetail" v-if="isShowFn(receiptMsg.stage)">
  68. <img :src="saveIcon" alt="">
  69. <span>保存</span>
  70. </div>
  71. <div class="tableBtn delete" @click="handleDelete" v-if="isShowFn(receiptMsg.stage)">
  72. <img :src="deleteIcon" alt="">
  73. <span>删除</span>
  74. </div>
  75. <div class="tableBtn import" @click="handleImport" v-if="isShowFn(receiptMsg.stage)">
  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. <el-table :data="quantifiedList.slice((pageLeft.currentPage-1)*pageLeft.pagesize, pageLeft.currentPage*pageLeft.pagesize)"
  85. style="width: 100%" @select="rowClick" @select-all="rowClick">
  86. <el-table-column type="selection" label="操作" align="center"></el-table-column>
  87. <el-table-column label="序号" type="index" width="80" />
  88. <el-table-column label="人员编号">
  89. <template #default="scope">
  90. <el-input v-model="scope.row.employeeNo" @blur="employeeNoInputBlur(scope.row.employeeNo, scope.row)" />
  91. </template>
  92. </el-table-column>
  93. <el-table-column label="人员">
  94. <template #default="scope">
  95. <!-- <el-select v-model="scope.row.employeeId" placeholder="请选择人员">
  96. <el-option
  97. v-for="item in deptLeaderOptionDet"
  98. :key="item.id"
  99. :label="item.name"
  100. :value="item.id">
  101. <span style="float: left;display:inline-block;width:100px">{{ item.name }}</span>
  102. <span style="float: right;color: #909399;font-size: 13px;" >{{ item.no }}</span>
  103. </el-option>
  104. </el-select> -->
  105. <span>{{scope.row.employeeName}}</span>
  106. </template>
  107. </el-table-column>
  108. <el-table-column label="建议值" v-if="showMessage">
  109. <template #default="scope">
  110. <el-input-number v-model="scope.row.suggestedValue" :precision="2" :step="0.1" :min="0" />
  111. </template>
  112. </el-table-column>
  113. <el-table-column label="排序" >
  114. <template #default="scope">
  115. <el-input-number v-model="scope.row.serialNumber" :min="1" />
  116. </template>
  117. </el-table-column>
  118. <el-table-column label="操作" width="120">
  119. <template #default="scope">
  120. <p class="indicitem" v-if="isShowFn(receiptMsg.stage)" @click="deleteRowFn(scope.row, scope.$index)">删除</p>
  121. </template>
  122. </el-table-column>
  123. </el-table>
  124. <el-pagination
  125. @current-change="handleCurrentChangeLeft"
  126. :current-page="pageLeft.currentPage"
  127. :page-size="pageLeft.pagesize"
  128. layout="total, prev, pager, next, jumper"
  129. :total="pageLeft.total">
  130. </el-pagination>
  131. </el-tab-pane>
  132. <el-tab-pane label="本月主要工作完成情况" name="second">
  133. <div class="detaTableBtns">
  134. <div class="tableBtn add" @click="addSecondWork" v-if="isShowFn(receiptMsg.stage)">
  135. <img :src="addIcon" alt="">
  136. <span>新增</span>
  137. </div>
  138. <div class="tableBtn save" @click="saveSecondWork" v-if="isShowFn(receiptMsg.stage)">
  139. <img :src="saveIcon" alt="">
  140. <span>保存</span>
  141. </div>
  142. <div class="tableBtn delete" @click="handleSecondWork" v-if="isShowFn(receiptMsg.stage)">
  143. <img :src="deleteIcon" alt="">
  144. <span>删除</span>
  145. </div>
  146. </div>
  147. <el-table :data="secondWorkSituation.slice((pageRight.currentPage-1)*pageRight.pagesize, pageRight.currentPage*pageRight.pagesize)"
  148. style="width: 100%" @select="rowSituationClick" @select-all="rowSituationClick">
  149. <el-table-column type="selection" label="操作" align="center"></el-table-column>
  150. <el-table-column label="序号" type="index" width="80" />
  151. <el-table-column label="工作内容">
  152. <template #default="scope">
  153. <el-input v-model="scope.row.jobContent" :rows="1" type="textarea" />
  154. </template>
  155. </el-table-column>
  156. <el-table-column label="完成情况">
  157. <template #default="scope">
  158. <el-input v-model="scope.row.completionStatus" />
  159. </template>
  160. </el-table-column>
  161. <el-table-column label="相关处室" width="200">
  162. <template #default="scope">
  163. <el-input v-model="scope.row.relatedOffice" />
  164. </template>
  165. </el-table-column>
  166. <el-table-column label="经办人" width="200">
  167. <template #default="scope">
  168. <el-input v-model="scope.row.handlePeopleName" />
  169. </template>
  170. </el-table-column>
  171. <el-table-column label="排序" >
  172. <template #default="scope">
  173. <el-input-number v-model="scope.row.serialNumber" :min="1" />
  174. </template>
  175. </el-table-column>
  176. </el-table>
  177. <el-pagination
  178. @current-change="handleCurrentChangeRight"
  179. :current-page="pageRight.currentPage"
  180. :page-size="pageRight.pagesize"
  181. layout="total, prev, pager, next, jumper"
  182. :total="pageRight.total">
  183. </el-pagination>
  184. </el-tab-pane>
  185. </el-tabs>
  186. </div>
  187. <template #footer>
  188. <span class="dialog-footer">
  189. <el-button type="primary" @click="dialogVisible = false">取 消</el-button>
  190. </span>
  191. </template>
  192. </el-dialog>
  193. <import-dailog ref="importPage" @successImport="successImport" @importLoading="importLoading"></import-dailog>
  194. </div>
  195. </template>
  196. <script>
  197. import importDailog from '../importPage/importDailog.vue'
  198. import {apiPostevaluationdeptadDetails,apiGetevaluationdeptadUpdate, apiGetevaluationdeptadDelete,apiGetevaluationdeptadUpdateComplete,
  199. apiPostevaluationdeptadDetailsHead, apiGetuserPageList,apiGetevaluationdeptadDeleteComplete,apiGetUserPostList} from '../../api/api'
  200. import ExcelJS from 'exceljs'
  201. import fileSave from 'file-saver'
  202. import addIcon from '../../assets/btnIcon/add.png'
  203. import saveIcon from '../../assets/btnIcon/save.png'
  204. import editIcon from '../../assets/btnIcon/edit.png'
  205. import deleteIcon from '../../assets/btnIcon/delete.png'
  206. import exportIcon from '../../assets/btnIcon/export.png'
  207. import importIcon from '../../assets/btnIcon/import.png'
  208. export default {
  209. components: {
  210. importDailog
  211. },
  212. data() {
  213. return {
  214. dialogVisible: false,
  215. activeName: 'first',
  216. quantifiedList: [],
  217. secondWorkSituation: [],
  218. changeDateSelect: [],
  219. changeSituationSelect: [],
  220. receiptMsg: {
  221. code: '',
  222. des: '',
  223. stage: '',
  224. createName: '',
  225. createDate: '',
  226. type: '',
  227. year: '',
  228. month: '',
  229. recStage: ''
  230. },
  231. addIcon: addIcon,
  232. saveIcon: saveIcon,
  233. editIcon: editIcon,
  234. deleteIcon: deleteIcon,
  235. exportIcon: exportIcon,
  236. importIcon: importIcon,
  237. rowMsg: {},
  238. orgruleData: [],
  239. indicItemoptions: [],
  240. sectionNameArr: [],
  241. deptNameArr: [],
  242. pageLeft:{
  243. pagesize: 15,
  244. currentPage: 1,
  245. total: 0
  246. },
  247. pageRight:{
  248. pagesize: 15,
  249. currentPage: 1,
  250. total: 0
  251. },
  252. deptLeaderOptionDet: [],
  253. userMes: {},
  254. showMessage: false
  255. }
  256. },
  257. created() {
  258. },
  259. methods: {
  260. init(row) {
  261. this.dialogVisible = true
  262. this.activeName = 'first'
  263. this.getDetails(row.id)
  264. this.userMes = JSON.parse(window.sessionStorage.getItem('user'))
  265. this.getUserPostList()
  266. this.rowMsg = row
  267. this.$nextTick(() =>{
  268. this.receiptMsg = {
  269. code: row.orderNumber,
  270. des: row.declarationReason,
  271. stage: row.stage,
  272. ratingGrade: row.ratingGrade,
  273. deptLeaderName: row.deptLeaderName,
  274. deptName: row.deptName,
  275. createDate: row.createTime,
  276. year: row.annual,
  277. month: row.declarationMonth,
  278. declarationLevel: row.declarationLevel
  279. }
  280. })
  281. },
  282. handleClick(val) {
  283. this.changeDateSelect = []
  284. this.changeSituationSelect = []
  285. this.activeName = val.props.name
  286. },
  287. // 判断保存 导入按钮展示权限
  288. isShowFn(val) {
  289. let show = true
  290. if (val !== '流程未启动') {
  291. show = false
  292. }
  293. return show
  294. },
  295. rowClick(selection, row) {
  296. this.changeDateSelect = selection
  297. },
  298. //删除指标数据
  299. handleDelete() {
  300. this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
  301. confirmButtonText: '确定',
  302. cancelButtonText: '取消',
  303. type: 'warning'
  304. }).then(() => {
  305. let that = this
  306. let paramsArr = []
  307. that.changeDateSelect.forEach(it =>{
  308. paramsArr.push(it.id)
  309. })
  310. apiGetevaluationdeptadDelete(paramsArr.join(',')).then(datas =>{
  311. if (datas) {
  312. that.$message({
  313. type: 'success',
  314. message: '删除成功!'
  315. });
  316. that.changeDateSelect = []
  317. that.getDetails(that.rowMsg.id)
  318. }
  319. })
  320. })
  321. },
  322. handleCurrentChangeLeft(val) {
  323. this.pageLeft.currentPage = val
  324. },
  325. handleCurrentChangeRight(val) {
  326. this.pageRight.currentPage = val
  327. },
  328. //获取详情头数据
  329. getDetailsHeader(id) {
  330. let that = this
  331. apiPostevaluationdeptadDetailsHead(id).then(datas =>{
  332. if (datas && datas.data) {
  333. let row = datas.data
  334. that.receiptMsg = {
  335. code: row.orderNumber,
  336. des: row.des,
  337. stage: row.stage,
  338. createName: row.createName,
  339. createDate: row.createTime,
  340. type: row.checkCycle === 'YDKP'?'月度考评':row.checkCycle === 'JDKP'?'季度考评':'年度考评',
  341. year: row.appraisalYear,
  342. month: row.declarationMonth,
  343. recStage: '有效'
  344. }
  345. }
  346. })
  347. },
  348. //获取详情
  349. getDetails(id) {
  350. let that = this
  351. that.quantifiedList = []
  352. that.secondWorkSituation = []
  353. apiPostevaluationdeptadDetails(id).then(datas =>{
  354. if (datas && datas.data) {
  355. if (datas.data['ygydkhxs'][0]) {
  356. datas.data['ygydkhxs'][0].forEach(it =>{
  357. it.serialNumber = it.serialNumber.toString()
  358. })
  359. that.quantifiedList = datas.data['ygydkhxs'][0]
  360. that.pageLeft.total = datas.data['ygydkhxs'][0].length
  361. }
  362. if (datas.data['byzygzwcqk'][0]) {
  363. that.secondWorkSituation = datas.data['byzygzwcqk'][0]
  364. that.pageRight.total = datas.data['byzygzwcqk'][0].length
  365. }
  366. }
  367. })
  368. },
  369. getUserPostList() {
  370. let that = this
  371. that.showMessage = false
  372. if (that.userMes.deptId === '23031009') {
  373. that.showMessage = true
  374. } else {
  375. let params = {
  376. userId: that.userMes.id,
  377. current: 1,
  378. size: 10
  379. }
  380. apiGetUserPostList(params).then(datas =>{
  381. if (datas.data && datas.data.records.length>0) {
  382. datas.data.records.forEach(it =>{
  383. if (it.posName === '主任' || it.posName === '副主任') {
  384. that.showMessage = true
  385. }
  386. })
  387. }
  388. })
  389. }
  390. },
  391. employeeNoInputBlur(val, row) {
  392. row.employeeId = ''
  393. // this.deptLeaderOptionDet.forEach(it =>{
  394. // if (val === it.no) {
  395. // row.employeeId = it.id
  396. // }
  397. // })
  398. this.changeDeptLead(val, row)
  399. },
  400. // 根据部门查询人员
  401. changeDeptLead(val, row) {
  402. let that = this
  403. let params = {
  404. current: 1,
  405. size: 500,
  406. no: val
  407. }
  408. apiGetuserPageList(params).then(datas =>{
  409. if (datas && datas.data) {
  410. // that.deptLeaderOptionDet = datas.data.records
  411. row.employeeName = datas.data.records[0].name
  412. row.employeeId = datas.data.records[0].id
  413. }
  414. })
  415. },
  416. addTableDetail() {
  417. this.pageLeft.currentPage = 1
  418. let obj = {
  419. showInput: true,
  420. businessPlanId: this.rowMsg.id,
  421. employeeId: '',
  422. employeeNo: '',
  423. suggestedValue: 1.00,
  424. serialNumber: 0
  425. }
  426. this.quantifiedList.unshift(obj)
  427. },
  428. saveDetail() {
  429. let that = this
  430. let params = []
  431. that.quantifiedList.forEach(item =>{
  432. // let emName = ''
  433. // let emNo = ''
  434. // that.deptLeaderOptionDet.forEach(it =>{
  435. // if (item.employeeId === it.id) {
  436. // emName = it.name
  437. // emNo = it.no
  438. // }
  439. // })
  440. let obj = {
  441. assessmentDeclarationId: that.rowMsg.id,
  442. employeeId: item.employeeId,
  443. employeeName: item.employeeName,
  444. employeeNo: item.employeeNo,
  445. suggestedValue: Number(item.suggestedValue).toFixed(2),
  446. serialNumber: item.serialNumber
  447. }
  448. if (!item.showInput) {
  449. obj.id = item.id
  450. }
  451. params.push(obj)
  452. })
  453. apiGetevaluationdeptadUpdate(params).then(datas =>{
  454. if (datas) {
  455. if (datas.success) {
  456. that.$message({
  457. message: '保存成功',
  458. type: 'success'
  459. });
  460. that.activeName = 'first'
  461. that.getDetails(that.rowMsg.id)
  462. } else {
  463. that.$message({
  464. message: datas.message,
  465. type: 'error'
  466. })
  467. }
  468. }
  469. })
  470. },
  471. deleteRowFn(row, index) {
  472. let that = this
  473. this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
  474. confirmButtonText: '确定',
  475. cancelButtonText: '取消',
  476. type: 'warning'
  477. }).then(() => {
  478. if (!row.id) {
  479. that.quantifiedList.splice(index, 1)
  480. } else {
  481. apiGetevaluationdeptadDelete(row.id).then(datas =>{
  482. if (datas) {
  483. that.$message({
  484. type: 'success',
  485. message: '删除成功!'
  486. });
  487. that.activeName = 'first'
  488. that.getDetails(that.rowMsg.id)
  489. }
  490. })
  491. }
  492. })
  493. },
  494. handleImport() {
  495. this.$refs.importPage.upload.title = "绩效结果考核申报导入"
  496. this.$refs.importPage.upload.data = {id: this.rowMsg.id}
  497. this.$refs.importPage.upload.open = true
  498. this.$refs.importPage.upload.url = '/evaluation-dept-ad/import'
  499. },
  500. successImport(val) {
  501. this.$message({
  502. type: 'success',
  503. message: val.message
  504. });
  505. this.getDetails(this.rowMsg.id)
  506. },
  507. handleExport() {
  508. let data = this.quantifiedList //接口返回数据
  509. const workbook = new ExcelJS.Workbook()
  510. const worksheet = workbook.addWorksheet('Sheet1')
  511. //根据数据自己调整
  512. let colums = []
  513. colums = [
  514. // { header: 'ID', key: 'id', width: 26, hidden: true },
  515. // { header: '申报ID', key: 'assessmentDeclarationId', width: 26, hidden: true },
  516. { header: '人员编号', key: 'employeeNo', width: 26 },
  517. // { header: '员工ID', key: 'employeeId', width: 26 },
  518. { header: '员工名称', key: 'employeeName', width: 26 },
  519. { header: '建议值', key: 'suggestedValue', width: 26 },
  520. { header: '排序', key: 'serialNumber', width: 26 },
  521. ]
  522. worksheet.columns = colums
  523. worksheet.getRow(1).font = {
  524. size: 12,
  525. bold: true
  526. }
  527. worksheet.addRows(data)
  528. workbook.xlsx.writeBuffer().then(buffer => {
  529. //这里为type
  530. const blob = new Blob([buffer], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8' })
  531. fileSave(blob, `绩效结果考核申报数据导出.xlsx`)
  532. })
  533. },
  534. rowSituationClick(selection, row) {
  535. this.changeSituationSelect = selection
  536. },
  537. addSecondWork() {
  538. this.pageRight.currentPage = 1
  539. let obj = {
  540. showInput: true,
  541. assessmentDeclarationId: this.rowMsg.id,
  542. jobContent: '',
  543. completionStatus: '',
  544. relatedOffice: '',
  545. handlePeopleName: this.userMes.name,
  546. serialNumber: 0
  547. }
  548. this.secondWorkSituation.unshift(obj)
  549. },
  550. saveSecondWork() {
  551. let that = this
  552. let params = []
  553. that.secondWorkSituation.forEach(item =>{
  554. let obj = {
  555. assessmentDeclarationId: that.rowMsg.id,
  556. jobContent: item.jobContent,
  557. completionStatus: item.completionStatus,
  558. relatedOffice: item.relatedOffice,
  559. handlePeopleName: item.handlePeopleName,
  560. serialNumber: item.serialNumber
  561. }
  562. if (!item.showInput) {
  563. obj.id = item.id
  564. }
  565. params.push(obj)
  566. })
  567. apiGetevaluationdeptadUpdateComplete(params).then(datas =>{
  568. if (datas) {
  569. if (datas.success) {
  570. that.$message({
  571. message: '保存成功',
  572. type: 'success'
  573. });
  574. that.activeName = 'second'
  575. that.getDetails(that.rowMsg.id)
  576. } else {
  577. that.$message({
  578. message: datas.message,
  579. type: 'error'
  580. })
  581. }
  582. }
  583. })
  584. },
  585. handleSecondWork() {
  586. this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
  587. confirmButtonText: '确定',
  588. cancelButtonText: '取消',
  589. type: 'warning'
  590. }).then(() => {
  591. let that = this
  592. let paramsArr = []
  593. that.changeSituationSelect.forEach(it =>{
  594. paramsArr.push(it.id)
  595. })
  596. apiGetevaluationdeptadDeleteComplete(paramsArr.join(',')).then(datas =>{
  597. if (datas) {
  598. that.$message({
  599. type: 'success',
  600. message: '删除成功!'
  601. });
  602. that.activeName = 'second'
  603. that.changeSituationSelect = []
  604. that.getDetails(that.rowMsg.id)
  605. }
  606. })
  607. })
  608. },
  609. }
  610. }
  611. </script>
  612. <style lang="less">
  613. .applicationFrom{
  614. .el-overlay{
  615. .el-dialog{
  616. // margin-top: 7vh;
  617. .el-dialog__body{
  618. padding: 0 20px !important;
  619. .startDetail{
  620. .starttitleSty{
  621. font-size: 18px;
  622. font-family: Microsoft YaHei;
  623. font-weight: bold;
  624. color: #3B7AD1;
  625. // line-height: 12px;
  626. margin: 20px 0 20px 10px;
  627. }
  628. .danjuMsg{
  629. border: 1px solid #D6DBEA;
  630. padding: 10px 20px;
  631. border-radius: 10px;
  632. margin-bottom: 10px;
  633. .danjuMsg_data{
  634. padding: 5px 0 10px 0;
  635. .data_tit{
  636. margin-right: 10px;
  637. font-weight: bold;
  638. font-size: 14px;
  639. font-family: Microsoft YaHei;
  640. color: #8991B0;
  641. }
  642. .data_tit_wd{
  643. display: inline-block;
  644. width: 90px;
  645. }
  646. .el-form-item--small{
  647. .el-input{
  648. height: 25px;
  649. width: 160px;
  650. }
  651. margin-bottom: 0;
  652. .el-input-number{
  653. height: 25px;
  654. .el-input-number__decrease, .el-input-number__increase{
  655. right: -39px;
  656. }
  657. }
  658. }
  659. }
  660. }
  661. .el-select, .el-input{
  662. width: 100%;
  663. }
  664. .el-tabs{
  665. margin-top: 20px;
  666. .detaTableBtns{
  667. display: flex;
  668. justify-content: flex-end;
  669. width: 100%;
  670. margin-top: 5px;
  671. .tableBtn {
  672. display: flex;
  673. height: 20px;
  674. margin: 0 10px;
  675. // width: 20%;
  676. width: fit-content;
  677. img{
  678. margin-right: 5px;
  679. margin-top: 1px;
  680. }
  681. span{
  682. width: 35px;
  683. display: inline-block;
  684. font-size: 14px;
  685. font-family: Microsoft YaHei;
  686. font-weight: 400;
  687. }
  688. }
  689. .add{
  690. cursor: pointer;
  691. span{
  692. color: #3B7AD1;
  693. }
  694. }
  695. .save{
  696. cursor: pointer;
  697. span{
  698. color: #50C14E;
  699. }
  700. }
  701. .edit{
  702. span{
  703. color: #F5A623;
  704. }
  705. }
  706. .delete{
  707. cursor: pointer;
  708. span{
  709. color: #F65177;
  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. .el-tabs__header{
  726. .el-tabs__nav{
  727. .el-tabs__item{
  728. font-size: 18px;
  729. font-family: Microsoft YaHei;
  730. font-weight: bold;
  731. margin: 0 10px;
  732. color: #8991B0;
  733. }
  734. .is-active{
  735. font-size: 18px;
  736. font-family: Microsoft YaHei;
  737. font-weight: bold;
  738. color: #3B7AD1;
  739. margin: 0 10px;
  740. }
  741. }
  742. }
  743. .el-table{
  744. margin-bottom: 10px;
  745. .el-table__body-wrapper{
  746. height: 45vh;
  747. }
  748. .el-table__row{
  749. .cell{
  750. .el-input{
  751. height: 24px;
  752. .el-input__inner{
  753. height: 24px;
  754. }
  755. }
  756. }
  757. }
  758. .indicitem{
  759. color: #F65177;
  760. font-size: 12px;
  761. margin-right: 20px;
  762. cursor:pointer;
  763. &:hover{
  764. text-decoration: underline;
  765. }
  766. }
  767. }
  768. }
  769. }
  770. }
  771. .el-dialog__footer{
  772. .dialog-footer{
  773. display: flex;
  774. justify-content: center;
  775. .el-button{
  776. width: 180px !important;
  777. height: 40px !important;
  778. }
  779. }
  780. }
  781. }
  782. }
  783. }
  784. </style>