|
@@ -15,9 +15,16 @@
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <div class="danjuMsg_data">
|
|
|
|
|
|
+ <div class="danjuMsgSelect">
|
|
<span class="data_tit">申报级别:</span>
|
|
<span class="data_tit">申报级别:</span>
|
|
- <span>{{receiptMsg.declarationLevel}}级</span>
|
|
|
|
|
|
+ <!-- <span>{{receiptMsg.declarationLevel}}级</span> -->
|
|
|
|
+ <span v-if="receiptMsg.stage !== '已驳回'">{{receiptMsg.declarationLevel}}</span>
|
|
|
|
+ <el-select v-model="receiptMsg.declarationLevel" placeholder="请选择申报级别"
|
|
|
|
+ @change="changeDecLeave" v-else>
|
|
|
|
+ <el-option v-for="item in ratingGradeOption" :key="item.value" :label="item.label"
|
|
|
|
+ :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
</div>
|
|
</div>
|
|
<div class="danjuMsg_data">
|
|
<div class="danjuMsg_data">
|
|
<span class="data_tit">申报年度:</span>
|
|
<span class="data_tit">申报年度:</span>
|
|
@@ -33,9 +40,10 @@
|
|
<span class="data_tit">流程状态:</span>
|
|
<span class="data_tit">流程状态:</span>
|
|
<span>{{receiptMsg.stage}}</span>
|
|
<span>{{receiptMsg.stage}}</span>
|
|
</div>
|
|
</div>
|
|
- <div class="danjuMsg_data">
|
|
|
|
|
|
+ <div class="danjuMsgSelect">
|
|
<span class="data_tit">申报月份:</span>
|
|
<span class="data_tit">申报月份:</span>
|
|
- <span>{{receiptMsg.month}}月</span>
|
|
|
|
|
|
+ <span v-if="receiptMsg.stage !== '已驳回'">{{receiptMsg.month}}月</span>
|
|
|
|
+ <el-date-picker v-else v-model="receiptMsg.month" @change="changeMonth" type="month" placeholder="选择月份" value-format="MM" />
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
@@ -47,7 +55,7 @@
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<div class="danjuMsgSelect">
|
|
<div class="danjuMsgSelect">
|
|
<span class="data_tit">评定等级:</span>
|
|
<span class="data_tit">评定等级:</span>
|
|
- <span v-if="ispersonDept !== 'true'">{{receiptMsg.ratingGrade}}</span>
|
|
|
|
|
|
+ <span v-if="showChange(receiptMsg)">{{receiptMsg.ratingGrade}}</span>
|
|
<el-select v-model="receiptMsg.ratingGrade" placeholder="请选择评定等级"
|
|
<el-select v-model="receiptMsg.ratingGrade" placeholder="请选择评定等级"
|
|
@change="changeratingGrade" v-else>
|
|
@change="changeratingGrade" v-else>
|
|
<el-option v-for="item in ratingGradeOption" :key="item.value" :label="item.label"
|
|
<el-option v-for="item in ratingGradeOption" :key="item.value" :label="item.label"
|
|
@@ -59,7 +67,7 @@
|
|
<el-col :span="18">
|
|
<el-col :span="18">
|
|
<div class="danjuMsgSelect">
|
|
<div class="danjuMsgSelect">
|
|
<span class="data_tit">申报简述:</span>
|
|
<span class="data_tit">申报简述:</span>
|
|
- <span v-if="ispersonDept !== 'true'">{{receiptMsg.des}}</span>
|
|
|
|
|
|
+ <span v-if="showChange(receiptMsg)">{{receiptMsg.des}}</span>
|
|
<el-input v-model="receiptMsg.des" :rows="1" type="textarea" @blur="blurDes" v-else
|
|
<el-input v-model="receiptMsg.des" :rows="1" type="textarea" @blur="blurDes" v-else
|
|
placeholder="请输入申报简述"></el-input>
|
|
placeholder="请输入申报简述"></el-input>
|
|
</div>
|
|
</div>
|
|
@@ -232,6 +240,7 @@
|
|
apiGetevaluationdeptadUpdate,
|
|
apiGetevaluationdeptadUpdate,
|
|
apiGetevaluationdeptadDelete,
|
|
apiGetevaluationdeptadDelete,
|
|
apiPostIsdoAction,
|
|
apiPostIsdoAction,
|
|
|
|
+ apideptAdState,
|
|
apideptAdmodify,
|
|
apideptAdmodify,
|
|
apiPostevaluationdeptadDetailsHead,
|
|
apiPostevaluationdeptadDetailsHead,
|
|
apiGetuserPageList,
|
|
apiGetuserPageList,
|
|
@@ -391,6 +400,22 @@
|
|
rowSituationClick(selection, row) {
|
|
rowSituationClick(selection, row) {
|
|
this.changeSituationSelect = selection
|
|
this.changeSituationSelect = selection
|
|
},
|
|
},
|
|
|
|
+ showChange(val) {
|
|
|
|
+ let show = true
|
|
|
|
+ if (val.stage !== '已驳回') {
|
|
|
|
+ show = false
|
|
|
|
+ } else if(this.ispersonDept !== 'true') {
|
|
|
|
+ show = false
|
|
|
|
+ }
|
|
|
|
+ return show
|
|
|
|
+ },
|
|
|
|
+ changeDecLeave(val) {
|
|
|
|
+ this.modeifyDetail('desLeave', val)
|
|
|
|
+ },
|
|
|
|
+ changeMonth(val) {
|
|
|
|
+ let value = val*1
|
|
|
|
+ this.modeifyDetail('month', value)
|
|
|
|
+ },
|
|
changeratingGrade(val) {
|
|
changeratingGrade(val) {
|
|
this.modeifyDetail('level', val)
|
|
this.modeifyDetail('level', val)
|
|
},
|
|
},
|
|
@@ -405,8 +430,12 @@
|
|
}
|
|
}
|
|
if (type === 'level') {
|
|
if (type === 'level') {
|
|
params.ratingGrade = val
|
|
params.ratingGrade = val
|
|
- } else {
|
|
|
|
- params.des = val
|
|
|
|
|
|
+ } else if(type === 'des') {
|
|
|
|
+ params.declarationReason = val
|
|
|
|
+ } else if (type === 'desLeave') {
|
|
|
|
+ params.declarationLevel = val
|
|
|
|
+ } else if (type === 'month') {
|
|
|
|
+ params.declarationMonth = val
|
|
}
|
|
}
|
|
apideptAdmodify(params).then(datas => {
|
|
apideptAdmodify(params).then(datas => {
|
|
if (datas.success) {
|
|
if (datas.success) {
|
|
@@ -453,7 +482,7 @@
|
|
type: row.checkCycle === 'YDKP' ? '月度考评' : row.checkCycle === 'JDKP' ? '季度考评' :
|
|
type: row.checkCycle === 'YDKP' ? '月度考评' : row.checkCycle === 'JDKP' ? '季度考评' :
|
|
'年度考评',
|
|
'年度考评',
|
|
year: row.annual,
|
|
year: row.annual,
|
|
- month: row.declarationMonth,
|
|
|
|
|
|
+ month: row.declarationMonth.length > 1 ? row.declarationMonth : '0'+row.declarationMonth,
|
|
recStage: '有效'
|
|
recStage: '有效'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -736,6 +765,7 @@
|
|
actionCS = 'reject'
|
|
actionCS = 'reject'
|
|
}
|
|
}
|
|
this.submitIsdoAction(actionCS)
|
|
this.submitIsdoAction(actionCS)
|
|
|
|
+
|
|
}
|
|
}
|
|
},
|
|
},
|
|
submitIsdoAction(taskType, nodeSc) {
|
|
submitIsdoAction(taskType, nodeSc) {
|
|
@@ -769,8 +799,22 @@
|
|
message: datas.data.data,
|
|
message: datas.data.data,
|
|
type: 'success'
|
|
type: 'success'
|
|
})
|
|
})
|
|
- that.dialogVisible = false
|
|
|
|
- that.$emit('approveMsg', datas.data.isOk)
|
|
|
|
|
|
+ let params = {
|
|
|
|
+ id: that.instanceChild.bizKey,
|
|
|
|
+ stage: '已驳回'
|
|
|
|
+ }
|
|
|
|
+ apideptAdState(params).then(values =>{
|
|
|
|
+ if (values.success) {
|
|
|
|
+ that.dialogVisible = false
|
|
|
|
+ that.$emit('approveMsg', datas.data.isOk)
|
|
|
|
+ } else {
|
|
|
|
+ that.$message({
|
|
|
|
+ message: values.message,
|
|
|
|
+ type: 'error'
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
that.$message({
|
|
that.$message({
|
|
message: datas.data.msg,
|
|
message: datas.data.msg,
|
|
@@ -948,6 +992,10 @@
|
|
position: relative;
|
|
position: relative;
|
|
top: -4px;
|
|
top: -4px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ .el-date-editor--month{
|
|
|
|
+ width: 50%;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|