|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="deptstartFrom">
|
|
|
+ <div class="applicationFrom">
|
|
|
<el-dialog title="绩效结果考核申报详情" v-model="dialogVisible" :fullscreen="true" :close-on-click-modal="false">
|
|
|
<div class="startDetail">
|
|
|
<p class="starttitleSty">单据信息:</p>
|
|
@@ -15,17 +15,9 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <div class="danjuMsgSelect">
|
|
|
- <span class="data_tit">评定等级:</span>
|
|
|
- <span v-if="userMes.deptId !== '23031009'">{{receiptMsg.ratingGrade}}</span>
|
|
|
- <el-select v-model="receiptMsg.ratingGrade" placeholder="请选择评定等级" @change="changeratingGrade" v-else>
|
|
|
- <el-option
|
|
|
- v-for="item in ratingGradeOption"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
+ <div class="danjuMsg_data">
|
|
|
+ <span class="data_tit">申报级别:</span>
|
|
|
+ <span>{{receiptMsg.declarationLevel}}级</span>
|
|
|
</div>
|
|
|
<div class="danjuMsg_data">
|
|
|
<span class="data_tit">申报领导:</span>
|
|
@@ -53,9 +45,17 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <div class="danjuMsg_data">
|
|
|
- <span class="data_tit">申报级别:</span>
|
|
|
- <span>{{receiptMsg.declarationLevel}}级</span>
|
|
|
+ <div class="danjuMsgSelect">
|
|
|
+ <span class="data_tit">评定等级:</span>
|
|
|
+ <span v-if="userMes.deptId !== '23031009'">{{receiptMsg.ratingGrade}}</span>
|
|
|
+ <el-select v-model="receiptMsg.ratingGrade" placeholder="请选择评定等级" @change="changeratingGrade" v-else>
|
|
|
+ <el-option
|
|
|
+ v-for="item in ratingGradeOption"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="18">
|
|
@@ -121,7 +121,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" width="120">
|
|
|
<template #default="scope">
|
|
|
- <p class="indicitem" v-if="receiptMsg.stage !== '流程已结束'" @click="deleteRowFn(scope.row)">删除</p>
|
|
|
+ <p class="indicitem" v-if="receiptMsg.stage !== '流程已结束'" @click="deleteRowFn(scope.row, scope.$index)">删除</p>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -398,15 +398,19 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- apiGetevaluationdeptadDelete(row.id).then(datas =>{
|
|
|
- if (datas) {
|
|
|
- that.$message({
|
|
|
- type: 'success',
|
|
|
- message: '删除成功!'
|
|
|
- });
|
|
|
- that.getDetails(that.rowMsg.id)
|
|
|
- }
|
|
|
- })
|
|
|
+ if (!row.id) {
|
|
|
+ that.quantifiedList.splice(index, 1)
|
|
|
+ } else {
|
|
|
+ apiGetevaluationdeptadDelete(row.id).then(datas =>{
|
|
|
+ if (datas) {
|
|
|
+ that.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: '删除成功!'
|
|
|
+ });
|
|
|
+ that.getDetails(that.rowMsg.id)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
handleImport() {
|
|
@@ -499,7 +503,7 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="less">
|
|
|
-.deptstartFrom{
|
|
|
+.applicationFrom{
|
|
|
.el-overlay{
|
|
|
.el-dialog{
|
|
|
// margin-top: 7vh;
|
|
@@ -574,8 +578,8 @@ export default {
|
|
|
display: flex;
|
|
|
z-index: 11111;
|
|
|
justify-content: end;
|
|
|
- // position: relative;
|
|
|
- // top: 32px;
|
|
|
+ position: relative;
|
|
|
+ top: 32px;
|
|
|
// left: 50vw;
|
|
|
width: 100%;
|
|
|
.detaTableBtns{
|
|
@@ -586,12 +590,15 @@ export default {
|
|
|
display: flex;
|
|
|
height: 20px;
|
|
|
margin: 0 10px;
|
|
|
- width: 13%;
|
|
|
+ // width: 13%;
|
|
|
+ width: fit-content;
|
|
|
img{
|
|
|
margin-right: 5px;
|
|
|
margin-top: 1px;
|
|
|
}
|
|
|
span{
|
|
|
+ display: inline-block;
|
|
|
+ width: 35px;
|
|
|
font-size: 14px;
|
|
|
font-family: Microsoft YaHei;
|
|
|
font-weight: 400;
|