Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
5103f0ba
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1171
Star
154
Fork
127
代码
文件
提交
分支
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看板
提交
5103f0ba
编写于
6月 24, 2024
作者:
X
xqz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:新增科目班级的班级新增,详情,列表;章节的新增,编辑,删除
上级
daf76bc4
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
364 addition
and
67 deletion
+364
-67
school/src/main/resources/template/js/chapter/chapterList.js
school/src/main/resources/template/js/chapter/chapterList.js
+2
-2
school/src/main/resources/template/js/chapter/write.js
school/src/main/resources/template/js/chapter/write.js
+15
-21
school/src/main/resources/template/js/subjectClass/detail.js
school/src/main/resources/template/js/subjectClass/detail.js
+40
-0
school/src/main/resources/template/js/subjectClass/list.js
school/src/main/resources/template/js/subjectClass/list.js
+12
-41
school/src/main/resources/template/js/subjectClass/manage.js
school/src/main/resources/template/js/subjectClass/manage.js
+1
-1
school/src/main/resources/template/js/subjectClass/write.js
school/src/main/resources/template/js/subjectClass/write.js
+151
-0
school/src/main/resources/template/tpl/subjectClass/detail.html
.../src/main/resources/template/tpl/subjectClass/detail.html
+66
-0
school/src/main/resources/template/tpl/subjectClass/list.html
...ol/src/main/resources/template/tpl/subjectClass/list.html
+0
-1
school/src/main/resources/template/tpl/subjectClass/write.html
...l/src/main/resources/template/tpl/subjectClass/write.html
+76
-0
web/src/main/resources/template/assets/lib/layui/customer/skyeye/schoolUtil.js
...s/template/assets/lib/layui/customer/skyeye/schoolUtil.js
+1
-1
未找到文件。
school/src/main/resources/template/js/chapter/chapterList.js
浏览文件 @
5103f0ba
...
...
@@ -81,7 +81,7 @@ layui.config({
// 编辑
function
edit
(
data
)
{
parent
.
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
'
FP2023082800011&objectId=
'
+
objectId
+
'
&objectKey=
'
+
objectKey
+
'
&id=
'
+
data
.
id
,
null
)
,
url
:
'
../../tpl/chapter/write.html?objectId=
'
+
objectId
+
'
&objectKey=
'
+
objectKey
+
'
&subjectClassesId=
'
+
subjectClassesId
+
'
&id=
'
+
data
.
id
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
chapterEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -122,7 +122,7 @@ layui.config({
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{
object
Key
:
objectKey
,
objectId
:
object
Id
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
return
$
.
extend
(
true
,
{
object
Id
:
subjectClasses
Id
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
chapterList
'
,
{});
...
...
school/src/main/resources/template/js/chapter/write.js
浏览文件 @
5103f0ba
...
...
@@ -21,33 +21,27 @@ layui.config({
if
(
isNull
(
id
))
{
dsFormUtil
.
initAddPageForStatic
(
'
content
'
,
'
FP2023082800010
'
,
{
save
Data
:
function
(
params
)
{
save
PreParams
:
function
(
params
)
{
params
.
objectId
=
objectId
;
params
.
objectKey
=
objectKey
;
params
.
subjectClassesId
=
subjectClassesId
;
console
.
log
(
params
);
// 保存数据
// AjaxPostUtil.request({url: sysMainMation.erpBasePath + "insertPurchaseOrderToTurnDelivery", params: params, type: 'json', method: "POST", callback: function(json) {
// parent.layer.close(index);
// parent.refreshCode = '0';
// }});
}
});
}
else
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erpBasePath
+
"
queryPurchaseOrderTransById
"
,
params
:
{
id
:
id
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
let
data
=
json
.
bean
;
dsFormUtil
.
initEditPageForStatic
(
'
content
'
,
'
FP2023082800011
'
,
data
,
{
savePreParams
:
function
(
params
)
{
}
,
saveData
:
function
(
params
)
{
// 保存数据
// AjaxPostUtil.request({url: sysMainMation.erpBasePath + "insertPurchaseOrderToTurnDelivery", params: params, type: 'json', method: "POST", callback: function(json)
{
// parent.layer.close(index);
// parent.refreshCode = '0'
;
// }});
}
}
);
}
}
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
schoolBasePath
+
"
queryChapterById
"
,
params
:
{
id
:
id
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
let
data
=
json
.
bean
;
dsFormUtil
.
initEditPageForStatic
(
'
content
'
,
'
FP2023082800011
'
,
data
,
{
savePreParams
:
function
(
params
)
{
params
.
subjectClassesId
=
subjectClassesId
;
}
}
);
}
});
}
});
\ No newline at end of file
school/src/main/resources/template/js/subjectClass/detail.js
0 → 100644
浏览文件 @
5103f0ba
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
subjectClassesId
=
GetUrlParam
(
"
subjectClassesId
"
);
if
(
isNull
(
subjectClassesId
))
{
winui
.
window
.
msg
(
"
请传入适用对象信息
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
loadDetail
();
function
loadDetail
()
{
showGrid
({
id
:
"
showForm
"
,
url
:
schoolBasePath
+
"
querySubjectClassesById
"
,
params
:
{
id
:
subjectClassesId
},
pagination
:
false
,
method
:
'
GET
'
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
,
json
)
{
var
enabledValue
=
json
.
bean
.
enabled
;
var
enumName
=
enabledValue
===
1
?
'
是
'
:
enabledValue
===
2
?
'
否
'
:
'
未知
'
;
json
.
bean
.
enabledName
=
enumName
;
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
}
});
}
});
\ No newline at end of file
school/src/main/resources/template/js/subjectClass/list.js
浏览文件 @
5103f0ba
...
...
@@ -31,12 +31,10 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
section
'
,
title
:
'
章节
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
return
'
第
'
+
d
.
section
+
'
章
'
;
}},
{
field
:
'
name
'
,
title
:
'
名称
'
,
align
:
'
left
'
,
width
:
300
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
name
+
'
</a>
'
;
}},
{
field
:
'
section
'
,
title
:
'
班级名称
'
,
align
:
'
center
'
,
width
:
200
,
templet
:
function
(
d
)
{
return
getNotUndefinedVal
(
d
.
classesMation
?.
name
);
}},
{
field
:
'
peopleNum
'
,
title
:
'
当前人数
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
...
...
@@ -54,11 +52,7 @@ layui.config({
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
details
'
)
{
//详情
details
(
data
);
}
else
if
(
layEvent
===
'
del
'
)
{
//删除
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
);
}
else
if
(
layEvent
===
'
manager
'
)
{
// 管理
manager
(
data
);
...
...
@@ -68,29 +62,17 @@ layui.config({
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
parent
.
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
'
FP2023082800010&objectId=
'
+
objectId
+
'
&objectKey=
'
+
objectKey
,
null
)
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
]
,
pageId
:
"
chapter
Add
"
,
url
:
'
../../tpl/subjectClass/write.html?objectId=
'
+
objectId
+
'
&objectKey=
'
+
objectKey
,
title
:
"
新增
"
,
pageId
:
"
subjectClass
Add
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
});
});
// 编辑
function
edit
(
data
)
{
parent
.
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
'
FP2023082800011&objectId=
'
+
objectId
+
'
&objectKey=
'
+
objectKey
+
'
&id=
'
+
data
.
id
,
null
),
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
chapterEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 管理
function
manager
(
data
)
{
parent
.
_openNewWindows
({
...
...
@@ -104,22 +86,11 @@ layui.config({
}});
}
// 详情
function
details
(
data
)
{
parent
.
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
'
FP2023082800012&objectId=
'
+
objectId
+
'
&objectKey=
'
+
objectKey
+
'
&id=
'
+
data
.
id
,
null
),
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
chapterDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
// 删除
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
:
sysMainMation
.
schoolBasePath
+
"
delete
Chapter
ById
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
'
DELETE
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
schoolBasePath
+
"
delete
SubjectClasses
ById
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
'
DELETE
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
...
...
@@ -138,5 +109,5 @@ layui.config({
return
$
.
extend
(
true
,
{
objectKey
:
objectKey
,
objectId
:
objectId
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
subjectClassL
ist
'
,
{});
exports
(
'
l
ist
'
,
{});
});
\ No newline at end of file
school/src/main/resources/template/js/subjectClass/manage.js
浏览文件 @
5103f0ba
...
...
@@ -17,7 +17,7 @@ layui.config({
id
:
'
tab
'
,
prefixData
:
[{
title
:
'
详情
'
,
pageUrl
:
systemCommonUtil
.
getUrl
(
'
FP2023082800004&id=
'
+
objectId
,
null
)
pageUrl
:
'
../../tpl/subjectClass/detail.html?subjectClassesId=
'
+
subjectClassesId
}],
suffixData
:
[{
title
:
'
章节
'
,
...
...
school/src/main/resources/template/js/subjectClass/write.js
0 → 100644
浏览文件 @
5103f0ba
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
objectId
=
GetUrlParam
(
"
objectId
"
);
var
objectKey
=
GetUrlParam
(
"
objectKey
"
);
// 获取当前登陆用户所属的学校列表
schoolUtil
.
queryMyBelongSchoolList
(
function
(
json
)
{
$
(
"
#schoolId
"
).
html
(
getDataUseHandlebars
(
getFileContent
(
'
tpl/template/select-option.tpl
'
),
json
));
form
.
render
(
"
select
"
);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
commonEnable
"
,
'
radio
'
,
"
enabled
"
,
''
,
form
);
// //加载学期
initSemesterId
();
});
// 学校监听事件
form
.
on
(
'
select(schoolId)
'
,
function
(
data
)
{
// 加载院系
initFacultyId
();
});
//所属院系
function
initFacultyId
(){
showGrid
({
id
:
"
facultyId
"
,
url
:
schoolBasePath
+
"
queryFacultyListBySchoolId
"
,
method
:
"
GET
"
,
params
:
{
schoolId
:
$
(
"
#schoolId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
}
// 院系监听事件
form
.
on
(
'
select(facultyId)
'
,
function
(
data
)
{
if
(
isNull
(
data
.
value
)
||
data
.
value
===
'
请选择
'
){
$
(
"
#majorId
"
).
html
(
""
);
form
.
render
(
'
select
'
);
}
else
{
//加载专业
initMajorId
();
}
});
//所属专业
function
initMajorId
(){
showGrid
({
id
:
"
majorId
"
,
url
:
schoolBasePath
+
"
queryMajorListByFacultyId
"
,
method
:
"
GET
"
,
params
:
{
facultyId
:
$
(
"
#facultyId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
}
// 专业监听事件
form
.
on
(
'
select(majorId)
'
,
function
(
data
)
{
if
(
isNull
(
data
.
value
)
||
data
.
value
===
'
请选择
'
){
$
(
"
#majorId
"
).
html
(
""
);
form
.
render
(
'
select
'
);
}
else
{
//加载专业
initClassesId
();
}
});
//所属班级
function
initClassesId
(){
showGrid
({
id
:
"
classesId
"
,
url
:
schoolBasePath
+
"
queryClassListByMajorId
"
,
method
:
"
GET
"
,
params
:
{
majorId
:
$
(
"
#majorId
"
).
val
()},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
}
//所属学期
function
initSemesterId
(){
showGrid
({
id
:
"
semesterId
"
,
url
:
schoolBasePath
+
"
queryAllSemesterList
"
,
method
:
"
GET
"
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
}
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
schoolId
:
$
(
"
#schoolId
"
).
val
(),
facultyId
:
$
(
"
#facultyId
"
).
val
(),
majorId
:
$
(
"
#majorId
"
).
val
(),
classesId
:
$
(
"
#classesId
"
).
val
(),
semesterId
:
$
(
"
#semesterId
"
).
val
(),
enabled
:
dataShowType
.
getData
(
'
enabled
'
),
objectId
:
objectId
,
objectKey
:
objectKey
};
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
writeSubjectClasses
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
school/src/main/resources/template/tpl/subjectClass/detail.html
0 → 100644
浏览文件 @
5103f0ba
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
基本信息
<
/span
>
<
hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
校区
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
classesMation
.
schoolMation
.
name
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
学院
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
classesMation
.
facultyMation
.
name
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
专业
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
classesMation
.
majorMation
.
name
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
班级
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
classesMation
.
name
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
加入人数
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
peopleNum
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
是否允许加入
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
enabledName
}}
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/subjectClass/
'
}).
use
(
'
detail
'
);
</script>
</body>
</html>
\ No newline at end of file
school/src/main/resources/template/tpl/subjectClass/list.html
浏览文件 @
5103f0ba
...
...
@@ -17,7 +17,6 @@
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
manager
"
>
管理
<
/a
>
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
</script>
</div>
...
...
school/src/main/resources/template/tpl/subjectClass/write.html
0 → 100644
浏览文件 @
5103f0ba
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
校区
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"schoolId"
lay-filter=
"schoolId"
lay-search=
""
win-verify=
"required"
>
<option
value=
""
>
请选择
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
学院
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"facultyId"
lay-filter=
"facultyId"
lay-search=
""
win-verify=
"required"
>
<option
value=
""
>
请选择
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
专业
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"majorId"
lay-filter=
"majorId"
lay-search=
""
win-verify=
"required"
>
<option
value=
""
>
请选择
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
班级
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"classesId"
lay-filter=
"classesId"
lay-search=
""
win-verify=
"required"
>
<option
value=
""
>
请选择
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
学期
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"semesterId"
lay-filter=
"semesterId"
lay-search=
""
win-verify=
"required"
>
<option
value=
""
>
请选择
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
是否允许加入
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
id=
"enabled"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
>
保存
</button>
</div>
</div>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/subjectClass/
'
}).
use
(
'
write
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/skyeye/schoolUtil.js
浏览文件 @
5103f0ba
...
...
@@ -8,7 +8,7 @@ var schoolUtil = {
* @param callback 回执函数
*/
queryMyBelongSchoolList
:
function
(
callback
)
{
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
schoolmation008
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
POS
T
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
schoolBasePath
+
"
queryAllSchoolList
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GE
T
"
,
callback
:
function
(
json
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
json
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录