Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
mingPayPc
Commits
432f7d0f
Commit
432f7d0f
authored
Jun 25, 2019
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分页测试修改
parent
f52e6859
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
8 deletions
+14
-8
axios.js
src/api/axios.js
+1
-1
constant.js
src/api/constant.js
+2
-2
AccountManagement.vue
src/components/pages/PaymentManagement/AccountManagement.vue
+1
-1
AllowancePayment.vue
src/components/pages/PaymentManagement/AllowancePayment.vue
+1
-1
RechargeRecord.vue
src/components/pages/PaymentManagement/RechargeRecord.vue
+1
-1
RecordsOfConsumption.vue
...mponents/pages/PaymentManagement/RecordsOfConsumption.vue
+1
-1
ViewAllowances.vue
src/components/pages/PaymentManagement/ViewAllowances.vue
+1
-1
main.js
src/main.js
+1
-0
router.js
src/router.js
+5
-0
No files found.
src/api/axios.js
View file @
432f7d0f
...
...
@@ -4,7 +4,7 @@ import qs from 'qs'
// axios.defaults.baseURL = 'http://192.168.1.174:8300' // 本地钱
axios
.
defaults
.
baseURL
=
'http://139.196.213.18:8300'
// beta环境
let
loadingInstance
// 创建Loading 的实例
axios
.
defaults
.
headers
.
post
[
'Content-Type'
]
=
'application/x-www-form-urlencoded;charset=UTF
-8'
// axios.defaults.headers.post['Content-Type'] = 'application/json; charset=utf
-8'
// axios.defaults.crossDomain = true
// axios.defaults.withCredentials = true // 设置cross跨域 并设置访问权限 允许跨域携带cookie信息
axios
.
defaults
.
headers
[
'Authorization'
]
=
`Bearer
${
sessionStorage
.
getItem
(
'token'
)}
`
// 设置请求头为 Authorization
...
...
src/api/constant.js
View file @
432f7d0f
const
MINGPAY_CONSTANT
=
{
MINGPAY_CONSTANT_URL
:
'http://mingpay-web-beta.mingwork.com:8888/'
,
//
MINGPAY_CONSTANT_URL: 'http://ming.vaiwan.com/',
//
MINGPAY_CONSTANT_URL: 'http://mingpay-web-beta.mingwork.com:8888/',
MINGPAY_CONSTANT_URL
:
'http://ming.vaiwan.com/'
,
MINGPAY_CONSTANT_AGENTID
:
270198704
,
MINGPAY_CONSTANT_VERSION
:
'v1'
}
...
...
src/components/pages/PaymentManagement/AccountManagement.vue
View file @
432f7d0f
...
...
@@ -107,7 +107,7 @@ export default {
pagination
:
{
current
:
1
,
defaultCurrent
:
10
,
defaultPageSize
:
2
,
defaultPageSize
:
10
,
hideOnSinglePage
:
true
,
total
:
0
},
...
...
src/components/pages/PaymentManagement/AllowancePayment.vue
View file @
432f7d0f
...
...
@@ -136,7 +136,7 @@ export default {
pagination
:
{
current
:
1
,
defaultCurrent
:
10
,
defaultPageSize
:
2
,
defaultPageSize
:
10
,
hideOnSinglePage
:
true
,
total
:
0
},
...
...
src/components/pages/PaymentManagement/RechargeRecord.vue
View file @
432f7d0f
...
...
@@ -171,7 +171,7 @@ export default {
},
queryRechargeList
()
{
let
RechargeData
=
this
.
$qs
.
stringify
({
pageNumber
:
2
,
pageNumber
:
10
,
currentPage
:
1
,
agentId
:
this
.
searchSource
.
agentId
,
status
:
this
.
searchSource
.
status
,
...
...
src/components/pages/PaymentManagement/RecordsOfConsumption.vue
View file @
432f7d0f
...
...
@@ -104,7 +104,7 @@ export default {
pagination
:
{
current
:
1
,
defaultCurrent
:
10
,
defaultPageSize
:
2
,
defaultPageSize
:
10
,
hideOnSinglePage
:
true
,
total
:
0
},
...
...
src/components/pages/PaymentManagement/ViewAllowances.vue
View file @
432f7d0f
...
...
@@ -39,7 +39,7 @@ export default {
pagination
:
{
current
:
1
,
defaultCurrent
:
10
,
defaultPageSize
:
2
,
defaultPageSize
:
10
,
hideOnSinglePage
:
true
,
total
:
0
},
...
...
src/main.js
View file @
432f7d0f
...
...
@@ -38,6 +38,7 @@ router.beforeEach(function (to, from, next) {
next
()
}
else
{
config
.
ddconfig
().
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
===
'no'
)
{
console
.
log
(
'no'
,
res
)
next
({
name
:
'configError'
})
...
...
src/router.js
View file @
432f7d0f
...
...
@@ -76,6 +76,11 @@ export default new Router({
]
}
]
},
{
path
:
'/noPermission'
,
name
:
'noPermission'
,
component
:
resolve
=>
require
([
'./components/pages/NoPermission.vue'
],
resolve
)
}
]
})
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