evaluationDeptRatingPage.vue 29 KB

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