diff --git a/src/api/user.js b/src/api/user.js
index 7349b80..ba2c448 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -1,76 +1,76 @@
-import request from '@/utils/request'
+import request from "@/utils/request";
export function login(data) {
return request({
- url: '/account/token',
- method: 'post',
+ url: "/account/token",
+ method: "post",
data
- })
+ });
}
export function getInfo() {
return request({
- url: '/account/info',
- method: 'get'
- })
+ url: "/account/info",
+ method: "get"
+ });
}
export function logout() {
return request({
- url: '/mock/user/logout',
- method: 'post'
- })
+ url: "/mock/user/logout",
+ method: "post"
+ });
}
// 获取账号菜单
export function getAccountMenus() {
return request({
- url: '/account/menus',
- method: 'get'
- })
+ url: "/account/menus",
+ method: "get"
+ });
}
// 获取按钮权限
export function getButtonPermissions() {
return request({
- url: '/account/buttons/aliases',
- method: 'get'
- })
+ url: "/account/buttons/aliases",
+ method: "get"
+ });
}
// 用户道具流水列表
export function userPropsTable(params) {
return request({
- url: '/running/water/user/props/page',
- method: 'get',
+ url: "/running/water/user/props/page",
+ method: "get",
params
- })
+ });
}
// 用户购买麦位类型流水列表
export function userPropsMikeType(params) {
return request({
- url: '/room-mike-type/page',
- method: 'get',
+ url: "/room-mike-type/page",
+ method: "get",
params
- })
+ });
}
// 用户靓号申请列表
export function userBeautifulNumberApplyTable(params) {
return request({
- url: '/beautiful/number/apply/page',
- method: 'get',
+ url: "/beautiful/number/apply/page",
+ method: "get",
params
- })
+ });
}
// 处理靓号申请状态
-export function handleBeautifulNumberApplyState(id, state) {
+export function handleBeautifulNumberApplyState(id, state, remark) {
return request({
- url: `/beautiful/number/apply/handle/${id}/${state}`,
- method: 'get'
- })
+ url: `/beautiful/number/apply/handle/${id}/${state}?remark=${remark}`,
+ method: "get"
+ });
}
// ////////////////////////////////////////////////////// 用户银行卡 start ////////////////////////////////////////////////////////////////
@@ -78,52 +78,52 @@ export function handleBeautifulNumberApplyState(id, state) {
// 根据团队id获得银行卡列表.
export function listBankCardTable(userId) {
return request({
- url: '/user/bank-card/list/user-id/' + userId,
- method: 'get'
- })
+ url: "/user/bank-card/list/user-id/" + userId,
+ method: "get"
+ });
}
// 团队通过银行卡.
export function listUserPassBankCards(userId) {
return request({
- url: '/user/bank-card/pass-list',
- method: 'get',
+ url: "/user/bank-card/pass-list",
+ method: "get",
params: { userId }
- })
+ });
}
// 修改银行卡资料
export function updateBankCard(data) {
return request({
- url: '/user/bank-card/update',
- method: 'post',
+ url: "/user/bank-card/update",
+ method: "post",
data
- })
+ });
}
// 添加银行卡资料
export function addBankCard(data) {
return request({
- url: '/user/bank-card/add',
- method: 'post',
+ url: "/user/bank-card/add",
+ method: "post",
data
- })
+ });
}
// 根据银行卡id删除.
export function deleteBankCard(bankCardId) {
return request({
- url: '/user/bank-card/delete/' + bankCardId,
- method: 'get'
- })
+ url: "/user/bank-card/delete/" + bankCardId,
+ method: "get"
+ });
}
// 切换使用中的银行卡.
export function useBankCard(bankCardId) {
return request({
- url: '/user/bank-card/use/' + bankCardId,
- method: 'get'
- })
+ url: "/user/bank-card/use/" + bankCardId,
+ method: "get"
+ });
}
// ////////////////////////////////////////////////////// 用户银行卡 end ////////////////////////////////////////////////////////////////
@@ -131,24 +131,24 @@ export function useBankCard(bankCardId) {
// 用户密码日志列表
export function userPasswordLog(params) {
return request({
- url: '/user-password-log/page',
- method: 'get',
+ url: "/user-password-log/page",
+ method: "get",
params
- })
+ });
}
// 用户上传专属礼物分页列表
export function pageUserCustomGift(params) {
return request({
- url: '/user/custom-gift',
- method: 'get',
+ url: "/user/custom-gift",
+ method: "get",
params
- })
+ });
}
// 切换用户上传专属礼物状态
export function switchStatus(id, status) {
return request({
url: `/user/custom-gift/${id}/${status}`,
- method: 'get'
- })
+ method: "get"
+ });
}
diff --git a/src/views/user/beautiful-number-apply/components/applyHandle.vue b/src/views/user/beautiful-number-apply/components/applyHandle.vue
new file mode 100644
index 0000000..8dfa16e
--- /dev/null
+++ b/src/views/user/beautiful-number-apply/components/applyHandle.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
diff --git a/src/views/user/beautiful-number-apply/index.vue b/src/views/user/beautiful-number-apply/index.vue
index 1eea01d..779a390 100644
--- a/src/views/user/beautiful-number-apply/index.vue
+++ b/src/views/user/beautiful-number-apply/index.vue
@@ -1,6 +1,8 @@
+
+
-
+
{{ item.label }}
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
待处理
@@ -73,6 +86,8 @@
驳回
+
+
+
+
同意
+ >同意
驳回
+ :disabled="scope.row.state != 0"
+ @click.native="showRejectWindow(scope.row.id)"
+ >驳回
+
+
+
+