hookehuyr

fix 大义工需要传参需求, 把URL所有参数传递到接口里面

1 <!-- 1 <!--
2 * @Date: 2024-05-27 14:28:57 2 * @Date: 2024-05-27 14:28:57
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-08-07 18:14:11 4 + * @LastEditTime: 2025-06-04 18:32:57
5 * @FilePath: /data-table/src/components/GroupField/index.vue 5 * @FilePath: /data-table/src/components/GroupField/index.vue
6 * @Description: 组集合输入控件 6 * @Description: 组集合输入控件
7 --> 7 -->
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
31 <script setup> 31 <script setup>
32 import { v4 as uuidv4 } from "uuid"; 32 import { v4 as uuidv4 } from "uuid";
33 import { styleColor } from "@/constant.js"; 33 import { styleColor } from "@/constant.js";
34 -import { queryFormAPI } from "@/api/form.js";
35 import { useRoute } from "vue-router"; 34 import { useRoute } from "vue-router";
36 import { createComponentType } from "@/hooks/useComponentType"; 35 import { createComponentType } from "@/hooks/useComponentType";
37 import _ from 'lodash'; 36 import _ from 'lodash';
......
1 <!-- 1 <!--
2 * @Date: 2022-07-18 10:22:22 2 * @Date: 2022-07-18 10:22:22
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-06-04 18:15:14 4 + * @LastEditTime: 2025-06-04 18:35:50
5 * @FilePath: /data-table/src/views/index.vue 5 * @FilePath: /data-table/src/views/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -391,7 +391,8 @@ onMounted(async () => { ...@@ -391,7 +391,8 @@ onMounted(async () => {
391 document 391 document
392 .querySelector("body") 392 .querySelector("body")
393 .setAttribute("style", `background-color: ${styleColor.backgroundColor}`); 393 .setAttribute("style", `background-color: ${styleColor.backgroundColor}`);
394 - const { data, flow_process_list, code } = await queryFormAPI({ form_code: $route.query.code, page_type, data_id, flow_node_code, force_back, openid: iframe_openid, x_cycle, volunteer_source }); // flow_node_code 表示随机选择的流程节点的ID 394 + // const { data, flow_process_list, code } = await queryFormAPI({ form_code: $route.query.code, page_type, data_id, flow_node_code, force_back, openid: iframe_openid, x_cycle, volunteer_source }); // flow_node_code 表示随机选择的流程节点的ID
395 + const { data, flow_process_list, code } = await queryFormAPI({ form_code: $route.query.code, ...$route.query }); // flow_node_code 表示随机选择的流程节点的ID
395 const form_data = data; 396 const form_data = data;
396 // 处理审批意见显示 397 // 处理审批意见显示
397 if (code) { 398 if (code) {
......