首页 > Web开发 > 详细

关于vue在url上动态传递参数

时间:2020-09-22 10:13:03      阅读:38      评论:0      收藏:0      [点我收藏+]

标签:for   getter   mapping   动态   groups   response   

 1 getGroupMemberListData(
 2             { commit, state, getters },
 3             { groupId, groupSearchRange, searchParam, pageNum = 1 }
 4         ) {
 5             return this.dispatch("postData", {
 6                 url: getters.urls.getGroupMemberList(
 7                     groupId,
 8                     groupSearchRange,
 9                     pageNum
10                 ),
11                 data: searchParam
12             });
13      }
 1 getGroupMemberList(groupId, groupSearchRange, pageNum) {
 2                     return (
 3                         this.apiBasePath +
 4                         "/admin/point/point-earn/api/get-group-member-point-member-grid-data/" +
 5                         groupId +
 6                         "/" +
 7                         groupSearchRange +
 8                         "/" +
 9                         pageNum
10                     );
11                 }
1 @RequestMapping("get-group-member-point-member-grid-data/{groupId}/{groupSearchRange}/{pageNum}")
2 @ResponseBody
3 public Map<String, Object> getPointMemberGridDataForGroupMember(@PathVariable String tenantSignId, @PathVariable int groupId, @PathVariable String groupSearchRange, @PathVariable int pageNum, 
4             HttpServletRequest request, HttpSession session,Map<String, Object> uiDataMap, Model model) throws Exception {}

 

关于vue在url上动态传递参数

标签:for   getter   mapping   动态   groups   response   

原文:https://www.cnblogs.com/asesinof/p/13710106.html

(0)
(0)
   
举报
评论 一句话评论(0
© 2014 bubuko.com 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号