diff --git a/src/api/cai/anchor.js b/src/api/cai/anchor.js
index f9f8ca3..6250995 100644
--- a/src/api/cai/anchor.js
+++ b/src/api/cai/anchor.js
@@ -17,6 +17,14 @@ export function getAnchor(id) {
})
}
+export function getFullAnchor(id) {
+ return request({
+ url: '/cai/anchor/full',
+ method: 'get',
+ params: {userId:id}
+ })
+}
+
// 新增女神列表
export function addAnchor(data) {
return request({
diff --git a/src/api/cai/anchorApply.js b/src/api/cai/anchorApply.js
index b092123..2d8f515 100644
--- a/src/api/cai/anchorApply.js
+++ b/src/api/cai/anchorApply.js
@@ -17,24 +17,23 @@ export function getAnchorApply(id) {
})
}
-// 新增播主申请管理
-export function addAnchorApply(data) {
+export function auditAnchorSuccess(data) {
return request({
- url: '/cai/anchorApply',
+ url: '/cai/anchorApply/auditAnchorSuccess',
method: 'post',
data: data
})
}
-// 修改播主申请管理
-export function updateAnchorApply(data) {
+export function auditAnchorFail(data) {
return request({
- url: '/cai/anchorApply',
- method: 'put',
+ url: '/cai/anchorApply/auditAnchorFail',
+ method: 'post',
data: data
})
}
+
// 删除播主申请管理
export function delAnchorApply(id) {
return request({
diff --git a/src/constant/statusMap.js b/src/constant/statusMap.js
index c4fa4d8..c11fd52 100644
--- a/src/constant/statusMap.js
+++ b/src/constant/statusMap.js
@@ -104,16 +104,10 @@ export const onlineStatusList = [
{ value: 1, label: '在线',listClass: listClass.danger},
]
-export const anchorApplyStatus = [
- { value: 1, label: '审核中',listClass: listClass.info},
- { value: 2, label: '审核不通过',listClass: listClass.danger},
- { value: 3, label: '审核通过',listClass: listClass.primary},
-]
-
export const auditStatusList = [
{ value: 1, label: '审核中',listClass: listClass.info},
- { value: 2, label: '审核不通过',listClass: listClass.danger},
- { value: 3, label: '审核通过',listClass: listClass.primary},
+ { value: 2, label: '审核通过',listClass: listClass.primary},
+ { value: 3, label: '审核不通过',listClass: listClass.danger},
]
/**
diff --git a/src/views/cai/anchor/anchor-info-dialog.vue b/src/views/cai/anchor/anchor-info-dialog.vue
new file mode 100644
index 0000000..32e7d0e
--- /dev/null
+++ b/src/views/cai/anchor/anchor-info-dialog.vue
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+ {{info.user.id}}
+
+
+ {{info.user.usercode}}
+
+
+ {{info.user.mobile}}
+
+
+
+
+
+
+
+
+ {{info.user.age}}
+
+
+ {{info.user.birthday}}
+
+
+ {{info.user.city}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{info.userInfo.lastLoginIp}}
+
+
+ {{info.userInfo.lastLoginTime}}
+
+
+ {{info.userInfo.lastLocation}}
+
+
+ {{info.userInfo.regIp}}
+
+
+ {{info.userInfo.regTime}}
+
+
+
+
+
+
+ {{info.anchor.price}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{info.anchor.giveScore}}
+
+
+ {{info.anchor.serviceCount}}
+
+
+ {{info.anchor.serviceTime}}
+
+
+ {{info.anchor.videoRate}}
+
+
+ {{info.anchor.guardRate}}
+
+
+ {{info.anchor.giftRate}}
+
+
+
+
+
+
+
+
+
+ {{info.userOnline.lastLiveTime}}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/cai/anchor/index.vue b/src/views/cai/anchor/index.vue
index 70ded18..8426c4b 100644
--- a/src/views/cai/anchor/index.vue
+++ b/src/views/cai/anchor/index.vue
@@ -64,7 +64,11 @@
>
-
+
+
+
+
+
-
+
+ 详情
+
diff --git a/src/views/cai/dynamic/index.vue b/src/views/cai/dynamic/index.vue
index 9e05ecf..aa3f6a7 100644
--- a/src/views/cai/dynamic/index.vue
+++ b/src/views/cai/dynamic/index.vue
@@ -83,7 +83,7 @@
type="text"
icon="el-icon-edit"
v-if="scope.row.auditStatus === 1"
- @click="handleAudit(scope.row,3)"
+ @click="handleAudit(scope.row,2)"
v-hasPermi="['cai:dynamic:edit']"
>通过
@@ -92,7 +92,7 @@
type="text"
icon="el-icon-edit"
v-if="scope.row.auditStatus === 1"
- @click="handleAudit(scope.row,2)"
+ @click="handleAudit(scope.row,3)"
v-hasPermi="['cai:dynamic:edit']"
>不通过
diff --git a/src/views/cai/user/user-info-dialog.vue b/src/views/cai/user/user-info-dialog.vue
index da4e6c3..bdeffad 100644
--- a/src/views/cai/user/user-info-dialog.vue
+++ b/src/views/cai/user/user-info-dialog.vue
@@ -56,16 +56,16 @@
-
+
{{info.userInfo.videoIncomeRate}}
-
+
{{info.userInfo.guardIncomeRate}}
-
+
{{info.userInfo.giftIncomeRate}}
-
+
{{info.userInfo.payIncomeRate}}
diff --git a/src/views/cai/userAlbum/index.vue b/src/views/cai/userAlbum/index.vue
index 4c0eb1a..4373f2a 100644
--- a/src/views/cai/userAlbum/index.vue
+++ b/src/views/cai/userAlbum/index.vue
@@ -83,7 +83,7 @@
type="text"
icon="el-icon-edit"
v-if="scope.row.auditStatus === 1"
- @click="handleAudit(scope.row,3)"
+ @click="handleAudit(scope.row,2)"
v-hasPermi="['cai:userAlbum:edit']"
>通过
@@ -92,7 +92,7 @@
type="text"
icon="el-icon-edit"
v-if="scope.row.auditStatus === 1"
- @click="handleAudit(scope.row,2)"
+ @click="handleAudit(scope.row,3)"
v-hasPermi="['cai:userAlbum:edit']"
>不通过
diff --git a/src/views/cai/userCameraAudit/index.vue b/src/views/cai/userCameraAudit/index.vue
index 077cad6..5c1cda4 100644
--- a/src/views/cai/userCameraAudit/index.vue
+++ b/src/views/cai/userCameraAudit/index.vue
@@ -86,7 +86,7 @@
type="text"
icon="el-icon-edit"
v-if="scope.row.auditStatus === 1"
- @click="handleAudit(scope.row,3)"
+ @click="handleAudit(scope.row,2)"
v-hasPermi="['cai:userCameraAudit:edit']"
>通过
@@ -95,7 +95,7 @@
type="text"
icon="el-icon-edit"
v-if="scope.row.auditStatus === 1"
- @click="handleAudit(scope.row,2)"
+ @click="handleAudit(scope.row,3)"
v-hasPermi="['cai:userCameraAudit:edit']"
>不通过
diff --git a/src/views/cai/userGreet/index.vue b/src/views/cai/userGreet/index.vue
index 883f783..b206b4e 100644
--- a/src/views/cai/userGreet/index.vue
+++ b/src/views/cai/userGreet/index.vue
@@ -75,7 +75,7 @@
type="text"
icon="el-icon-edit"
v-if="scope.row.auditStatus === 1"
- @click="handleAudit(scope.row,3)"
+ @click="handleAudit(scope.row,2)"
v-hasPermi="['cai:userGreet:edit']"
>通过
@@ -84,7 +84,7 @@
type="text"
icon="el-icon-edit"
v-if="scope.row.auditStatus === 1"
- @click="handleAudit(scope.row,2)"
+ @click="handleAudit(scope.row,3)"
v-hasPermi="['cai:userGreet:edit']"
>不通过