优化
This commit is contained in:
parent
e47568eae0
commit
cd8ef5b5de
@ -93,7 +93,7 @@
|
||||
<el-input clearable size="small" v-model="formIndicators.target"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="考核标准" prop="keyResult">
|
||||
<el-input size="small" clearable type="textarea" v-model="formIndicators.keyResult"></el-input>
|
||||
<el-input size="small" clearable :rows="24" type="textarea" v-model="formIndicators.keyResult"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="权重" prop="weight">
|
||||
<el-input size="small" @input.native="$handleInputInt('formIndicators.checkWeight')" clearable v-model="formIndicators.checkWeight">
|
||||
|
||||
@ -76,7 +76,7 @@ export default {
|
||||
name: '评分',
|
||||
componment: 'Score'
|
||||
}, {
|
||||
name: '审批节点',
|
||||
name: '结果确认',
|
||||
componment: 'Approval'
|
||||
} ],
|
||||
dataObject: {}
|
||||
@ -136,9 +136,11 @@ export default {
|
||||
watch: {
|
||||
info: {
|
||||
handler (n, o) {
|
||||
this.processLsit.map(j => {
|
||||
console.log('n: ', n)
|
||||
console.log('this.processLsit: ', this.processLsit)
|
||||
this.processLsit.length > 0 && this.processLsit.map(j => {
|
||||
for (let i in n) {
|
||||
if (j.id === n[i].id) j.label = n[i].label
|
||||
if (n[i] && j.id === n[i].id) j.label = n[i].label
|
||||
}
|
||||
})
|
||||
this.$emit('update:processInfo', n)
|
||||
|
||||
@ -187,7 +187,7 @@
|
||||
<el-input clearable size="small" v-model="formIndicators.name"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="考核标准" prop="keyResult">
|
||||
<el-input size="small" clearable type="textarea" v-model="formIndicators.keyResult"></el-input>
|
||||
<el-input size="small" resize='vertical' :rows="24" clearable type="textarea" v-model="formIndicators.keyResult"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="权重" prop="weight">
|
||||
<el-input size="small" @input.native="$handleInputInt('formIndicators.weight')" v-model="formIndicators.weight">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user