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
6a5aa984
Commit
6a5aa984
authored
Sep 28, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'最新代码提交'
parent
4f2234d9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
index.html
index.html
+1
-1
webapp.js
src/models/webapp.js
+3
-0
SjdIndex.js
src/pages/SjdIndex.js
+4
-1
index.js
src/pages/schoollist/index.js
+4
-4
No files found.
index.html
View file @
6a5aa984
<!DOCTYPE html>
<html
lang=
"en"
><head><meta
charset=
"UTF-8"
><title>
轻校
</title><link
rel=
"shortcut icon"
href=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/image/qxlogo4.png"
><meta
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0;"
name=
"viewport"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<!-- Polyfills --><!--[if lt IE 10]>
<script src="js/console-polyfill.js"></script>
<![endif]-->
<script
charset=
"utf-8"
src=
"https://map.qq.com/api/js?v=2.exp&key=XSZBZ-5LHCV-5I2P7-UQHPW-6456F-JBB3B"
></script><link
href=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/index.css?1569403752294"
rel=
"stylesheet"
><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/lib/vendor.dll.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/console-polyfill.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es6-shim.min.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es5-shim.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es5-sham.min.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/json3.min.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/html5shiv.min.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/polyfill.js?3"
charset=
"utf-8"
></script></head><body><div
id=
"root"
></div><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/index.js?1569403752294"
charset=
"utf-8"
></script></body></html>
\ No newline at end of file
<![endif]-->
<script
charset=
"utf-8"
src=
"https://map.qq.com/api/js?v=2.exp&key=XSZBZ-5LHCV-5I2P7-UQHPW-6456F-JBB3B"
></script><link
href=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/index.css?1569633785496"
rel=
"stylesheet"
><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/lib/vendor.dll.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/console-polyfill.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es6-shim.min.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es5-shim.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es5-sham.min.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/json3.min.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/html5shiv.min.js?3"
charset=
"utf-8"
></script><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/js/polyfill.js?3"
charset=
"utf-8"
></script></head><body><div
id=
"root"
></div><script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/index.js?1569633785496"
charset=
"utf-8"
></script></body></html>
\ No newline at end of file
src/models/webapp.js
View file @
6a5aa984
...
...
@@ -185,6 +185,9 @@ export default {
if
(
pathname
===
'/sjd/headquarters/static'
)
{
window
.
location
.
href
=
`
${
location
.
protocol
}
//
${
location
.
hostname
}${
location
.
port
==
''
?
''
:
`:
${
location
.
port
}
`
}${
location
.
pathname
}
#/erp/schoollist`
;
}
if
(
pathname
===
'/rechargedesc'
)
{
window
.
location
.
href
=
`
${
location
.
protocol
}
//
${
location
.
hostname
}${
location
.
port
==
''
?
''
:
`:
${
location
.
port
}
`
}${
location
.
pathname
}
#/erp/schoollist`
;
}
// 为了兼容线上的之前的老数据做的跳转
if
(
pathname
===
'/erp/schoollist'
)
{
dispatch
({
...
...
src/pages/SjdIndex.js
View file @
6a5aa984
...
...
@@ -44,8 +44,11 @@ class SjdIndex extends React.Component {
gorecharge
=
()
=>
{
const
{
dispatch
}
=
this
.
props
;
dispatch
(
routerRedux
.
replace
({
pathname
:
'/
rechargedesc
'
,
pathname
:
'/
erp/schoollist
'
,
}));
// dispatch(routerRedux.replace({
// pathname: '/rechargedesc',
// }));
// window.open('http://website.clock.wp53.cn/?page=7');
}
render
()
{
...
...
src/pages/schoollist/index.js
View file @
6a5aa984
...
...
@@ -45,10 +45,10 @@ class JoinSchoolAddForm extends React.Component {
},
icon
:
<
Icon
type
=
"exclamation-circle"
style
=
{{
color
:
'red'
}}
/>
,
onOk
:
()
=>
{
const
{
dispatch
}
=
this
.
props
;
dispatch
(
routerRedux
.
replace
({
pathname
:
'/rechargedesc'
,
}));
//
const { dispatch } = this.props;
//
dispatch(routerRedux.replace({
//
pathname: '/rechargedesc',
//
}));
// window.open('http://website.clock.wp53.cn/?page=7');
},
onCancel
:
()
=>
{
...
...
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