1.项目立项对季度审核指标列表修改样式

This commit is contained in:
zty 2024-07-27 12:42:41 +08:00
parent 5451d1787f
commit c5717d6246
2 changed files with 78 additions and 90 deletions

View File

@ -574,7 +574,6 @@ export default {
span: 24,
model: {
quarter: '',
number: '',
indexName: '',
levelA: '',
levelB: '',
@ -588,68 +587,64 @@ export default {
type: 'custom-selector',
title: '季度',
model: 'quarter',
span: 5,
span: 12,
externalValue: {
multiple: false,
options: this.formQuarterData
}
},
{
type: 'custom-input-number',
title: '序号',
model: 'number',
span: 4,
externalValue: {}
},
// {
// type: 'custom-input-number',
// title: '',
// model: 'number',
// span: 8,
// externalValue: {}
// },
{
type: 'custom-input',
title: '指标名称',
model: 'indexName',
span: 7,
span: 12,
externalValue: {}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'A档',
model: 'levelA',
span: 4,
externalValue: {}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'B档',
model: 'levelB',
span: 4,
externalValue: {}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'C档',
model: 'levelC',
span: 4,
externalValue: {}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'D档',
model: 'levelD',
span: 4,
externalValue: {}
},
{
type: 'custom-input',
title: '预算累计执行率',
title: '预算执行率',
model: 'budgetRate',
span: 6,
externalValue: {}
},
{
type: 'custom-input',
title: '成本累计控制率',
model: 'contRate',
span: 6,
span: 12,
externalValue: {}
},
// {
// type: 'custom-input',
// title: '',
// model: 'contRate',
// span: 6,
// externalValue: {}
// },
{
type: 'delete',
callback: (index) => {

View File

@ -895,68 +895,64 @@ export default {
type: 'custom-selector',
title: '季度',
model: 'quarter',
span: 5,
span: 12,
externalValue: {
multiple: false,
options: this.formQuarterData
}
},
{
type: 'custom-input-number',
title: '序号',
model: 'number',
span: 4,
externalValue: {}
},
// {
// type: 'custom-input-number',
// title: '',
// model: 'number',
// span: 4,
// externalValue: {}
// },
{
type: 'custom-input',
title: '指标名称',
model: 'indexName',
span: 7,
span: 12,
externalValue: {}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'A档',
model: 'levelA',
span: 4,
externalValue: {}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'B档',
model: 'levelB',
span: 4,
externalValue: {}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'C档',
model: 'levelC',
span: 4,
externalValue: {}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'D档',
model: 'levelD',
span: 4,
externalValue: {}
},
{
type: 'custom-input',
title: '预算累计执行率',
title: '预算执行率',
model: 'budgetRate',
span: 6,
externalValue: {}
},
{
type: 'custom-input',
title: '成本累计控制率',
model: 'contRate',
span: 6,
span: 12,
externalValue: {}
},
// {
// type: 'custom-input',
// title: '',
// model: 'contRate',
// span: 6,
// externalValue: {}
// },
{
type: 'delete',
callback: (index) => {
@ -1419,7 +1415,7 @@ export default {
span: 24,
model: {
quarter: project.membersList[i].quarter,
number: project.membersList[i].number,
// number: project.membersList[i].number,
indexName: project.membersList[i].indexName,
levelA: project.membersList[i].levelA,
levelB: project.membersList[i].levelB,
@ -1433,72 +1429,69 @@ export default {
type: 'custom-selector',
title: '季度',
model: 'quarter',
span: 5,
span: 12,
externalValue: {
multiple: false,
options: this.formQuarterData
options: this.formQuarterData,
disabled: !this.judgeFormEditable('apply')
}
},
{
type: 'custom-input-number',
title: '序号',
model: 'number',
span: 4,
// rules: [
// {type: 'number', message: ''}
// ],
externalValue: {}
},
// {
// type: 'custom-input-number',
// title: '',
// model: 'number',
// span: 4,
// // rules: [
// // {type: 'number', message: ''}
// // ],
// externalValue: {}
// },
{
type: 'custom-input',
title: '指标名称',
model: 'indexName',
span: 7,
externalValue: {}
span: 12,
externalValue: {disabled: !this.judgeFormEditable('apply')}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'A档',
model: 'levelA',
span: 4,
externalValue: {}
externalValue: {disabled: !this.judgeFormEditable('apply')}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'B档',
model: 'levelB',
span: 4,
externalValue: {}
externalValue: {disabled: !this.judgeFormEditable('apply')}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'C档',
model: 'levelC',
span: 4,
externalValue: {}
externalValue: {disabled: !this.judgeFormEditable('apply')}
},
{
type: 'custom-input',
type: 'custom-textarea',
title: 'D档',
model: 'levelD',
span: 4,
externalValue: {}
externalValue: {disabled: !this.judgeFormEditable('apply')}
},
{
type: 'custom-input',
title: '预算累计执行率',
title: '预算执行率',
model: 'budgetRate',
span: 6,
externalValue: {}
},
{
type: 'custom-input',
title: '成本累计控制率',
model: 'contRate',
span: 6,
externalValue: {}
span: 12,
externalValue: {disabled: !this.judgeFormEditable('apply')}
},
// {
// type: 'custom-input',
// title: '',
// model: 'contRate',
// span: 6,
// externalValue: {}
// },
{
type: 'delete',
callback: (index) => {