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
0704396c
Commit
0704396c
authored
Oct 18, 2019
by
baixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微官网优化
parent
cb9d5a48
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
237 deletions
+9
-237
officialweb.js
src/models/officialweb.js
+4
-2
SchoolInfoEditor.js
src/pages/officialweb/pagecomponent/SchoolInfoEditor.js
+4
-234
index.js
src/pages/schooledit/index.js
+1
-1
No files found.
src/models/officialweb.js
View file @
0704396c
...
...
@@ -174,14 +174,16 @@ export default {
});
},
*
setschoollocation
({
payload
},
{
call
,
put
,
select
})
{
const
{
longitude
,
latitude
,
locationAddress
}
=
payload
;
const
{
longitude
,
latitude
,
locationAddress
,
province
,
city
,
district
,
}
=
yield
select
(
state
=>
state
.
schooladd
);
const
{
schoolInfo
}
=
yield
select
(
state
=>
state
.
officialweb
);
const
newschoolInfo
=
JSON
.
parse
(
JSON
.
stringify
(
schoolInfo
));
yield
put
({
type
:
'updateState'
,
payload
:
{
schoolInfo
:
Object
.
assign
(
newschoolInfo
,
{
location_address
:
locationAddress
,
location_address
:
province
+
city
+
locationAddress
,
latitude
,
longitude
,
}),
...
...
src/pages/officialweb/pagecomponent/SchoolInfoEditor.js
View file @
0704396c
This diff is collapsed.
Click to expand it.
src/pages/schooledit/index.js
View file @
0704396c
...
...
@@ -277,7 +277,7 @@ class SchoolAddForm extends React.Component {
{
/* <Col xs={{ span: 6, offset: 9 }} md={{ span: 3, offset: 0 }} lg={{ span: 2, offset: 0 }} xl={{ span: 2, offset: 0 }} className={pageStyles.addschool}>添加</Col> */
}
<
/Row
>
<
Row
>
<
Col
xs
=
{{
span
:
2
4
}}
md
=
{{
span
:
24
}}
>
<
Col
xs
=
{{
span
:
2
2
}}
md
=
{{
span
:
18
}}
>
<
ChoosePosition
/>
<
/Col
>
<
/Row
>
...
...
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