lcl 6 days ago
parent
commit
8c62170a36

+ 2 - 0
src/views/pri/priPrizeInField/components/add/index.vue

@@ -49,6 +49,8 @@ const ruleFormRef = ref()
 const fieldQueryModelOptionList = [
   { id: 'request_param', label: '入参' },
   { id: 'query_field', label: '条件匹配返回字段' },
+  { id: 'querystart_list_field', label: '起始数据字段' },
+  { id: 'query_all_field', label: '条件和起始数据字段' },
   { id: 'prize_field', label: '奖励对象返回字段' },
   { id: 'loop_field', label: '循环递归字段' },
   { id: 'fixed_value', label: '固定值' },

+ 2 - 0
src/views/pri/priPrizeInField/components/updatePriPrizeInField/index.vue

@@ -43,6 +43,8 @@ const UpdateForm: any = ref({
 const fieldQueryModelOptionList = [
   { id: 'request_param', label: '入参' },
   { id: 'query_field', label: '条件匹配返回字段' },
+  { id: 'querystart_list_field', label: '起始数据字段' },
+  { id: 'query_all_field', label: '条件和起始数据字段' },
   { id: 'prize_field', label: '奖励对象返回字段' },
   { id: 'loop_field', label: '循环递归字段' },
   { id: 'fixed_value', label: '固定值' },

+ 8 - 7
src/views/pri/priProject/components/add/index.vue

@@ -46,6 +46,7 @@ const ruleFormRef = ref()
 const requestModeOptionList = [
   { id: 'http', label: 'http' },
   { id: 'mq', label: 'MQ' },
+  { id: 'db', label: '入库' },
 ]
 // 返回数据类型选项数据
 const returnTypeOptionList = [
@@ -78,13 +79,13 @@ const submit = async (formEl) => {
           type: "success"
         });
         UpdateForm.value = {
-      projectName: "", //项目名称
-      projectDetail: "", //项目介绍
-      requestMode: "", //调用方式
-      noticeFlag: "", //是否通知
-      noticeUrl: "", //通知地址
-      requestUrl: "", //请求地址
-      returnType: "", //返回数据类型
+          projectName: "", //项目名称
+          projectDetail: "", //项目介绍
+          requestMode: "", //调用方式
+          noticeFlag: "", //是否通知
+          noticeUrl: "", //通知地址
+          requestUrl: "", //请求地址
+          returnType: "", //返回数据类型
 
         };
         // 关闭新增弹窗;

+ 10 - 9
src/views/pri/priProject/components/updatePriProject/index.vue

@@ -44,6 +44,7 @@ const UpdateForm: any = ref({
 const requestModeOptionList = [
   { id: 'http', label: 'http' },
   { id: 'mq', label: 'MQ' },
+  { id: 'db', label: '入库' },
 ]
 // 返回数据类型选项数据
 const returnTypeOptionList = [
@@ -78,14 +79,14 @@ const submit = async (formEl) => {
           type: "success"
         });
         UpdateForm.value = {
-      id: null, //ID
-      projectName: "", //项目名称
-      projectDetail: "", //项目介绍
-      requestMode: "", //调用方式
-      noticeFlag: "", //是否通知
-      noticeUrl: "", //通知地址
-      requestUrl: "", //请求地址
-      returnType: "", //返回数据类型
+          id: null, //ID
+          projectName: "", //项目名称
+          projectDetail: "", //项目介绍
+          requestMode: "", //调用方式
+          noticeFlag: "", //是否通知
+          noticeUrl: "", //通知地址
+          requestUrl: "", //请求地址
+          returnType: "", //返回数据类型
 
         };
         // 关闭修改弹窗;
@@ -121,7 +122,7 @@ const rules = reactive({
 const closeFn: any = inject('closeEditUpdatePriProjectVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const { status, data }: any = await http.Request({ method: UrlList.prizeSet.prigetPriProjectQuery.method, url: UrlList.prizeSet.prigetPriProjectQuery.url, params: { id: props.formData.id }});
+  const { status, data }: any = await http.Request({ method: UrlList.prizeSet.prigetPriProjectQuery.method, url: UrlList.prizeSet.prigetPriProjectQuery.url, params: { id: props.formData.id } });
   if (status === 1) {
     UpdateForm.value = data;
 

+ 1 - 0
src/views/pri/priProject/hook.tsx

@@ -138,6 +138,7 @@ export function usePriProject() {
   const requestModeOptionList = [
     { id: 'http', label: 'http' },
     { id: 'mq', label: 'MQ' },
+    { id: 'db', label: '入库' },
   ]
 
 

+ 1 - 0
src/views/pri/priQueryField/components/add/index.vue

@@ -61,6 +61,7 @@ const fieldQueryKindOptionList = [
 const fieldQueryModelOptionList = [
   { id: 'request_param', label: '入参' },
   { id: 'query_field', label: '条件匹配返回字段' },
+  { id: 'querystart_list_field', label: '起始数据字段' },
   { id: 'loop_field', label: '循环递归字段' },
   { id: 'fixed_value', label: '固定值' },
   { id: 'db_field', label: '库内字段' },

+ 1 - 0
src/views/pri/priQueryField/components/updatePriQueryField/index.vue

@@ -53,6 +53,7 @@ const fieldQueryKindOptionList = [
 const fieldQueryModelOptionList = [
   { id: 'request_param', label: '入参' },
   { id: 'query_field', label: '条件匹配返回字段' },
+  { id: 'querystart_list_field', label: '起始数据字段' },
   { id: 'loop_field', label: '循环递归字段' },
   { id: 'fixed_value', label: '固定值' },
   { id: 'db_field', label: '库内字段' },