1.季度审核当前如果是已办的情况下,可以查看所有评分,且此时无法保存
2.个部门评分是否编辑,增加已办时不可编辑,管理员可编辑 3.保存按钮增加仅为代办时可保存
This commit is contained in:
parent
005ae612a2
commit
9e6514cf56
@ -100,42 +100,42 @@
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="战略规划部评级" v-if="isOffice && !isStrategy">
|
||||
<el-form-item label="战略规划部评级" v-if="(isOffice && !isStrategy)||verifyStatus==2">
|
||||
<el-input
|
||||
class="form-input"
|
||||
placeholder="战略规划部部门主任才能打分"
|
||||
v-model.number="formModel.strategyScoring"
|
||||
:disabled="isStrategy"
|
||||
:disabled="isStrategy ||verifyStatus==2 ||isAdmin"
|
||||
type="number"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="平台建设部评级" v-if="isOffice && !isPlatform">
|
||||
<el-form-item label="平台建设部评级" v-if="(isOffice && !isPlatform)||verifyStatus==2">
|
||||
<el-input
|
||||
class="form-input"
|
||||
placeholder="平台建设部部门主任才能打分"
|
||||
v-model="formModel.platformScoring"
|
||||
:disabled="isPlatform"
|
||||
:disabled="isPlatform ||verifyStatus==2 ||isAdmin"
|
||||
type="number"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="市场发展部评级" v-if="isOffice && !isMarket">
|
||||
<el-form-item label="市场发展部评级" v-if="(isOffice && !isMarket)||verifyStatus==2">
|
||||
<el-input
|
||||
class="form-input"
|
||||
placeholder="市场发展部部门主任才能打分"
|
||||
v-model="formModel.marketScoring"
|
||||
:disabled="isMarket"
|
||||
:disabled="isMarket ||verifyStatus==2 ||isAdmin"
|
||||
type="number"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="服务产品部评级" v-if="isOffice && !isService">
|
||||
<el-form-item label="服务产品部评级" v-if="(isOffice && !isService)||verifyStatus==2">
|
||||
<el-input
|
||||
class="form-input"
|
||||
placeholder="服务产品部部门主任才能打分"
|
||||
v-model="formModel.serviceScoring"
|
||||
:disabled="isService"
|
||||
:disabled="isService ||verifyStatus==2 ||isAdmin"
|
||||
type="number"
|
||||
>
|
||||
</el-input>
|
||||
@ -259,10 +259,11 @@ export default {
|
||||
this.init()
|
||||
this.getBudgetCategory()
|
||||
if (this.verifyStatus == 2) {
|
||||
this.isStrategy = false
|
||||
this.isPlatform = false
|
||||
this.isMarket = false
|
||||
this.isService = false
|
||||
// this.isStrategy = false
|
||||
// this.isPlatform = false
|
||||
// this.isMarket = false
|
||||
// this.isService = false
|
||||
this.isSave=false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -314,7 +315,7 @@ export default {
|
||||
this.reimburseId = this.$route.params.id
|
||||
this.pid = this.$route.params.pid
|
||||
},
|
||||
getQuartely: function () {
|
||||
getQuartely() {
|
||||
let param = {
|
||||
pageNoUtil: {
|
||||
pageNo: this.pageNo,
|
||||
@ -326,14 +327,13 @@ export default {
|
||||
}
|
||||
Api.ProjectManagements.getIndicators(param.pageNoUtil).then(result => {
|
||||
if (result.status === 0) {
|
||||
console.log('是不是办公室', this.isOffice)
|
||||
let data = result.data.ls[0]
|
||||
this.formModel = data
|
||||
this.ext = data.ext
|
||||
this.quarter = data.quarter
|
||||
this.formModel.execution = data.ext.execution
|
||||
//当前委托人是userid或者部门主任委托人包含当前则才能保存
|
||||
if (data.ext.executor === this.userId || data.ext.executor.includes(this.userId)) {
|
||||
if (this.verifyStatus=='1'&(data.ext.executor === this.userId || data.ext.executor.includes(this.userId))) {
|
||||
this.isSave = true
|
||||
}
|
||||
if (!this.isOffice) {
|
||||
@ -344,12 +344,17 @@ export default {
|
||||
this.formModel.platformScoring = data.ext.platformScoring
|
||||
this.formModel.marketScoring = data.ext.marketScoring
|
||||
this.formModel.serviceScoring = data.ext.serviceScoring
|
||||
if(data.ext.taskName!="季度审核填报" && data.ext.taskName!="部门主任评级"){
|
||||
this.isStrategy = false
|
||||
this.isPlatform = false
|
||||
this.isMarket = false
|
||||
this.isService = false
|
||||
}
|
||||
}
|
||||
if (data.ext.projectAdmin == this.userId) {
|
||||
this.isAdmin = false
|
||||
}
|
||||
if (data.ext.taskName == "季度审核填报" && data.ext.executor==this.userId) {
|
||||
console.log("执行人是当前")
|
||||
this.applyId = false
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user