|
@@ -42,9 +42,12 @@ const UpdateForm: any = ref({
|
|
|
});
|
|
|
// 匹配条件选项数据
|
|
|
const fieldQueryKindOptionList = [
|
|
|
- { id: 1, label: '模糊匹配' },
|
|
|
- { id: 2, label: '精确匹配' },
|
|
|
- { id: 3, label: '范围匹配' },
|
|
|
+ { id: "1", label: '模糊匹配' },
|
|
|
+ { id: "2", label: '精确匹配' },
|
|
|
+ { id: "4", label: '取反匹配' },
|
|
|
+ { id: '5', label: '数组匹配' },
|
|
|
+ { id: '6', label: '数组排除' },
|
|
|
+ { id: "3", label: '范围匹配' },
|
|
|
]
|
|
|
// 匹配方式选项数据
|
|
|
const fieldQueryModelOptionList = [
|
|
@@ -87,14 +90,14 @@ const submit = async (formEl) => {
|
|
|
type: "success"
|
|
|
});
|
|
|
UpdateForm.value = {
|
|
|
- id: null, //ID
|
|
|
- fieldName: "", //字段名称
|
|
|
- fieldEnName: "", //字段名
|
|
|
- fieldQueryKind: "", //匹配条件
|
|
|
- fieldQueryModel: "", //匹配方式
|
|
|
- fieldQueryValue: "", //匹配值
|
|
|
- fieldQueryValueType: "", //匹配值类型
|
|
|
- inTableId: null, //入库表
|
|
|
+ id: null, //ID
|
|
|
+ fieldName: "", //字段名称
|
|
|
+ fieldEnName: "", //字段名
|
|
|
+ fieldQueryKind: "", //匹配条件
|
|
|
+ fieldQueryModel: "", //匹配方式
|
|
|
+ fieldQueryValue: "", //匹配值
|
|
|
+ fieldQueryValueType: "", //匹配值类型
|
|
|
+ inTableId: null, //入库表
|
|
|
|
|
|
};
|
|
|
// 关闭修改弹窗;
|
|
@@ -127,7 +130,7 @@ const rules = reactive({
|
|
|
const closeFn: any = inject('closeEditUpdatePriPrizeInQueryFieldVisible');
|
|
|
const openVisible = async () => {
|
|
|
//通过ID获取表格数据
|
|
|
- const { status, data }: any = await http.Request({ method: UrlList.prizeSet.prigetPriPrizeInQueryFieldQuery.method, url: UrlList.prizeSet.prigetPriPrizeInQueryFieldQuery.url, params: { id: props.formData.id }});
|
|
|
+ const { status, data }: any = await http.Request({ method: UrlList.prizeSet.prigetPriPrizeInQueryFieldQuery.method, url: UrlList.prizeSet.prigetPriPrizeInQueryFieldQuery.url, params: { id: props.formData.id } });
|
|
|
if (status === 1) {
|
|
|
UpdateForm.value = data;
|
|
|
|