|
|
|
@ -1426,10 +1426,9 @@ const diGuiJilian = (val: any, options: any[]) => { |
|
|
|
" |
|
|
|
v-model="value" |
|
|
|
/> |
|
|
|
<component |
|
|
|
<!-- <component |
|
|
|
v-if=" |
|
|
|
[ |
|
|
|
'switch', |
|
|
|
'inputNumber', |
|
|
|
].includes(data.type) |
|
|
|
" |
|
|
|
@ -1446,7 +1445,46 @@ const diGuiJilian = (val: any, options: any[]) => { |
|
|
|
:rowIndex="rowIndex" |
|
|
|
@change="onValueChange(data.type)" |
|
|
|
v-model="value" |
|
|
|
/> |
|
|
|
/> --> |
|
|
|
<div > |
|
|
|
<!-- data^^^{{ data }}--------- |
|
|
|
currentComponent^^^{{ currentComponent }}--------- |
|
|
|
control^^^{{ control }}--------- |
|
|
|
type^^^{{ type }}--------- |
|
|
|
rowIndex^^^{{ rowIndex }}--------- |
|
|
|
value^^^{{ value }} --> |
|
|
|
<el-switch |
|
|
|
v-if=" |
|
|
|
[ |
|
|
|
'switch', |
|
|
|
].includes(data.type) |
|
|
|
" |
|
|
|
v-model="value" |
|
|
|
:active-value="data.control.activeValue" |
|
|
|
:inactive-value="data.control.inactiveValue" |
|
|
|
></el-switch> |
|
|
|
|
|
|
|
</div> |
|
|
|
<!-- <component |
|
|
|
v-if=" |
|
|
|
[ |
|
|
|
'switch', |
|
|
|
].includes(data.type) |
|
|
|
" |
|
|
|
:is="currentComponent" |
|
|
|
v-bind="control" |
|
|
|
:disabled="judgeIsDisabled(data.name)" |
|
|
|
:placeholder=" |
|
|
|
data.control.placeholder |
|
|
|
? data.control.placeholder |
|
|
|
: '请选择' + getLabel(data.item) |
|
|
|
" |
|
|
|
:data="data" |
|
|
|
:type="type" |
|
|
|
:rowIndex="rowIndex" |
|
|
|
@change="onValueChange(data.type)" |
|
|
|
v-model="value" |
|
|
|
/> --> |
|
|
|
<component |
|
|
|
v-if=" |
|
|
|
[ |
|
|
|
|