chenrui  2 yıl önce
ebeveyn
işleme
aadf9ea1d3

+ 2 - 1
src/views/systemSettings/queryTemplate/queryTemplateAdd.vue

@@ -42,7 +42,7 @@
           <el-col :span="6">
             <el-form-item label="服务名称" prop="submitID" size="default">
               <el-select
-                v-model="ruleForm.submitID"
+                v-model="ruleForm.serviceID"
                 placeholder="请选择"
                 clearable
               >
@@ -106,6 +106,7 @@ const ruleForm = reactive({
   submitID: null,
   queryTemplate: "",
   pageRows: null,
+  serviceID: "",
   event: 1,
 }); //内容
 //保存

+ 2 - 1
src/views/systemSettings/queryTemplate/queryTemplateEdit.vue

@@ -42,7 +42,7 @@
           <el-col :span="6">
             <el-form-item label="服务名称" prop="submitID" size="default">
               <el-select
-                v-model="ruleForm.submitID"
+                v-model="ruleForm.serviceID"
                 placeholder="请选择"
                 clearable
               >
@@ -108,6 +108,7 @@ const ruleForm = reactive({
   submitID: null,
   queryTemplate: "",
   pageRows: null,
+  serviceID: "",
   event: 2,
 }); //内容
 queryTemplateID.value = route.query.queryTemplateID;