diff --git a/QMPlusVuePage/src/api/user.js b/QMPlusVuePage/src/api/user.js index 41e4bad8..8bd45341 100644 --- a/QMPlusVuePage/src/api/user.js +++ b/QMPlusVuePage/src/api/user.js @@ -38,4 +38,21 @@ export const getUserList = (data) => { method: 'post', data: data }) +} + + +// @Tags User +// @Summary 设置用户权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.SetUserAuth true "设置用户权限" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"修改成功"}" +// @Router /user/setUserAuthority [post] +export const setUserAuthority = (data) => { + return service({ + url: "/user/setUserAuthority", + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/QMPlusVuePage/src/view/superAdmin/user/user.vue b/QMPlusVuePage/src/view/superAdmin/user/user.vue index 2feb7ee4..96f7ca7a 100644 --- a/QMPlusVuePage/src/view/superAdmin/user/user.vue +++ b/QMPlusVuePage/src/view/superAdmin/user/user.vue @@ -4,10 +4,12 @@ - + @@ -17,8 +19,7 @@ @@ -39,7 +40,7 @@