evaluationDeptRatingPage.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. <template>
  2. <div class="evaluationRating">
  3. <div class="evaluationRatingBtn">
  4. <div class="collectSeach">
  5. <div class="exceed">
  6. <span class="exceedSpan">部门名称:</span>
  7. <el-input v-model="resDeptName" placeholder="请输入部门名称"></el-input>
  8. </div>
  9. <div class="exceed">
  10. <span class="exceedSpan" style="width: 80px">考评年度:</span>
  11. <el-date-picker v-model="resAnnual" type="year" value-format="YYYY" placeholder="选择年份" />
  12. </div>
  13. <seachs @handleSeach="getSeachData" @handleRest="resetSeach"></seachs>
  14. </div>
  15. <div class="PeriodBtn">
  16. <btns
  17. :showImport="true"
  18. :showExport="true"
  19. :showSave="true"
  20. :showAdd="true"
  21. :showDelete="true"
  22. :disSave="changeDateSelect.length === 0 || changeDateSelect.length>1"
  23. :disDelete="changeDateSelect.length === 0"
  24. :disImport="false"
  25. :disExport="false"
  26. @handleAdd="handleAdd"
  27. @handleEdit="handleEdit"
  28. @handleDelete="handleDelete"
  29. @handleImport="handleImport"
  30. @handleExport="handleExport"
  31. ></btns>
  32. </div>
  33. <div class="evaluationRatingTableData">
  34. <!-- .length>0?evaluationRatingData.slice((page.currentPage-1)*page.pagesize, page.currentPage*page.pagesize):evaluationRatingData -->
  35. <el-table :data="evaluationRatingData" style="width: 100%" @select="rowClick" @select-all="rowClick">
  36. <el-table-column type="selection" label="操作" align="center"></el-table-column>
  37. <el-table-column type="index" label="序号" align="center"></el-table-column>
  38. <el-table-column label="考评部门" width="200">
  39. <template #default="scope">
  40. <el-tooltip
  41. class="box-item"
  42. effect="customized"
  43. :content="scope.row.deptName"
  44. placement="right"
  45. >
  46. <span class="tooltipCC">{{scope.row.deptName}}</span>
  47. </el-tooltip>
  48. </template>
  49. </el-table-column>
  50. <el-table-column label="考评年度" prop="annual" />
  51. <el-table-column :label="it.label" :prop="it.value" v-for="it in monthArr" :key="it.value">
  52. <template #default="scope">
  53. <el-tooltip
  54. class="box-item"
  55. effect="customized"
  56. :content="scope.row[it.value+'Content']"
  57. placement="right"
  58. >
  59. <span class="tooltipCCDes">{{scope.row[it.value]}}</span>
  60. </el-tooltip>
  61. </template>
  62. </el-table-column>
  63. <el-table-column label="A级总数" prop="acount" />
  64. </el-table>
  65. <!-- <el-pagination
  66. @size-change="handleSizeChange"
  67. @current-change="handleCurrentChange"
  68. :current-page="page.currentPage"
  69. :page-size="page.pagesize"
  70. layout="total, prev, pager, next, jumper"
  71. :total="page.total">
  72. </el-pagination> -->
  73. </div>
  74. <el-dialog :title="title" custom-class="startToDia" v-model="dialogVisible" width="600px" :close-on-click-modal="false">
  75. <div class="periodFrom">
  76. <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm" :validate-on-rule-change="false">
  77. <el-form-item label="考评部门" prop="department">
  78. <el-select v-model="ruleForm.department" placeholder="请选择考评部门" :disabled="isSave">
  79. <el-option
  80. v-for="item in departData"
  81. :key="item.id"
  82. :label="item.keyName"
  83. :value="item.id">
  84. </el-option>
  85. </el-select>
  86. </el-form-item>
  87. <el-form-item label="年份" prop="year">
  88. <el-date-picker
  89. v-model="ruleForm.year"
  90. :disabled="isSave"
  91. type="year"
  92. value-format="YYYY"
  93. placeholder="请选择年份"
  94. />
  95. </el-form-item>
  96. <el-row>
  97. <el-col :span="12">
  98. <el-form-item :label="it.label" :prop="it.value" v-for="it in monthArrLeft" :key="it.value">
  99. <el-select v-model="ruleForm[it.value]" placeholder="请选择评级"
  100. clearable @change="(val)=>changeAData(val, it)" @clear="(val)=>clearAData(val, it)">
  101. <el-option
  102. v-for="item in ratingArr"
  103. :key="item.value"
  104. :label="item.label"
  105. :value="item.value">
  106. </el-option>
  107. </el-select>
  108. </el-form-item>
  109. </el-col>
  110. <el-col :span="12">
  111. <el-form-item :label="it.label" :prop="it.value" v-for="it in monthArrRight" :key="it.value">
  112. <el-select v-model="ruleForm[it.value]" placeholder="请选择评级"
  113. clearable @change="(val)=>changeAData(val, it)" @clear="(val)=>clearAData(val, it)">
  114. <el-option
  115. v-for="item in ratingArr"
  116. :key="item.value"
  117. :label="item.label"
  118. :value="item.value">
  119. </el-option>
  120. </el-select>
  121. </el-form-item>
  122. </el-col>
  123. </el-row>
  124. <el-form-item :label="it.label+'通告'" :prop="it.value+'Content'" v-for="it in acauseDataArr" :key="it.value">
  125. <el-input v-model="ruleForm[it.value+'Content']" placeholder="请输入通告"></el-input>
  126. </el-form-item>
  127. </el-form>
  128. </div>
  129. <template #footer>
  130. <span class="dialog-footer">
  131. <el-button @click="dialogVisible = false">取 消</el-button>
  132. <el-button type="primary" @click="saveevaluaStart('ruleForm')">确 定</el-button>
  133. </span>
  134. </template>
  135. </el-dialog>
  136. </div>
  137. <start-from-list ref="startFromDetail" ></start-from-list>
  138. <import-dailog ref="importPage" @successImport="successImport"></import-dailog>
  139. </div>
  140. </template>
  141. <script>
  142. import importDailog from '../importPage/importDailog.vue'
  143. import startFromList from './evaluationDeptStartFrom.vue'
  144. import btns from '../elbuttonS.vue'
  145. import seachs from '../seachGroup.vue'
  146. import ExcelJS from 'exceljs'
  147. import fileSave from 'file-saver'
  148. import {apiGetevaluationdeptratinglist, apiGetevaluationdeptratingsave,
  149. apiGetdatadictionaryList, apiPostevaluationdeptratingDelete} from '../../api/api'
  150. export default {
  151. components: {
  152. startFromList,
  153. importDailog,
  154. btns,
  155. seachs
  156. },
  157. data() {
  158. return {
  159. dialogVisible: false,
  160. isSave: false,
  161. title: '',
  162. evalradio: {},
  163. changeDateSelect: [],
  164. evaluationRatingData:[],
  165. departData: [],
  166. page:{
  167. pagesize: 12,
  168. currentPage: 1,
  169. total: 0
  170. },
  171. ruleForm: {
  172. department: '',
  173. year: '',
  174. jan: '',
  175. feb: '',
  176. mar: '',
  177. apr: '',
  178. may: '',
  179. jun: '',
  180. jul: '',
  181. aug: '',
  182. sep: '',
  183. oct: '',
  184. nov: '',
  185. dece: '',
  186. janContent: '',
  187. febContent: '',
  188. marContent: '',
  189. aprContent: '',
  190. mayContent: '',
  191. junContent: '',
  192. julContent: '',
  193. augContent: '',
  194. sepContent: '',
  195. octContent: '',
  196. novContent: '',
  197. deceContent: ''
  198. },
  199. rules: {
  200. department: [
  201. { required: true, message: '请选择考评部门', trigger: 'change' }
  202. ],
  203. year: [
  204. { required: true, message: '请选择年份', trigger: 'change' }
  205. ],
  206. janContent: [
  207. { required: true, message: '请输入通告', trigger: 'blur' }
  208. ],
  209. febContent: [
  210. { required: true, message: '请输入通告', trigger: 'blur' }
  211. ],
  212. marContent: [
  213. { required: true, message: '请输入通告', trigger: 'blur' }
  214. ],
  215. aprContent: [
  216. { required: true, message: '请输入通告', trigger: 'blur' }
  217. ],
  218. mayContent: [
  219. { required: true, message: '请输入通告', trigger: 'blur' }
  220. ],
  221. junContent: [
  222. { required: true, message: '请输入通告', trigger: 'blur' }
  223. ],
  224. julContent: [
  225. { required: true, message: '请输入通告', trigger: 'blur' }
  226. ],
  227. augContent: [
  228. { required: true, message: '请输入通告', trigger: 'blur' }
  229. ],
  230. sepContent: [
  231. { required: true, message: '请输入通告', trigger: 'blur' }
  232. ],
  233. octContent: [
  234. { required: true, message: '请输入通告', trigger: 'blur' }
  235. ],
  236. novContent: [
  237. { required: true, message: '请输入通告', trigger: 'blur' }
  238. ],
  239. deceContent: [
  240. { required: true, message: '请输入通告', trigger: 'blur' }
  241. ]
  242. },
  243. resDeptName: '',
  244. resAnnual: '',
  245. monthArr: [],
  246. monthArrLeft: [],
  247. monthArrRight: [],
  248. ratingArr: [],
  249. acauseDataArr: []
  250. }
  251. },
  252. created() {
  253. this.monthArrLeft = [
  254. {
  255. label: '一月',
  256. value: 'jan',
  257. },
  258. {
  259. label: '二月',
  260. value: 'feb',
  261. },
  262. {
  263. label: '三月',
  264. value: 'mar',
  265. },
  266. {
  267. label: '四月',
  268. value: 'apr',
  269. },
  270. {
  271. label: '五月',
  272. value: 'may',
  273. },
  274. {
  275. label: '六月',
  276. value: 'jun',
  277. }
  278. ]
  279. this.monthArrRight = [
  280. {
  281. label: '七月',
  282. value: 'jul',
  283. },
  284. {
  285. label: '八月',
  286. value: 'aug',
  287. },
  288. {
  289. label: '九月',
  290. value: 'sep',
  291. },
  292. {
  293. label: '十月',
  294. value: 'oct',
  295. },
  296. {
  297. label: '十一月',
  298. value: 'nov',
  299. },
  300. {
  301. label: '十二月',
  302. value: 'dece',
  303. },
  304. ]
  305. this.monthArr = this.monthArrLeft.concat(this.monthArrRight)
  306. this.ratingArr = [
  307. {
  308. label: 'A级',
  309. value: 'A'
  310. },
  311. {
  312. label: 'B级',
  313. value: 'B'
  314. },
  315. {
  316. label: 'C级',
  317. value: 'C'
  318. }
  319. ]
  320. this.resAnnual = new Date().getFullYear().toString()
  321. this.getevaluRatingList()
  322. this.getDepartmentFromTreeData()
  323. },
  324. methods:{
  325. // 查询列表页面
  326. getevaluRatingList() {
  327. let that = this
  328. let params = {
  329. pageNum: that.page.currentPage,
  330. pageSize: that.page.pagesize,
  331. deptName: that.resDeptName,
  332. annual: that.resAnnual
  333. }
  334. apiGetevaluationdeptratinglist(params).then(datas =>{
  335. if (datas && datas.data) {
  336. that.evaluationRatingData = datas.data
  337. // that.page.total = datas.data.length
  338. }
  339. })
  340. },
  341. // 查询部门
  342. getDepartmentFromTreeData() {
  343. let that = this
  344. let params = {
  345. superKey: 'BM0001'
  346. }
  347. apiGetdatadictionaryList(params).then(datas =>{
  348. if (datas && datas.data) {
  349. that.departData = datas.data
  350. }
  351. })
  352. },
  353. evaluationRatingFn() {
  354. if (this.evaluationRatingData.length>0) {
  355. evaluationRatingData.slice((page.currentPage-1)*page.pagesize, page.currentPage*page.pagesize)
  356. }
  357. },
  358. changeAData(val, data) {
  359. if (val !== '') {
  360. this.monthArr.forEach(it =>{
  361. if (data.label === it.label) {
  362. let model = false
  363. this.acauseDataArr.forEach((iv, index) =>{
  364. if (data.label === iv.label) {
  365. model = true
  366. }
  367. })
  368. if (!model) {
  369. this.acauseDataArr.push(it)
  370. }
  371. }
  372. })
  373. }
  374. },
  375. clearAData(val, data) {
  376. this.acauseDataArr.forEach((it, index) =>{
  377. if (data.label === it.label) {
  378. this.acauseDataArr.splice(index, 1)
  379. }
  380. })
  381. },
  382. saveevaluaStart(formName) {
  383. let that = this
  384. that.$refs[formName].validate((valid) => {
  385. if (valid) {
  386. that.saveAndEditIndicatorData()
  387. }
  388. });
  389. },
  390. //新增/修改考评启动数据
  391. saveAndEditIndicatorData() {
  392. let that = this
  393. let orgName = ''
  394. this.departData.forEach(item =>{
  395. if (item.id === that.ruleForm.department) {
  396. orgName = item.keyName
  397. }
  398. })
  399. let userMes = JSON.parse(window.sessionStorage.getItem('user'))
  400. let params = {
  401. deptId: that.ruleForm.department,
  402. deptName: orgName,
  403. annual: that.ruleForm.year,
  404. jan: that.ruleForm.jan,
  405. feb: that.ruleForm.feb,
  406. mar: that.ruleForm.mar,
  407. apr: that.ruleForm.apr,
  408. may: that.ruleForm.may,
  409. jun: that.ruleForm.jun,
  410. jul: that.ruleForm.jul,
  411. aug: that.ruleForm.aug,
  412. sep: that.ruleForm.sep,
  413. oct: that.ruleForm.oct,
  414. nov: that.ruleForm.nov,
  415. dece: that.ruleForm.dece,
  416. janContent: that.ruleForm.janContent,
  417. febContent: that.ruleForm.febContent,
  418. marContent: that.ruleForm.marContent,
  419. aprContent: that.ruleForm.aprContent,
  420. mayContent: that.ruleForm.mayContent,
  421. junContent: that.ruleForm.junContent,
  422. julContent: that.ruleForm.julContent,
  423. augContent: that.ruleForm.augContent,
  424. sepContent: that.ruleForm.sepContent,
  425. octContent: that.ruleForm.octContent,
  426. novContent: that.ruleForm.novContent,
  427. deceContent: that.ruleForm.deceContent,
  428. createBy: userMes.id,
  429. createName: userMes.name
  430. }
  431. if (that.isSave) {
  432. params.id = that.evalradio.id
  433. }
  434. apiGetevaluationdeptratingsave(params).then(datas =>{
  435. if (!datas.success) {
  436. that.$message({
  437. message: datas.message,
  438. type: 'error'
  439. });
  440. } else {
  441. if (!that.isSave) {
  442. that.$message({
  443. message: '部门绩效考核评级新增成功',
  444. type: 'success'
  445. });
  446. } else {
  447. that.$message({
  448. message: '部门绩效考核评级修改成功',
  449. type: 'success'
  450. });
  451. }
  452. that.dialogVisible = false
  453. that.changeDateSelect = []
  454. that.getevaluRatingList()
  455. }
  456. })
  457. },
  458. getSeachData() {
  459. this.page.currentPage = 1
  460. this.getevaluRatingList()
  461. },
  462. resetSeach() {
  463. this.page.currentPage = 1
  464. this.resDeptName = ''
  465. this.resAnnual = ''
  466. this.getevaluRatingList()
  467. },
  468. handleSizeChange(val){
  469. this.page.pagesize = val
  470. this.getevaluRatingList()
  471. },
  472. handleCurrentChange(val){
  473. this.page.currentPage =val
  474. this.getevaluRatingList()
  475. },
  476. rowClick(selection, row) {
  477. this.changeDateSelect = selection
  478. },
  479. handleAdd() {
  480. this.dialogVisible = true
  481. this.isSave = false
  482. this.title = '新建部门绩效考核评级'
  483. this.acauseDataArr = []
  484. this.$nextTick(() =>{
  485. // this.$refs['ruleForm'].resetFields()
  486. this.ruleForm = {
  487. department: '',
  488. year: '',
  489. jan: '',
  490. feb: '',
  491. mar: '',
  492. apr: '',
  493. may: '',
  494. jun: '',
  495. jul: '',
  496. aug: '',
  497. sep: '',
  498. oct: '',
  499. nov: '',
  500. dece: '',
  501. janContent: '',
  502. febContent: '',
  503. marContent: '',
  504. aprContent: '',
  505. mayContent: '',
  506. junContent: '',
  507. julContent: '',
  508. augContent: '',
  509. sepContent: '',
  510. octContent: '',
  511. novContent: '',
  512. deceContent: ''
  513. }
  514. })
  515. },
  516. handleEdit() {
  517. this.dialogVisible = true
  518. this.isSave = true
  519. this.title = '修改部门绩效考核评级'
  520. this.evalradio = this.changeDateSelect[0]
  521. this.acauseDataArr = []
  522. this.ruleForm = {
  523. department: this.evalradio.deptId,
  524. year: this.evalradio.annual,
  525. jan: this.evalradio.jan,
  526. feb: this.evalradio.feb,
  527. mar: this.evalradio.mar,
  528. apr: this.evalradio.apr,
  529. may: this.evalradio.may,
  530. jun: this.evalradio.jun,
  531. jul: this.evalradio.jul,
  532. aug: this.evalradio.aug,
  533. sep: this.evalradio.sep,
  534. oct: this.evalradio.oct,
  535. nov: this.evalradio.nov,
  536. dece: this.evalradio.dece,
  537. janContent: this.evalradio.janContent,
  538. febContent: this.evalradio.febContent,
  539. marContent: this.evalradio.marContent,
  540. aprContent: this.evalradio.aprContent,
  541. mayContent: this.evalradio.mayContent,
  542. junContent: this.evalradio.junContent,
  543. julContent: this.evalradio.julContent,
  544. augContent: this.evalradio.augContent,
  545. sepContent: this.evalradio.sepContent,
  546. octContent: this.evalradio.octContent,
  547. novContent: this.evalradio.novContent,
  548. deceContent: this.evalradio.deceContent
  549. }
  550. let arr = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dece']
  551. arr.forEach(it =>{
  552. if (this.evalradio[it] !== '') {
  553. this.monthArr.forEach(itv =>{
  554. if (itv.value === it) {
  555. this.acauseDataArr.push(itv)
  556. }
  557. })
  558. }
  559. })
  560. },
  561. //删除
  562. handleDelete() {
  563. this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
  564. confirmButtonText: '确定',
  565. cancelButtonText: '取消',
  566. type: 'warning'
  567. }).then(() => {
  568. let that = this
  569. let paramsArr = []
  570. that.changeDateSelect.forEach(it =>{
  571. paramsArr.push(it.id)
  572. })
  573. apiPostevaluationdeptratingDelete(paramsArr.join(',')).then(datas =>{
  574. that.$message({
  575. type: 'success',
  576. message: '删除成功!'
  577. });
  578. that.getevaluRatingList()
  579. that.changeDateSelect = []
  580. })
  581. })
  582. },
  583. handleImport() {
  584. this.$refs.importPage.upload.title = "部门考评评级"
  585. this.$refs.importPage.upload.open = true
  586. this.$refs.importPage.upload.url = '/evaluation-dept-rating/import'
  587. },
  588. successImport(val) {
  589. this.getevaluRatingList()
  590. },
  591. handleExport() {
  592. let data = this.evaluationRatingData //接口返回数据
  593. const workbook = new ExcelJS.Workbook()
  594. const worksheet = workbook.addWorksheet('Sheet1')
  595. //根据数据自己调整
  596. let colums = []
  597. colums = [
  598. { header: 'ID', key: 'id', width: 26 },
  599. { header: '考评部门', key: 'deptName', width: 26 },
  600. { header: '考评年度', key: 'annual', width: 26 },
  601. { header: '一月', key: 'jan', width: 15 },
  602. { header: '一月通告', key: 'janContent', width: 26 },
  603. { header: '二月', key: 'feb', width: 15 },
  604. { header: '二月通告', key: 'febContent', width: 26 },
  605. { header: '三月', key: 'mar', width: 15 },
  606. { header: '三月通告', key: 'marContent', width: 26 },
  607. { header: '四月', key: 'apr', width: 15 },
  608. { header: '四月通告', key: 'aprContent', width: 26 },
  609. { header: '五月', key: 'may', width: 15 },
  610. { header: '五月通告', key: 'mayContent', width: 26 },
  611. { header: '六月', key: 'jun', width: 15 },
  612. { header: '六月通告', key: 'junContent', width: 26 },
  613. { header: '七月', key: 'jul', width: 15 },
  614. { header: '七月通告', key: 'julContent', width: 26 },
  615. { header: '八月', key: 'aug', width: 15 },
  616. { header: '八月通告', key: 'augContent', width: 26 },
  617. { header: '九月', key: 'sep', width: 15 },
  618. { header: '九月通告', key: 'sepContent', width: 26 },
  619. { header: '十月', key: 'oct', width: 15 },
  620. { header: '十月通告', key: 'octContent', width: 26 },
  621. { header: '十一月', key: 'nov', width: 15 },
  622. { header: '十一月通告', key: 'novContent', width: 26 },
  623. { header: '十二月', key: 'dece', width: 15 },
  624. { header: '十二月通告', key: 'deceContent', width: 26 },
  625. { header: 'A级总数', key: 'acount', width: 15 },
  626. ]
  627. worksheet.columns = colums
  628. worksheet.getRow(1).font = {
  629. size: 12,
  630. bold: true
  631. }
  632. worksheet.addRows(data)
  633. workbook.xlsx.writeBuffer().then(buffer => {
  634. //这里为type
  635. const blob = new Blob([buffer], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8' })
  636. fileSave(blob, `部门考评评级数据导出.xlsx`)
  637. })
  638. }
  639. }
  640. }
  641. </script>
  642. <style lang="less">
  643. .evaluationRating{
  644. .evaluationRatingBtn{
  645. .collectSeach{
  646. display: flex;
  647. padding: 24px 20px;
  648. border-bottom: 1px solid#D6DBEA;
  649. .exceed{
  650. display: flex;
  651. .exceedSpan{
  652. width: 100px;
  653. height: 12px;
  654. font-size: 14px;
  655. font-family: Microsoft YaHei;
  656. font-weight: 400;
  657. color: #8991B0;
  658. line-height: 12px;
  659. margin-top: 14px;
  660. }
  661. .el-input{
  662. margin-right:10px;
  663. height: 40px;
  664. .el-input__inner{
  665. height:40px;
  666. }
  667. .el-input__suffix{
  668. .el-select__caret{
  669. line-height:30px;
  670. }
  671. }
  672. }
  673. }
  674. .el-select{
  675. margin-right:10px;
  676. .el-input__inner{
  677. height:30px;
  678. }
  679. .el-input__suffix{
  680. .el-select__caret{
  681. line-height:30px;
  682. }
  683. }
  684. }
  685. }
  686. span{
  687. font-size:14px;
  688. }
  689. .PeriodBtn{
  690. display: flex;
  691. justify-content: end;
  692. padding: 20px 0;
  693. }
  694. .el-button{
  695. height: 30px;
  696. // width:100px;
  697. padding: 0 20px ;
  698. // padding-top: 8px;
  699. span{
  700. margin:0;
  701. }
  702. }
  703. .evaluationRatingTableData{
  704. .el-table{
  705. .el-table__body-wrapper{
  706. height: 65vh !important;
  707. }
  708. .el-input__inner{
  709. height: 30px !important;
  710. }
  711. .el-radio__label{
  712. display: none;
  713. }
  714. .tooltipCC{
  715. width: 300px !important;
  716. display: inline-block;
  717. overflow: hidden;
  718. text-overflow: ellipsis;
  719. white-space: nowrap;
  720. }
  721. .tooltipCCDes{
  722. width: 50px;
  723. display: inline-block;
  724. overflow: hidden;
  725. text-overflow: ellipsis;
  726. white-space: nowrap;
  727. }
  728. .indicitem{
  729. color: #409EFF;
  730. font-size: 12px;
  731. margin-right: 20px;
  732. cursor:pointer;
  733. &:hover{
  734. text-decoration: underline;
  735. }
  736. }
  737. }
  738. .el-pagination{
  739. margin-top: 20px;
  740. text-align: end;
  741. position: relative;
  742. }
  743. }
  744. .el-overlay{
  745. .startToDia{
  746. .el-dialog__body{
  747. padding: 30px 60px 30px 20px !important;
  748. .periodFrom{
  749. .el-select, .el-input{
  750. width: 100%;
  751. }
  752. .el-input{
  753. height: 30px;
  754. }
  755. }
  756. .flowSty{
  757. width: 100%;
  758. height: 70vh;
  759. }
  760. }
  761. }
  762. }
  763. }
  764. }
  765. </style>