Merge branch 'main' of http://129.211.33.98:3210/hjq/mart-admin
This commit is contained in:
commit
85c5938e5c
@ -13,7 +13,7 @@
|
|||||||
content="pixel-admin是基于 vue3 + CompositionAPI + typescript + vite + element-plus,适配手机、平板、pc 的ai制图后台管理系统!"
|
content="pixel-admin是基于 vue3 + CompositionAPI + typescript + vite + element-plus,适配手机、平板、pc 的ai制图后台管理系统!"
|
||||||
/>
|
/>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<title>vue-next-admin</title>
|
<title>pixel.ai-admin</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
@ -13,6 +13,7 @@ import { baseUrlHost } from '../baseUrlHost';
|
|||||||
* @method getArticleDetail 获取文章详情
|
* @method getArticleDetail 获取文章详情
|
||||||
* @method saveArticle 保存文章
|
* @method saveArticle 保存文章
|
||||||
* @method updateArticle 更新文章
|
* @method updateArticle 更新文章
|
||||||
|
* @method uploadFile 上传文件
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function articleApi() {
|
export function articleApi() {
|
||||||
|
@ -8,6 +8,7 @@ import { baseUrlHost } from '../baseUrlHost';
|
|||||||
* 登录api接口集合
|
* 登录api接口集合
|
||||||
* @method getMessageList 获取留言列表
|
* @method getMessageList 获取留言列表
|
||||||
* @method getMessageDetail 获取留言详情
|
* @method getMessageDetail 获取留言详情
|
||||||
|
* @method updateMessage 更新留言
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function messageApi() {
|
export function messageApi() {
|
||||||
|
@ -8,7 +8,9 @@ import { pixelUrlHost } from '/@/api/baseUrlHost';
|
|||||||
* 登录api接口集合
|
* 登录api接口集合
|
||||||
* @method getServicesList 获取应用服务列表
|
* @method getServicesList 获取应用服务列表
|
||||||
* @method getApplyDetail 获取应用服务详情
|
* @method getApplyDetail 获取应用服务详情
|
||||||
|
* @method saveApply 添加应用服务
|
||||||
* @method updateApply 更新应用服务
|
* @method updateApply 更新应用服务
|
||||||
|
* @method deleteApply 删除应用服务
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function applyApi() {
|
export function applyApi() {
|
||||||
|
@ -106,6 +106,7 @@ export default {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
apply: 'apply',
|
apply: 'apply',
|
||||||
|
shares: 'shares',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 业务模块end
|
* 业务模块end
|
||||||
|
@ -109,6 +109,7 @@ export default {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
apply: '应用管理',
|
apply: '应用管理',
|
||||||
|
shares: '发布管理',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 业务模块end
|
* 业务模块end
|
||||||
|
@ -106,6 +106,7 @@ export default {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
apply: '應用管理',
|
apply: '應用管理',
|
||||||
|
shares: '發佈管理',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 业务模块end
|
* 业务模块end
|
||||||
|
@ -270,27 +270,26 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
|
|||||||
isKeepAlive: true,
|
isKeepAlive: true,
|
||||||
isAffix: false,
|
isAffix: false,
|
||||||
isIframe: false,
|
isIframe: false,
|
||||||
roles: ['admin', 'common'],
|
roles: ['admin'],
|
||||||
icon: 'iconfont icon-crew_feature',
|
icon: 'iconfont icon-crew_feature',
|
||||||
},
|
},
|
||||||
children: [
|
|
||||||
// {
|
|
||||||
// path: '/apply/detail',
|
|
||||||
// name: 'applyDetail',
|
|
||||||
// component: () => import('/@/views/service/apply/detail.vue'),
|
|
||||||
// meta: {
|
|
||||||
// title: 'message.router.applyDetail',
|
|
||||||
// isLink: '',
|
|
||||||
// isHide: true,
|
|
||||||
// isKeepAlive: true,
|
|
||||||
// isAffix: false,
|
|
||||||
// isIframe: false,
|
|
||||||
// roles: ['admin', 'common'],
|
|
||||||
// icon: 'ele-Document',
|
|
||||||
// },
|
|
||||||
// },
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
// 发布管理
|
||||||
|
// {
|
||||||
|
// path: '/shares',
|
||||||
|
// name: 'shares',
|
||||||
|
// component: () => import('/@/views/service/shares/index.vue'),
|
||||||
|
// meta: {
|
||||||
|
// title: 'message.router.shares',
|
||||||
|
// isLink: '',
|
||||||
|
// isHide: false,
|
||||||
|
// isKeepAlive: true,
|
||||||
|
// isAffix: false,
|
||||||
|
// isIframe: false,
|
||||||
|
// roles: ['admin'],
|
||||||
|
// icon: 'ele-Upload',
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 业务模块end
|
* 业务模块end
|
||||||
|
@ -309,7 +309,9 @@ const jpgFormatter = (row: any) => {
|
|||||||
} else {
|
} else {
|
||||||
newPath = row.path.replaceAll('\\\\', '/')
|
newPath = row.path.replaceAll('\\\\', '/')
|
||||||
}
|
}
|
||||||
newPath = newPath.includes('http://8.138.171.103/') ? newPath : encodeURI(viteUrl + newPath)
|
newPath = newPath.includes('http://8.138.171.103/')||newPath.includes('http://guojunjie.oss-cn-hangzhou.aliyuncs.com/') ?
|
||||||
|
newPath : encodeURI(viteUrl + newPath)
|
||||||
|
console.log(newPath);
|
||||||
|
|
||||||
return `${newPath}`;
|
return `${newPath}`;
|
||||||
}
|
}
|
||||||
|
@ -64,6 +64,11 @@
|
|||||||
<el-switch v-model="state.data.publish" />
|
<el-switch v-model="state.data.publish" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :xs="24" :sm="16" :md="12" :lg="12" :xl="12" class="mb20">
|
||||||
|
<el-form-item label="使用教程:">
|
||||||
|
<el-input v-model="state.data.exampleUrl" placeholder="请输入使用教程链接" clearable></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :xs="24" :sm="16" :md="16" :lg="16" :xl="16" class="mb20" v-if="state.data.options&&state.data.options.length>0">
|
<el-col :xs="24" :sm="16" :md="16" :lg="16" :xl="16" class="mb20" v-if="state.data.options&&state.data.options.length>0">
|
||||||
<el-form-item label="选项:">
|
<el-form-item label="选项:">
|
||||||
<div class="tags-option">
|
<div class="tags-option">
|
||||||
|
Loading…
Reference in New Issue
Block a user