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
69a1db4d
Commit
69a1db4d
authored
Sep 11, 2019
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s
parent
b9e8a5d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
axios.js
src/api/axios.js
+2
-2
RecordsOfConsumption.vue
...mponents/pages/PaymentManagement/RecordsOfConsumption.vue
+1
-1
No files found.
src/api/axios.js
View file @
69a1db4d
import
axios
from
'axios'
import
axios
from
'axios'
import
qs
from
'qs'
import
qs
from
'qs'
// axios.defaults.baseURL = 'http://192.168.1.106:8300/v1/isv' // 本地荣
// axios.defaults.baseURL = 'http://192.168.1.106:8300/v1/isv' // 本地荣
//
axios.defaults.baseURL = 'http://192.168.1.102:8300/v1/isv' // 本地钱
axios
.
defaults
.
baseURL
=
'http://192.168.1.102:8300/v1/isv'
// 本地钱
axios
.
defaults
.
baseURL
=
'http://139.196.213.18:8300/v1/isv'
// beta环境
//
axios.defaults.baseURL = 'http://139.196.213.18:8300/v1/isv' // beta环境
let
loadingInstance
// 创建Loading 的实例
let
loadingInstance
// 创建Loading 的实例
axios
.
defaults
.
headers
[
'Authorization'
]
=
`Bearer
${
localStorage
.
getItem
(
'token'
)}
`
// 设置请求头为 Authorization
axios
.
defaults
.
headers
[
'Authorization'
]
=
`Bearer
${
localStorage
.
getItem
(
'token'
)}
`
// 设置请求头为 Authorization
// 配置发送请求前的拦截器可以设置token信息
// 配置发送请求前的拦截器可以设置token信息
...
...
src/components/pages/PaymentManagement/RecordsOfConsumption.vue
View file @
69a1db4d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<a-select-option
value=
"REFUND_SUCCESS"
>
已退款
</a-select-option>
<a-select-option
value=
"REFUND_SUCCESS"
>
已退款
</a-select-option>
</a-select>
</a-select>
<a-select
placeholder=
"收银员"
:allowClear=
"true"
style=
"width: 120px;margin-right: 20px;"
@
change=
"selectagent"
>
<a-select
placeholder=
"收银员"
:allowClear=
"true"
style=
"width: 120px;margin-right: 20px;"
@
change=
"selectagent"
>
<a-select-option
v-for=
"item in agentList"
:value=
"item.
userId"
:key=
"item.u
serId"
>
{{
item
.
name
}}
</a-select-option>
<a-select-option
v-for=
"item in agentList"
:value=
"item.
ddUserId"
:key=
"item.ddU
serId"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
</a-select>
<a-button
type=
"primary"
@
click=
"search()"
>
查询
</a-button>
<a-button
type=
"primary"
@
click=
"search()"
>
查询
</a-button>
</div>
</div>
...
...
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