achievementKPage.vue 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  1. <template>
  2. <div class="achievement">
  3. <div class="achievementBtn">
  4. <div class="collectSeach" :style="$utils.collectSeachSty()">
  5. <div class="exceed">
  6. <span class="exceedSpan">业务编码:</span>
  7. <el-input v-model="coefficientStr" placeholder="请输入业务编码"></el-input>
  8. </div>
  9. <div class="exceed">
  10. <span class="exceedSpan" style="width: 80px">考评时间:</span>
  11. <el-date-picker v-model="resAnnual" value-format="YYYY" type="year" placeholder="选择时间" />
  12. </div>
  13. <seachs @handleSeach="getSeachData" @handleRest="resetSeach"></seachs>
  14. </div>
  15. <div class="PeriodBtn" :style="$utils.PeriodBtnSty()">
  16. <btns
  17. :showImport="false"
  18. :showExport="false"
  19. :showAdd="$utils.havePurview('achieveK:oneLevel:add')"
  20. :showSave="$utils.havePurview('achieveK:oneLevel:save')"
  21. :showDelete="$utils.havePurview('achieveK:oneLevel:delete')"
  22. :disSave="changeDateSelect.length === 0 || changeDateSelect.length>1"
  23. :disDelete="changeDateSelect.length === 0"
  24. :disImport="true"
  25. :disExport="true"
  26. @handleAdd="handleAdd"
  27. @handleEdit="handleEdit"
  28. @handleDelete="handleDelete"
  29. @handleImport="handleImport"
  30. @handleExport="handleExport"
  31. ></btns>
  32. </div>
  33. <div class="achievementTableData">
  34. <el-table :data="achievementData" style="width: 100%" :class="achievementTableSty()"
  35. @select="rowClick" @select-all="rowClick" @row-dblclick="detailWatch">
  36. <el-table-column type="selection" label="操作" align="center"></el-table-column>
  37. <el-table-column label="序号" type="index" />
  38. <el-table-column label="业务编码" prop="coefficientCode" />
  39. <el-table-column label="单位名称" prop="createOrgName" width="400" />
  40. <el-table-column label="业务简述" prop="des" width="400"/>
  41. <el-table-column label="年度" prop="year" />
  42. <!-- <el-table-column label="单据状态" prop="state" /> -->
  43. <el-table-column label="创建人" prop="createName" />
  44. <el-table-column label="修改时间" prop="updateTime" width="200" />
  45. <!-- <el-table-column label="操作">
  46. <template #default="scope">
  47. <p class="indicitem" @click="detailWatch(scope.row)">详情</p>
  48. </template>
  49. </el-table-column> -->
  50. </el-table>
  51. <el-pagination
  52. @size-change="handleSizeChange"
  53. @current-change="handleCurrentChange"
  54. :current-page="page.currentPage"
  55. :page-size="page.pagesize"
  56. layout="total, prev, pager, next, jumper"
  57. :total="page.total">
  58. </el-pagination>
  59. </div>
  60. <div class="indexdialog">
  61. <el-dialog :title="title" v-model="dialogVisible" width="95vw" :close-on-click-modal="false">
  62. <div class="startDetail">
  63. <p class="starttitleSty">基础信息:</p>
  64. <el-row class="danjuMsg">
  65. <el-col :span="6">
  66. <div class="danjuMsg_data">
  67. <span class="data_tit data_tit_1">单位名称:</span>
  68. <el-select v-model="achObj.organizationName" placeholder="请选择部门" @change="changeRule">
  69. <el-option
  70. v-for="item in departmentDataAll"
  71. :key="item.id"
  72. :label="item.name"
  73. :value="item.id">
  74. </el-option>
  75. </el-select>
  76. </div>
  77. </el-col>
  78. <el-col :span="6">
  79. <div class="danjuMsg_data">
  80. <span class="data_tit data_tit_2">年度:</span>
  81. <el-date-picker
  82. v-model="achObj.year"
  83. type="year"
  84. value-format="YYYY"
  85. placeholder="请选择年份"
  86. />
  87. </div>
  88. </el-col>
  89. <el-col :span="24">
  90. <div class="danjuMsg_data">
  91. <span class="data_tit data_tit_1">业务简述:</span>
  92. <el-input v-model="achObj.desc" :rows="2" type="textarea" placeholder="请输入描述"></el-input>
  93. </div>
  94. </el-col>
  95. </el-row>
  96. <div class="detaTableBtns">
  97. <div class="tableBtn add" @click="addDetail">
  98. <img :src="addIcon" alt="">
  99. <span>新增</span>
  100. </div>
  101. <!-- <div class="tableBtn save" @click="saveDetail">
  102. <img :src="saveIcon" alt="">
  103. <span>保存</span>
  104. </div> -->
  105. <!-- <div class="tableBtn edit">
  106. <img :src="editIcon" alt="">
  107. <span>新增</span>
  108. </div> -->
  109. <div class="tableBtn delete" @click="deleteTableData">
  110. <img :src="deleteIcon" alt="">
  111. <span>删除</span>
  112. </div>
  113. </div>
  114. <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
  115. <el-tab-pane label="权重分配" name="first">
  116. <el-table :data="weightAllocation" style="width: 100%" @select="rowClickTable" @select-all="rowClickTable">
  117. <el-table-column type="selection" label="操作" align="center"></el-table-column>
  118. <el-table-column type="index" label="序号" width="80" />
  119. <el-table-column label="考评单位">
  120. <template #default="scope">
  121. <el-select v-model="scope.row.organizationId" placeholder="请选择考评单位" @change="(val)=>chooseOrg(val, scope.row)">
  122. <el-option
  123. v-for="item in companyDatas"
  124. :key="item.id"
  125. :label="item.name"
  126. :value="item.id">
  127. </el-option>
  128. </el-select>
  129. </template>
  130. </el-table-column>
  131. <el-table-column label="业务属性">
  132. <template #default="scope">
  133. <el-select v-model="scope.row.binSection" placeholder="请选择业务属性">
  134. <el-option
  135. v-for="item in moduleData"
  136. :key="item.id"
  137. :label="item.sectionName"
  138. :value="item.id">
  139. </el-option>
  140. </el-select>
  141. </template>
  142. </el-table-column>
  143. <el-table-column label="资产管理系数" align="center">
  144. <el-table-column label="资产总额">
  145. <template #default="scope">
  146. <el-input-number v-model="scope.row.zzc" :min="0" />
  147. </template>
  148. </el-table-column>
  149. <el-table-column label="K1">
  150. <template #default="scope">
  151. <el-input-number v-model="scope.row.k1" :precision="2" :step="0.1" :min="0" :max="1" />
  152. </template>
  153. </el-table-column>
  154. </el-table-column>
  155. <el-table-column label="幅度管理系数" align="center">
  156. <el-table-column label="机组">
  157. <template #default="scope">
  158. <el-input-number v-model="scope.row.jzs" :min="0" />
  159. </template>
  160. </el-table-column>
  161. <el-table-column label="K2">
  162. <template #default="scope">
  163. <el-input-number v-model="scope.row.k2" :precision="2" :step="0.1" :min="0" :max="1" />
  164. </template>
  165. </el-table-column>
  166. </el-table-column>
  167. <el-table-column label="效益贡献系数" align="center">
  168. <el-table-column label="账面利润总额">
  169. <template #default="scope">
  170. <el-input-number v-model="scope.row.zmlrze" :min="0" />
  171. </template>
  172. </el-table-column>
  173. <el-table-column label="发电量">
  174. <template #default="scope">
  175. <el-input-number v-model="scope.row.fdl" :min="0" />
  176. </template>
  177. </el-table-column>
  178. <el-table-column label="度电利润">
  179. <template #default="scope">
  180. <el-input-number v-model="scope.row.ddlr" :min="0" />
  181. </template>
  182. </el-table-column>
  183. <el-table-column label="K3">
  184. <template #default="scope">
  185. <el-input-number v-model="scope.row.k3" :precision="2" :step="0.1" :min="0" :max="1" />
  186. </template>
  187. </el-table-column>
  188. </el-table-column>
  189. <el-table-column label="定员管理系数" align="center">
  190. <el-table-column label="定员">
  191. <template #default="scope">
  192. <el-input-number v-model="scope.row.dy" :min="0" />
  193. </template>
  194. </el-table-column>
  195. <el-table-column label="K4">
  196. <template #default="scope">
  197. <el-input-number v-model="scope.row.k4" :precision="2" :step="0.1" :min="0" :max="1" />
  198. </template>
  199. </el-table-column>
  200. </el-table-column>
  201. <el-table-column label="K">
  202. <template #default="scope">
  203. <el-input-number v-model="scope.row.k" :precision="2" :step="0.1" :min="0" :max="1" />
  204. </template>
  205. </el-table-column>
  206. <el-table-column label="填报人" prop="createName">
  207. <!-- <template #default="scope">
  208. <el-input v-model="scope.row.createBy" placeholder="请输入填报人"></el-input>
  209. </template> -->
  210. </el-table-column>
  211. <el-table-column label="填报日期" prop="createTime">
  212. <!-- <template #default="scope">
  213. <el-date-picker
  214. v-model="scope.row.createTime"
  215. type="date"
  216. value-format="YYYY-MM-DD"
  217. :size="size"
  218. />
  219. </template> -->
  220. </el-table-column>
  221. </el-table>
  222. </el-tab-pane>
  223. </el-tabs>
  224. </div>
  225. <template #footer>
  226. <span class="dialog-footer">
  227. <el-button @click="dialogVisible = false">取 消</el-button>
  228. <el-button type="primary" @click="saveachievementMsg()">确 定</el-button>
  229. </span>
  230. </template>
  231. </el-dialog>
  232. </div>
  233. <indicator-item ref="indicatorItem"></indicator-item>
  234. </div>
  235. <achievement-detail ref="achievementDetail"></achievement-detail>
  236. </div>
  237. </template>
  238. <script>
  239. import achievementDetail from './achievementKDetail.vue'
  240. import btns from '../elbuttonS.vue'
  241. import seachs from '../seachGroup.vue'
  242. import {apiGetyeargroupcoefficientList, apiGetyeargroupcoefficientsaveGroup, apiDeleteyearcoefficientRemove,apiGetbinsectionList,
  243. apiGetorganizationstructureFromTree, apiGetorganizationgetTree, apigetyeargroupcoefficientlistById} from '../../api/api'
  244. export default {
  245. components: { btns, achievementDetail, seachs },
  246. data() {
  247. return {
  248. dialogVisible: false,
  249. title: '',
  250. isSave: false,
  251. changeDateSelect: [],
  252. changeTableSelect: [],
  253. coefficientStr: '',
  254. resAnnual: '',
  255. achievementData:[],
  256. departmentDataAll: [],
  257. weightAllocation: [],
  258. companyDatas: [],
  259. moduleData: [],
  260. achObj: {
  261. organizationName: '',
  262. year: '',
  263. des: ''
  264. },
  265. page:{
  266. pagesize: 12,
  267. currentPage: 1,
  268. total: 0
  269. },
  270. evalradio: {},
  271. activeName: 'first',
  272. winPix: window.devicePixelRatio,
  273. innerWidth: window.innerWidth
  274. }
  275. },
  276. created() {
  277. this.resAnnual = new Date().getFullYear().toString()
  278. this.getachievementData()
  279. this.getDepartmentFromTreeData()
  280. this.getOrganizetionData()
  281. this.getBinSectionS()
  282. },
  283. methods:{
  284. // 查询人员配置数据
  285. getachievementData() {
  286. let that = this
  287. let params = {
  288. pageNum: that.page.currentPage,
  289. pageSize: that.page.pagesize,
  290. coefficientCode: that.coefficientStr,
  291. year: that.resAnnual
  292. }
  293. apiGetyeargroupcoefficientList(params).then(datas =>{
  294. if (datas && datas.data) {
  295. that.achievementData = datas.data.records
  296. that.page.total = datas.data.total
  297. }
  298. })
  299. },
  300. //根据组织树查询部门
  301. getDepartmentFromTreeData() {
  302. let that = this
  303. let params = {
  304. id: '23031001',
  305. num: 1
  306. }
  307. apiGetorganizationstructureFromTree(params).then(datas =>{
  308. if (datas && datas.data) {
  309. that.departmentDataAll = datas.data[0].children
  310. }
  311. })
  312. },
  313. // 查询业务属性
  314. getBinSectionS() {
  315. let that = this
  316. apiGetbinsectionList().then(datas =>{
  317. if (datas && datas.data) {
  318. that.moduleData = datas.data
  319. }
  320. })
  321. },
  322. //查询组织数据
  323. getOrganizetionData() {
  324. let that = this
  325. let params = {
  326. id: '23031000',
  327. num: 1
  328. }
  329. apiGetorganizationgetTree(params).then(datas =>{
  330. if (datas && datas.data && datas.data[0].children.length>0) {
  331. that.companyDatas = datas.data[0].children
  332. }
  333. })
  334. },
  335. addDetail() {
  336. let userMes = JSON.parse(window.sessionStorage.getItem('user'))
  337. let obj = {
  338. id: Math.random(),
  339. organizationId: '',
  340. binSection: '',
  341. zzc: 0,
  342. k1: 0,
  343. jzs: 0,
  344. k2: 0,
  345. zmlrze: 0,
  346. fdl: 0,
  347. ddlr: 0,
  348. k3: 0,
  349. dy: 0,
  350. k4: 0,
  351. k: 0,
  352. createBy: userMes.id,
  353. createName: userMes.name,
  354. createTime: this.getPowerTime(new Date())
  355. }
  356. this.weightAllocation.push(obj)
  357. },
  358. deleteTableData() {
  359. for(let i =0; i<this.changeTableSelect.length;i++) {
  360. let item = this.changeTableSelect[i]
  361. for(let j =0; j<this.weightAllocation.length;j++) {
  362. let it = this.weightAllocation[j]
  363. if (item.id === it.id) {
  364. this.weightAllocation.splice(j, 1)
  365. }
  366. }
  367. }
  368. },
  369. //转换时间
  370. getPowerTime(date){
  371. var y = date.getFullYear();
  372. var m = date.getMonth() + 1;
  373. m = m < 10 ? ('0' + m) : m;
  374. var d = date.getDate();
  375. d = d < 10 ? ('0' + d) : d;
  376. var h = date.getHours();
  377. h=h < 10 ? ('0' + h) : h;
  378. var minute = date.getMinutes();
  379. minute = minute < 10 ? ('0' + minute) : minute;
  380. var second=date.getSeconds();
  381. second=second < 10 ? ('0' + second) : second;
  382. let timeF = ''
  383. timeF = y + '-' + m + '-' + d+' '+h+':'+minute+ ':'+second
  384. return timeF
  385. },
  386. //根据id查询权重数据
  387. getWeightAllocation(id) {
  388. let that = this
  389. let params = {
  390. id: id
  391. }
  392. apigetyeargroupcoefficientlistById(params).then(datas =>{
  393. if (datas && datas.data) {
  394. that.achObj = {
  395. organizationName: datas.data.createOrgId,
  396. year: datas.data.year,
  397. desc: datas.data.des
  398. }
  399. that.weightAllocation = datas.data.coefficientList
  400. }
  401. })
  402. },
  403. detailWatch(row) {
  404. this.$refs.achievementDetail.init(row)
  405. },
  406. handleAdd() {
  407. this.dialogVisible = true
  408. this.isSave = false
  409. this.title = '新增业绩考核系数'
  410. this.achObj = {
  411. organizationName: '',
  412. year: '',
  413. des: ''
  414. }
  415. this.weightAllocation = []
  416. },
  417. handleEdit() {
  418. this.dialogVisible = true
  419. this.isSave = true
  420. this.title = '修改业绩考核系数'
  421. this.evalradio = this.changeDateSelect[0]
  422. this.getWeightAllocation(this.evalradio.id)
  423. },
  424. saveachievementMsg() {
  425. let that = this
  426. if (that.achObj.organizationName === '' || that.achObj.year === '') {
  427. that.$message({
  428. message: '请完善基础信息',
  429. type: 'error'
  430. })
  431. } else {
  432. that.saveAndEditIndicatorData()
  433. }
  434. },
  435. //新增/修改指标数据
  436. saveAndEditIndicatorData() {
  437. let that = this
  438. let userMes = JSON.parse(window.sessionStorage.getItem('user'))
  439. let orgName = ''
  440. this.departmentDataAll.forEach(item =>{
  441. if (item.id === that.achObj.organizationName) {
  442. orgName = item.name
  443. }
  444. })
  445. let params = {
  446. createOrgId: that.achObj.organizationName,
  447. createOrgName: orgName,
  448. year: that.achObj.year,
  449. des: that.achObj.desc,
  450. coefficientList: that.weightAllocation,
  451. createOrgId: userMes.unitId,
  452. createOrgName: userMes.unitName,
  453. createBy: userMes.id,
  454. createName: userMes.name
  455. }
  456. if (that.isSave) {
  457. params.id = this.evalradio.id
  458. }
  459. apiGetyeargroupcoefficientsaveGroup(params).then(datas =>{
  460. if (!datas.success) {
  461. that.$message({
  462. message: datas.message,
  463. type: 'error'
  464. });
  465. } else {
  466. if (!that.isSave) {
  467. that.$message({
  468. message: '考评人员新增成功',
  469. type: 'success'
  470. });
  471. } else {
  472. that.$message({
  473. message: '考评人员修改成功',
  474. type: 'success'
  475. });
  476. }
  477. that.dialogVisible = false
  478. that.changeDateSelect = []
  479. that.getachievementData()
  480. }
  481. })
  482. },
  483. //删除指标数据
  484. handleDelete() {
  485. this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
  486. confirmButtonText: '确定',
  487. cancelButtonText: '取消',
  488. type: 'warning'
  489. }).then(() => {
  490. let that = this
  491. let paramsArr = []
  492. that.changeDateSelect.forEach(it =>{
  493. paramsArr.push(it.id)
  494. })
  495. apiDeleteyearcoefficientRemove(paramsArr.join(',')).then(datas =>{
  496. if (datas) {
  497. that.$message({
  498. type: 'success',
  499. message: '删除成功!'
  500. });
  501. that.changeDateSelect = []
  502. that.getachievementData()
  503. }
  504. })
  505. })
  506. },
  507. rowClick(selection, row) {
  508. this.changeDateSelect = selection
  509. },
  510. rowClickTable(selection, row) {
  511. this.changeTableSelect = selection
  512. },
  513. chooseOrg(val, row) {
  514. this.companyDatas.forEach(item =>{
  515. if (val === item.id) {
  516. row.organizationName = item.name
  517. }
  518. })
  519. },
  520. getSeachData() {
  521. this.page.currentPage = 1
  522. this.getachievementData()
  523. },
  524. resetSeach() {
  525. this.page.currentPage = 1
  526. this.coefficientStr = ''
  527. this.resAnnual = ''
  528. this.getachievementData()
  529. },
  530. handleSizeChange(val){
  531. this.page.pagesize = val
  532. this.getachievementData()
  533. },
  534. handleCurrentChange(val){
  535. this.page.currentPage =val
  536. this.getachievementData()
  537. },
  538. handleImport() {
  539. this.$refs.importPage.upload.title = "考评指标管理信息导入"
  540. this.$refs.importPage.upload.open = true
  541. },
  542. achievementTableSty() {
  543. if (this.winPix === 1.25 || this.innerWidth < 1800) {
  544. return 'achievement125Table'
  545. } else {
  546. return 'achievement100Table'
  547. }
  548. }
  549. }
  550. }
  551. </script>
  552. <style lang="less">
  553. .achievement{
  554. .achievementBtn{
  555. .collectSeach{
  556. display: flex;
  557. padding: 24px 20px;
  558. border-bottom: 1px solid#D6DBEA;
  559. .exceed{
  560. display: flex;
  561. .exceedSpan{
  562. width: 100px;
  563. height: 12px;
  564. font-size: 14px;
  565. font-family: Microsoft YaHei;
  566. font-weight: 400;
  567. color: #8991B0;
  568. line-height: 12px;
  569. margin-top: 14px;
  570. }
  571. .el-input{
  572. margin-right:10px;
  573. height: 40px;
  574. .el-input__inner{
  575. height:40px;
  576. }
  577. .el-input__suffix{
  578. .el-select__caret{
  579. line-height:30px;
  580. }
  581. }
  582. }
  583. }
  584. .el-select{
  585. margin-right:10px;
  586. .el-input__inner{
  587. height:30px;
  588. }
  589. .el-input__suffix{
  590. .el-select__caret{
  591. line-height:30px;
  592. }
  593. }
  594. }
  595. }
  596. span{
  597. font-size:14px;
  598. }
  599. .PeriodBtn{
  600. display: flex;
  601. justify-content: flex-end;
  602. padding: 20px 0;
  603. }
  604. .el-button{
  605. height: 30px;
  606. // width:100px;
  607. padding: 0 30px ;
  608. // padding-top: 8px;
  609. span{
  610. margin:0;
  611. }
  612. }
  613. .indexdialog{
  614. .el-overlay{
  615. .el-dialog{
  616. margin-top: 3vh;
  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: 20px;
  633. .danjuMsg_data{
  634. padding: 5px 0 10px 0;
  635. display: flex;
  636. .data_tit{
  637. font-weight: bold;
  638. font-size: 14px;
  639. font-family: Microsoft YaHei;
  640. color: #8991B0;
  641. position: relative;
  642. top: 7px;
  643. }
  644. .data_tit_1{
  645. width: 100px;
  646. }
  647. .data_tit_2{
  648. width: 60px;
  649. }
  650. .el-select, .el-input{
  651. width: 90%;
  652. height: 40px;
  653. }
  654. .el-textarea{
  655. left: -7px;
  656. }
  657. }
  658. }
  659. .detaTableBtns{
  660. display: flex;
  661. width: 300px;
  662. position: relative;
  663. top: 32px;
  664. left: 87vw;
  665. z-index: 11111;
  666. .tableBtn {
  667. display: flex;
  668. margin-right: 30px;
  669. width: 13%;
  670. img{
  671. margin-right: 5px;
  672. margin-top: 1px;
  673. }
  674. span{
  675. font-size: 14px;
  676. font-family: Microsoft YaHei;
  677. font-weight: 400;
  678. }
  679. }
  680. .add{
  681. cursor: pointer;
  682. span{
  683. color: #3B7AD1;
  684. }
  685. }
  686. .save{
  687. cursor: pointer;
  688. span{
  689. color: #50C14E;
  690. }
  691. }
  692. .edit{
  693. span{
  694. color: #F5A623;
  695. }
  696. }
  697. .delete{
  698. cursor: pointer;
  699. span{
  700. color: #F65177;
  701. }
  702. }
  703. }
  704. .el-tabs{
  705. .el-tabs__header{
  706. .el-tabs__nav{
  707. .el-tabs__item{
  708. font-size: 18px;
  709. font-family: Microsoft YaHei;
  710. font-weight: bold;
  711. margin: 0 10px;
  712. color: #8991B0;
  713. }
  714. .is-active{
  715. font-size: 18px;
  716. font-family: Microsoft YaHei;
  717. font-weight: bold;
  718. color: #3B7AD1;
  719. margin: 0 10px;
  720. }
  721. }
  722. }
  723. .el-table{
  724. .el-table__body-wrapper{
  725. height: 33vh;
  726. }
  727. .el-table__row{
  728. .cell{
  729. .el-input{
  730. height: 24px;
  731. .el-input__inner{
  732. height: 24px;
  733. }
  734. }
  735. .el-input-number--small, .el-date-editor{
  736. width: 100px;
  737. }
  738. }
  739. }
  740. }
  741. }
  742. }
  743. }
  744. }
  745. }
  746. }
  747. .achievementTableData{
  748. .achievement125Table{
  749. .el-table__body-wrapper{
  750. height: 53vh !important;
  751. }
  752. }
  753. .achievement100Table{
  754. .el-table__body-wrapper{
  755. height: 60vh !important;
  756. }
  757. }
  758. .el-table{
  759. .el-input__inner{
  760. height: 30px !important;
  761. }
  762. .el-radio__label{
  763. display: none;
  764. }
  765. .indicitem{
  766. color: #409EFF;
  767. font-size: 12px;
  768. margin-right: 20px;
  769. cursor:pointer;
  770. &:hover{
  771. text-decoration: underline;
  772. }
  773. }
  774. }
  775. .el-pagination{
  776. margin-top: 20px;
  777. text-align: end;
  778. position: relative;
  779. }
  780. }
  781. }
  782. }
  783. </style>