Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
c431cc52
Commit
c431cc52
authored
Oct 31, 2023
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zpy 10.31
parent
b17d2ea4
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
180 additions
and
241 deletions
+180
-241
ruoyi-ui/src/api/smartSchool/laboratoryManagement/gradeExperimentapp.js
+3
-2
ruoyi-ui/src/views/smartSchool/examinationManage/examManage/components/registeProcess.vue
+6
-5
ruoyi-ui/src/views/smartSchool/gradeWork/laboratoryManagement/experimentalPlan/index.vue
+13
-15
ruoyi-ui/src/views/smartSchool/gradeWork/laboratoryManagement/laboratoryAppointment/index.vue
+20
-7
ruoyi-ui/src/views/smartSchool/laboratoryManagement/laboratoryManagements/experimentalPlan/index.vue
+1
-1
ruoyi-ui/src/views/smartSchool/laboratoryManagement/laboratoryManagements/gradeExperimentapp/index.vue
+38
-34
ruoyi-ui/src/views/smartSchool/laboratoryManagement/laboratoryManagements/laboratoryManagementlist/index.vue
+11
-11
ruoyi-ui/src/views/smartSchool/officialWork/purchaseApply/index.vue
+12
-12
ruoyi-ui/src/views/smartSchool/othersManage/conferenceManage/conferenceInformation/components/selectArea.vue
+1
-1
ruoyi-ui/src/views/smartSchool/othersManage/schoolResources/schoolResourcesBase/index.vue
+23
-69
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/affairGradeManage/gradeMemberList/index.vue
+44
-83
ruoyi-ui/src/views/smartSchool/venueReservation/useRecordingroom/index.vue
+8
-1
No files found.
ruoyi-ui/src/api/smartSchool/laboratoryManagement/gradeExperimentapp.js
View file @
c431cc52
...
...
@@ -9,12 +9,13 @@ export function getLabClassYear(query) {
});
}
// 获取实验室
export
function
getLabList
(
plannedStartTime
,
plannedEndTime
)
{
export
function
getLabList
(
plannedStartTime
,
plannedEndTime
,
sub
)
{
return
request
({
url
:
`/schoolLabClassYear/getLabList?plannedStartTime=
${
plannedStartTime
}
&plannedEndTime=
${
plannedEndTime
}
`
,
url
:
`/schoolLabClassYear/getLabList?plannedStartTime=
${
plannedStartTime
}
&plannedEndTime=
${
plannedEndTime
}
&sub=
${
sub
}
`
,
method
:
"get"
,
});
}
// 分配实验室
export
function
getAllocationLab
(
data
)
{
return
request
({
...
...
ruoyi-ui/src/views/smartSchool/examinationManage/examManage/components/registeProcess.vue
View file @
c431cc52
...
...
@@ -9,10 +9,10 @@
<InfoReview
ref=
"InfoReview"
:examId=
"id"
@
sendStatus=
"sendStatus"
></InfoReview>
</el-tab-pane>
<el-tab-pane
label=
"考场分配"
:disabled=
"disable2"
name=
"2"
>
<examRoomAllocate
ref=
"examRoomAllocate"
:examId=
"id"
@
sendStatus=
"sendStatus"
/>
<examRoomAllocate
ref=
"examRoomAllocate"
:examId=
"id"
@
sendStatus=
"sendStatus"
/>
</el-tab-pane>
<el-tab-pane
label=
"成绩管理"
:disabled=
"disable3"
name=
"3"
>
<scoreManage
ref=
"scoreManage"
:examId=
"id"
@
sendStatus=
"sendStatus"
/>
<scoreManage
ref=
"scoreManage"
:examId=
"id"
@
sendStatus=
"sendStatus"
/>
</el-tab-pane>
<el-tab-pane
label=
"返回列表"
name=
"4"
>
</el-tab-pane>
...
...
@@ -118,9 +118,10 @@ export default {
this
.
isSearch
(
activeName
)
if
(
activeName
==
'4'
)
{
// this.$router.go(-1)
this
.
$store
.
dispatch
(
"tagsView/delView"
,
this
.
$route
);
this
.
$router
.
replace
({
path
:
'/exam/examManage'
,
})
this
.
$store
.
dispatch
(
"tagsView/delView"
,
this
.
$route
);
this
.
$router
.
replace
({
path
:
'/teachAffairAdministration/exam/examManage'
,
})
}
},
...
...
ruoyi-ui/src/views/smartSchool/gradeWork/laboratoryManagement/experimentalPlan/index.vue
View file @
c431cc52
...
...
@@ -78,7 +78,7 @@
<el-col
:span=
"10"
>
<el-form-item
label=
"学科"
prop=
"sub"
>
<el-select
v-model=
"form.sub"
placeholder=
"请选择"
:disabled=
"nowType === 2"
clearable
@
change=
"onGradeChange"
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<el-option
v-for=
"(item, index) in subList"
:key=
"index"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
...
...
@@ -210,7 +210,7 @@ export default {
experimentClassify
:
""
,
pageNum
:
1
,
pageSize
:
10
,
},
classList
:
[],
// 班级列表数据
subList
:
[],
// 学科列表
...
...
@@ -326,22 +326,20 @@ export default {
//选择级部自动获取年级
onGradeChange
()
{
const
selectedGrade
=
this
.
gradeList
.
find
(
grade
=>
grade
.
id
===
this
.
form
.
gradeId
);
if
(
selectedGrade
)
{
const
gradeValue
=
selectedGrade
.
gradeValue
;
console
.
log
(
'selectedGrade'
,
selectedGrade
);
if
(
gradeValue
===
1
)
{
console
.
log
(
'gradeValue'
,
gradeValue
);
this
.
form
.
classId
=
this
.
classList
.
map
(
classItem
=>
classItem
.
classId
);
// 默认选中所有班级的班级ID
console
.
log
(
'this.form.classId'
,
this
.
form
.
classId
);
console
.
log
(
'this.form.schoolExperimentPlanClassList'
,
this
.
form
.
schoolExperimentPlanClassList
);
}
else
if
(
gradeValue
===
2
||
gradeValue
===
3
)
{
this
.
form
.
schoolExperimentPlanClassList
=
[];
console
.
log
(
'gradeValue'
,
gradeValue
);
this
.
getClass
(
selectedGrade
.
id
);
// 获取班级列表
this
.
classList
=
[];
// 清空班级列表
getClass
(
selectedGrade
.
id
).
then
(
response
=>
{
this
.
loading
=
false
;
this
.
classList
=
response
.
data
;
if
(
selectedGrade
.
gradeValue
==
1
)
{
this
.
form
.
classId
=
this
.
classList
.
map
(
classItem
=>
classItem
.
classId
);
}
else
{
this
.
form
.
classId
=
[]
}
}
}
);
},
//删除按钮操作
handleDelete
(
id
)
{
this
.
$confirm
(
"此操作将永久删除该数据,是否继续?"
,
'提示'
,
{
...
...
ruoyi-ui/src/views/smartSchool/gradeWork/laboratoryManagement/laboratoryAppointment/index.vue
View file @
c431cc52
...
...
@@ -118,16 +118,22 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"学科"
prop=
"sub"
>
<el-input
v-model=
"form.sub"
placeholder=
"请输入"
clearable
:disabled=
"nowType === 1 || nowType === 2 || nowType === 0"
/>
<el-select
v-model=
"form.sub"
placeholder=
"请选择"
:disabled=
"nowType === 2"
clearable
style=
"width: 100%;"
>
<el-option
v-for=
"dict in dict.type.lab_sub"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"30"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"实验分类"
prop=
"experimentClassify"
>
<el-input
v-model=
"form.experimentClassify"
placeholder=
"请输入"
clearable
:disabled=
"nowType === 1 || nowType === 2 || nowType === 0"
/>
<el-select
v-model=
"form.experimentClassify"
placeholder=
"请选择"
clearable
style=
"width: 100%;"
:disabled=
"nowType === 2"
>
<el-option
v-for=
"dict in dict.type.experiment_classify"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -261,7 +267,7 @@ export default {
},
created
()
{
this
.
getSchholyear
();
this
.
getExperimentName
();
},
methods
:
{
...
...
@@ -276,13 +282,18 @@ export default {
},
// 获取实验名称下拉框
getExperimentName
()
{
getLabplanxlk
().
then
(
response
=>
{
// 在调用getLabplanxlk方法时,将当前学年和学期信息作为参数传递进去
const
params
=
{
schoolYear
:
this
.
form
.
schoolYear
,
semester
:
this
.
form
.
semester
};
getLabplanxlk
(
params
).
then
(
response
=>
{
this
.
tableList
=
response
.
data
;
console
.
log
(
'this.tableList'
,
this
.
tableList
);
this
.
loading
=
false
})
},
//选择实验名称自动带出信息
getName
()
{
const
selectedExperiment
=
this
.
tableList
.
find
(
experiment
=>
experiment
.
experimentName
===
this
.
form
.
experimentName
);
...
...
@@ -318,6 +329,7 @@ export default {
// 在获取到学年和学期后,调用getList方法进行表单查询
this
.
getList
();
this
.
getExperimentName
();
});
},
...
...
@@ -362,6 +374,7 @@ export default {
}
this
.
nowType
=
type
;
this
.
getSchholyear
();
this
.
getExperimentName
();
if
(
type
!=
0
)
{
if
(
row
&&
row
.
id
)
{
const
id
=
row
.
id
;
...
...
ruoyi-ui/src/views/smartSchool/laboratoryManagement/laboratoryManagements/experimentalPlan/index.vue
View file @
c431cc52
...
...
@@ -10,7 +10,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"实验名称"
>
<el-input
v-model=
"queryForm.
grad
e"
placeholder=
"请输入实验名称"
clearable
></el-input>
<el-input
v-model=
"queryForm.
experimentNam
e"
placeholder=
"请输入实验名称"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"实验分类"
>
<el-select
v-model=
"queryForm.experimentClassify"
placeholder=
"请选择"
clearable
>
...
...
ruoyi-ui/src/views/smartSchool/laboratoryManagement/laboratoryManagements/gradeExperimentapp/index.vue
View file @
c431cc52
...
...
@@ -105,8 +105,6 @@
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"级部"
>
...
...
@@ -170,57 +168,52 @@
<el-row
:gutter=
"30"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"申请老师"
>
<el-input
v-model=
"postForm.applyName"
placeholder=
"请输入"
clearable
:disabled=
"isEdit"
/>
<el-input
v-model=
"postForm.applyName"
placeholder=
"请输入"
clearable
:disabled=
"isEdit
s
"
/>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"实验分类"
>
<el-select
v-model=
"postForm.experimentClassify"
placeholder=
"请选择"
clearable
style=
"width: 100%;"
:disabled=
"isEdit"
>
style=
"width: 100%;"
:disabled=
"isEdit
s
"
>
<el-option
v-for=
"dict in dict.type.experiment_classify"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"实验名称"
>
<el-input
v-model=
"postForm.experimentName"
placeholder=
"请输入"
clearable
:disabled=
"isEdit"
/>
<el-input
v-model=
"postForm.experimentName"
placeholder=
"请输入"
clearable
:disabled=
"isEdit
s
"
/>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"学科"
>
<el-select
v-model=
"postForm.sub"
placeholder=
"请选择"
clearable
style=
"width: 100%;"
:disabled=
"isEdit"
>
:disabled=
"isEdit
s
"
>
<el-option
v-for=
"dict in dict.type.lab_sub"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"20"
>
<el-form-item
label=
"章节内容"
>
<el-input
v-model=
"postForm.chapterContent"
placeholder=
"请输入"
clearable
:disabled=
"isEdit"
></el-input>
:disabled=
"isEdit
s
"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"级部"
>
<el-input
v-model=
"postForm.grade"
placeholder=
"请输入"
clearable
:disabled=
"isEdit"
/>
<el-input
v-model=
"postForm.grade"
placeholder=
"请输入"
clearable
:disabled=
"isEdit
s
"
/>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"学年"
>
<el-input
v-model=
"postForm.schoolYear"
placeholder=
"请输入"
clearable
:disabled=
"isEdit"
/>
<el-input
v-model=
"postForm.schoolYear"
placeholder=
"请输入"
clearable
:disabled=
"isEdit
s
"
/>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -311,6 +304,7 @@ export default {
],
isEdit
:
false
,
isEdits
:
false
,
postForm
:
{
applyName
:
''
,
experimentClassify
:
''
,
...
...
@@ -391,29 +385,39 @@ export default {
const
labId
=
this
.
postForm
.
schoolLabClassYearRelationList
[
i
].
labId
;
this
.
selectedLabs
.
push
(
labId
);
}
// console.log('this.form', this.form);
this
.
postForm
.
applyName
=
response
.
data
.
applyName
;
this
.
postForm
.
experimentClassify
=
response
.
data
.
experimentClassify
;
this
.
postForm
.
experimentName
=
response
.
data
.
experimentName
;
this
.
postForm
.
sub
=
response
.
data
.
sub
;
this
.
postForm
.
chapterContent
=
response
.
data
.
chapterContent
;
this
.
postForm
.
grade
=
response
.
data
.
grade
;
this
.
postForm
.
schoolYear
=
response
.
data
.
schoolYear
;
this
.
postForm
.
experimentUseGoods
=
response
.
data
.
experimentUseGoods
;
this
.
postForm
.
plannedStartTime
=
response
.
data
.
plannedStartTime
;
this
.
postForm
.
plannedEndTime
=
response
.
data
.
plannedEndTime
;
this
.
postForm
.
schoolLabClassYearRelationList
=
this
.
selectedLabs
;
// 仅将已经选择的实验室作为关联数据提交
this
.
loading
=
false
;
const
plannedStartTime
=
this
.
postForm
.
plannedStartTime
const
plannedEndTime
=
this
.
postForm
.
plannedEndTime
getLabList
(
plannedStartTime
,
plannedEndTime
).
then
(
response
=>
{
const
sub
=
this
.
postForm
.
sub
getLabList
(
plannedStartTime
,
plannedEndTime
,
sub
).
then
(
response
=>
{
const
labs
=
response
.
data
;
this
.
labs
=
labs
.
filter
(
lab
=>
lab
.
useState
===
"空闲"
);
// 根据状态筛选出空闲的实验室
// console.log(this.labs, 'this.labs');
// 这里不再需要循环添加实验室关联数据
console
.
log
(
labs
,
'qb'
);
const
selectedLabs
=
this
.
postForm
.
schoolLabClassYearRelationList
;
// 获取已选择的实验室列表
console
.
log
(
selectedLabs
,
'xz'
);
// 将已选择的实验室信息存储在新的数组中
const
selectedLabInfo
=
labs
.
filter
(
lab
=>
{
const
isSelected
=
selectedLabs
.
some
(
selectedLab
=>
selectedLab
.
labId
===
lab
.
labId
);
if
(
isSelected
)
{
lab
.
isSelected
=
true
;
return
true
;
}
return
false
;
});
// 更新 labs 数组,将已选择的实验室信息存储在对应实验室对象中
this
.
labs
=
labs
.
map
(
lab
=>
{
const
selectedLab
=
selectedLabInfo
.
find
(
selectedLab
=>
selectedLab
.
labId
===
lab
.
labId
);
if
(
selectedLab
)
{
lab
.
selectedLabInfo
=
selectedLab
;
}
return
lab
;
});
this
.
isEdits
=
true
;
this
.
loading
=
false
;
});
});
this
.
dialogTableVisible
=
true
;
},
...
...
@@ -429,7 +433,7 @@ export default {
console
.
log
(
'this.form.schoolLabClassYearRelationList'
,
this
.
form
.
schoolLabClassYearRelationList
);
}
this
.
form
.
schoolLabClassYearRelationList
=
[];
//
this.form.schoolLabClassYearRelationList = [];
for
(
let
i
=
0
;
i
<
this
.
schoolLabClassYearRelationList
.
length
;
i
++
)
{
const
labId
=
this
.
schoolLabClassYearRelationList
[
i
].
labId
;
const
labName
=
this
.
schoolLabClassYearRelationList
[
i
].
labName
;
...
...
@@ -478,7 +482,7 @@ export default {
getAllocationLab
(
params
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'保存成功'
);
this
.
open
=
false
;
this
.
dialogTableVisible
=
false
;
this
.
getList
();
});
}
...
...
@@ -498,7 +502,7 @@ export default {
plannedEndTime
:
this
.
postForm
.
plannedEndTime
,
experimentUseGoods
:
this
.
postForm
.
experimentUseGoods
,
declareState
:
'3'
,
schoolLabClassYearRelationList
:
[]
,
schoolLabClassYearRelationList
:
labs
,
};
for
(
let
i
=
0
;
i
<
this
.
labs
.
length
;
i
++
)
{
const
labId
=
this
.
labs
[
i
].
labId
;
...
...
@@ -510,7 +514,7 @@ export default {
getAllocationLab
(
params
).
then
(
response
=>
{
console
.
log
(
params
,
params
);
this
.
$modal
.
msgSuccess
(
'提交成功'
);
this
.
open
=
false
;
this
.
dialogTableVisible
=
false
;
this
.
getList
();
});
}
...
...
ruoyi-ui/src/views/smartSchool/laboratoryManagement/laboratoryManagements/laboratoryManagementlist/index.vue
View file @
c431cc52
...
...
@@ -169,9 +169,9 @@ import {
getSchoolLabxq
,
getClassDetails
}
from
'@/api/smartSchool/laboratoryManagement/laboratoryManagementlist'
import
{
getGrade
,
}
from
'@/api/smartSchool/gradeWork/laboratoryManagement/experimentalPlan'
//
import {
//
getGrade,
//
} from '@/api/smartSchool/gradeWork/laboratoryManagement/experimentalPlan'
export
default
{
name
:
'index'
,
dicts
:
[
'lab_state'
,
'lab_sub'
,
'experiment_classify'
,],
...
...
@@ -248,7 +248,7 @@ export default {
},
created
()
{
this
.
getList
();
this
.
getGrade
();
//
this.getGrade();
this
.
getListtc
();
},
methods
:
{
...
...
@@ -274,14 +274,14 @@ export default {
});
},
//查询级部
getGrade
()
{
getGrade
().
then
(
response
=>
{
this
.
loading
=
false
;
this
.
gradeList
=
response
.
data
;
console
.
log
(
"this.gradeList"
,
this
.
gradeList
);
//
getGrade() {
//
getGrade().then(response => {
//
this.loading = false;
//
this.gradeList = response.data;
//
console.log("this.gradeList", this.gradeList);
});
},
//
});
//
},
//弹窗搜索
...
...
ruoyi-ui/src/views/smartSchool/officialWork/purchaseApply/index.vue
View file @
c431cc52
...
...
@@ -64,13 +64,13 @@
<ExPagination
v-show=
"total > 0"
:total=
"total"
:limit
.
sync=
"queryParams.pageSize"
:page
.
sync=
"queryParams.pageNum"
@
pagination=
"getList"
></ExPagination>
<!-- 新增或修改采购对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"openForPur"
width=
"
55%
"
@
close=
"refreshValidate"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"openForPur"
width=
"
1000px
"
@
close=
"refreshValidate"
>
<!-- <div> -->
<el-form
ref=
"formPur"
:model=
"formPur"
:disabled=
"formPurDisable"
:rules=
"rules"
label-width=
"1
2
0px"
inline
>
<el-form
ref=
"formPur"
:model=
"formPur"
:disabled=
"formPurDisable"
:rules=
"rules"
label-width=
"1
1
0px"
inline
>
<el-row>
<el-col
:span=
"22"
>
<el-form-item
label=
"标题"
prop=
"purchaseName"
>
<el-input
v-model=
"formPur.purchaseName"
placeholder=
"请输入采购申请标题"
clearable
style=
"width: 6
15
px"
></el-input>
<el-input
v-model=
"formPur.purchaseName"
placeholder=
"请输入采购申请标题"
clearable
style=
"width: 6
08
px"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -79,20 +79,20 @@
<el-form-item
label=
"申请部门"
prop=
"deptId"
>
<Treeselect
:disabled=
"formPurDisable"
v-model=
"formPur.deptId"
@
select=
"deptIdAndName"
:options=
"deptOptions"
:show-count=
"true"
placeholder=
"请选择归属部门"
:defaultExpandLevel=
1
style=
"width:
193
px"
/>
style=
"width:
208
px"
/>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"期望日期"
prop=
"expectedDate"
>
<el-date-picker
v-model=
"formPur.expectedDate"
placeholder=
"请选择期望日期"
clearable
value-format=
"yyyy-MM-dd"
style=
"width:
193
px"
></el-date-picker>
style=
"width:
208
px"
></el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"10"
>
<el-form-item
label=
"批复项目"
prop=
"budgetId"
>
<el-select
v-model=
"formPur.budgetId"
@
change=
"getBudgetName"
placeholder=
"请选择批复项目"
style=
"width:
100%
"
>
<el-select
v-model=
"formPur.budgetId"
@
change=
"getBudgetName"
placeholder=
"请选择批复项目"
style=
"width:
208px
"
>
<el-option
v-for=
"item in budgetList"
:key=
"item.id"
:label=
"item.budgetName"
:value=
"item.id"
></el-option>
</el-select>
...
...
@@ -100,21 +100,21 @@
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"采购金额(元)"
prop=
"purchaseMoney"
>
<el-input
:value=
"purchaseMoney"
readonly
clearable
></el-input>
<el-input
:value=
"purchaseMoney"
readonly
clearable
style=
"width: 208px"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"10"
>
<el-form-item
label=
"分管处室领导"
prop=
"handUserName1"
>
<el-input
placeholder=
"请选择分管领导"
v-model=
"formPur.handUserName1"
clearable
@
click
.
native=
"selectBoss1(1)
"
></el-input>
<el-input
placeholder=
"请选择分管领导"
v-model=
"formPur.handUserName1"
clearable
@
click
.
native=
"selectBoss1(1)"
style=
"width: 208px
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"财务领导"
prop=
"handUserName2"
>
<el-input
placeholder=
"请选择财务领导"
v-model=
"formPur.handUserName2"
clearable
@
click
.
native=
"selectBoss1(2)
"
></el-input>
<el-input
placeholder=
"请选择财务领导"
v-model=
"formPur.handUserName2"
clearable
@
click
.
native=
"selectBoss1(2)"
style=
"width: 208px
"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -122,7 +122,7 @@
<el-col
:span=
"22"
>
<el-form-item
label=
"采购说明"
>
<el-input
type=
"textarea"
v-model=
"formPur.remark"
placeholder=
"请输入采购说明"
clearable
style=
"width:
615
px"
></el-input>
style=
"width:
208
px"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
ruoyi-ui/src/views/smartSchool/othersManage/conferenceManage/conferenceInformation/components/selectArea.vue
View file @
c431cc52
...
...
@@ -50,7 +50,7 @@
size=
"small"
row-key=
"id"
highlight-current-row
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}"
>
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}"
@row-click="handleCurrentChange"
@selection-change="select"
@select-all="selectAll"
...
...
ruoyi-ui/src/views/smartSchool/othersManage/schoolResources/schoolResourcesBase/index.vue
View file @
c431cc52
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
@
submit
.
native
.
prevent
>
@
submit
.
native
.
prevent
>
<el-form-item
label=
"资源名称"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
placeholder=
"请输入资源名称"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.name"
placeholder=
"请输入资源名称"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
...
...
@@ -18,96 +13,55 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['system:resources:add']"
>
新增
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['system:resources:add']"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['system:resources:edit']"
>
修改
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['system:resources:edit']"
>
修改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['system:resources:remove']"
>
删除
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['system:resources:remove']"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['system:resources:export']"
>
导出
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['system:resources:export']"
>
导出
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<el-table
v-loading=
"loading"
:data=
"resourcesList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"资源名称"
align=
"center"
prop=
"name"
>
<template
slot-scope=
"scope"
>
<
!--
<
template
slot-scope=
"scope"
>
<el-link
type=
"primary"
:underline=
"false"
@
click=
"handleClick(scope.row)"
>
{{
scope
.
row
.
name
}}
</el-link>
</
template
>
</
template
>
-->
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['system:resources:edit']"
>
修改
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['system:resources:edit']"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['system:resources:remove']"
>
删除
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['system:resources:remove']"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<ExPagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<ExPagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<!-- 添加或修改学校资源库对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"资源名称"
prop=
"name"
>
<el-input
v-model=
"form.name"
placeholder=
"请输入资源名称"
/>
<el-input
v-model=
"form.name"
placeholder=
"请输入资源名称"
/>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -127,7 +81,7 @@ import {
editResource
}
from
"@/api/smartSchool/schoolResources/resource"
;
import
{
getInfo
as
getDetailInfo
}
from
'@/api/smartSchool/schoolResources/resourceInfo'
;
import
{
getInfo
as
getDetailInfo
}
from
'@/api/smartSchool/schoolResources/resourceInfo'
;
export
default
{
name
:
"Resourcesbase"
,
...
...
@@ -162,7 +116,7 @@ export default {
// 表单校验
rules
:
{
name
:
[
{
required
:
true
,
message
:
"资源名称不能为空"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"资源名称不能为空"
,
trigger
:
"blur"
}
],
}
};
...
...
@@ -284,7 +238,7 @@ export default {
},
/** 点击资源名称 */
handleClick
({
id
})
{
handleClick
({
id
})
{
this
.
$router
.
push
({
path
:
'/resource/resource-details/'
+
id
,
query
:
{
...
...
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/affairGradeManage/gradeMemberList/index.vue
View file @
c431cc52
...
...
@@ -2,28 +2,13 @@
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"教师姓名"
prop=
"teacherName"
>
<el-input
v-model=
"queryParams.teacherName"
@
keyup
.
enter
.
native=
"handleQuery"
placeholder=
"请输入教师姓名"
clearable
/>
<el-input
v-model=
"queryParams.teacherName"
@
keyup
.
enter
.
native=
"handleQuery"
placeholder=
"请输入教师姓名"
clearable
/>
</el-form-item>
<el-form-item
label=
"工号"
prop=
"teacherCode"
>
<el-input
v-model=
"queryParams.teacherCode"
placeholder=
"请输入工号"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.teacherCode"
placeholder=
"请输入工号"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"职务"
prop=
"teacherPost"
>
<el-input
v-model=
"queryParams.teacherPost"
placeholder=
"请输入职务"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.teacherPost"
placeholder=
"请输入职务"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
...
...
@@ -33,38 +18,18 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['system:mentor:add']"
>
新 增
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['system:mentor:add']"
>
新 增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['system:mentor:edit']"
>
修 改
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['system:mentor:edit']"
>
修 改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['system:mentor:remove']"
>
删 除
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['system:mentor:remove']"
>
删 除
</el-button>
</el-col>
<!--
<el-col
:span=
"1.5"
>
-->
...
...
@@ -82,64 +47,59 @@
</el-row>
<el-table
v-loading=
"loading"
:data=
"mentorList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"照片"
align=
"center"
>
<template
slot-scope=
"scope"
>
<ListImage
:image-url=
"baseUrl + scope.row.picUrl"
></ListImage>
</
template
>
</el-table-column>
<el-table-column
label=
"姓名"
align=
"center"
prop=
"teacherName"
/>
<el-table-column
label=
"工号"
align=
"center"
prop=
"teacherCode"
/>
<el-table-column
label=
"职务"
align=
"center"
prop=
"teacherPost"
/>
<el-table-column
label=
"电话号码"
align=
"center"
prop=
"teacherTel"
/>
<el-table-column
label=
"姓名"
align=
"center"
prop=
"teacherName"
/>
<el-table-column
label=
"工号"
align=
"center"
prop=
"teacherCode"
/>
<el-table-column
label=
"类型"
align=
"center"
prop=
"type"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.grade_mentor_type"
:value=
"scope.row.type"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"职务"
align=
"center"
prop=
"teacherPost"
/>
<el-table-column
label=
"学科组"
align=
"center"
prop=
"subGroup"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sub_group"
:value=
"scope.row.subGroup"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"电话号码"
align=
"center"
prop=
"teacherTel"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['system:mentor:edit']"
>
修改
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['system:mentor:edit']"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['system:mentor:remove']"
>
删除
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['system:mentor:remove']"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<!--选择老师-->
<TeacherSelect
v-if=
"teacherSelectDialog"
:openSelect
.
sync=
"teacherSelectDialog"
:title=
"teacherSelect"
@
getTeacherList=
"getTeacherList"
@
setTeacherInfo=
"setTeacherInfo"
></TeacherSelect>
<TeacherSelect
v-if=
"teacherSelectDialog"
:openSelect
.
sync=
"teacherSelectDialog"
:title=
"teacherSelect"
@
getTeacherList=
"getTeacherList"
@
setTeacherInfo=
"setTeacherInfo"
></TeacherSelect>
<!-- 添加或修改老师与班级关系对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"教师姓名"
prop=
"teacherName"
>
<el-input
:disabled=
"disableTeacherName"
v-model=
"form.teacherName"
@
click
.
native=
"openTeacherSelect"
placeholder=
"请输入教师姓名"
/>
placeholder=
"请输入教师姓名"
/>
</el-form-item>
<el-form-item
label=
"职务"
prop=
"teacherPost"
>
<el-input
v-model=
"form.teacherPost"
placeholder=
"请输入职务"
/>
<el-input
v-model=
"form.teacherPost"
placeholder=
"请输入职务"
/>
</el-form-item>
<el-form-item
label=
"学科组"
prop=
"subGroup"
>
<el-select
v-model=
"form.subGroup"
placeholder=
"请输入学科组"
clearable
style=
"width: 100%;"
>
<el-option
v-for=
"(item, index) in dict.type.sub_group"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -159,11 +119,12 @@ import {
updateMentor
}
from
'@/api/smartSchool/teachAffairAdministration/affairClassManage/gradeMememberList'
;
import
TeacherSelect
from
'@/views/components/moduleComponets/TeacherSelect/index.vue'
import
{
listInform
}
from
"@/api/smartSchool/teacherManage/teacherInformation"
;
import
{
listInform
}
from
"@/api/smartSchool/teacherManage/teacherInformation"
;
export
default
{
name
:
"gradeMemberList"
,
components
:
{
TeacherSelect
},
dicts
:
[
'grade_mentor_type'
,
'sub_group'
],
components
:
{
TeacherSelect
},
data
()
{
return
{
// 头像显示前缀
...
...
@@ -205,7 +166,7 @@ export default {
// 表单校验
rules
:
{
delFlag
:
[
{
required
:
true
,
message
:
"$comment不能为空"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"$comment不能为空"
,
trigger
:
"blur"
}
],
}
};
...
...
ruoyi-ui/src/views/smartSchool/venueReservation/useRecordingroom/index.vue
View file @
c431cc52
...
...
@@ -10,7 +10,7 @@
<el-date-picker
size=
"small"
type=
"date"
v-model=
"endTime"
disabled
>
</el-date-picker>
</el-form-item>
<el-form-item
prop=
"studio
Id
"
:rules=
"[
{ required: true, message: '请选择录播室', trigger: 'change,blur' }]">
<el-form-item
prop=
"studio
Name
"
:rules=
"[
{ required: true, message: '请选择录播室', trigger: 'change,blur' }]">
<el-select
@
change=
"changeStudio"
v-model=
"queryParams.studioId"
placeholder=
"录播室"
>
<el-option
v-for=
"item in options"
:key=
"item.id"
:label=
"item.studioName"
:value=
"item.id"
>
</el-option>
...
...
@@ -214,6 +214,13 @@ export default {
getAppointmentList
({}).
then
((
res
)
=>
{
this
.
options
=
res
.
rows
;
console
.
log
(
'res'
,
res
)
if
(
this
.
options
.
length
>
0
)
{
// 默认选中第一个录播室
this
.
queryParams
.
studioId
=
this
.
options
[
0
].
id
;
// 立即执行搜索表单
this
.
fetchStudioUseData
();
}
});
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment