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
1f7eab93
Commit
1f7eab93
authored
Jul 30, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
9ed53252
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
118 additions
and
4 deletions
+118
-4
index.html
index.html
+1
-1
vendor-manifest.json
lib/vendor-manifest.json
+1
-1
vendor.dll.js
lib/vendor.dll.js
+103
-0
clockmgt.js
src/models/clockmgt.js
+10
-2
clockmgt.js
src/services/clockmgt.js
+3
-0
No files found.
index.html
View file @
1f7eab93
<!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?1564469816120"
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?1564469816121"
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?1564471604614"
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?1564471604614"
charset=
"utf-8"
></script></body></html>
\ No newline at end of file
lib/vendor-manifest.json
View file @
1f7eab93
This source diff could not be displayed because it is too large. You can
view the blob
instead.
lib/vendor.dll.js
0 → 100644
View file @
1f7eab93
This diff is collapsed.
Click to expand it.
src/models/clockmgt.js
View file @
1f7eab93
...
...
@@ -717,6 +717,9 @@ export default {
const
{
quickCommentParams
,
quickPrivitecommentOpen
,
tabCClockDetail
,
quickCommentSubmiting
,
}
=
yield
select
(
state
=>
state
.
clockmgt
);
const
{
sid
,
}
=
yield
select
(
state
=>
state
.
webapp
);
if
(
quickCommentSubmiting
)
{
return
;
}
...
...
@@ -731,10 +734,12 @@ export default {
newcommon
.
img
=
newcommon
.
img
==
''
?
''
:
JSON
.
stringify
(
newcommon
.
img
);
newcommon
.
audio
=
newcommon
.
audio
==
''
?
''
:
JSON
.
stringify
(
newcommon
.
audio
);
newcommon
.
record_ids
=
payload
.
record_ids
;
newcommon
.
school_id
=
sid
;
const
newprivite
=
JSON
.
parse
(
JSON
.
stringify
(
privite
));
newprivite
.
img
=
newprivite
.
img
==
''
?
''
:
JSON
.
stringify
(
newprivite
.
img
);
newprivite
.
audio
=
newprivite
.
audio
==
''
?
''
:
JSON
.
stringify
(
newprivite
.
audio
);
newprivite
.
record_ids
=
payload
.
record_ids
;
newprivite
.
school_id
=
sid
;
if
(
common
.
score
==
0
)
{
message
.
warn
(
'评分不能为0'
,
1
);
return
;
...
...
@@ -753,7 +758,7 @@ export default {
if
(
quickPrivitecommentOpen
)
{
priviteBatchReviewData
=
yield
call
(
clockmgtajax
.
batchReview
,
newprivite
);
}
else
if
(
!
quickPrivitecommentOpen
&&
newprivite
.
id
)
{
priviteReviewDeleteData
=
yield
call
(
clockmgtajax
.
reviewsDelete
,
{
id
:
newprivite
.
id
});
priviteReviewDeleteData
=
yield
call
(
clockmgtajax
.
reviewsDelete
,
{
id
:
newprivite
.
id
,
school_id
:
sid
});
}
yield
put
({
type
:
'updateState'
,
...
...
@@ -808,15 +813,18 @@ export default {
},
*
singleCommentPost
({
payload
},
{
call
,
put
,
select
})
{
const
{
singleCommentParams
,
singlePrivitecommentOpen
,
singleCommentSubmiting
}
=
yield
select
(
state
=>
state
.
clockmgt
);
const
{
sid
}
=
yield
select
(
state
=>
state
.
webapp
);
const
{
common
,
privite
}
=
singleCommentParams
;
const
newcommon
=
JSON
.
parse
(
JSON
.
stringify
(
common
));
newcommon
.
img
=
newcommon
.
img
==
''
?
''
:
JSON
.
stringify
(
newcommon
.
img
);
newcommon
.
audio
=
newcommon
.
audio
==
''
?
''
:
JSON
.
stringify
(
newcommon
.
audio
);
newcommon
.
record_ids
=
payload
.
record_ids
;
newcommon
.
school_id
=
sid
;
const
newprivite
=
JSON
.
parse
(
JSON
.
stringify
(
privite
));
newprivite
.
img
=
newprivite
.
img
==
''
?
''
:
JSON
.
stringify
(
newprivite
.
img
);
newprivite
.
audio
=
newprivite
.
audio
==
''
?
''
:
JSON
.
stringify
(
newprivite
.
audio
);
newprivite
.
record_ids
=
payload
.
record_ids
;
newprivite
.
school_id
=
sid
;
if
(
common
.
score
==
0
)
{
message
.
warn
(
'评分不能为0'
,
1
);
return
;
...
...
@@ -843,7 +851,7 @@ export default {
if
(
singlePrivitecommentOpen
)
{
priviteReviewDeleteData
=
yield
call
(
clockmgtajax
.
batchReview
,
newprivite
);
}
else
if
(
!
singlePrivitecommentOpen
&&
newprivite
.
id
)
{
priviteReviewDeleteData
=
yield
call
(
clockmgtajax
.
reviewsDelete
,
{
id
:
newprivite
.
id
});
priviteReviewDeleteData
=
yield
call
(
clockmgtajax
.
reviewsDelete
,
{
id
:
newprivite
.
id
,
school_id
:
sid
});
}
if
(
commonBatchReviewData
.
code
==
200
)
{
message
.
success
(
'点评成功'
,
1.5
);
...
...
src/services/clockmgt.js
View file @
1f7eab93
...
...
@@ -19,6 +19,9 @@ export function reviewsDelete(params) {
return
request
({
url
:
`
${
api
.
clockmgt
.
reviewsDelete
}
/
${
params
.
id
}
`
,
method
:
'DELETE'
,
data
:
{
school_id
:
params
.
school_id
,
},
});
}
export
function
clockPlaceTop
(
params
)
{
...
...
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