Эх сурвалжийг харах

fix(事件分析表格): 修复选项列表未传Pf参数的BUG

fxs 2 сар өмнө
parent
commit
d007b22b83

+ 3 - 2
src/views/Home/Analysis/EventAnalysisTable.vue

@@ -171,6 +171,7 @@ const expandRequestConfig = reactive<ReqConfig>({
   url: AllApi.userActionListExpand,
   otherOptions: {
     actionId: '',
+    pf: tempMultipleChoice.pf,
     gid: selectInfo.gid,
     startTime: props.startTime,
     endTime: props.endTime
@@ -181,7 +182,7 @@ const expandRequestConfig = reactive<ReqConfig>({
 const requestConfig = reactive<ReqConfig>({
   url: AllApi.userActionList,
   otherOptions: {
-    pf: selectInfo.pf,
+    pf: tempMultipleChoice.pf,
     gid: selectInfo.gid,
     startTime: props.startTime,
     endTime: props.endTime
@@ -242,7 +243,7 @@ const updateDate = (startTime: string, endTime: string) => {
 const updateSelect = (gid: string, pf: any) => {
   pf = isSinglePf ? pf[0] : pf
   updateReqConfig(requestConfig, { pf, gid })
-  updateReqConfig(expandRequestConfig, { gid })
+  updateReqConfig(expandRequestConfig, { pf, gid })
 }
 
 const backupDate = reactive([])