Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
newCSO_2023
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhi
newCSO_2023
Commits
892036c5
Commit
892036c5
authored
Mar 16, 2023
by
cmosquito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了教务首页、请求地址、cso主管首页
parent
7f6eb1c5
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
68 additions
and
62 deletions
+68
-62
config/dev.env.js
+2
-2
config/prod.env.js
+1
-1
src/main.js
+1
-1
src/router/index.js
+53
-53
src/views/home/index.vue
+1
-1
src/views/schoolManager/unIndependentTeach.vue
+8
-3
src/views/ums/admin/index.vue
+2
-1
No files found.
config/dev.env.js
View file @
892036c5
...
...
@@ -4,8 +4,8 @@ const prodEnv = require("./prod.env");
module
.
exports
=
merge
(
prodEnv
,
{
NODE_ENV
:
'"development"'
,
BASE_API
:
'"http://192.168.10.111:8057"'
//
BASE_API: '"http://8.218.108.169:8057"'
//
BASE_API: '"http://192.168.10.111:8057"'
BASE_API
:
'"http://8.218.108.169:8057"'
// BASE_API: '"http://172.31.98.241:8057"'
// BASE_API: '"https://pandaxuequ.com.cn/xs/admin"' //本地系统服务器地址111
// BASE_API: '"https://admin-api.macrozheng.com"',
...
...
config/prod.env.js
View file @
892036c5
...
...
@@ -4,5 +4,5 @@ module.exports = {
// BASE_API: '"https://admin-api.macrozheng.com"'
// BASE_API: '"http://test.csasedu.com:10032"' //系统服务器地址
BASE_API
:
'"http://8.218.108.169:8057"'
// BASE_API: '"http://1
72.31.98.24
1:8057"'
// BASE_API: '"http://1
92.168.10.11
1:8057"'
};
src/main.js
View file @
892036c5
...
...
@@ -29,7 +29,7 @@ Vue.prototype.$UPLOAD_BASE_URL = process.env.BASE_API; //图片上传的服务
// Vue.prototype.$H5_BASE_URL = "http://192.168.10.108:8081/#/"; //H5服务器地址
// Vue.prototype.$UPLOAD_BASE_URL = "http://test.csasedu.com:10032"; //图片上传的服务器地址
// Vue.prototype.$H5_BASE_URL = "http://test.csasedu.com:10034/#/"; //H5跳转的网页地址
Vue
.
prototype
.
$H5_BASE_URL
=
"http://
192.168.10.114:8080
/#/"
;
//H5跳转的网页地址
Vue
.
prototype
.
$H5_BASE_URL
=
"http://
8.218.108.169:10034
/#/"
;
//H5跳转的网页地址
// Vue.prototype.$H5_BASE_URL = process.env.BASE_API + "/#/"; //H5跳转的网页地址
Vue
.
use
(
ElementUI
,
{
locale
});
...
...
src/router/index.js
View file @
892036c5
...
...
@@ -1264,59 +1264,59 @@ export const asyncRouterMap = [
meta
:
{
title
:
"用户列表"
,
icon
:
"ums-admin"
}
},
// //权限相关页面,交付的时候不展示
{
path
:
"role"
,
name
:
"role"
,
component
:
()
=>
import
(
"@/views/ums/role/index"
),
meta
:
{
title
:
"角色列表"
,
icon
:
"ums-role"
}
},
{
path
:
"allocMenu"
,
name
:
"allocMenu"
,
component
:
()
=>
import
(
"@/views/ums/role/allocMenu"
),
meta
:
{
title
:
"分配菜单"
},
hidden
:
true
},
{
path
:
"allocResource"
,
name
:
"allocResource"
,
component
:
()
=>
import
(
"@/views/ums/role/allocResource"
),
meta
:
{
title
:
"分配资源"
},
hidden
:
true
},
{
path
:
"menu"
,
name
:
"menu"
,
component
:
()
=>
import
(
"@/views/ums/menu/index"
),
meta
:
{
title
:
"菜单列表"
,
icon
:
"ums-menu"
}
},
{
path
:
"addMenu"
,
name
:
"addMenu"
,
component
:
()
=>
import
(
"@/views/ums/menu/add"
),
meta
:
{
title
:
"添加菜单"
},
hidden
:
true
},
{
path
:
"updateMenu"
,
name
:
"updateMenu"
,
component
:
()
=>
import
(
"@/views/ums/menu/update"
),
meta
:
{
title
:
"修改菜单"
},
hidden
:
true
},
{
path
:
"resource"
,
name
:
"resource"
,
component
:
()
=>
import
(
"@/views/ums/resource/index"
),
meta
:
{
title
:
"资源列表"
,
icon
:
"ums-resource"
}
},
{
path
:
"resourceCategory"
,
name
:
"resourceCategory"
,
component
:
()
=>
import
(
"@/views/ums/resource/categoryList"
),
meta
:
{
title
:
"资源分类"
},
hidden
:
true
}
//
{
//
path: "role",
//
name: "role",
//
component: () => import("@/views/ums/role/index"),
//
meta: { title: "角色列表", icon: "ums-role" }
//
},
//
{
//
path: "allocMenu",
//
name: "allocMenu",
//
component: () => import("@/views/ums/role/allocMenu"),
//
meta: { title: "分配菜单" },
//
hidden: true
//
},
//
{
//
path: "allocResource",
//
name: "allocResource",
//
component: () => import("@/views/ums/role/allocResource"),
//
meta: { title: "分配资源" },
//
hidden: true
//
},
//
{
//
path: "menu",
//
name: "menu",
//
component: () => import("@/views/ums/menu/index"),
//
meta: { title: "菜单列表", icon: "ums-menu" }
//
},
//
{
//
path: "addMenu",
//
name: "addMenu",
//
component: () => import("@/views/ums/menu/add"),
//
meta: { title: "添加菜单" },
//
hidden: true
//
},
//
{
//
path: "updateMenu",
//
name: "updateMenu",
//
component: () => import("@/views/ums/menu/update"),
//
meta: { title: "修改菜单" },
//
hidden: true
//
},
//
{
//
path: "resource",
//
name: "resource",
//
component: () => import("@/views/ums/resource/index"),
//
meta: { title: "资源列表", icon: "ums-resource" }
//
},
//
{
//
path: "resourceCategory",
//
name: "resourceCategory",
//
component: () => import("@/views/ums/resource/categoryList"),
//
meta: { title: "资源分类" },
//
hidden: true
//
}
]
},
{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
true
}
...
...
src/views/home/index.vue
View file @
892036c5
...
...
@@ -4,7 +4,7 @@
<!--
<h1>
{{
token
}}
</h1>
-->
<csoMasterHome
v-if=
"roles.includes('超级管理员')"
></csoMasterHome>
<csoMasterHome
v-if=
"roles.includes('
cso
主管')"
></csoMasterHome>
<csoMasterHome
v-if=
"roles.includes('
CSO
主管')"
></csoMasterHome>
<jiaowuHome
v-if=
"roles.includes('教务老师')"
></jiaowuHome>
<kefuHome
v-if=
"roles.includes('客服部老师')"
></kefuHome>
<kefuHome
v-if=
"roles.includes('客服部主管')"
></kefuHome>
...
...
src/views/schoolManager/unIndependentTeach.vue
View file @
892036c5
...
...
@@ -15,8 +15,9 @@
title=
"添加非自主授课院校"
:visible
.
sync=
"noticeVisible"
@
close=
"cancel('schoolTypeInfo')"
>
<el-form
:model=
"schoolTypeInfo"
ref=
"schoolTypeInfo"
>
<el-form
:model=
"schoolTypeInfo"
ref=
"schoolTypeInfo"
:rules=
"rules"
>
<div
class=
"line"
>
<el-form-item
label=
"院校名称"
prop=
"school"
>
<!--
<el-input
v-model=
"noticeInfo.note"
>
</el-input>
-->
...
...
@@ -48,7 +49,7 @@
:visible
.
sync=
"editNoticeVisible"
@
close=
"cancel('editSchoolInfo')"
>
<el-form
:model=
"editSchoolInfo"
ref=
"editSchoolInfo"
>
<el-form
:model=
"editSchoolInfo"
ref=
"editSchoolInfo"
:rules=
"rules"
>
<div
class=
"line"
>
<el-form-item
label=
"院校名称"
prop=
"school"
>
<el-input
type=
"textarea"
autosize
v-model=
"editSchoolInfo.school"
>
...
...
@@ -188,7 +189,11 @@ export default {
// },
updateId
:
""
updateId
:
""
,
rules
:
{
school
:
[{
required
:
true
,
message
:
"请输入院校名称"
,
trigger
:
"blur"
}],
},
};
},
methods
:
{
...
...
src/views/ums/admin/index.vue
View file @
892036c5
...
...
@@ -26,6 +26,7 @@
:model=
"listQuery"
size=
"small"
label-width=
"140px"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"输入搜索:"
>
<el-input
...
...
@@ -285,7 +286,7 @@ export default {
};
}
},
crea
ted
()
{
moun
ted
()
{
this
.
getList
();
this
.
getAllRoleList
();
this
.
token
=
getToken
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment