|
@@ -35,6 +35,7 @@ const props = defineProps<{
|
|
|
let UpdateForm = ref({
|
|
|
listId: props.listId, //配置ID
|
|
|
loopModel: "", //执行模式
|
|
|
+ tableEnName: "", //查询表
|
|
|
parentField: "", //父ID字段
|
|
|
sonField: "", //子ID字段
|
|
|
|
|
@@ -76,10 +77,11 @@ const submit = async (formEl) => {
|
|
|
type: "success"
|
|
|
});
|
|
|
UpdateForm.value = {
|
|
|
- listId: props.listId, //配置ID
|
|
|
- loopModel: "", //执行模式
|
|
|
- parentField: "", //父ID字段
|
|
|
- sonField: "", //子ID字段
|
|
|
+ listId: props.listId, //配置ID
|
|
|
+ loopModel: "", //执行模式
|
|
|
+ tableEnName: "", //查询表
|
|
|
+ parentField: "", //父ID字段
|
|
|
+ sonField: "", //子ID字段
|
|
|
|
|
|
};
|
|
|
// 关闭新增弹窗;
|
|
@@ -103,7 +105,7 @@ const submit = async (formEl) => {
|
|
|
|
|
|
//获取配置ID数据
|
|
|
const listIdQuery = async () => {
|
|
|
- const { status, data }: any = await http.Request({ method: UrlList.prizeSet.prigetPriListDic.method, url: UrlList.prizeSet.prigetPriListDic.url, params: { } });
|
|
|
+ const { status, data }: any = await http.Request({ method: UrlList.prizeSet.prigetPriListDic.method, url: UrlList.prizeSet.prigetPriListDic.url, params: {} });
|
|
|
if (status === 1) {
|
|
|
listIdOptionList.value = data.records;
|
|
|
}
|
|
@@ -122,6 +124,7 @@ const closeVisible = () => {
|
|
|
UpdateForm.value = {
|
|
|
listId: props.listId, //配置ID
|
|
|
loopModel: "", //执行模式
|
|
|
+ tableEnName: "", //查询表
|
|
|
parentField: "", //父ID字段
|
|
|
sonField: "", //子ID字段
|
|
|
|
|
@@ -151,6 +154,9 @@ const isFullscreen = ref(false)
|
|
|
clearable,
|
|
|
)
|
|
|
el-option(:label="item.label", :value="item.id" v-for="(item,index) in loopModelOptionList")
|
|
|
+ el-form-item(label='查询表' prop="tableEnName")
|
|
|
+ el-input(v-model='UpdateForm.tableEnName' autocomplete='off'
|
|
|
+ placeholder="请输入查询表")
|
|
|
el-form-item(label='父ID字段' prop="parentField")
|
|
|
el-input(v-model='UpdateForm.parentField' autocomplete='off'
|
|
|
placeholder="请输入父ID字段")
|