Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
repair_workers_h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
石盼盼
repair_workers_h5
Commits
71911eeb
Commit
71911eeb
authored
Oct 26, 2021
by
郭欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改,'
parent
5b7b7161
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
14 deletions
+16
-14
dist.rar
dist.rar
+0
-0
apiList.js
src/api/apiList.js
+2
-2
charge.vue
src/views/my/charge.vue
+14
-4
order_detail.vue
src/views/my/order_detail.vue
+0
-5
mine.vue
src/views/tabbar/mine.vue
+0
-3
No files found.
dist.rar
View file @
71911eeb
No preview for this file type
src/api/apiList.js
View file @
71911eeb
...
...
@@ -10,8 +10,8 @@ const baseUrl = '/api'
// todo: url
// const httpUrl = 'https://repairtest.zeruiedu.com' // 测试接口
const
httpUrl
=
'
https://repair.zeruiedu.com
'
// 正式接口
//
const h5Url = 'http://localhost:8080' // 测试h5线上地址
const
h5Url
=
'
http://repair.h5.zeruiedu.com
'
// 测试h5线上地址
const
h5Url
=
'
http://localhost:8080
'
// 测试h5线上地址
//
const h5Url = 'http://repair.h5.zeruiedu.com' // 测试h5线上地址
window
.
localStorage
.
setItem
(
'
httpUrl
'
,
httpUrl
)
window
.
localStorage
.
setItem
(
'
h5Url
'
,
h5Url
)
// const httpUrl = 'https://fenghexm.xueyoubangedu.com' // 正式接口
...
...
src/views/my/charge.vue
View file @
71911eeb
...
...
@@ -180,10 +180,6 @@ export default {
goods_number
:
0
}
},
created
()
{
this
.
repair_order_id
=
this
.
$route
.
query
.
id
this
.
getDetail
()
},
watch
:
{
addList
:
{
handler
(
newValue
,
oldValue
)
{
...
...
@@ -351,7 +347,21 @@ export default {
this
.
$router
.
go
(
-
1
)
})
.
catch
(()
=>
{
})
},
fetchData
(
to
,
from
)
{
this
.
repair_order_id
=
to
.
query
?
to
.
query
.
id
:
''
if
(
this
.
repair_order_id
)
{
this
.
getDetail
()
}
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
fetchData
(
to
,
from
,
next
)
})
},
beforeRouteLeave
(
to
,
from
,
next
)
{
next
()
}
}
</
script
>
...
...
src/views/my/order_detail.vue
View file @
71911eeb
...
...
@@ -278,11 +278,6 @@ export default {
expend_detail
:
{}
// 耗材详情
}
},
// created () {
// this.order_id = this.$route.query.id
// console.log(this.$route.query.id, 'this.$route.query.id----------')
// this.getDetail()
// },
methods
:
{
preview
(
img
,
index
)
{
const
temp
=
img
.
map
(
item
=>
{
...
...
src/views/tabbar/mine.vue
View file @
71911eeb
...
...
@@ -30,9 +30,6 @@ export default {
user
:
''
}
},
// created () {
// this.getUserInfo()
// },
methods
:
{
goPhone
()
{
this
.
$router
.
push
({
...
...
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