Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
2ef8aade
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1275
Star
158
Fork
129
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
2ef8aade
编写于
7月 22, 2024
作者:
X
xqz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:修改批改作业时分数不能为负数
上级
2f5038e5
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
3 addition
and
10 deletion
+3
-10
school/src/main/resources/template/js/announcement/announcementList.js
...in/resources/template/js/announcement/announcementList.js
+1
-1
school/src/main/resources/template/js/announcement/write.js
school/src/main/resources/template/js/announcement/write.js
+0
-1
school/src/main/resources/template/js/homework/correct.js
school/src/main/resources/template/js/homework/correct.js
+2
-5
school/src/main/resources/template/js/topic/details.js
school/src/main/resources/template/js/topic/details.js
+0
-1
school/src/main/resources/template/js/topic/write.js
school/src/main/resources/template/js/topic/write.js
+0
-2
未找到文件。
school/src/main/resources/template/js/announcement/announcementList.js
浏览文件 @
2ef8aade
...
...
@@ -121,7 +121,7 @@ layui.config({
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{
objectKey
:
objectKey
,
objectId
:
subjectClassesId
,
subjectClasses
Id
:
subjectClassesId
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
return
$
.
extend
(
true
,
{
objectKey
:
objectKey
,
objectId
:
subjectClassesId
,
holder
Id
:
subjectClassesId
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
announcementList
'
,
{});
...
...
school/src/main/resources/template/js/announcement/write.js
浏览文件 @
2ef8aade
...
...
@@ -12,7 +12,6 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
id
=
GetUrlParam
(
"
id
"
);
var
objectId
=
GetUrlParam
(
"
objectId
"
);
...
...
school/src/main/resources/template/js/homework/correct.js
浏览文件 @
2ef8aade
...
...
@@ -7,7 +7,6 @@ layui.config({
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
,
form
=
layui
.
form
;
var
id
=
GetUrlParam
(
"
id
"
);
var
assignmentId
=
GetUrlParam
(
"
assignmentId
"
);
...
...
@@ -36,11 +35,9 @@ layui.config({
}});
}
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
$
(
"
#score
"
).
val
()
>
fullMarks
)
{
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
0
if
(
parseInt
(
$
(
"
#score
"
).
val
())
>
parseInt
(
fullMarks
)
||
parseInt
(
$
(
"
#score
"
).
val
())
<
0
)
{
winui
.
window
.
msg
(
'
请输入正确评分
'
,
{
icon
:
2
,
time
:
2000
});
console
.
log
(
fullMarks
)
console
.
log
(
$
(
"
#score
"
).
val
())
return
false
;
}
if
(
winui
.
verifyForm
(
data
.
elem
))
{
...
...
school/src/main/resources/template/js/topic/details.js
浏览文件 @
2ef8aade
...
...
@@ -30,7 +30,6 @@ layui.config({
page
:
false
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
// { field: 'title', title: '标题', align: 'left', width: 300},
{
field
:
'
content
'
,
title
:
'
内容
'
,
align
:
'
left
'
,
width
:
300
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
getNotUndefinedVal
(
d
.
createMation
?.
name
);
...
...
school/src/main/resources/template/js/topic/write.js
浏览文件 @
2ef8aade
...
...
@@ -12,9 +12,7 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
id
=
GetUrlParam
(
"
id
"
);
var
objectId
=
GetUrlParam
(
"
objectId
"
);
var
objectKey
=
GetUrlParam
(
"
objectKey
"
);
objectParams
.
subjectClassesId
=
GetUrlParam
(
"
subjectClassesId
"
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录