疾病管理勾选框不对
Showing
1 changed file
with
5 additions
and
0 deletions
| ... | @@ -1209,6 +1209,11 @@ const panelChange = (scope, row) => { | ... | @@ -1209,6 +1209,11 @@ const panelChange = (scope, row) => { |
| 1209 | :label="child.props?.label ? opts[child.props.label] : opts.label" | 1209 | :label="child.props?.label ? opts[child.props.label] : opts.label" |
| 1210 | :value="child.props?.value ? opts[child.props.value] : opts.value" :disabled="opts.disabled" /> | 1210 | :value="child.props?.value ? opts[child.props.value] : opts.value" :disabled="opts.disabled" /> |
| 1211 | </el-select> | 1211 | </el-select> |
| 1212 | <el-checkbox v-else-if="child.type == 'checkbox'" v-model="formInline[child.field]" | ||
| 1213 | :disabled="child.disabled || readonly" :true-label="child.trueValue ?? true" | ||
| 1214 | :false-label="child.falseValue ?? false"> | ||
| 1215 | {{ child.placeholder }} | ||
| 1216 | </el-checkbox> | ||
| 1212 | <el-input v-else v-model.trim="formInline[child.field]" :placeholder="child.placeholder" | 1217 | <el-input v-else v-model.trim="formInline[child.field]" :placeholder="child.placeholder" |
| 1213 | :clearable="child.clearable" :maxlength="child.maxlength ?? ''" | 1218 | :clearable="child.clearable" :maxlength="child.maxlength ?? ''" |
| 1214 | @change="(val) => inputChange(val, child)" @input="(val) => inputEventChange(val, child)" /> | 1219 | @change="(val) => inputChange(val, child)" @input="(val) => inputEventChange(val, child)" /> | ... | ... |
-
Please register or sign in to post a comment