Browse Source

关联表单-数据填充规则-v0.31页面样式确定

lwx_v6
liwenxuan 1 year ago
parent
commit
9140d2b0a0
  1. 2
      src/components/DesignForm/formControlPropertiNew.vue
  2. 2
      src/widget/associatedforms/associatedFormsChildFillRole.vue
  3. 2
      src/widget/associatedforms/associatedFormsFillRole.vue

2
src/components/DesignForm/formControlPropertiNew.vue

@ -4521,7 +4521,7 @@ const radioChangeSet = (val:any) => {
<template v-if="controlData.type=='associatedForms'"> <template v-if="controlData.type=='associatedForms'">
<el-button style="font-size: large;margin-top: 10px;margin-bottom: 15px;" type="primary" link append-to-body="true" modal="true" @click="addFillRole"> 主表填充规则</el-button> <el-button style="font-size: large;margin-top: 10px;margin-bottom: 15px;" type="primary" link append-to-body="true" modal="true" @click="addFillRole"> 主表填充规则</el-button>
<div style="max-height:230px;border:1px solid white;overflow-y:auto;"> <div style="max-height:230px;border:1px solid white;overflow-y:auto;">
<div style="background-color: #F0F0F0;padding: 12px;border-radius: 5px;padding-left:45px;padding-bottom: 1px;margin-right: 10px;"><!-- #F5F7FA #E6F3FE #F0F0F0 #F5F7FA--> <div style="background-color: #F0F0F0;padding: 12px;border-radius: 5px;padding-left:45px;padding-bottom: 10px;margin-right: 10px;"><!-- #F5F7FA #E6F3FE #F0F0F0 #F5F7FA-->
<template v-for="(item, index) in controlData.control.fillRoles.master" :key="controlData.control.fillRoles.master[index].id"> <template v-for="(item, index) in controlData.control.fillRoles.master" :key="controlData.control.fillRoles.master[index].id">
<AssociatedFormsFillRole <AssociatedFormsFillRole
v-model:left-value="controlData.control.fillRoles.master[index].leftValue" v-model:left-value="controlData.control.fillRoles.master[index].leftValue"

2
src/widget/associatedforms/associatedFormsChildFillRole.vue

@ -41,7 +41,7 @@
</template> </template>
</div> </div>
<el-link type="primary" @click="addChildRole"> 添加规则</el-link> <el-link v-if="selectedChildTable1 !== ''" type="primary" @click="addChildRole"> 添加规则</el-link>
</div> </div>

2
src/widget/associatedforms/associatedFormsFillRole.vue

@ -1,6 +1,6 @@
<template> <template>
<div style="margin-bottom: 15px; height: 40px; line-height: 40px;"> <div style="margin-bottom: 3px; height: 40px; line-height: 40px;">
<el-tree-select <el-tree-select
v-model="leftValue1" style="width: 270px;" :data="leftTreeSource" placeholder="关联表单主表字段" v-model="leftValue1" style="width: 270px;" :data="leftTreeSource" placeholder="关联表单主表字段"
check-strictly :render-after-expand="false" filterable @change="leftChanged" /> check-strictly :render-after-expand="false" filterable @change="leftChanged" />

Loading…
Cancel
Save