Commit e90291e1 authored by jingnan's avatar jingnan 👀

问题进展组件修改

parent 2890da8c
......@@ -11,6 +11,13 @@ export default {
defaultValue: '',
name: 'el-input'
}
},
{
key: 'readOnly',
title: '只读',
component: {
name: 'el-checkbox'
}
}
]
}
......
......@@ -14,6 +14,7 @@
v-model="item.progressTime"
size="small"
type="date"
:disabled="itemObj.readOnly"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="选择日期"
/>
......@@ -28,10 +29,10 @@
<!-- :rules="[
{required: true, message: '该项必填', trigger: 'blur'},
]" -->
<el-input v-model="item.progressItem" autosize type="textarea" size="small" @change="changeVal" />
<el-input v-model="item.progressItem" :disabled="itemObj.readOnly" autosize type="textarea" size="small" @change="changeVal" />
</el-form-item>
</el-col>
<el-col :span="2">
<el-col v-if="!itemObj.readOnly" :span="2">
<el-form-item class="btn-box">
<span v-if="index+1 == resultFormData.length" class="btn-item" title="新增" @click="addItem" @change="changeVal">
<img src="/icons/c-add.png" alt="">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment