diff --git a/vue-fastapi-frontend/src/views/metadataConfig/metaclas/index.vue b/vue-fastapi-frontend/src/views/metadataConfig/metaclas/index.vue
index 5ca7d15..ef0137a 100644
--- a/vue-fastapi-frontend/src/views/metadataConfig/metaclas/index.vue
+++ b/vue-fastapi-frontend/src/views/metadataConfig/metaclas/index.vue
@@ -94,6 +94,14 @@
placeholder="只能输入数字"
>
+
+
+
+
+
+
+
+
取消
@@ -116,6 +124,14 @@
placeholder="只能输入数字"
>
+
+
+
+
+
+
+
+
取消
@@ -202,11 +218,15 @@ const clasFormRef3 = ref(null); // 字段处理类型 formRef
const form1 = ref({
datatype: "",
ratio: null,
+ ssysId: undefined,
+ mdlName: "",
});
const form2 = ref({
regexName: "",
regexPattern: "",
ratio: null,
+ ssysId: undefined,
+ mdlName: "",
});
const form3 = ref({
opType: "",
@@ -312,7 +332,9 @@ function handleSearch() {
// ===== 值类型弹窗处理 =====
function openAddDialog1() {
title.value = "新增值类型参数";
- Object.assign(form1.value, { datatype: "", ratio: null });
+ Object.assign(form1.value, { datatype: "", ratio: null,
+ ssysId: queryForm.ssysId,
+ mdlName: queryForm.mdlName, });
open1.value = true;
}
function openEditDialog1(row) {
@@ -328,7 +350,7 @@ function openEditDialog1(row) {
function submitForm1() {
clasFormRef1.value.validate(async (valid) => {
if (!valid) return;
- const submitData = { ...form1.value,ssysId:queryForm.ssysId,mdlName:queryForm.mdlName };
+ const submitData = { ...form1.value};
try {
if (title.value.includes("新增")) {
await addDatatypeLabel(submitData);
@@ -378,6 +400,8 @@ function openAddDialog2() {
regexName: "",
regexPattern: "",
ratio: null,
+ ssysId: queryForm.ssysId,
+ mdlName: queryForm.mdlName,
});
open2.value = true;
}