mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
修改文字
This commit is contained in:
parent
9cfe0c1bd8
commit
19fd0553a6
@ -105,7 +105,7 @@ export default {
|
||||
'test-dialog',
|
||||
function (editor, uiName) {
|
||||
let dialog = new window.UE.ui.Dialog({
|
||||
iframeUrl: settings.roterPre +'/widget.images/index.html?fodder=dialog',
|
||||
iframeUrl: settings.routePre +'/widget.images/index.html?fodder=dialog',
|
||||
editor: editor,
|
||||
name: uiName,
|
||||
title: '上传图片',
|
||||
|
||||
@ -196,7 +196,7 @@ export default {
|
||||
'test-dialog',
|
||||
function (editor, uiName) {
|
||||
let dialog = new window.UE.ui.Dialog({
|
||||
iframeUrl: settings.roterPre + '/widget.images/index.html?fodder=dialog',
|
||||
iframeUrl: settings.routePre + '/widget.images/index.html?fodder=dialog',
|
||||
editor: editor,
|
||||
name: uiName,
|
||||
title: '上传图片',
|
||||
|
||||
@ -47,7 +47,7 @@ export default {
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
homePath: settings.roterPre + '/home',
|
||||
homePath: settings.routePre + '/home',
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
@ -153,7 +153,7 @@ export default {
|
||||
'test-dialog',
|
||||
function (editor, uiName) {
|
||||
let dialog = new window.UE.ui.Dialog({
|
||||
iframeUrl: settings.roterPre +'/widget.images/index.html?fodder=dialog',
|
||||
iframeUrl: settings.routePre +'/widget.images/index.html?fodder=dialog',
|
||||
editor: editor,
|
||||
name: uiName,
|
||||
title: '上传图片',
|
||||
|
||||
@ -188,7 +188,7 @@ export default {
|
||||
'test-dialog',
|
||||
function (editor, uiName) {
|
||||
let dialog = new window.UE.ui.Dialog({
|
||||
iframeUrl: settings.roterPre + '/widget.images/index.html?fodder=dialog',
|
||||
iframeUrl: settings.routePre + '/widget.images/index.html?fodder=dialog',
|
||||
editor: editor,
|
||||
name: uiName,
|
||||
title: '上传图片',
|
||||
|
||||
@ -115,7 +115,7 @@ export default {
|
||||
'test-dialog',
|
||||
function (editor, uiName) {
|
||||
let dialog = new window.UE.ui.Dialog({
|
||||
iframeUrl: settings.roterPre + '/widget.images/index.html?fodder=dialog',
|
||||
iframeUrl: settings.routePre + '/widget.images/index.html?fodder=dialog',
|
||||
editor: editor,
|
||||
name: uiName,
|
||||
title: '上传图片',
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
</Col>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row type="flex" v-show="$route.path === roterPre+'/app/wechat/news_category/index'">
|
||||
<router-link :to="roterPre+'/app/wechat/news_category/save/0'">
|
||||
<Row type="flex" v-show="$route.path === routePre+'/app/wechat/news_category/index'">
|
||||
<router-link :to="routePre+'/app/wechat/news_category/save/0'">
|
||||
<Button type="primary" class="bnt" icon="md-add">添加图文消息</Button>
|
||||
</router-link>
|
||||
</Row>
|
||||
@ -134,7 +134,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
roterPre: settings.roterPre ,
|
||||
routePre: settings.routePre ,
|
||||
isDel: false,
|
||||
imgsArr: [],
|
||||
group: 0, // 当前加载的加载图片的次数
|
||||
@ -238,7 +238,7 @@ export default {
|
||||
// 编辑
|
||||
clkk(item) {
|
||||
this.$router.push({
|
||||
path: this.roterPre + '/app/wechat/news_category/save/' + item.id,
|
||||
path: this.routePre + '/app/wechat/news_category/save/' + item.id,
|
||||
});
|
||||
},
|
||||
// 鼠标移进
|
||||
|
||||
@ -90,7 +90,7 @@ Router.prototype.push = function push(location) {
|
||||
};
|
||||
import settings from '@/setting'
|
||||
|
||||
Vue.prototype.$routeProStr = settings.roterPre
|
||||
Vue.prototype.$routeProStr = settings.routePre
|
||||
|
||||
// 实际打包时应该不引入mock
|
||||
/* eslint-disable */
|
||||
|
||||
@ -10,14 +10,14 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'agent_';
|
||||
const meta = {
|
||||
auth: true,
|
||||
};
|
||||
export default {
|
||||
path: `${roterPre}/agent`,
|
||||
path: `${routePre}/agent`,
|
||||
name: 'agent',
|
||||
header: 'agent',
|
||||
redirect: {
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'app_';
|
||||
|
||||
export default {
|
||||
path: roterPre + '/app',
|
||||
path: routePre + '/app',
|
||||
name: 'app',
|
||||
header: 'app',
|
||||
redirect: {
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'cms_';
|
||||
|
||||
export default {
|
||||
path: roterPre + '/cms',
|
||||
path: routePre + '/cms',
|
||||
name: 'cms',
|
||||
header: 'cms',
|
||||
redirect: {
|
||||
|
||||
@ -10,14 +10,14 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'division_';
|
||||
const meta = {
|
||||
auth: true,
|
||||
};
|
||||
export default {
|
||||
path: roterPre + '/division',
|
||||
path: routePre + '/division',
|
||||
name: 'division',
|
||||
header: 'division',
|
||||
redirect: {
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'echarts_';
|
||||
|
||||
export default {
|
||||
path: roterPre+'/echarts',
|
||||
path: routePre+'/echarts',
|
||||
name: 'echarts',
|
||||
header: 'echarts',
|
||||
redirect: {
|
||||
|
||||
@ -10,11 +10,11 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'finance_';
|
||||
export default {
|
||||
path: roterPre+'/finance',
|
||||
path: routePre+'/finance',
|
||||
name: 'finance',
|
||||
header: 'finance',
|
||||
meta: {
|
||||
|
||||
@ -9,13 +9,13 @@
|
||||
// +---------------------------------------------------------------------
|
||||
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
const pre = 'kefu_';
|
||||
|
||||
export default [
|
||||
// 登录
|
||||
{
|
||||
path: roterPre+'/login',
|
||||
path: routePre+'/login',
|
||||
name: 'login',
|
||||
meta: {
|
||||
title: '登录',
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
// export default {
|
||||
// path: '/',
|
||||
@ -42,7 +42,7 @@ const meta = {
|
||||
const pre = 'home_';
|
||||
|
||||
export default {
|
||||
path: roterPre + '/',
|
||||
path: routePre + '/',
|
||||
name: 'home',
|
||||
header: 'home',
|
||||
redirect: {
|
||||
@ -52,7 +52,7 @@ export default {
|
||||
component: BasicLayout,
|
||||
children: [
|
||||
{
|
||||
path: roterPre+'/home/',
|
||||
path: routePre+'/home/',
|
||||
name: `${pre}index`,
|
||||
header: 'home',
|
||||
meta: {
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'marketing_';
|
||||
|
||||
export default {
|
||||
path: roterPre+'/marketing',
|
||||
path: routePre+'/marketing',
|
||||
name: 'marketing',
|
||||
header: 'marketing',
|
||||
redirect: {
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'order_';
|
||||
|
||||
export default {
|
||||
path: roterPre+'/order',
|
||||
path: routePre+'/order',
|
||||
name: 'order',
|
||||
header: 'order',
|
||||
redirect: {
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'product_';
|
||||
|
||||
export default {
|
||||
path: roterPre+'/product',
|
||||
path: routePre+'/product',
|
||||
name: 'product',
|
||||
header: 'product',
|
||||
meta: {
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const meta = {
|
||||
auth: true,
|
||||
@ -19,7 +19,7 @@ const meta = {
|
||||
const pre = 'setting_';
|
||||
|
||||
export default {
|
||||
path: roterPre+'/setting',
|
||||
path: routePre+'/setting',
|
||||
name: 'setting',
|
||||
header: 'setting',
|
||||
redirect: {
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const meta = {
|
||||
auth: true,
|
||||
@ -19,7 +19,7 @@ const meta = {
|
||||
const pre = 'statistic_';
|
||||
|
||||
export default {
|
||||
path: roterPre+'/statistic',
|
||||
path: routePre+'/statistic',
|
||||
name: 'statistic',
|
||||
header: 'statistic',
|
||||
redirect: {
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const pre = 'system_';
|
||||
|
||||
export default {
|
||||
path: roterPre+'/system',
|
||||
path: routePre+'/system',
|
||||
name: 'system',
|
||||
header: 'system',
|
||||
redirect: {
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
import BasicLayout from '@/components/main';
|
||||
import setting from '@/setting'
|
||||
let roterPre = setting.roterPre;
|
||||
let routePre = setting.routePre;
|
||||
|
||||
const meta = {
|
||||
auth: true,
|
||||
@ -19,7 +19,7 @@ const meta = {
|
||||
const pre = 'user_';
|
||||
|
||||
export default {
|
||||
path: roterPre+'/user',
|
||||
path: routePre+'/user',
|
||||
name: 'user',
|
||||
header: 'user',
|
||||
redirect: {
|
||||
|
||||
@ -25,7 +25,7 @@ import statistic from './modules/statistic';
|
||||
import frameOut from './modules/frameOut';
|
||||
import division from './modules/division';
|
||||
import settings from '@/setting'
|
||||
let roterPre = settings.roterPre;
|
||||
let routePre = settings.routePre;
|
||||
/**
|
||||
* 在主框架内显示
|
||||
*/
|
||||
@ -51,7 +51,7 @@ const frameIn = [
|
||||
// component: () => import('@/pages/system/log')
|
||||
// },
|
||||
{
|
||||
path: roterPre+'/system/user',
|
||||
path: routePre+'/system/user',
|
||||
name: `systemUser`,
|
||||
meta: {
|
||||
auth: true,
|
||||
@ -60,7 +60,7 @@ const frameIn = [
|
||||
component: () => import('@/pages/setting/user/index'),
|
||||
},
|
||||
{
|
||||
path: roterPre+'/system/files',
|
||||
path: routePre+'/system/files',
|
||||
name: `systemFiles`,
|
||||
meta: {
|
||||
auth: ['admin-setting-files'],
|
||||
@ -95,7 +95,7 @@ const frameIn = [
|
||||
],
|
||||
},
|
||||
{
|
||||
path: roterPre+'/widget.images/index.html',
|
||||
path: routePre+'/widget.images/index.html',
|
||||
name: `images`,
|
||||
meta: {
|
||||
auth: ['admin-user-user-index'],
|
||||
@ -104,7 +104,7 @@ const frameIn = [
|
||||
component: () => import('@/components/uploadPictures/widgetImg'),
|
||||
},
|
||||
{
|
||||
path: roterPre+'/widget.widgets/icon.html',
|
||||
path: routePre+'/widget.widgets/icon.html',
|
||||
name: `imagesIcon`,
|
||||
meta: {
|
||||
auth: ['admin-user-user-index'],
|
||||
@ -113,7 +113,7 @@ const frameIn = [
|
||||
component: () => import('@/components/iconFrom/index'),
|
||||
},
|
||||
{
|
||||
path: roterPre+'/store.StoreProduct/index.html',
|
||||
path: routePre+'/store.StoreProduct/index.html',
|
||||
name: `storeProduct`,
|
||||
meta: {
|
||||
title: '选择商品',
|
||||
@ -121,7 +121,7 @@ const frameIn = [
|
||||
component: () => import('@/components/goodsList/index'),
|
||||
},
|
||||
{
|
||||
path: roterPre+'/system.User/list.html',
|
||||
path: routePre+'/system.User/list.html',
|
||||
name: `changeUser`,
|
||||
meta: {
|
||||
title: '选择用户',
|
||||
@ -129,7 +129,7 @@ const frameIn = [
|
||||
component: () => import('@/components/customerInfo/index'),
|
||||
},
|
||||
{
|
||||
path: roterPre+'/widget.video/index.html',
|
||||
path: routePre+'/widget.video/index.html',
|
||||
name: `video`,
|
||||
meta: {
|
||||
title: '上传视频',
|
||||
@ -163,7 +163,7 @@ const frameOuts = frameOut;
|
||||
|
||||
const errorPage = [
|
||||
{
|
||||
path: roterPre+'/403',
|
||||
path: routePre+'/403',
|
||||
name: '403',
|
||||
meta: {
|
||||
title: '403',
|
||||
@ -171,7 +171,7 @@ const errorPage = [
|
||||
component: () => import('@/pages/system/error/403'),
|
||||
},
|
||||
{
|
||||
path: roterPre+'/500',
|
||||
path: routePre+'/500',
|
||||
name: '500',
|
||||
meta: {
|
||||
title: '500',
|
||||
@ -179,7 +179,7 @@ const errorPage = [
|
||||
component: () => import('@/pages/system/error/500'),
|
||||
},
|
||||
{
|
||||
path: roterPre+'/*',
|
||||
path: routePre+'/*',
|
||||
name: '404',
|
||||
meta: {
|
||||
title: '404',
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
// 请求接口地址 如果没有配置自动获取当前网址路径
|
||||
const VUE_APP_API_URL = 'http://open.net/adminapi' || process.env.VUE_APP_API_URL || `${location.origin}/adminapi`;
|
||||
const VUE_APP_API_URL = process.env.VUE_APP_API_URL || `${location.origin}/adminapi`;
|
||||
|
||||
const Setting = {
|
||||
// 路由前缀
|
||||
roterPre: '/admin',
|
||||
routePre: '/admin',
|
||||
// 接口请求地址
|
||||
apiBaseURL: VUE_APP_API_URL,
|
||||
// 路由模式,可选值为 history 或 hash
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user