1.项目立项新增增加校验,详情/编辑
2.季度审核编辑时,项目专业/管理员才能修改指标完成情况修改
This commit is contained in:
parent
304b56beb4
commit
4fb1d85502
@ -384,6 +384,9 @@ export default {
|
||||
type: 'custom-input',
|
||||
title: '项目名称',
|
||||
model: 'projectName',
|
||||
rules: [
|
||||
{required: true, message: '项目名称不能为空'}
|
||||
],
|
||||
externalValue: {
|
||||
disabled: false
|
||||
}
|
||||
@ -481,6 +484,9 @@ export default {
|
||||
type: 'custom-input',
|
||||
title: '项目来源',
|
||||
model: 'cC',
|
||||
rules: [
|
||||
{required: true, message: '项目来源不能为空'}
|
||||
],
|
||||
externalValue: {
|
||||
disabled: false
|
||||
}
|
||||
@ -489,10 +495,10 @@ export default {
|
||||
type: 'custom-input-number',
|
||||
title: '难度系数',
|
||||
model: 'difficultyFactor',
|
||||
// rules: [
|
||||
// {required: true, message: '难度系数不能为空'},
|
||||
// {type: 'number', message: '难度系数必须为数字值或小数'}
|
||||
// ],
|
||||
rules: [
|
||||
{required: true, message: '难度系数不能为空'},
|
||||
{type: 'number', message: '难度系数必须为数字值或小数'}
|
||||
],
|
||||
externalValue: {
|
||||
disabled: false
|
||||
}
|
||||
@ -510,38 +516,38 @@ export default {
|
||||
type: 'custom-input-number',
|
||||
title: '项目总额(万元)',
|
||||
model: 'gross',
|
||||
// rules: [
|
||||
// {required: true, message: '项目总金额不能为空'},
|
||||
// {type: 'number', message: '项目总金额必须为数字值'}
|
||||
// ],
|
||||
rules: [
|
||||
{required: true, message: '项目总金额不能为空'},
|
||||
{type: 'number', message: '项目总金额必须为数字值'}
|
||||
],
|
||||
externalValue: {}
|
||||
},
|
||||
{
|
||||
type: 'custom-input-number',
|
||||
title: '支出预算(万元)',
|
||||
model: 'budget',
|
||||
// rules: [
|
||||
// {required: true, message: '支出预算不能为空'},
|
||||
// {type: 'number', message: '支出预算必须为数字值'}
|
||||
// ],
|
||||
rules: [
|
||||
{required: true, message: '支出预算不能为空'},
|
||||
{type: 'number', message: '支出预算必须为数字值'}
|
||||
],
|
||||
externalValue: {}
|
||||
},
|
||||
{
|
||||
type: 'custom-textarea',
|
||||
title: '支出测算方案',
|
||||
model: 'scheme',
|
||||
// rules: [
|
||||
// {required: true, message: '项目说明不能为空'},
|
||||
// ],
|
||||
rules: [
|
||||
{required: true, message: '项目说明不能为空'},
|
||||
],
|
||||
externalValue: {}
|
||||
},
|
||||
{
|
||||
type: 'custom-textarea',
|
||||
title: '项目绩效目标',
|
||||
model: 'goal',
|
||||
// rules: [
|
||||
// {required: true, message: '项目说明不能为空'},
|
||||
// ],
|
||||
rules: [
|
||||
{required: true, message: '项目说明不能为空'},
|
||||
],
|
||||
externalValue: {}
|
||||
},
|
||||
{
|
||||
|
@ -35,8 +35,8 @@
|
||||
|
||||
<div style="text-align: right" >
|
||||
<el-button type="primary" @click="cancel()">返回</el-button>
|
||||
<el-button type="primary" @click="addExpApply(0)" v-if="verifyStatus===1">审核</el-button>
|
||||
<el-button type="warning" @click="addExpApply(1)" v-if="verifyStatus===1">驳回</el-button>
|
||||
<el-button type="primary" @click="addExpApply(0)" v-if="verifyStatus==1">审核</el-button>
|
||||
<el-button type="warning" @click="addExpApply(1)" v-if="verifyStatus==1">驳回</el-button>
|
||||
</div>
|
||||
<data-table
|
||||
:totalColumnsData="tableColumnsData"
|
||||
|
@ -344,7 +344,7 @@ export default {
|
||||
if (data.ext.projectAdmin == this.userId) {
|
||||
this.isAdmin = false
|
||||
}
|
||||
if (data.createdBy == this.userId) {
|
||||
if (data.ext.taskName == "季度审核填报" && data.ext.executor==this.userId) {
|
||||
console.log("执行人是当前")
|
||||
this.applyId = false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user