Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
fcb1242f
Commit
fcb1242f
authored
Mar 13, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外部投放加导出权限
parent
411e01ab
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
+11
-10
index.js
config/index.js
+2
-2
index.vue
src/components/externalLaunch/index.vue
+1
-1
role.vue
src/components/system/role.vue
+3
-3
sourceByDateDialog.vue
src/components/teacherDetail/sourceByDateDialog.vue
+5
-4
No files found.
config/index.js
View file @
fcb1242f
...
@@ -12,8 +12,8 @@ module.exports = {
...
@@ -12,8 +12,8 @@ module.exports = {
//本地代理设置
//本地代理设置
proxyTable
:
{
proxyTable
:
{
'/api'
:
{
'/api'
:
{
target
:
'http://10.1.23.103'
,
// 接口的域名
//
target: 'http://10.1.23.103', // 接口的域名
//
target: 'https://wechat-test.changchangenglish.com/',
target
:
'https://wechat-test.changchangenglish.com/'
,
changeOrigin
:
true
,
// 如果接口跨域,需要进行这个参数配置
changeOrigin
:
true
,
// 如果接口跨域,需要进行这个参数配置
}
}
},
},
...
...
src/components/externalLaunch/index.vue
View file @
fcb1242f
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</el-button>
</el-button>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
plain
@
click=
"doExport"
>
<el-button
type=
"primary"
plain
v-if=
"$store.state.export"
@
click=
"doExport"
>
导出
导出
</el-button>
</el-button>
</el-form-item>
</el-form-item>
...
...
src/components/system/role.vue
View file @
fcb1242f
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
limit
:
10
,
limit
:
10
,
roleList
:[],
roleList
:[],
exportMenuList
:[
exportMenuList
:[
'2-3'
,
'5-10'
,
'5-2'
,
'5-1'
,
'5-3'
,
'5-8'
,
'5-9'
,
'3-1'
'2-3'
,
'5-10'
,
'5-2'
,
'5-1'
,
'5-3'
,
'5-8'
,
'5-9'
,
'3-1'
,
'7-9'
],
],
dialog
:{
dialog
:{
title
:
'新增角色'
,
title
:
'新增角色'
,
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
j
.
readonly
=
false
;
j
.
readonly
=
false
;
j
.
delete
=
false
;
j
.
delete
=
false
;
if
(
this
.
exportMenuList
.
indexOf
(
j
.
cover
)
>-
1
)
j
.
export
=
false
;
if
(
this
.
exportMenuList
.
indexOf
(
j
.
cover
)
>-
1
)
j
.
export
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
||
j
.
cover
===
"5-9"
||
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
)
j
.
refund
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
||
j
.
cover
===
"5-9"
||
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
)
j
.
refund
=
false
;
})
})
}
}
});
});
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
j
.
readonly
=
false
;
j
.
readonly
=
false
;
j
.
delete
=
false
;
j
.
delete
=
false
;
if
(
this
.
exportMenuList
.
indexOf
(
j
.
cover
)
>-
1
)
j
.
export
=
false
;
if
(
this
.
exportMenuList
.
indexOf
(
j
.
cover
)
>-
1
)
j
.
export
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
||
j
.
cover
===
"5-9"
||
j
.
cover
===
"2-3"
)
j
.
refund
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
||
j
.
cover
===
"5-9"
||
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
)
j
.
refund
=
false
;
})
})
}
}
});
});
...
...
src/components/teacherDetail/sourceByDateDialog.vue
View file @
fcb1242f
...
@@ -40,10 +40,11 @@ export default {
...
@@ -40,10 +40,11 @@ export default {
methods
:
{
methods
:
{
initPage
()
{
initPage
()
{
this
.
loading
=
true
this
.
loading
=
true
let
pageJson
=
{
let
pageJson
=
Object
.
assign
({},
this
.
dialogObj
.
json
)
limit
:
this
.
dialogObj
.
json
.
limit
,
// let pageJson = {
page
:
this
.
dialogObj
.
json
.
page
// limit:this.dialogObj.json.limit,
}
// page:this.dialogObj.json.page
// }
getSourceByDateApi
(
this
.
dialogObj
.
periods_id
,
this
.
dialogObj
.
user_id
,
pageJson
).
then
(
res
=>
{
getSourceByDateApi
(
this
.
dialogObj
.
periods_id
,
this
.
dialogObj
.
user_id
,
pageJson
).
then
(
res
=>
{
this
.
detail
=
res
.
list
;
this
.
detail
=
res
.
list
;
this
.
total
=
res
.
total
;
this
.
total
=
res
.
total
;
...
...
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