123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <template>
- <div class="startFrom">
- <el-dialog title="业绩考核系数详情" v-model="dialogVisible" :fullscreen="true" :close-on-click-modal="false">
- <div class="startDetail">
- <p class="starttitleSty">基础信息:</p>
- <el-row class="danjuMsg">
- <el-col :span="10">
- <div class="danjuMsg_data">
- <span class="data_tit">单位名称:</span>
- <span>{{receiptMsg.organizationName}}</span>
- </div>
- </el-col>
- <el-col :span="12">
- <div class="danjuMsg_data">
- <span class="data_tit">年度:</span>
- <span>{{receiptMsg.year}}</span>
- </div>
- </el-col>
- <el-col :span="24">
- <div class="danjuMsg_data">
- <span class="data_tit data_tit_1">业务简述:</span>
- <span>{{receiptMsg.desc}}</span>
- </div>
- </el-col>
- </el-row>
- <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
- <el-tab-pane label="权重分配" name="first">
- <!-- @select="rowClick" @select-all="rowClick" -->
- <el-table :data="weightAllocation" style="width: 100%">
- <!-- <el-table-column type="selection" label="操作" align="center"></el-table-column> -->
- <el-table-column type="index" label="序号" width="80" />
- <el-table-column label="考评单位" prop="organizationName" width="300"/>
- <el-table-column label="资产管理系数" align="center">
- <el-table-column label="资产总额" prop="zzc" />
- <el-table-column label="K1" prop="k1" />
- </el-table-column>
- <el-table-column label="幅度管理系数" align="center">
- <el-table-column label="机组" prop="jzs" />
- <el-table-column label="K2" prop="k2" />
- </el-table-column>
- <el-table-column label="效益贡献系数" align="center">
- <el-table-column label="账面利润总额" prop="zmlrze" />
- <el-table-column label="发电量" prop="fdl" />
- <el-table-column label="度电利润" prop="ddlr" />
- <el-table-column label="K3" prop="k3" />
- </el-table-column>
- <el-table-column label="定员管理系数" align="center">
- <el-table-column label="定员" prop="dy" />
- <el-table-column label="K4" prop="k4" />
- </el-table-column>
- <el-table-column label="K" prop="k" />
- <el-table-column label="填报人" prop="createBy" />
- <el-table-column label="填报日期" prop="createTime" width="160" />
- </el-table>
- </el-tab-pane>
- </el-tabs>
-
- </div>
- <template #footer>
- <span class="dialog-footer">
- <el-button type="primary" @click="dialogVisible = false">取 消</el-button>
- </span>
- </template>
- </el-dialog>
- </div>
- </template>
- <script>
- import {apigetyeargroupcoefficientlistById} from '../../api/api'
- import addIcon from '../../assets/btnIcon/add.png'
- import saveIcon from '../../assets/btnIcon/save.png'
- import editIcon from '../../assets/btnIcon/edit.png'
- import deleteIcon from '../../assets/btnIcon/delete.png'
- export default {
- data() {
- return {
- dialogVisible: false,
- activeName: 'first',
- quantifiedList: [],
- nonQuantifiedList: [],
- changeDateSelect: [],
- receiptMsg: {
- organizationName: '',
- des: '',
- year: '',
- },
- addIcon: addIcon,
- saveIcon: saveIcon,
- editIcon: editIcon,
- deleteIcon: deleteIcon,
- rowMsg: {},
- weightAllocation: []
- }
- },
- created() {
- },
- methods: {
- init(row) {
- this.dialogVisible = true
- this.activeName = 'first'
- this.getDetails(row.id)
- this.rowMsg = row
- },
- handleClick() {
- this.changeDateSelect = []
- },
- rowClick(selection, row) {
- this.changeDateSelect = selection
- },
- //获取详情
- getDetails(id) {
- let that = this
- let params = {
- id: id
- }
- apigetyeargroupcoefficientlistById(params).then(datas =>{
- if (datas && datas.data) {
- that.receiptMsg = {
- organizationName: datas.data.createOrgName,
- year: datas.data.year,
- desc: datas.data.des
- }
- that.weightAllocation = datas.data.coefficientList
- }
- })
- }
- }
- }
- </script>
- <style lang="less">
- .startFrom{
- .el-overlay{
- .el-dialog{
- // margin-top: 7vh;
- .el-dialog__body{
- padding: 0 20px !important;
- .startDetail{
- .starttitleSty{
- font-size: 18px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #3B7AD1;
- // line-height: 12px;
- margin: 20px 0 20px 10px;
- }
- .danjuMsg{
- border: 1px solid #D6DBEA;
- padding: 10px 20px;
- border-radius: 10px;
- margin-bottom: 20px;
- .danjuMsg_data{
- padding: 5px 0 10px 0;
- .data_tit{
- margin-right: 10px;
- font-weight: bold;
- font-size: 14px;
- font-family: Microsoft YaHei;
- color: #8991B0;
- }
- .data_tit_wd{
- display: inline-block;
- width: 90px;
- }
- .el-form-item--small{
- .el-input{
- height: 25px;
- width: 160px;
- }
- margin-bottom: 0;
- .el-input-number{
- height: 25px;
- .el-input-number__decrease, .el-input-number__increase{
- right: -39px;
- }
- }
- }
- }
- }
- .el-select, .el-input{
- width: 100%;
- }
- .el-tabs{
- .el-tabs__header{
- .el-tabs__nav{
- .el-tabs__item{
- font-size: 18px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- margin: 0 10px;
- color: #8991B0;
- }
- .is-active{
- font-size: 18px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #3B7AD1;
- margin: 0 10px;
- }
- }
- }
-
- .el-table{
- .el-table__body-wrapper{
- height: 53vh;
- }
- .el-table__row{
- .cell{
- .el-input{
- height: 24px;
- .el-input__inner{
- height: 24px;
- }
- }
- }
- }
- }
- }
- }
- }
- .el-dialog__footer{
- .dialog-footer{
- display: flex;
- justify-content: center;
- .el-button{
- width: 180px !important;
- height: 40px !important;
- }
- }
- }
- }
- }
-
- }
- </style>
|