|
|
@ -2729,7 +2729,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-form size="small" class="form"> |
|
|
<el-form size="small" class="form"> |
|
|
<!-- <div class=""><h3>通用属性</h3></div> --> |
|
|
<!-- <div class=""><h3>通用属性</h3></div> --> |
|
|
<el-divider content-position="left">通用属性</el-divider> |
|
|
<el-divider content-position="left">通用属性</el-divider> |
|
|
<template v-for="(item, index) in attrList" :key="index"> |
|
|
<template v-for="(item, index) in attrList" :key="index" v-memo="[index]"> |
|
|
<el-form-item :label="item.label" class="form_cont"> |
|
|
<el-form-item :label="item.label" class="form_cont"> |
|
|
<el-select |
|
|
<el-select |
|
|
v-if="item.type === 'select'" |
|
|
v-if="item.type === 'select'" |
|
|
@ -2743,6 +2743,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="(opt, key) in item.dict" |
|
|
v-for="(opt, key) in item.dict" |
|
|
:key="key" |
|
|
:key="key" |
|
|
|
|
|
v-memo="[key]" |
|
|
:value="item.path === 'name' ? opt.name : key" |
|
|
:value="item.path === 'name' ? opt.name : key" |
|
|
:label="item.path === 'name' ? `${opt.label}(${opt.name})` : opt" |
|
|
:label="item.path === 'name' ? `${opt.label}(${opt.name})` : opt" |
|
|
/> |
|
|
/> |
|
|
@ -2767,6 +2768,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="(opt, key) in item.dict" |
|
|
v-for="(opt, key) in item.dict" |
|
|
:key="key" |
|
|
:key="key" |
|
|
|
|
|
v-memo="[key]" |
|
|
:value="item.path === 'name' ? opt.name : key" |
|
|
:value="item.path === 'name' ? opt.name : key" |
|
|
:label="item.path === 'name' ? `${opt.label}(${opt.name})` : opt" |
|
|
:label="item.path === 'name' ? `${opt.label}(${opt.name})` : opt" |
|
|
/> |
|
|
/> |
|
|
@ -2891,6 +2893,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="dataSourceOption1 in transferDataSourceOptions" |
|
|
v-for="dataSourceOption1 in transferDataSourceOptions" |
|
|
:key="dataSourceOption1.value" |
|
|
:key="dataSourceOption1.value" |
|
|
|
|
|
v-memo="[dataSourceOption1.value]" |
|
|
:label="dataSourceOption1.label" |
|
|
:label="dataSourceOption1.label" |
|
|
:value="dataSourceOption1.value" |
|
|
:value="dataSourceOption1.value" |
|
|
/> |
|
|
/> |
|
|
@ -2977,6 +2980,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="showModeSelected in showModeSelectOptions" |
|
|
v-for="showModeSelected in showModeSelectOptions" |
|
|
:key="showModeSelected.value" |
|
|
:key="showModeSelected.value" |
|
|
|
|
|
v-memo="[showModeSelected.value]" |
|
|
:label="showModeSelected.label" |
|
|
:label="showModeSelected.label" |
|
|
:value="showModeSelected.value" |
|
|
:value="showModeSelected.value" |
|
|
/> |
|
|
/> |
|
|
@ -3163,6 +3167,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="showModeSelected1 in floatSelectOptions" |
|
|
v-for="showModeSelected1 in floatSelectOptions" |
|
|
:key="showModeSelected1.value" |
|
|
:key="showModeSelected1.value" |
|
|
|
|
|
v-memo="[showModeSelected1.value]" |
|
|
:label="showModeSelected1.label" |
|
|
:label="showModeSelected1.label" |
|
|
:value="showModeSelected1.value" |
|
|
:value="showModeSelected1.value" |
|
|
/> |
|
|
/> |
|
|
@ -3297,6 +3302,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-form-item |
|
|
<el-form-item |
|
|
v-for="(item, index) in controlData.columns" |
|
|
v-for="(item, index) in controlData.columns" |
|
|
:key="index" |
|
|
:key="index" |
|
|
|
|
|
v-memo="[index]" |
|
|
class="form_cont" |
|
|
class="form_cont" |
|
|
> |
|
|
> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
@ -3327,6 +3333,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-form-item |
|
|
<el-form-item |
|
|
v-for="(item, index) in controlData.config.customRules" |
|
|
v-for="(item, index) in controlData.config.customRules" |
|
|
:key="index" |
|
|
:key="index" |
|
|
|
|
|
v-memo="[index]" |
|
|
class="form_cont" |
|
|
class="form_cont" |
|
|
> |
|
|
> |
|
|
<el-input |
|
|
<el-input |
|
|
@ -3342,6 +3349,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="list in state.numberRulesList" |
|
|
v-for="list in state.numberRulesList" |
|
|
:key="list.type" |
|
|
:key="list.type" |
|
|
|
|
|
v-memo="[list.type]" |
|
|
:label="list.label" |
|
|
:label="list.label" |
|
|
:value="list.type" |
|
|
:value="list.type" |
|
|
/> |
|
|
/> |
|
|
@ -3408,6 +3416,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-form-item |
|
|
<el-form-item |
|
|
v-for="(item, index) in controlData.options" |
|
|
v-for="(item, index) in controlData.options" |
|
|
:key="index" |
|
|
:key="index" |
|
|
|
|
|
v-memo="[index]" |
|
|
class="form_cont" |
|
|
class="form_cont" |
|
|
label="选项标签" |
|
|
label="选项标签" |
|
|
> |
|
|
> |
|
|
@ -3558,6 +3567,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-form-item |
|
|
<el-form-item |
|
|
v-for="(item, index) in controlData.customRules" |
|
|
v-for="(item, index) in controlData.customRules" |
|
|
:key="item.type" |
|
|
:key="item.type" |
|
|
|
|
|
v-memo="[item.type]" |
|
|
class="form_cont" |
|
|
class="form_cont" |
|
|
> |
|
|
> |
|
|
<el-input v-model="item.message" placeholder="校验提示信息"> |
|
|
<el-input v-model="item.message" placeholder="校验提示信息"> |
|
|
@ -3570,6 +3580,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="list in state.customRulesList" |
|
|
v-for="list in state.customRulesList" |
|
|
:key="list.type" |
|
|
:key="list.type" |
|
|
|
|
|
v-memo="[list.type]" |
|
|
:label="list.label" |
|
|
:label="list.label" |
|
|
:value="list.type" |
|
|
:value="list.type" |
|
|
/> |
|
|
/> |
|
|
@ -3652,6 +3663,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="item in formGroup.list" |
|
|
v-for="item in formGroup.list" |
|
|
:key="item.idStr" |
|
|
:key="item.idStr" |
|
|
|
|
|
v-memo="[item.idStr]" |
|
|
:label="item.title" |
|
|
:label="item.title" |
|
|
:value="item.idStr" |
|
|
:value="item.idStr" |
|
|
/> |
|
|
/> |
|
|
@ -3662,6 +3674,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-form-item |
|
|
<el-form-item |
|
|
v-for="(item, index) in formAttr.filter((item) => !item.hide)" |
|
|
v-for="(item, index) in formAttr.filter((item) => !item.hide)" |
|
|
:key="index" |
|
|
:key="index" |
|
|
|
|
|
v-memo="[index]" |
|
|
:label="item.label" |
|
|
:label="item.label" |
|
|
class="form_cont" |
|
|
class="form_cont" |
|
|
> |
|
|
> |
|
|
@ -3677,6 +3690,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="opt in item.options" |
|
|
v-for="opt in item.options" |
|
|
:key="opt.label || opt.name" |
|
|
:key="opt.label || opt.name" |
|
|
|
|
|
v-memo="[opt.label || opt.name]" |
|
|
:label="opt.label || opt.name" |
|
|
:label="opt.label || opt.name" |
|
|
:value="formatNumber(opt.value ?? opt.id)" |
|
|
:value="formatNumber(opt.value ?? opt.id)" |
|
|
/> |
|
|
/> |
|
|
@ -3816,6 +3830,7 @@ const disabledIstrue = (val: string) => { |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="item in optionsCss" |
|
|
v-for="item in optionsCss" |
|
|
:key="item.value" |
|
|
:key="item.value" |
|
|
|
|
|
v-memo="[item.value]" |
|
|
:label="item.label" |
|
|
:label="item.label" |
|
|
:value="item.value" |
|
|
:value="item.value" |
|
|
/> |
|
|
/> |
|
|
@ -4424,6 +4439,7 @@ const disabledIstrue = (val: string) => { |
|
|
<template |
|
|
<template |
|
|
v-for="(item, index) in controlData.control.fillRoles" |
|
|
v-for="(item, index) in controlData.control.fillRoles" |
|
|
:key="controlData.control.fillRoles[index].id" |
|
|
:key="controlData.control.fillRoles[index].id" |
|
|
|
|
|
|
|
|
> |
|
|
> |
|
|
<AssociatedFormsFillRole |
|
|
<AssociatedFormsFillRole |
|
|
v-model:left-value="controlData.control.fillRoles[index].leftValue" |
|
|
v-model:left-value="controlData.control.fillRoles[index].leftValue" |
|
|
|