Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
54b1e386
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1438
Star
162
Fork
130
代码
文件
提交
分支
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看板
提交
54b1e386
编写于
6月 03, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
学校模块抽离,新增企业版体验地址
上级
7c6380de
变更
75
隐藏空白更改
内联
并排
Showing
75 changed file
with
300 addition
and
306 deletion
+300
-306
exam/src/main/resources/template/js/examdesign/examDesign.js
exam/src/main/resources/template/js/examdesign/examDesign.js
+18
-18
exam/src/main/resources/template/js/examdesign/examDesignAdd.js
...rc/main/resources/template/js/examdesign/examDesignAdd.js
+6
-6
exam/src/main/resources/template/js/examdesign/examDesignList.js
...c/main/resources/template/js/examdesign/examDesignList.js
+8
-14
exam/src/main/resources/template/js/examdesign/examDesignMyList.js
...main/resources/template/js/examdesign/examDesignMyList.js
+10
-12
exam/src/main/resources/template/js/examdesigncopy/examDesignCopy.js
...in/resources/template/js/examdesigncopy/examDesignCopy.js
+1
-1
exam/src/main/resources/template/js/examreport/examReport.js
exam/src/main/resources/template/js/examreport/examReport.js
+1
-1
exam/src/main/resources/template/js/markExam/markExamPeople.js
...src/main/resources/template/js/markExam/markExamPeople.js
+2
-2
exam/src/main/resources/template/js/schoolQuestionBank/checkBoxAdd.js
...n/resources/template/js/schoolQuestionBank/checkBoxAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/chenCheckBoxAdd.js
...sources/template/js/schoolQuestionBank/chenCheckBoxAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/chenFbkAdd.js
...in/resources/template/js/schoolQuestionBank/chenFbkAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/chenRadioAdd.js
.../resources/template/js/schoolQuestionBank/chenRadioAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/chenScoreAdd.js
.../resources/template/js/schoolQuestionBank/chenScoreAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/fillblankAdd.js
.../resources/template/js/schoolQuestionBank/fillblankAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/multiFillblankAdd.js
...urces/template/js/schoolQuestionBank/multiFillblankAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/orderbyAdd.js
...in/resources/template/js/schoolQuestionBank/orderbyAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/radioAdd.js
...main/resources/template/js/schoolQuestionBank/radioAdd.js
+7
-7
exam/src/main/resources/template/js/schoolQuestionBank/schoolQuestionBankChoose.js
...emplate/js/schoolQuestionBank/schoolQuestionBankChoose.js
+5
-5
exam/src/main/resources/template/js/schoolQuestionBank/schoolQuestionBankCommonList.js
...ate/js/schoolQuestionBank/schoolQuestionBankCommonList.js
+4
-4
exam/src/main/resources/template/js/schoolQuestionBank/schoolQuestionBankList.js
.../template/js/schoolQuestionBank/schoolQuestionBankList.js
+5
-5
exam/src/main/resources/template/js/schoolQuestionBank/scoreAdd.js
...main/resources/template/js/schoolQuestionBank/scoreAdd.js
+7
-7
exam/src/main/resources/template/tpl/examDetail/examPCDetail.html
.../main/resources/template/tpl/examDetail/examPCDetail.html
+2
-2
exam/src/main/resources/template/tpl/examDetail/examPhoneDetail.html
...in/resources/template/tpl/examDetail/examPhoneDetail.html
+1
-1
exam/src/main/resources/template/tpl/examMarkingDetail/examMarkingDetail.html
...ces/template/tpl/examMarkingDetail/examMarkingDetail.html
+2
-2
exam/src/main/resources/template/tpl/examing/examTemplate.html
...src/main/resources/template/tpl/examing/examTemplate.html
+3
-3
school/src/main/resources/template/js/myschooltask/myEndMarkingList.js
...in/resources/template/js/myschooltask/myEndMarkingList.js
+3
-3
school/src/main/resources/template/js/myschooltask/myLeadClassList.js
...ain/resources/template/js/myschooltask/myLeadClassList.js
+3
-3
school/src/main/resources/template/js/myschooltask/myWaitMarkingList.js
...n/resources/template/js/myschooltask/myWaitMarkingList.js
+3
-3
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsAdd.js
...late/js/schoolKnowledgePoints/schoolKnowledgePointsAdd.js
+4
-4
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsChoose.js
...e/js/schoolKnowledgePoints/schoolKnowledgePointsChoose.js
+5
-5
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsCommonList.js
.../schoolKnowledgePoints/schoolKnowledgePointsCommonList.js
+4
-4
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsDetails.js
.../js/schoolKnowledgePoints/schoolKnowledgePointsDetails.js
+1
-1
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsEdit.js
...ate/js/schoolKnowledgePoints/schoolKnowledgePointsEdit.js
+7
-7
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsList.js
...ate/js/schoolKnowledgePoints/schoolKnowledgePointsList.js
+5
-5
school/src/main/resources/template/js/schoolTimeSetting/schoolTimeSetting.js
...ources/template/js/schoolTimeSetting/schoolTimeSetting.js
+7
-7
school/src/main/resources/template/js/schoolbodymind/schoolbodymindadd.js
...resources/template/js/schoolbodymind/schoolbodymindadd.js
+2
-2
school/src/main/resources/template/js/schoolbodymind/schoolbodymindedit.js
...esources/template/js/schoolbodymind/schoolbodymindedit.js
+3
-3
school/src/main/resources/template/js/schoolbodymind/schoolbodymindlist.js
...esources/template/js/schoolbodymind/schoolbodymindlist.js
+3
-3
school/src/main/resources/template/js/schoolclassmation/schoolclassmationadd.js
...ces/template/js/schoolclassmation/schoolclassmationadd.js
+4
-4
school/src/main/resources/template/js/schoolclassmation/schoolclassmationedit.js
...es/template/js/schoolclassmation/schoolclassmationedit.js
+3
-3
school/src/main/resources/template/js/schoolclassmation/schoolclassmationlist.js
...es/template/js/schoolclassmation/schoolclassmationlist.js
+4
-4
school/src/main/resources/template/js/schoolfamilysituation/schoolfamilysituationadd.js
...late/js/schoolfamilysituation/schoolfamilysituationadd.js
+2
-2
school/src/main/resources/template/js/schoolfamilysituation/schoolfamilysituationedit.js
...ate/js/schoolfamilysituation/schoolfamilysituationedit.js
+3
-3
school/src/main/resources/template/js/schoolfamilysituation/schoolfamilysituationlist.js
...ate/js/schoolfamilysituation/schoolfamilysituationlist.js
+3
-3
school/src/main/resources/template/js/schoolfloormation/schoolfloormationadd.js
...ces/template/js/schoolfloormation/schoolfloormationadd.js
+2
-2
school/src/main/resources/template/js/schoolfloormation/schoolfloormationedit.js
...es/template/js/schoolfloormation/schoolfloormationedit.js
+3
-3
school/src/main/resources/template/js/schoolfloormation/schoolfloormationlist.js
...es/template/js/schoolfloormation/schoolfloormationlist.js
+3
-3
school/src/main/resources/template/js/schoolgradeSub/schoolgradeSubBind.js
...esources/template/js/schoolgradeSub/schoolgradeSubBind.js
+3
-3
school/src/main/resources/template/js/schoolgradeSub/schoolgradeSublist.js
...esources/template/js/schoolgradeSub/schoolgradeSublist.js
+2
-2
school/src/main/resources/template/js/schoolgrademation/schoolgrademationadd.js
...ces/template/js/schoolgrademation/schoolgrademationadd.js
+3
-3
school/src/main/resources/template/js/schoolgrademation/schoolgrademationedit.js
...es/template/js/schoolgrademation/schoolgrademationedit.js
+2
-2
school/src/main/resources/template/js/schoolgrademation/schoolgrademationlist.js
...es/template/js/schoolgrademation/schoolgrademationlist.js
+5
-5
school/src/main/resources/template/js/schoolmation/schoolmationadd.js
...ain/resources/template/js/schoolmation/schoolmationadd.js
+2
-2
school/src/main/resources/template/js/schoolmation/schoolmationedit.js
...in/resources/template/js/schoolmation/schoolmationedit.js
+3
-3
school/src/main/resources/template/js/schoolmation/schoolmationlist.js
...in/resources/template/js/schoolmation/schoolmationlist.js
+2
-2
school/src/main/resources/template/js/schoolsemester/schoolsemesteradd.js
...resources/template/js/schoolsemester/schoolsemesteradd.js
+2
-2
school/src/main/resources/template/js/schoolsemester/schoolsemesteredit.js
...esources/template/js/schoolsemester/schoolsemesteredit.js
+3
-3
school/src/main/resources/template/js/schoolsemester/schoolsemesterlist.js
...esources/template/js/schoolsemester/schoolsemesterlist.js
+3
-3
school/src/main/resources/template/js/schoolstudentmation/assignmentClass.js
...ources/template/js/schoolstudentmation/assignmentClass.js
+3
-3
school/src/main/resources/template/js/schoolstudentmation/schoolNotInClassStudentInSchooLlist.js
...choolstudentmation/schoolNotInClassStudentInSchooLlist.js
+3
-3
school/src/main/resources/template/js/schoolstudentmation/schoolStudentAdd.js
...urces/template/js/schoolstudentmation/schoolStudentAdd.js
+7
-7
school/src/main/resources/template/js/schoolstudentmation/schoolStudentDetail.js
...es/template/js/schoolstudentmation/schoolStudentDetail.js
+1
-1
school/src/main/resources/template/js/schoolstudentmation/schoolStudentEdit.js
...rces/template/js/schoolstudentmation/schoolStudentEdit.js
+7
-7
school/src/main/resources/template/js/schoolstudentmation/schoolStudentInSchooLlist.js
...plate/js/schoolstudentmation/schoolStudentInSchooLlist.js
+5
-5
school/src/main/resources/template/js/schoolsubjectmation/schoolsubjectmationadd.js
...template/js/schoolsubjectmation/schoolsubjectmationadd.js
+2
-2
school/src/main/resources/template/js/schoolsubjectmation/schoolsubjectmationedit.js
...emplate/js/schoolsubjectmation/schoolsubjectmationedit.js
+3
-3
school/src/main/resources/template/js/schoolsubjectmation/schoolsubjectmationlist.js
...emplate/js/schoolsubjectmation/schoolsubjectmationlist.js
+3
-3
school/src/main/resources/template/js/schoolteacher/schoolteacherlist.js
.../resources/template/js/schoolteacher/schoolteacherlist.js
+2
-2
school/src/main/resources/template/js/schoolteacher/teacherChoose.js
...main/resources/template/js/schoolteacher/teacherChoose.js
+3
-3
school/src/main/resources/template/js/schoolteacherSub/schoolteacherSubBind.js
...rces/template/js/schoolteacherSub/schoolteacherSubBind.js
+3
-3
school/src/main/resources/template/js/schoolteacherSub/schoolteacherSublist.js
...rces/template/js/schoolteacherSub/schoolteacherSublist.js
+2
-2
school/src/main/resources/template/js/schooltransportation/schooltransportationadd.js
...mplate/js/schooltransportation/schooltransportationadd.js
+2
-2
school/src/main/resources/template/js/schooltransportation/schooltransportationedit.js
...plate/js/schooltransportation/schooltransportationedit.js
+3
-3
school/src/main/resources/template/js/schooltransportation/schooltransportationlist.js
...plate/js/schooltransportation/schooltransportationlist.js
+3
-3
userauth/src/main/resources/template/js/syseveuserstaff/turnTeacher.js
...main/resources/template/js/syseveuserstaff/turnTeacher.js
+1
-1
web/src/main/resources/template/assets/lib/layui/custom.js
web/src/main/resources/template/assets/lib/layui/custom.js
+2
-0
未找到文件。
exam/src/main/resources/template/js/examdesign/examDesign.js
浏览文件 @
54b1e386
...
...
@@ -32,7 +32,7 @@ layui.config({
initPageJson
();
function
initPageJson
(
callback
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam003
"
,
params
:{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam003
"
,
params
:{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
.
each
(
json
.
rows
,
function
(
i
,
item
){
item
.
saveTag
=
1
;
...
...
@@ -352,7 +352,7 @@ layui.config({
layer
.
close
(
index
);
var
quId
=
quBody
.
find
(
"
input[name='quId']
"
).
val
();
if
(
!
isNull
(
quId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam015
"
,
params
:{
quId
:
quId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam015
"
,
params
:{
quId
:
quId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
quBody
.
hide
(
"
slow
"
,
function
(){
$
(
this
).
parent
().
remove
();
...
...
@@ -399,7 +399,7 @@ layui.config({
optionParent
=
$
(
curEditObj
).
parents
(
"
td.quChenColumnTd
"
);
var
quOptionId
=
$
(
optionParent
).
find
(
"
input[name='quItemId']
"
).
val
();
if
(
!
isNull
(
quOptionId
)
&&
quOptionId
!=
"
0
"
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam016
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam016
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
delQuOptionCallBack
(
optionParent
);
}
else
{
...
...
@@ -418,7 +418,7 @@ layui.config({
optionParent
=
$
(
curEditObj
).
parents
(
"
td.quChenRowTd
"
);
var
quOptionId
=
$
(
optionParent
).
find
(
"
input[name='quItemId']
"
).
val
();
if
(
!
isNull
(
quOptionId
)
&&
quOptionId
!=
"
0
"
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam017
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam017
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
delQuOptionCallBack
(
optionParent
);
}
else
{
...
...
@@ -649,7 +649,7 @@ layui.config({
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam010
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam010
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
@@ -688,7 +688,7 @@ layui.config({
}
var
quOptionId
=
$
(
optionParent
).
find
(
"
input[name='quItemId']
"
).
val
();
if
(
quOptionId
!=
""
&&
quOptionId
!=
"
0
"
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam018
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam018
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
delQuOptionCallBack
(
optionParent
);
}
else
{
...
...
@@ -743,7 +743,7 @@ layui.config({
// 逻辑选项
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam011
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam011
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
@@ -782,7 +782,7 @@ layui.config({
}
var
quOptionId
=
$
(
optionParent
).
find
(
"
input[name='quItemId']
"
).
val
();
if
(
quOptionId
!=
""
&&
quOptionId
!=
"
0
"
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam019
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam019
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
delQuOptionCallBack
(
optionParent
);
}
else
{
...
...
@@ -876,7 +876,7 @@ layui.config({
// 逻辑选项
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam006
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam006
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
@@ -935,7 +935,7 @@ layui.config({
// 逻辑选项
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam007
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam007
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
@@ -967,7 +967,7 @@ layui.config({
optionParent
=
$
(
curEditObj
).
parents
(
"
tr.quScoreOptionTr
"
);
var
quOptionId
=
$
(
optionParent
).
find
(
"
input[name='quItemId']
"
).
val
();
if
(
quOptionId
!=
""
&&
quOptionId
!=
"
0
"
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam020
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam020
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
delQuOptionCallBack
(
optionParent
);
}
else
{
...
...
@@ -1006,7 +1006,7 @@ layui.config({
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam008
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam008
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
@@ -1040,7 +1040,7 @@ layui.config({
var
rmQuOrderTableTr
=
quItemBody
.
find
(
"
.quOrderByRight table.quOrderByTable tr:last
"
);
var
quOptionId
=
$
(
optionParent
).
find
(
"
input[name='quItemId']
"
).
val
();
if
(
quOptionId
!=
""
&&
quOptionId
!=
"
0
"
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam021
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam021
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
delQuOptionCallBack
(
optionParent
);
rmQuOrderTableTr
.
remove
();
...
...
@@ -1063,7 +1063,7 @@ layui.config({
// 逻辑选项
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam009
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam009
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
@@ -1096,7 +1096,7 @@ layui.config({
// 逻辑选项
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam013
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam013
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
@@ -1153,7 +1153,7 @@ layui.config({
// 逻辑选项
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam012
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam012
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
@@ -1185,7 +1185,7 @@ layui.config({
optionParent
=
$
(
curEditObj
).
parents
(
"
tr.mFillblankTableTr
"
);
var
quOptionId
=
$
(
optionParent
).
find
(
"
input[name='quItemId']
"
).
val
();
if
(
quOptionId
!=
""
&&
quOptionId
!=
"
0
"
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam022
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam022
"
,
params
:{
quItemId
:
quOptionId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
delQuOptionCallBack
(
optionParent
);
}
else
{
...
...
@@ -1330,7 +1330,7 @@ layui.config({
// 逻辑选项
var
list
=
[].
concat
(
getLogic
(
quItemBody
));
data
.
logic
=
JSON
.
stringify
(
list
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam014
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam014
"
,
params
:
data
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
quId
=
json
.
bean
.
quId
;
quItemBody
.
find
(
"
input[name='saveTag']
"
).
val
(
1
);
...
...
exam/src/main/resources/template/js/examdesign/examDesignAdd.js
浏览文件 @
54b1e386
...
...
@@ -13,7 +13,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -43,7 +43,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -72,7 +72,7 @@ layui.config({
function
initSemester
(){
showGrid
({
id
:
"
semesterId
"
,
url
:
req
BasePath
+
"
schoolsemester006
"
,
url
:
school
BasePath
+
"
schoolsemester006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -87,7 +87,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -102,7 +102,7 @@ layui.config({
function
loadThisGradeNowYear
(){
showGrid
({
id
:
"
classList
"
,
url
:
req
BasePath
+
"
grademation009
"
,
url
:
school
BasePath
+
"
grademation009
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-property.tpl
'
),
...
...
@@ -141,7 +141,7 @@ layui.config({
viewAnswer
:
$
(
"
input[name='viewAnswer']:checked
"
).
val
(),
propertyIds
:
propertyIds
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/examdesign/examDesignList.js
浏览文件 @
54b1e386
...
...
@@ -9,9 +9,7 @@ layui.config({
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
,
...
...
@@ -28,7 +26,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -49,7 +47,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +73,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -100,7 +98,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
exam001
'
,
url
:
school
BasePath
+
'
exam001
'
,
where
:
params
,
even
:
true
,
page
:
true
,
...
...
@@ -152,11 +150,9 @@ layui.config({
markExam
(
data
);
}
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
...
...
@@ -170,7 +166,7 @@ layui.config({
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除试卷
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam025
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam025
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -239,8 +235,7 @@ layui.config({
var
msg
=
obj
?
'
确认发布试卷【
'
+
obj
.
data
.
surveyName
+
'
】吗?
'
:
'
确认发布选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
试卷发布
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exam023
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
exam023
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
发布成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -256,8 +251,7 @@ layui.config({
var
msg
=
obj
?
'
确认结束试卷【
'
+
obj
.
data
.
surveyName
+
'
】的考试吗?
'
:
'
确认结束选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
结束考试
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exam030
"
,
params
:{
surveyId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
exam030
"
,
params
:{
surveyId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
exam/src/main/resources/template/js/examdesign/examDesignMyList.js
浏览文件 @
54b1e386
...
...
@@ -28,7 +28,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -49,7 +49,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -100,7 +100,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
exam001-my
'
,
url
:
school
BasePath
+
'
exam001-my
'
,
where
:
params
,
even
:
true
,
page
:
true
,
...
...
@@ -169,12 +169,12 @@ layui.config({
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除试卷
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exam025
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
exam025
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
...
...
@@ -238,8 +238,7 @@ layui.config({
var
msg
=
obj
?
'
确认发布试卷【
'
+
obj
.
data
.
surveyName
+
'
】吗?
'
:
'
确认发布选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
试卷发布
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exam023
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
exam023
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
发布成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -255,8 +254,7 @@ layui.config({
var
msg
=
obj
?
'
确认结束试卷【
'
+
obj
.
data
.
surveyName
+
'
】的考试吗?
'
:
'
确认结束选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
结束考试
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exam030
"
,
params
:{
surveyId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
exam030
"
,
params
:{
surveyId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
exam/src/main/resources/template/js/examdesigncopy/examDesignCopy.js
浏览文件 @
54b1e386
...
...
@@ -20,7 +20,7 @@ layui.config({
surveyName
:
$
(
"
#surveyName
"
).
val
(),
rowId
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam027
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam027
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/examreport/examReport.js
浏览文件 @
54b1e386
...
...
@@ -17,7 +17,7 @@ layui.config({
showGrid
({
id
:
"
dwBodyUser
"
,
url
:
req
BasePath
+
"
exam026
"
,
url
:
school
BasePath
+
"
exam026
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/examreport/examReport.tpl
'
),
...
...
exam/src/main/resources/template/js/markExam/markExamPeople.js
浏览文件 @
54b1e386
...
...
@@ -18,7 +18,7 @@ layui.config({
form
=
layui
.
form
;
//获取试卷详情信息以及阅卷人信息
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam036
"
,
params
:
{
surveyId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam036
"
,
params
:
{
surveyId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#assignmentTemplate
"
).
html
(),
json
));
//回显阅卷人
...
...
@@ -43,7 +43,7 @@ layui.config({
surveyId
:
parent
.
rowId
,
arrayStr
:
JSON
.
stringify
(
array
)
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam037
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam037
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/checkBoxAdd.js
浏览文件 @
54b1e386
...
...
@@ -25,7 +25,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -50,7 +50,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -89,12 +89,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank006
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank006
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -103,7 +103,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -218,7 +218,7 @@ layui.config({
});
params
.
checkboxTd
=
JSON
.
stringify
(
checkboxTd
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/chenCheckBoxAdd.js
浏览文件 @
54b1e386
...
...
@@ -26,7 +26,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -51,7 +51,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -76,7 +76,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -90,12 +90,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank016
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank016
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -104,7 +104,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -264,7 +264,7 @@ layui.config({
});
params
.
isDefaultAnswer
=
JSON
.
stringify
(
isDefaultAnswer
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank015
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank015
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/chenFbkAdd.js
浏览文件 @
54b1e386
...
...
@@ -26,7 +26,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -51,7 +51,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -76,7 +76,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -90,12 +90,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank016
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank016
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -104,7 +104,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -265,7 +265,7 @@ layui.config({
});
params
.
isDefaultAnswer
=
JSON
.
stringify
(
isDefaultAnswer
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank015
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank015
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/chenRadioAdd.js
浏览文件 @
54b1e386
...
...
@@ -26,7 +26,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -51,7 +51,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -76,7 +76,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -90,12 +90,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank016
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank016
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -104,7 +104,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -269,7 +269,7 @@ layui.config({
});
params
.
isDefaultAnswer
=
JSON
.
stringify
(
isDefaultAnswer
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank015
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank015
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/chenScoreAdd.js
浏览文件 @
54b1e386
...
...
@@ -26,7 +26,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -51,7 +51,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -76,7 +76,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -90,12 +90,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank016
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank016
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -104,7 +104,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -264,7 +264,7 @@ layui.config({
});
params
.
isDefaultAnswer
=
JSON
.
stringify
(
isDefaultAnswer
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank015
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank015
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/fillblankAdd.js
浏览文件 @
54b1e386
...
...
@@ -25,7 +25,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -50,7 +50,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -89,12 +89,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank008
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank008
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -103,7 +103,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -195,7 +195,7 @@ layui.config({
whetherUpload
:
data
.
field
.
whetherUpload
,
isDefaultAnswer
:
quItemBody
.
find
(
"
input[class='quFillblankAnswerInput']
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank007
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank007
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/multiFillblankAdd.js
浏览文件 @
54b1e386
...
...
@@ -25,7 +25,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -50,7 +50,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -89,12 +89,12 @@ layui.config({
function
loadData
(){
//如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank014
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank014
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -103,7 +103,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -210,7 +210,7 @@ layui.config({
});
params
.
multiFillblankTd
=
JSON
.
stringify
(
multiFillblankTd
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank013
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank013
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/orderbyAdd.js
浏览文件 @
54b1e386
...
...
@@ -25,7 +25,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -50,7 +50,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -89,12 +89,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank012
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank012
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -103,7 +103,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -207,7 +207,7 @@ layui.config({
});
params
.
orderquTd
=
JSON
.
stringify
(
orderquTd
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank011
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank011
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/radioAdd.js
浏览文件 @
54b1e386
...
...
@@ -25,7 +25,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -50,7 +50,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -89,12 +89,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -103,7 +103,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -218,7 +218,7 @@ layui.config({
});
params
.
radioTd
=
JSON
.
stringify
(
radioTd
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/js/schoolQuestionBank/schoolQuestionBankChoose.js
浏览文件 @
54b1e386
...
...
@@ -25,7 +25,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -46,7 +46,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -72,7 +72,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -105,7 +105,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolquestionbank017
'
,
url
:
school
BasePath
+
'
schoolquestionbank017
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -170,7 +170,7 @@ layui.config({
winui
.
window
.
msg
(
"
请选择试题
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank018
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank018
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
questionMationList
=
[].
concat
(
json
.
rows
);
parent
.
layer
.
close
(
index
);
...
...
exam/src/main/resources/template/js/schoolQuestionBank/schoolQuestionBankCommonList.js
浏览文件 @
54b1e386
...
...
@@ -20,7 +20,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -44,7 +44,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
setting
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
$
(
"
#gradeTemplate
"
).
html
(),
...
...
@@ -60,7 +60,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
setting1
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
gradeId
},
pagination
:
false
,
template
:
$
(
"
#subjectTemplate
"
).
html
(),
...
...
@@ -77,7 +77,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolquestionbank019
'
,
url
:
school
BasePath
+
'
schoolquestionbank019
'
,
where
:
getTablePatams
(),
even
:
true
,
page
:
true
,
...
...
exam/src/main/resources/template/js/schoolQuestionBank/schoolQuestionBankList.js
浏览文件 @
54b1e386
...
...
@@ -28,7 +28,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -49,7 +49,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -91,7 +91,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolquestionbank001
'
,
url
:
school
BasePath
+
'
schoolquestionbank001
'
,
where
:
getTablePatams
(),
even
:
true
,
page
:
true
,
...
...
@@ -144,7 +144,7 @@ layui.config({
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
exam/src/main/resources/template/js/schoolQuestionBank/scoreAdd.js
浏览文件 @
54b1e386
...
...
@@ -25,7 +25,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -50,7 +50,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -89,12 +89,12 @@ layui.config({
function
loadData
(){
// 如果问题id不为空,则说明是编辑,加载编辑信息
if
(
!
isNull
(
parent
.
rowId
)){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank010
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank010
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#schoolId
"
).
val
(
json
.
bean
.
schoolId
);
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -103,7 +103,7 @@ layui.config({
$
(
"
#gradeId
"
).
val
(
json
.
bean
.
gradeId
);
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -209,7 +209,7 @@ layui.config({
});
params
.
scoreTd
=
JSON
.
stringify
(
scoreTd
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolquestionbank009
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolquestionbank009
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/tpl/examDetail/examPCDetail.html
浏览文件 @
54b1e386
...
...
@@ -786,7 +786,7 @@
showGrid
({
id
:
"
wrap
"
,
url
:
req
BasePath
+
"
exam034
"
,
url
:
school
BasePath
+
"
exam034
"
,
params
:
{
surveyId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/examDetail/examPCDetail.tpl
'
),
...
...
@@ -1180,7 +1180,7 @@
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
exam035
'
,
url
:
school
BasePath
+
'
exam035
'
,
where
:
{
surveyId
:
parent
.
rowId
,
field
:
''
,
order
:
''
},
even
:
true
,
page
:
true
,
...
...
exam/src/main/resources/template/tpl/examDetail/examPhoneDetail.html
浏览文件 @
54b1e386
...
...
@@ -745,7 +745,7 @@
}
showGrid
({
id
:
"
wrap
"
,
url
:
req
BasePath
+
"
exam031
"
,
url
:
school
BasePath
+
"
exam031
"
,
params
:
{
answerId
:
getUrlParam
(
"
answerId
"
)},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/examDetail/examPhoneDetail.tpl
'
),
...
...
exam/src/main/resources/template/tpl/examMarkingDetail/examMarkingDetail.html
浏览文件 @
54b1e386
...
...
@@ -799,7 +799,7 @@
markStartTime
=
getFormatDate
();
showGrid
({
id
:
"
wrap
"
,
url
:
req
BasePath
+
"
exam032
"
,
url
:
school
BasePath
+
"
exam032
"
,
params
:
{
answerId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/examMarkingDetail/examMarkingDetail.tpl
'
),
...
...
@@ -1235,7 +1235,7 @@
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
提交操作
'
},
function
(
i
)
{
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam033
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam033
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
exam/src/main/resources/template/tpl/examing/examTemplate.html
浏览文件 @
54b1e386
...
...
@@ -711,11 +711,11 @@
setCookie
(
'
userToken
'
,
userToken
,
'
s1800
'
);
}
bgAnDate
=
getFormatDate
();
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam028
"
,
params
:
{
surveyId
:
getUrlParam
(
"
rowId
"
)},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam028
"
,
params
:
{
surveyId
:
getUrlParam
(
"
rowId
"
)},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
showGrid
({
id
:
"
wrap
"
,
url
:
req
BasePath
+
"
exam024
"
,
url
:
school
BasePath
+
"
exam024
"
,
params
:
{
rowId
:
getUrlParam
(
"
rowId
"
)},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/examing/examTemplate.tpl
'
),
...
...
@@ -1320,7 +1320,7 @@
});
params
=
$
.
extend
({},
params
,
$
(
"
#surveyForm
"
).
serializeJson
());
params
.
quAnswerFile
=
JSON
.
stringify
(
quAnswerFile
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
exam029
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
exam029
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#wrap
"
).
html
(
'
<span class="messageSpan">
'
+
'
答卷完成,感谢您的参与。
'
+
'
</span>
'
);
}
else
{
...
...
school/src/main/resources/template/js/myschooltask/myEndMarkingList.js
浏览文件 @
54b1e386
...
...
@@ -23,7 +23,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -44,7 +44,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -62,7 +62,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
myschooltask003
'
,
url
:
school
BasePath
+
'
myschooltask003
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
school/src/main/resources/template/js/myschooltask/myLeadClassList.js
浏览文件 @
54b1e386
...
...
@@ -16,7 +16,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -37,7 +37,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -56,7 +56,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
myschooltask001
'
,
url
:
school
BasePath
+
'
myschooltask001
'
,
where
:{
gradeId
:
$
(
"
#gradeId
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
school/src/main/resources/template/js/myschooltask/myWaitMarkingList.js
浏览文件 @
54b1e386
...
...
@@ -23,7 +23,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -44,7 +44,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -62,7 +62,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
myschooltask002
'
,
url
:
school
BasePath
+
'
myschooltask002
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsAdd.js
浏览文件 @
54b1e386
...
...
@@ -16,7 +16,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -42,7 +42,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -67,7 +67,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -94,7 +94,7 @@ layui.config({
winui
.
window
.
msg
(
'
请填写内容
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
knowledgepoints002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
knowledgepoints002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsChoose.js
浏览文件 @
54b1e386
...
...
@@ -34,7 +34,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -55,7 +55,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -81,7 +81,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -116,7 +116,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
knowledgepoints007
'
,
url
:
school
BasePath
+
'
knowledgepoints007
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -179,7 +179,7 @@ layui.config({
var
selectedData
=
tableCheckBoxUtil
.
getValue
({
gridId
:
'
messageTable
'
});
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
knowledgepoints008
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
knowledgepoints008
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
schoolKnowledgeMationList
=
[].
concat
(
json
.
rows
);
parent
.
layer
.
close
(
index
);
...
...
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsCommonList.js
浏览文件 @
54b1e386
...
...
@@ -20,7 +20,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -44,7 +44,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
setting
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
$
(
"
#gradeTemplate
"
).
html
(),
...
...
@@ -60,7 +60,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
setting1
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
gradeId
},
pagination
:
false
,
template
:
$
(
"
#subjectTemplate
"
).
html
(),
...
...
@@ -77,7 +77,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
knowledgepoints009
'
,
url
:
school
BasePath
+
'
knowledgepoints009
'
,
where
:
getTablePatams
(),
even
:
true
,
page
:
true
,
...
...
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsDetails.js
浏览文件 @
54b1e386
...
...
@@ -14,7 +14,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
knowledgepoints006
"
,
url
:
school
BasePath
+
"
knowledgepoints006
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
$
(
"
#detailTemplate
"
).
html
(),
...
...
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsEdit.js
浏览文件 @
54b1e386
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
knowledgepoints004
"
,
url
:
school
BasePath
+
"
knowledgepoints004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
$
(
"
#editTemplate
"
).
html
(),
...
...
@@ -21,7 +21,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -32,7 +32,7 @@ layui.config({
//年级
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -43,7 +43,7 @@ layui.config({
//科目
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -72,7 +72,7 @@ layui.config({
function
initGrade
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -97,7 +97,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -130,7 +130,7 @@ layui.config({
winui
.
window
.
msg
(
'
请填写内容
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
knowledgepoints005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
knowledgepoints005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsList.js
浏览文件 @
54b1e386
...
...
@@ -18,7 +18,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -39,7 +39,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -65,7 +65,7 @@ layui.config({
function
initSubject
(){
showGrid
({
id
:
"
subjectId
"
,
url
:
req
BasePath
+
"
schoolsubjectmation007
"
,
url
:
school
BasePath
+
"
schoolsubjectmation007
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -82,7 +82,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
knowledgepoints001
'
,
url
:
school
BasePath
+
'
knowledgepoints001
'
,
where
:
getTablePatams
(),
even
:
true
,
page
:
true
,
...
...
@@ -138,7 +138,7 @@ layui.config({
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
knowledgepoints003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
knowledgepoints003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolTimeSetting/schoolTimeSetting.js
浏览文件 @
54b1e386
...
...
@@ -16,7 +16,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -30,7 +30,7 @@ layui.config({
showGrid
({
id
:
"
showTemplate
"
,
url
:
req
BasePath
+
"
schooltimesetting001
"
,
url
:
school
BasePath
+
"
schooltimesetting001
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
$
(
"
#timeSettingTemplate
"
).
html
(),
...
...
@@ -74,11 +74,11 @@ layui.config({
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
schooltimesetting002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
修改成功
"
,
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
schooltimesetting002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
"
修改成功
"
,
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
...
...
school/src/main/resources/template/js/schoolbodymind/schoolbodymindadd.js
浏览文件 @
54b1e386
...
...
@@ -13,7 +13,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -31,7 +31,7 @@ layui.config({
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolbodymind002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolbodymind002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolbodymind/schoolbodymindedit.js
浏览文件 @
54b1e386
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
schoolbodymind003
"
,
url
:
school
BasePath
+
"
schoolbodymind003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schoolbodymind/schoolbodymindeditTemplate.tpl
'
),
...
...
@@ -21,7 +21,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -41,7 +41,7 @@ layui.config({
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolbodymind004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolbodymind004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolbodymind/schoolbodymindlist.js
浏览文件 @
54b1e386
...
...
@@ -17,7 +17,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -33,7 +33,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolbodymind001
'
,
url
:
school
BasePath
+
'
schoolbodymind001
'
,
where
:
{
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
@@ -91,7 +91,7 @@ layui.config({
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolbodymind005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolbodymind005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolclassmation/schoolclassmationadd.js
浏览文件 @
54b1e386
...
...
@@ -30,7 +30,7 @@ layui.config({
//所属学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -56,7 +56,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -72,7 +72,7 @@ layui.config({
function
initFloorId
(){
showGrid
({
id
:
"
floorId
"
,
url
:
req
BasePath
+
"
schoolfloormation006
"
,
url
:
school
BasePath
+
"
schoolfloormation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -103,7 +103,7 @@ layui.config({
params
.
masterStaffId
=
teacherMation
.
staffId
;
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
classmation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
classmation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolclassmation/schoolclassmationedit.js
浏览文件 @
54b1e386
...
...
@@ -20,7 +20,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
classmation004
"
,
url
:
school
BasePath
+
"
classmation004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schoolclassmation/schoolclassmationeditTemplate.tpl
'
),
...
...
@@ -60,7 +60,7 @@ layui.config({
params
.
masterStaffId
=
teacherMation
.
staffId
;
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
classmation005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
classmation005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
@@ -79,7 +79,7 @@ layui.config({
function
initFloorId
(
schoolId
,
chooseFloorId
){
showGrid
({
id
:
"
floorId
"
,
url
:
req
BasePath
+
"
schoolfloormation006
"
,
url
:
school
BasePath
+
"
schoolfloormation006
"
,
params
:
{
schoolId
:
schoolId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
school/src/main/resources/template/js/schoolclassmation/schoolclassmationlist.js
浏览文件 @
54b1e386
...
...
@@ -25,7 +25,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -46,7 +46,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -64,7 +64,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
classmation001
'
,
url
:
school
BasePath
+
'
classmation001
'
,
where
:{
gradeId
:
$
(
"
#gradeId
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
(),
className
:
$
(
"
#className
"
).
val
(),
year
:
$
(
"
#year
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
@@ -120,7 +120,7 @@ layui.config({
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
classmation003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
classmation003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolfamilysituation/schoolfamilysituationadd.js
浏览文件 @
54b1e386
...
...
@@ -13,7 +13,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -32,7 +32,7 @@ layui.config({
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolfamilysituation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolfamilysituation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolfamilysituation/schoolfamilysituationedit.js
浏览文件 @
54b1e386
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
schoolfamilysituation003
"
,
url
:
school
BasePath
+
"
schoolfamilysituation003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schoolfamilysituation/schoolfamilysituationeditTemplate.tpl
'
),
...
...
@@ -21,7 +21,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -41,7 +41,7 @@ layui.config({
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolfamilysituation004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolfamilysituation004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolfamilysituation/schoolfamilysituationlist.js
浏览文件 @
54b1e386
...
...
@@ -17,7 +17,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -33,7 +33,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolfamilysituation001
'
,
url
:
school
BasePath
+
'
schoolfamilysituation001
'
,
where
:
{
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
@@ -90,7 +90,7 @@ layui.config({
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolfamilysituation005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolfamilysituation005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolfloormation/schoolfloormationadd.js
浏览文件 @
54b1e386
...
...
@@ -13,7 +13,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -32,7 +32,7 @@ layui.config({
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolfloormation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolfloormation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolfloormation/schoolfloormationedit.js
浏览文件 @
54b1e386
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
schoolfloormation003
"
,
url
:
school
BasePath
+
"
schoolfloormation003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schoolfloormation/schoolfloormationeditTemplate.tpl
'
),
...
...
@@ -21,7 +21,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -41,7 +41,7 @@ layui.config({
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolfloormation004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolfloormation004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolfloormation/schoolfloormationlist.js
浏览文件 @
54b1e386
...
...
@@ -17,7 +17,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -32,7 +32,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolfloormation001
'
,
url
:
school
BasePath
+
'
schoolfloormation001
'
,
where
:
{
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
@@ -89,7 +89,7 @@ layui.config({
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolfloormation005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolfloormation005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolgradeSub/schoolgradeSubBind.js
浏览文件 @
54b1e386
...
...
@@ -11,7 +11,7 @@ layui.config({
var
$
=
layui
.
$
;
//获取年级部分信息以及当前拥有的技能列表
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolgradesubject002
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolgradesubject002
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#gradeName
"
).
html
(
json
.
bean
.
gradeName
);
$
(
"
#schoolName
"
).
html
(
json
.
bean
.
schoolName
);
...
...
@@ -19,7 +19,7 @@ layui.config({
//初始化年级所属学校科目列表
showGrid
({
id
:
"
subjectList
"
,
url
:
req
BasePath
+
"
schoolsubjectmation006
"
,
url
:
school
BasePath
+
"
schoolsubjectmation006
"
,
params
:
{
schoolId
:
json
.
bean
.
schoolId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-property.tpl
'
),
...
...
@@ -49,7 +49,7 @@ layui.config({
propertyIds
:
propertyIds
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolgradesubject003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolgradesubject003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolgradeSub/schoolgradeSublist.js
浏览文件 @
54b1e386
...
...
@@ -17,7 +17,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -33,7 +33,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolgradesubject001
'
,
url
:
school
BasePath
+
'
schoolgradesubject001
'
,
where
:
{
gradeName
:
$
(
"
#gradeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
school/src/main/resources/template/js/schoolgrademation/schoolgrademationadd.js
浏览文件 @
54b1e386
...
...
@@ -18,7 +18,7 @@ layui.config({
//加载所属学校
showGrid
({
id
:
"
OverAllSchool
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -38,7 +38,7 @@ layui.config({
function
loadParentGrade
(){
showGrid
({
id
:
"
OverAllGrade
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#OverAllSchool
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -87,7 +87,7 @@ layui.config({
type
:
$
(
"
input[name='type']:checked
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
grademation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
grademation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolgrademation/schoolgrademationedit.js
浏览文件 @
54b1e386
...
...
@@ -16,7 +16,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
grademation004
"
,
url
:
school
BasePath
+
"
grademation004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schoolgrademation/schoolgrademationeditTemplate.tpl
'
),
...
...
@@ -41,7 +41,7 @@ layui.config({
yearN
:
$
(
"
#yearN
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
grademation005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
grademation005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolgrademation/schoolgrademationlist.js
浏览文件 @
54b1e386
...
...
@@ -18,7 +18,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -35,7 +35,7 @@ layui.config({
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
idField
:
'
id
'
,
url
:
req
BasePath
+
'
grademation001
'
,
url
:
school
BasePath
+
'
grademation001
'
,
cellMinWidth
:
100
,
where
:{
gradeName
:
$
(
"
#gradeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
treeId
:
'
id
'
,
//树形id字段名称
...
...
@@ -84,7 +84,7 @@ layui.config({
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
grademation003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
grademation003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -137,7 +137,7 @@ layui.config({
//上移
function
upMove
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
grademation007
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
grademation007
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -149,7 +149,7 @@ layui.config({
//下移
function
downMove
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
grademation008
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
grademation008
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolmation/schoolmationadd.js
浏览文件 @
54b1e386
...
...
@@ -81,7 +81,7 @@ layui.config({
showGrid
({
id
:
"
OverAllSchool
"
,
url
:
req
BasePath
+
"
schoolmation006
"
,
url
:
school
BasePath
+
"
schoolmation006
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -135,7 +135,7 @@ layui.config({
addressDetailed
:
$
(
"
#userAddressInput
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolmation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolmation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolmation/schoolmationedit.js
浏览文件 @
54b1e386
...
...
@@ -24,7 +24,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
schoolmation004
"
,
url
:
school
BasePath
+
"
schoolmation004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schoolmation/schoolmationeditTemplate.tpl
'
),
...
...
@@ -152,7 +152,7 @@ layui.config({
rowId
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolmation005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolmation005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
@@ -175,7 +175,7 @@ layui.config({
function
loadParentSchool
(
id
){
showGrid
({
id
:
"
OverAllSchool
"
,
url
:
req
BasePath
+
"
schoolmation006
"
,
url
:
school
BasePath
+
"
schoolmation006
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
school/src/main/resources/template/js/schoolmation/schoolmationlist.js
浏览文件 @
54b1e386
...
...
@@ -21,7 +21,7 @@ layui.config({
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
idField
:
'
id
'
,
url
:
req
BasePath
+
'
schoolmation001
'
,
url
:
school
BasePath
+
'
schoolmation001
'
,
cellMinWidth
:
100
,
where
:{
schoolName
:
$
(
"
#schoolName
"
).
val
()},
treeId
:
'
id
'
,
//树形id字段名称
...
...
@@ -75,7 +75,7 @@ layui.config({
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolmation003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolmation003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolsemester/schoolsemesteradd.js
浏览文件 @
54b1e386
...
...
@@ -13,7 +13,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -32,7 +32,7 @@ layui.config({
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolsemester002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolsemester002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolsemester/schoolsemesteredit.js
浏览文件 @
54b1e386
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
schoolsemester003
"
,
url
:
school
BasePath
+
"
schoolsemester003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schoolsemester/schoolsemestereditTemplate.tpl
'
),
...
...
@@ -21,7 +21,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -41,7 +41,7 @@ layui.config({
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolsemester004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolsemester004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolsemester/schoolsemesterlist.js
浏览文件 @
54b1e386
...
...
@@ -17,7 +17,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -33,7 +33,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolsemester001
'
,
url
:
school
BasePath
+
'
schoolsemester001
'
,
where
:
{
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
@@ -90,7 +90,7 @@ layui.config({
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolsemester005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolsemester005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolstudentmation/assignmentClass.js
浏览文件 @
54b1e386
...
...
@@ -15,14 +15,14 @@ layui.config({
var
gradePointYear
=
""
;
//年级当前属于哪一年上学的学生
//获取学生信息展示用于分班
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
studentmation004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
studentmation004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
stuSessionYear
=
json
.
bean
.
sessionYear
;
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#assignmentTemplate
"
).
html
(),
json
));
//加载当前选中的年级是哪一届的以及这一届的班级信息
showGrid
({
id
:
"
classId
"
,
url
:
req
BasePath
+
"
grademation009
"
,
url
:
school
BasePath
+
"
grademation009
"
,
params
:
{
gradeId
:
json
.
bean
.
gradeId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -61,7 +61,7 @@ layui.config({
//保存数据
function
saveData
(
params
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
studentmation005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
studentmation005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolstudentmation/schoolNotInClassStudentInSchooLlist.js
浏览文件 @
54b1e386
...
...
@@ -16,7 +16,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -37,7 +37,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -55,7 +55,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
studentmation003
'
,
url
:
school
BasePath
+
'
studentmation003
'
,
where
:{
gradeId
:
$
(
"
#gradeId
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
(),
studentName
:
$
(
"
#studentName
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
school/src/main/resources/template/js/schoolstudentmation/schoolStudentAdd.js
浏览文件 @
54b1e386
...
...
@@ -44,7 +44,7 @@ layui.config({
//所属学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -78,7 +78,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -94,7 +94,7 @@ layui.config({
function
initTransportationId
(){
showGrid
({
id
:
"
modeOfTransportation
"
,
url
:
req
BasePath
+
"
schooltransportation006
"
,
url
:
school
BasePath
+
"
schooltransportation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -110,7 +110,7 @@ layui.config({
function
initHomeSituationId
(){
showGrid
({
id
:
"
homeSituation
"
,
url
:
req
BasePath
+
"
schoolfamilysituation006
"
,
url
:
school
BasePath
+
"
schoolfamilysituation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-property.tpl
'
),
...
...
@@ -126,7 +126,7 @@ layui.config({
function
initBodyMindId
(){
showGrid
({
id
:
"
bodyMind
"
,
url
:
req
BasePath
+
"
schoolbodymind006
"
,
url
:
school
BasePath
+
"
schoolbodymind006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-property.tpl
'
),
...
...
@@ -162,7 +162,7 @@ layui.config({
function
loadThisGradeNowYear
(){
showGrid
({
id
:
"
classId
"
,
url
:
req
BasePath
+
"
grademation009
"
,
url
:
school
BasePath
+
"
grademation009
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -274,7 +274,7 @@ layui.config({
});
params
.
bodyMind
=
bodyMindIds
;
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
studentmation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
studentmation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
录入成功
"
,
{
icon
:
1
,
time
:
3000
},
function
(){
location
.
reload
();
...
...
school/src/main/resources/template/js/schoolstudentmation/schoolStudentDetail.js
浏览文件 @
54b1e386
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
studentmation008
"
,
url
:
school
BasePath
+
"
studentmation008
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
$
(
"
#detailTemplate
"
).
html
(),
...
...
school/src/main/resources/template/js/schoolstudentmation/schoolStudentEdit.js
浏览文件 @
54b1e386
...
...
@@ -18,7 +18,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
studentmation006
"
,
url
:
school
BasePath
+
"
studentmation006
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
$
(
"
#editTemplate
"
).
html
(),
...
...
@@ -93,7 +93,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
schoolId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -111,7 +111,7 @@ layui.config({
function
initTransportationId
(){
showGrid
({
id
:
"
modeOfTransportation
"
,
url
:
req
BasePath
+
"
schooltransportation006
"
,
url
:
school
BasePath
+
"
schooltransportation006
"
,
params
:
{
schoolId
:
schoolId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -128,7 +128,7 @@ layui.config({
function
initHomeSituationId
(){
showGrid
({
id
:
"
homeSituation
"
,
url
:
req
BasePath
+
"
schoolfamilysituation006
"
,
url
:
school
BasePath
+
"
schoolfamilysituation006
"
,
params
:
{
schoolId
:
schoolId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-property.tpl
'
),
...
...
@@ -148,7 +148,7 @@ layui.config({
function
initBodyMindId
(){
showGrid
({
id
:
"
bodyMind
"
,
url
:
req
BasePath
+
"
schoolbodymind006
"
,
url
:
school
BasePath
+
"
schoolbodymind006
"
,
params
:
{
schoolId
:
schoolId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-property.tpl
'
),
...
...
@@ -188,7 +188,7 @@ layui.config({
function
loadThisGradeNowYear
(){
showGrid
({
id
:
"
classId
"
,
url
:
req
BasePath
+
"
grademation009
"
,
url
:
school
BasePath
+
"
grademation009
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -305,7 +305,7 @@ layui.config({
});
params
.
bodyMind
=
bodyMindIds
;
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
studentmation007
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
studentmation007
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolstudentmation/schoolStudentInSchooLlist.js
浏览文件 @
54b1e386
...
...
@@ -18,7 +18,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -39,7 +39,7 @@ layui.config({
function
initGradeId
(){
showGrid
({
id
:
"
gradeId
"
,
url
:
req
BasePath
+
"
grademation006
"
,
url
:
school
BasePath
+
"
grademation006
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -66,7 +66,7 @@ layui.config({
function
loadThisGradeNowYear
(){
showGrid
({
id
:
"
classId
"
,
url
:
req
BasePath
+
"
grademation009
"
,
url
:
school
BasePath
+
"
grademation009
"
,
params
:
{
gradeId
:
$
(
"
#gradeId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -86,7 +86,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
studentmation001
'
,
url
:
school
BasePath
+
'
studentmation001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -169,7 +169,7 @@ layui.config({
// 下载模板
$
(
"
body
"
).
on
(
"
click
"
,
"
#exportStudentModel
"
,
function
(){
postDownLoadFile
({
url
:
req
BasePath
+
'
studentmation009?loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
school
BasePath
+
'
studentmation009?loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
method
:
'
post
'
});
...
...
school/src/main/resources/template/js/schoolsubjectmation/schoolsubjectmationadd.js
浏览文件 @
54b1e386
...
...
@@ -14,7 +14,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -40,7 +40,7 @@ layui.config({
desc
:
$
(
"
#desc
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolsubjectmation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolsubjectmation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolsubjectmation/schoolsubjectmationedit.js
浏览文件 @
54b1e386
...
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
schoolsubjectmation003
"
,
url
:
school
BasePath
+
"
schoolsubjectmation003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schoolsubjectmation/schoolsubjectmationeditTemplate.tpl
'
),
...
...
@@ -28,7 +28,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -50,7 +50,7 @@ layui.config({
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolsubjectmation004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolsubjectmation004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolsubjectmation/schoolsubjectmationlist.js
浏览文件 @
54b1e386
...
...
@@ -16,7 +16,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -31,7 +31,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolsubjectmation001
'
,
url
:
school
BasePath
+
'
schoolsubjectmation001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -94,7 +94,7 @@ layui.config({
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolsubjectmation005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolsubjectmation005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
school/src/main/resources/template/js/schoolteacher/schoolteacherlist.js
浏览文件 @
54b1e386
...
...
@@ -15,7 +15,7 @@ layui.config({
// 初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -31,7 +31,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolteacher001
'
,
url
:
school
BasePath
+
'
schoolteacher001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
school/src/main/resources/template/js/schoolteacher/teacherChoose.js
浏览文件 @
54b1e386
...
...
@@ -52,7 +52,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -86,7 +86,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolteacher006
'
,
url
:
school
BasePath
+
'
schoolteacher006
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -174,7 +174,7 @@ layui.config({
var
selectedData
=
tableCheckBoxUtil
.
getValue
({
gridId
:
'
messageTable
'
});
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolteacher007
"
,
params
:
{
staffIds
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolteacher007
"
,
params
:
{
staffIds
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
chooseTeacherList
=
[].
concat
(
json
.
rows
);
parent
.
layer
.
close
(
index
);
...
...
school/src/main/resources/template/js/schoolteacherSub/schoolteacherSubBind.js
浏览文件 @
54b1e386
...
...
@@ -11,7 +11,7 @@ layui.config({
var
$
=
layui
.
$
;
//获取教师部分信息以及当前拥有的技能列表
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolteachersubject002
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolteachersubject002
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#userName
"
).
html
(
json
.
bean
.
userName
);
$
(
"
#schoolName
"
).
html
(
json
.
bean
.
schoolName
);
...
...
@@ -19,7 +19,7 @@ layui.config({
//初始化教师所属学校科目列表
showGrid
({
id
:
"
subjectList
"
,
url
:
req
BasePath
+
"
schoolsubjectmation006
"
,
url
:
school
BasePath
+
"
schoolsubjectmation006
"
,
params
:
{
schoolId
:
json
.
bean
.
schoolId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-property.tpl
'
),
...
...
@@ -50,7 +50,7 @@ layui.config({
propertyIds
:
propertyIds
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schoolteachersubject003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schoolteachersubject003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schoolteacherSub/schoolteacherSublist.js
浏览文件 @
54b1e386
...
...
@@ -18,7 +18,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -34,7 +34,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schoolteachersubject001
'
,
url
:
school
BasePath
+
'
schoolteachersubject001
'
,
where
:
{
userName
:
$
(
"
#userName
"
).
val
(),
userSex
:
$
(
"
#userSex
"
).
val
(),
userIdCard
:
$
(
"
#userIdCard
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
school/src/main/resources/template/js/schooltransportation/schooltransportationadd.js
浏览文件 @
54b1e386
...
...
@@ -13,7 +13,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -31,7 +31,7 @@ layui.config({
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schooltransportation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schooltransportation002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schooltransportation/schooltransportationedit.js
浏览文件 @
54b1e386
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
schooltransportation003
"
,
url
:
school
BasePath
+
"
schooltransportation003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/schooltransportation/schooltransportationeditTemplate.tpl
'
),
...
...
@@ -21,7 +21,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -41,7 +41,7 @@ layui.config({
schoolId
:
$
(
"
#schoolId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schooltransportation004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schooltransportation004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
school/src/main/resources/template/js/schooltransportation/schooltransportationlist.js
浏览文件 @
54b1e386
...
...
@@ -17,7 +17,7 @@ layui.config({
//初始化学校
showGrid
({
id
:
"
schoolId
"
,
url
:
req
BasePath
+
"
schoolmation008
"
,
url
:
school
BasePath
+
"
schoolmation008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -32,7 +32,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
schooltransportation001
'
,
url
:
school
BasePath
+
'
schooltransportation001
'
,
where
:
{
name
:
$
(
"
#typeName
"
).
val
(),
schoolId
:
$
(
"
#schoolId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
@@ -89,7 +89,7 @@ layui.config({
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
schooltransportation005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
school
BasePath
+
"
schooltransportation005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
userauth/src/main/resources/template/js/syseveuserstaff/turnTeacher.js
浏览文件 @
54b1e386
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
allSchool
"
,
url
:
req
BasePath
+
"
schoolmation007
"
,
url
:
school
BasePath
+
"
schoolmation007
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
web/src/main/resources/template/assets/lib/layui/custom.js
浏览文件 @
54b1e386
...
...
@@ -53,6 +53,7 @@ var fileBasePath;
var
reqBasePath
;
// 总项目
var
shopBasePath
;
// 商城项目
var
flowableBasePath
;
// 工作流相关功能的项目
var
schoolBasePath
;
// 学校模块请求地址
var
homePagePath
;
// 前端请求地址
var
webSocketPath
;
//聊天socket-开发
...
...
@@ -64,6 +65,7 @@ function initBaseParams(){
webSocketPath
=
sysMainMation
.
webSocketPath
;
flowableBasePath
=
sysMainMation
.
flowableBasePath
;
homePagePath
=
sysMainMation
.
homePagePath
;
schoolBasePath
=
sysMainMation
.
schoolBasePath
;
}
function
getRequestHeaders
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录