Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
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
wangxuelai
biz.qingxiao.com
Commits
adad8696
Commit
adad8696
authored
Oct 18, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bww-v1'
parents
b45e6736
e8127945
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
officialweb.js
src/models/officialweb.js
+1
-0
SelectPlace.js
src/pages/schooledit/SelectPlace.js
+6
-0
No files found.
src/models/officialweb.js
View file @
adad8696
...
...
@@ -177,6 +177,7 @@ export default {
const
{
longitude
,
latitude
,
locationAddress
,
province
,
city
,
district
,
}
=
yield
select
(
state
=>
state
.
schooladd
);
console
.
log
(
latitude
,
longitude
);
const
{
schoolInfo
}
=
yield
select
(
state
=>
state
.
officialweb
);
const
newschoolInfo
=
JSON
.
parse
(
JSON
.
stringify
(
schoolInfo
));
yield
put
({
...
...
src/pages/schooledit/SelectPlace.js
View file @
adad8696
...
...
@@ -223,6 +223,8 @@ class SelectPlaceMap extends React.Component {
city
:
this
.
state
.
locationList
[
index
].
ad_info
.
city
,
district
:
this
.
state
.
locationList
[
index
].
ad_info
.
district
,
address
:
`
${
this
.
state
.
locationList
[
index
].
title
}
`
,
longitude
:
this
.
state
.
locationList
[
index
].
location
.
lng
,
latitude
:
this
.
state
.
locationList
[
index
].
location
.
lat
,
},
});
// message.success('已将该地址导入为机构地址,不要忘记保存哦', 2);
...
...
@@ -245,6 +247,8 @@ class SelectPlaceMap extends React.Component {
city
:
this
.
state
.
locationList
[
index
].
ad_info
.
city
,
district
:
this
.
state
.
locationList
[
index
].
ad_info
.
district
,
address
:
`
${
this
.
state
.
locationList
[
index
].
title
}
`
,
longitude
:
this
.
state
.
locationList
[
index
].
location
.
lng
,
latitude
:
this
.
state
.
locationList
[
index
].
location
.
lat
,
},
});
// message.success('已将该地址导入为机构地址,不要忘记保存哦', 2);
...
...
@@ -326,6 +330,8 @@ class SelectPlaceMap extends React.Component {
city
:
this
.
state
.
locationList
[
index
].
ad_info
.
city
,
district
:
this
.
state
.
locationList
[
index
].
ad_info
.
district
,
address
:
`
${
this
.
state
.
locationList
[
index
].
title
}
`
,
longitude
:
this
.
state
.
locationList
[
index
].
location
.
lng
,
latitude
:
this
.
state
.
locationList
[
index
].
location
.
lat
,
},
});
// message.success('已将该地址导入为机构地址,不要忘记保存哦', 2);
...
...
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