Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
86f4ed66
Commit
86f4ed66
authored
Jun 24, 2021
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://git.banshouhui.com/lijundan/self-support
into dev
parents
add56d30
65d8b0e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
addSite.vue
src/pages/mine/address/addSite.vue
+1
-2
application.vue
src/pages/parts/application.vue
+7
-8
No files found.
src/pages/mine/address/addSite.vue
View file @
86f4ed66
...
...
@@ -59,7 +59,6 @@
* @property {String} type 编辑类型(默认为修改,add--新增、edit--修改、select--选择)
* @property {String} info 地址信息(json字符串:包含地址信息)
*/
import
Utils
from
'@/utils/callUtils.js'
let
r
=
require
(
'libs/bmap-wx.min.js'
);
let
h
=
new
r
.
BMapWX
({
ak
:
process
.
uniEnv
.
bmapAK
,
...
...
@@ -270,7 +269,7 @@ export default {
address
:
address
,
region
:
this
.
region
}
Utils
.
$emit
(
"update-site"
,
site
)
prevPage
.
$vm
.
updateSite
(
site
)
this
.
$u
.
route
({
type
:
'back'
});
}
}
...
...
src/pages/parts/application.vue
View file @
86f4ed66
...
...
@@ -51,7 +51,6 @@
</
template
>
<
script
>
import
Utils
from
'@/utils/callUtils.js'
import
SelectParts
from
'@/components/select-parts/adjust.vue'
export
default
{
components
:
{
...
...
@@ -96,11 +95,6 @@ export default {
this
.
orderId
=
e
&&
Number
(
e
.
orderId
)
||
0
this
.
initData
()
},
mounted
()
{
Utils
.
$on
(
'update-site'
,(
site
)
=>
{
this
.
updateSite
(
site
);
})
},
methods
:
{
initData
()
{
this
.
loadMineAddress
()
...
...
@@ -144,10 +138,11 @@ export default {
this
.
order
.
contactCityText
,
this
.
order
.
contactCommunityText
,
]
let
address
=
region
.
join
(
""
)
+
(
this
.
order
.
contactStreetText
||
''
)
+
this
.
order
.
contactAddress
this
.
customer
=
{
name
:
this
.
order
.
contactName
,
mobile
:
this
.
order
.
contactPhone
,
address
:
region
.
join
(
""
)
+
this
.
order
.
contactStreetText
+
this
.
order
.
contactA
ddress
,
address
:
a
ddress
,
region
:
region
,
code
:
[
this
.
order
.
contactProvince
,
...
...
@@ -192,7 +187,11 @@ export default {
})
},
updateSite
(
site
)
{
console
.
log
(
"updateSite"
,
site
)
if
(
this
.
curType
)
{
this
.
customer
=
site
}
else
{
this
.
mine
=
site
}
},
addParts
()
{
this
.
$u
.
route
({
...
...
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