diff --git a/src/api/atlas/index.js b/src/api/atlas/index.js
new file mode 100644
index 0000000..f119714
--- /dev/null
+++ b/src/api/atlas/index.js
@@ -0,0 +1,154 @@
+/*
+ * @Author: 江涛
+ * @Mail: jt213219216@gmail.com
+ * @Date: 2021-03-24 20:23:09
+ * @LastEditTime: 2024-12-07 10:00:57
+ * @LastEditors: Administrator admin@example.com
+ * @FilePath: /aiqi_admin/src/api/atlas/index.js
+ */
+import request from '@/utils/request'
+
+// 新增写真集
+export function photoAdd(data) {
+ return request({
+ url: '/api/web/photo/add',
+ method: 'post',
+ data
+ })
+}
+// 删除写真集
+export function photoDel(data) {
+ return request({
+ url: '/api/web/photo/del',
+ method: 'post',
+ data
+ })
+}
+// 写真集列表
+export function photoList(data) {
+ return request({
+ url: '/api/web/photo/list',
+ method: 'post',
+ data
+ })
+}
+// 更新写真集
+export function photoUpdate(data) {
+ return request({
+ url: '/api/web/photo/update',
+ method: 'post',
+ data
+ })
+}
+
+// 写真集列表
+export function photoBathUpdate(data) {
+ return request({
+ url: '/api/web/photo/bath/update',
+ method: 'post',
+ data
+ })
+}
+// 图集分类列表
+export function classifyList(data) {
+ return request({
+ url: '/api/web/photo/category/list',
+ method: 'post',
+ filterParam: true,
+ data
+ })
+}
+// 图集分类删除
+export function categoryDel(data) {
+ return request({
+ url: '/api/web/photo/category/del',
+ method: 'post',
+ data
+ })
+}
+// 图集分类新增
+export function classifyAdd(data) {
+ return request({
+ url: '/api/web/photo/category/add',
+ method: 'post',
+ data
+ })
+}
+// 图集分类编辑
+export function classifyUpdate(data) {
+ return request({
+ url: '/api/web/photo/category/update',
+ method: 'post',
+ data
+ })
+}
+
+// 图集标签列表
+export function tagList(data) {
+ return request({
+ url: '/api/web/photo/tag/list',
+ method: 'post',
+ filterParam: true,
+ data
+ })
+}
+// 图集标签删除
+export function tagDel(data) {
+ return request({
+ url: '/api/web/photo/tag/del',
+ method: 'post',
+ data
+ })
+}
+// 图集标签编辑
+export function tagUpdate(data) {
+ return request({
+ url: '/api/web/photo/tag/update',
+ method: 'post',
+ data
+ })
+}
+// 图集标签新增
+export function tagAdd(data) {
+ return request({
+ url: '/api/web/photo/tag/add',
+ method: 'post',
+ data
+ })
+}
+
+// 图集专题新增
+export function photoTopicAdd(data) {
+ return request({
+ url: '/api/web/photo/topic/add',
+ method: 'post',
+ data
+ })
+}
+
+// 图集专题新增
+export function photoTopicDel(data) {
+ return request({
+ url: '/api/web/photo/topic/del',
+ method: 'post',
+ data
+ })
+}
+
+// 图集专题新增
+export function photoTopicList(data) {
+ return request({
+ url: '/api/web/photo/topic/list',
+ method: 'post',
+ data
+ })
+}
+
+// 图集专题新增
+export function photoTopicUpdate(data) {
+ return request({
+ url: '/api/web/photo/topic/update',
+ method: 'post',
+ data
+ })
+}
diff --git a/src/utils/roleTreeList.js b/src/utils/roleTreeList.js
index a6c8941..48008c2 100644
--- a/src/utils/roleTreeList.js
+++ b/src/utils/roleTreeList.js
@@ -493,6 +493,40 @@ export const serverRouter = [
// }
]
},
+ {
+ path: '/atlas',
+ component: 'Atlas',
+ redirect: '/atlas/atlasList',
+ name: 'Atlas',
+ meta: { title: '图集管理', icon: 'el-icon-s-operation' },
+ children: [
+ {
+ path: 'atlasList',
+ name: 'AtlasList',
+ api_url: [],
+ meta: { title: '图集列表', noCache: true, icon: 'el-icon-s-operation' }
+ },
+ {
+ path: 'atlasClassify',
+ name: 'AtlasClassify',
+ api_url: [],
+ meta: { title: '图集分类', noCache: true, icon: 'el-icon-s-operation' }
+ },
+ {
+ path: 'atlasTopic',
+ name: 'AtlasTopic',
+ api_url: [],
+ meta: { title: '图集主题', noCache: true, icon: 'el-icon-s-operation' }
+ },
+ {
+ path: 'atlasLabel',
+ name: 'AtlasLabel',
+ api_url: [],
+ meta: { title: '图集标签', noCache: true, icon: 'el-icon-s-operation' }
+ }
+
+ ]
+ },
{
path: '/rankManagement',
component: 'RankManagement',
diff --git a/src/utils/serviceRoute.js b/src/utils/serviceRoute.js
index 6054392..35ccf0e 100644
--- a/src/utils/serviceRoute.js
+++ b/src/utils/serviceRoute.js
@@ -174,7 +174,12 @@ const map = {
System: Layout,
OperationLog: () => import('@/views/system/operationLog/index.vue'), // 操作日志
SystemConfig: () => import('@/views/system/systemConfig/index.vue'), // 系统配置
-
+ // 图集管理
+ Atlas: Layout,
+ AtlasList: () => import('@/views/atlas/atlasList/index.vue'), // 图集列表
+ AtlasTopic: () => import('@/views/atlas/atlasTopic/index.vue'), // 图集主题
+ AtlasClassify: () => import('@/views/atlas/atlasClassify/index.vue'), // 图集分类
+ AtlasLabel: () => import('@/views/atlas/atlasLabel/index.vue'), // 图集标签
// up主管理
UpManagement: Layout,
// UpStatistic: () => import('@/views/upManagement/upStatistic/index.vue'), // 操作日志
diff --git a/src/views/atlas/atlasClassify/components/AddOrEdit.vue b/src/views/atlas/atlasClassify/components/AddOrEdit.vue
new file mode 100644
index 0000000..87e0339
--- /dev/null
+++ b/src/views/atlas/atlasClassify/components/AddOrEdit.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/atlas/atlasClassify/index.vue b/src/views/atlas/atlasClassify/index.vue
new file mode 100644
index 0000000..aec9eea
--- /dev/null
+++ b/src/views/atlas/atlasClassify/index.vue
@@ -0,0 +1,247 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 新增
+ 刷新
+
+
+
+
+
+
+
+
+ {{
+ scope.row.rank
+ }}
+
+
+ {{
+ scope.row.id
+ }}
+
+
+ {{
+ scope.row.name
+ }}
+
+
+ {{ scope.row.status ? '已开启' : '已关闭' }}
+
+
+
+ {{
+ scope.row.desc
+ }}
+
+
+ {{
+ scope.row.showType | changeName(showTypeList, 'value', 'name')
+ }}
+
+
+
+
+ {{ item|changeName(tagList,'id','name') }}
+
+
+
+
+ {{ scope.row.adsType | changeVideoTypeMode }}
+
+
+ {{ scope.row.createdAt | BeiJingTime }}
+
+
+
+ {{ scope.row.createdAt | BeiJingTime }}
+
+
+
+ {{ scope.row.updatedAt | BeiJingTime }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/atlas/atlasLabel/components/AddOrEdit.vue b/src/views/atlas/atlasLabel/components/AddOrEdit.vue
new file mode 100644
index 0000000..b5aca10
--- /dev/null
+++ b/src/views/atlas/atlasLabel/components/AddOrEdit.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/atlas/atlasLabel/index.vue b/src/views/atlas/atlasLabel/index.vue
new file mode 100644
index 0000000..e8b705f
--- /dev/null
+++ b/src/views/atlas/atlasLabel/index.vue
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 新增
+ 刷新
+
+
+
+
+
+
+
+
+ {{ scope.row.id }}
+
+
+ {{ scope.row.name }}
+
+
+ {{ scope.row.rank }}
+
+
+
+ {{ scope.row.watchTimes }}
+
+
+
+ {{
+ scope.row.status ? '已启用' : '未启用'
+ }}
+
+
+
+ {{
+ scope.row.createdAt | BeiJingTime
+ }}
+
+
+
+ {{
+ scope.row.updatedAt | BeiJingTime
+ }}
+
+
+
+
+ 编辑
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/atlas/atlasList/components/AddOrEdit.vue b/src/views/atlas/atlasList/components/AddOrEdit.vue
new file mode 100644
index 0000000..6532f60
--- /dev/null
+++ b/src/views/atlas/atlasList/components/AddOrEdit.vue
@@ -0,0 +1,228 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 钻石
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/atlas/atlasList/components/batch.vue b/src/views/atlas/atlasList/components/batch.vue
new file mode 100644
index 0000000..ea7f707
--- /dev/null
+++ b/src/views/atlas/atlasList/components/batch.vue
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 钻石
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/atlas/atlasList/index.vue b/src/views/atlas/atlasList/index.vue
new file mode 100644
index 0000000..044ea2f
--- /dev/null
+++ b/src/views/atlas/atlasList/index.vue
@@ -0,0 +1,369 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 新增
+ 批量设置图集
+
+
+
+
+
+
+
+
+
+ {{ scope.row.rank }}
+
+
+ {{ scope.row.id }}
+
+
+ {{ scope.row.name }}
+
+
+
+ {{scope.row.categoryId | changeName(atlasClassifyList, 'id', 'name') }}
+
+
+
+ {{ scope.row.topicId | changeName(photoTopicListAll, 'id', 'name')
+ }}
+
+
+
+ {{item | changeName(tagList, 'id', 'name')}}
+
+
+
+ {{ scope.row.desc }}
+
+
+ {{ scope.row.actorId }}
+
+
+ {{ scope.row.userId }}
+
+
+
+ {{
+ scope.row.isVip ? '是' : '否'
+ }}
+
+
+
+ {{ scope.row.photoScore }}
+
+
+ {{ scope.row.price |changeMoneyYuan }}钻石
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ scope.row.recommend ? '推荐' : '未推荐'
+ }}
+
+
+
+
+ {{
+ scope.row.status ? '已启用' : '未启用'
+ }}
+
+
+
+ {{ scope.row.createdAt | BeiJingTime }}
+
+
+ {{ scope.row.updatedAt | BeiJingTime }}
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/atlas/atlasTopic/components/AddOrEdit.vue b/src/views/atlas/atlasTopic/components/AddOrEdit.vue
new file mode 100644
index 0000000..8f9e96a
--- /dev/null
+++ b/src/views/atlas/atlasTopic/components/AddOrEdit.vue
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/atlas/atlasTopic/index.vue b/src/views/atlas/atlasTopic/index.vue
new file mode 100644
index 0000000..c05c0f6
--- /dev/null
+++ b/src/views/atlas/atlasTopic/index.vue
@@ -0,0 +1,279 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 新增
+ 刷新
+
+
+
+
+
+
+
+
+ {{ scope.row.id }}
+
+
+ {{ scope.row.name }}
+
+
+ {{ scope.row.rank }}
+
+
+ {{ scope.row.desc }}
+
+
+
+
+ {{ item|changeName(tagList,'id','name') }}
+
+
+
+
+
+ {{
+ scope.row.status ? '已启用' : '未启用'
+ }}
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.categoryId | changeName(categoryList, 'id', 'name') }}
+
+
+
+ {{ scope.row.showType|changeName(showTypeList,'value','name') }}
+
+
+
+ {{ scope.row.watchTimes }}
+
+
+ {{ scope.row.photoCount }}
+
+
+
+ {{
+ scope.row.createdAt | BeiJingTime
+ }}
+
+
+
+ {{
+ scope.row.updatedAt | BeiJingTime
+ }}
+
+
+
+
+ 编辑
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/comicsManagement/comics/index.vue b/src/views/comicsManagement/comics/index.vue
index 604c86b..4f69723 100644
--- a/src/views/comicsManagement/comics/index.vue
+++ b/src/views/comicsManagement/comics/index.vue
@@ -287,7 +287,7 @@ layout="total, sizes, prev, pager, next, jumper" />
-
+
@@ -307,7 +307,7 @@ import Edit from './components/AddOrEdit'
import Bach from './components/Bach'
import SetTag from './components/setTag'
import DelTag from './components/delTag'
-import EditCom from '@/views/videoManagement/videoList/components/videoComment.vue'
+// import EditCom from '@/views/videoManagement/videoList/components/videoComment.vue'
import AddTags from './components/addTags'
export default {
name: 'Comics',
@@ -316,7 +316,7 @@ export default {
ShowImg,
ChapterList,
SetTag,
- EditCom,
+ // EditCom,
AddTags,
DelTag,
Bach
diff --git a/src/views/novelsManagement/novels/index.vue b/src/views/novelsManagement/novels/index.vue
index f46df5b..a273a8a 100644
--- a/src/views/novelsManagement/novels/index.vue
+++ b/src/views/novelsManagement/novels/index.vue
@@ -257,7 +257,7 @@
-
+
@@ -271,7 +271,7 @@ import ChapterList from './components/chapterList'
import ShowImg from '@/components/ShowImg/index.vue'
import Edit from './components/AddOrEdit'
import SetTag from './components/setTag'
-import EditCom from '@/views/videoManagement/videoList/components/videoComment.vue'
+// import EditCom from '@/views/videoManagement/videoList/components/videoComment.vue'
import AddTags from './components/addTags'
import Batch from './components/batch'
import AddTotal from './components/addTotal'
@@ -283,7 +283,7 @@ export default {
ShowImg,
ChapterList,
SetTag,
- EditCom,
+ // EditCom,
AddTags,
AddTotal,
Batch
diff --git a/src/views/postManagement/infoList/index.vue b/src/views/postManagement/infoList/index.vue
index 6beaffe..cd885ec 100644
--- a/src/views/postManagement/infoList/index.vue
+++ b/src/views/postManagement/infoList/index.vue
@@ -279,7 +279,7 @@ style="
-
+
-
diff --git a/src/views/videoManagement/videoList/components/review.vue b/src/views/videoManagement/videoList/components/review.vue
deleted file mode 100644
index be7dd6d..0000000
--- a/src/views/videoManagement/videoList/components/review.vue
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/videoManagement/videoList/components/setTag.vue b/src/views/videoManagement/videoList/components/setTag.vue
deleted file mode 100644
index 990b6bf..0000000
--- a/src/views/videoManagement/videoList/components/setTag.vue
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/videoManagement/videoList/components/videoComment.vue b/src/views/videoManagement/videoList/components/videoComment.vue
deleted file mode 100644
index 5c6c3a7..0000000
--- a/src/views/videoManagement/videoList/components/videoComment.vue
+++ /dev/null
@@ -1,276 +0,0 @@
-
-
-
-
-
-
- 批量添加评论
- 新增单条评论
-
-
-
-
-
-
- {{ scope.row.userName }}
-
-
- {{ scope.row.level|changeCommentManageLevel}}
-
-
- {{ scope.row.text }}
-
-
- {{ scope.row.status | changeCommentStatus }}
-
-
- {{ scope.row.isTop ? '是' : '否' }}
-
-
- {{ scope.row.isTopAll ? '是' : '否' }}
-
-
- {{ scope.row.likes }}
-
-
- {{ scope.row.score }}
-
-
- {{ scope.row.parentsId }}
-
-
- {{ scope.row.replyId }}
-
-
- {{ scope.row.replyUserName }}
-
-
- {{ scope.row.commentCount }}
-
-
- {{ scope.row.vipType |changevipType}}
-
-
- {{ scope.row.reviewStatus | reviewType}}
-
-
- {{ scope.row.createdAt |BeiJingTime}}
-
-
- {{ scope.row.updatedAt |BeiJingTime}}
-
-
-
- 解封
- 封禁
- 审核
- 编辑
- 回复
- 删除
- 删除该用户所有评论
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/videoManagement/videoList/index.vue b/src/views/videoManagement/videoList/index.vue
index a3cad54..cce3864 100644
--- a/src/views/videoManagement/videoList/index.vue
+++ b/src/views/videoManagement/videoList/index.vue
@@ -77,7 +77,6 @@
新增
添加视频
批量设置视频
- 批量设置标签
批量删除视频
@@ -145,9 +144,6 @@
暂无
-
- {{ scope.row.preTime }}
-
{{ scope.row.desc }}
@@ -190,6 +186,16 @@
{{ scope.row.isRecomend ? '是' : '否' }}
+
+
+ {{ scope.row.isExclusive ? '是' : '否' }}
+
+
+
+
+ {{ scope.row.isOriginal ? '是' : '否' }}
+
+
{{ scope.row.playTime | secondToHouseMinuteSecond }}
@@ -284,7 +290,7 @@
-
-
+
-
-
+
@@ -314,13 +317,11 @@
// 引入模块
import ShowImg from '@/components/ShowImg/index.vue'
import Edit from './components/AddOrEdit'
-import EditCom from './components/videoComment'
+import EditCom from '@/views/videoManagement/commentManage/components/AddOrEdit'
import Batch from './components/batch'
-import SetTag from './components/setTag'
import AddVideo2 from './components/addVideo2.vue'
import DelTag from './components/delTag'
-import { actressSearch } from '@/api/videoManagement/actressList'
import { contentTypeList, videoLocationList } from '@/filters/mediaLibrary/videoList'
import { rankSo, MediaPayTypeList, MediaSatusList } from '@/filters/videoManagement/videoList'
@@ -328,9 +329,9 @@ import { mediaSearch, mediaDel } from '@/api/videoManagement/videoList'
import ShowVideo from '@/components/ShowVideo/index.vue'
import { mediatagList } from '@/api/videoManagement/mediatag'
import { topicSearch, topicMediaTop } from '@/api/videoManagement/topic'
-import { circleListSearch } from '@/api/user/circleList'
import { mediacollList } from '@/api/videoManagement/collectionList'
import { mediatagCategoryList } from '@/api/videoManagement/videoTagType'
+import { mediacategoryList } from '@/api/videoManagement/mediacategory'
// import ShareUrl from './components/shareUrl'
export default {
name: 'VideoList',
@@ -340,7 +341,6 @@ export default {
ShowVideo,
Batch,
EditCom,
- SetTag,
AddVideo2,
// ShareUrl,
DelTag
@@ -369,7 +369,6 @@ export default {
],
mediatag: [],
videoType: [],
- actorList: [], // 女优列表
MediaPayTypeList: MediaPayTypeList(),
circleList: [],
mediaCollList: [],
@@ -407,7 +406,6 @@ export default {
// 编辑数据
editVisible: false, // 新增或编辑弹出框
editComVisible: false, // 评论弹出框
- setTagVisible: false,
addVideoVisible: false,
showH5Share: false,
editData: {
@@ -417,7 +415,8 @@ export default {
batchVisible: false,
videoList: [],
selectBatch: [],
- delTagVisible: false
+ delTagVisible: false,
+ categoryList: []// 视频分类列表
}
},
@@ -425,12 +424,26 @@ export default {
this.getMediatagList()
this.getmediatagCategoryList()
this.getMediacategoryList()
+ this.getTopicSearch()
this.searchData = this.$store.getters.getSeachParam
this.getMediaSearch()
- this.getCircleListSearch()
this.getMediacollList()
},
methods: {
+ // TODO:请求视频分类列表数据
+ getMediacategoryList() {
+ const param = {
+ pageNum: 1,
+ pageSize: 500
+ }
+ mediacategoryList(param).then((res) => {
+ if (res.code === 200) {
+ this.categoryList = res.data.list
+ } else {
+ this.$message.error('请求列表失败!')
+ }
+ })
+ },
// 分享H5
H5Share(row) {
this.editData = {
@@ -500,17 +513,7 @@ export default {
})
})
},
- // TODO:请求演员列表数据
- getActorList() {
- actressSearch({ pageNum: 1, pageSize: 5000, param: {}}).then(res => {
- if (res.code === 200) {
- this.actorList = res.data.list
- } else {
- this.actorList = []
- this.$message.error('请求演员列表失败!')
- }
- })
- },
+
delTag() {
console.log(111)
this.delTagVisible = true
@@ -534,7 +537,7 @@ export default {
},
// TODO:请求视频分类列表
- getMediacategoryList(val) {
+ getTopicSearch(val) {
const param = {
pageNum: 1,
pageSize: 500,
@@ -602,7 +605,6 @@ export default {
}
this.$store.dispatch('videoManagement/setSeachParam', param)
mediaSearch(param).then(res => {
- console.log(res)
if (res.code === 200) {
res.data.list.forEach(item => {
item.actor ? (item.actor = item.actor.split(',')) : ''
@@ -634,17 +636,7 @@ export default {
})
})
},
- // TODO:请求圈子列表数据
- getCircleListSearch() {
- circleListSearch({ pageNum: 1, pageSize: 5000 }).then(res => {
- if (res.code === 200) {
- this.circleList = res.data.list
- } else {
- this.$message.error('请求圈子列表失败!')
- this.circleList = []
- }
- })
- },
+
// TODO:请求合集列表数据
getMediacollList() {
mediacollList({ pageNum: 1, pageSize: 5000 }).then(res => {
@@ -660,9 +652,6 @@ export default {
batch() {
this.batchVisible = true
},
- setTag() {
- this.setTagVisible = true
- },
onSeach() {
this.searchData.pageNum = 1
@@ -703,7 +692,6 @@ export default {
this.batchVisible = false
this.editVisible = false
this.editComVisible = false
- this.setTagVisible = false
this.addVideoVisible = false
this.showH5Share = false
this.delTagVisible = false