|
|
|
@ -2127,6 +2127,14 @@ watch(()=>store.activeKey, () => { |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
function addFillRole(){ |
|
|
|
controlData.value.control.fillRoles.push({ |
|
|
|
leftValue:'', |
|
|
|
rightValue:'', |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//liwenxuan20240403 associatedForms end |
|
|
|
|
|
|
|
|
|
|
|
@ -3548,10 +3556,13 @@ const loadNextPage = () => { |
|
|
|
<div style="margin-top: -10px;"><span style="color: grey;">当选择具体数据后,将按如下规则给当前表单字段填充数据 </span></div> |
|
|
|
<el-button style="font-size: large;margin-top: 3px;" type="primary" link append-to-body="true" modal="true" @click="addFillRole">十 添加规则</el-button> |
|
|
|
<el-divider /> |
|
|
|
<div style="height:300px;border:1px solid white"> |
|
|
|
<template v-for="(item, index) in controlData.control.fillRoles" :key="index"> |
|
|
|
<AssociatedFormsFillRole v-model:left-value="controlData.control.fillRoles[index].leftValue" v-model:right-value="controlData.control.fillRoles[index].rightValue" :left-tree-source = "asfasfFieldTree[0].children" :right-tree-source = "associatedFormsCurrentFormFieldTree[0].children" ></AssociatedFormsFillRole> |
|
|
|
</template> |
|
|
|
<div style="height:300px;border:1px solid red;overflow-y:auto"> |
|
|
|
|
|
|
|
<template v-for="(item, index) in controlData.control.fillRoles" :key="index"> |
|
|
|
<AssociatedFormsFillRole v-model:left-value="controlData.control.fillRoles[index].leftValue" v-model:right-value="controlData.control.fillRoles[index].rightValue" :left-tree-source = "asfasfFieldTree[0].children" :right-tree-source = "associatedFormsCurrentFormFieldTree[0].children" ></AssociatedFormsFillRole> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<template #footer> |
|
|
|
|