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
4044d1e0
Commit
4044d1e0
authored
Oct 26, 2023
by
Cat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zd 教师电子档案
parent
41797696
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
183 additions
and
50 deletions
+183
-50
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance.vue
+161
-42
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/index.vue
+22
-8
No files found.
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance.vue
View file @
4044d1e0
...
...
@@ -64,12 +64,19 @@
min-width=
"200"
prop=
"courseName"
/>
<el-table-column
label=
"进度"
align=
"center"
min-width=
"150"
prop=
"state"
/>
<el-table-column
label=
"进度"
align=
"center"
min-width=
"150"
prop=
"state"
>
<template
slot-scope=
"
{ row }">
{{
row
.
state
==
1
?
"未发布"
:
row
.
state
==
2
?
"已发布"
:
row
.
state
==
7
?
"已完成"
:
""
}}
</
template
>
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
...
...
@@ -81,14 +88,14 @@
>
查看
</el-button>
<el-button
:disabled=
"status == '
已结束
' ? true : false"
:disabled=
"status == '
7
' ? true : false"
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
修改
</el-button>
<el-button
:disabled=
"status == '
已结束
' ? true : false"
:disabled=
"status == '
7
' ? true : false"
size=
"mini"
type=
"text"
@
click=
"handleDelete(scope.row)"
...
...
@@ -119,20 +126,46 @@
:model=
"form"
label-width=
"120px"
>
<el-form-item
label=
"学年学期:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.filesSemester"
></el-input>
<el-form-item
label=
"学年学期:"
style=
"padding-right: 10px"
:disabled=
"true"
>
<el-input
v-model=
"form.filesSemester"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"级部:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.gradeName"
></el-input>
<el-form-item
:disabled=
"true"
label=
"级部:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.gradeName"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"姓名:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.teacherName"
></el-input>
<el-form-item
:disabled=
"true"
label=
"姓名:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.teacherName"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<!-- <el-form-item label="性别:" style="padding-right: 10px">
<el-input v-model="form.sex"></el-input>
</el-form-item> -->
<el-form-item
label=
"性别:"
style=
"padding-right: 10px"
>
<el-form-item
:disabled=
"true"
label=
"性别:"
style=
"padding-right: 10px"
>
<el-select
:disabled=
"status == '7' ? true : false"
v-model=
"form.sex"
placeholder=
"请输入性别"
style=
"width: 100%"
...
...
@@ -146,41 +179,126 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"年龄:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.age"
></el-input>
<el-form-item
:disabled=
"true"
label=
"年龄:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.age"
:disabled=
"status == '7' ? true : false"
>
</el-input>
</el-form-item>
<el-form-item
label=
"职称:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.title"
></el-input>
<el-form-item
:disabled=
"true"
label=
"职称:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.title"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"学历:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.education"
></el-input>
<el-form-item
:disabled=
"true"
label=
"学历:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.education"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"政治面貌:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.appearance"
></el-input>
<el-form-item
:disabled=
"true"
label=
"政治面貌:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.appearance"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"任教学科:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.courseName"
></el-input>
<el-form-item
:disabled=
"true"
label=
"任教学科:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.courseName"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"任教班级:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.className"
></el-input>
<el-form-item
:disabled=
"true"
label=
"任教班级:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.className"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"任正班主任班级:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.bzrClassName"
></el-input>
<el-form-item
:disabled=
"true"
label=
"任正班主任班级:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.bzrClassName"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"任副班主任班级:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.fbzrClassName"
></el-input>
<el-form-item
:disabled=
"true"
label=
"任副班主任班级:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.fbzrClassName"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"是否教学组长:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.isTeachingGroupLeader"
></el-input>
<el-form-item
:disabled=
"true"
label=
"是否教学组长:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.isTeachingGroupLeader"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"是否教研组长:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.isResearchGroupLeader"
></el-input>
<el-form-item
:disabled=
"true"
label=
"是否教研组长:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.isResearchGroupLeader"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"设计课时量:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.classHour"
></el-input>
<el-form-item
:disabled=
"true"
label=
"设计课时量:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.classHour"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
label=
"班主任情况:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.classTeacherDetails"
></el-input>
<el-form-item
:disabled=
"true"
label=
"班主任情况:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.classTeacherDetails"
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
</el-form>
<span
...
...
@@ -210,6 +328,7 @@
<span
class=
"line"
></span>
<span
class=
"title"
>
教育科研
</span>
<el-button
:disabled=
"status == '7' ? true : false"
type=
"success"
size=
"mini"
style=
"float: right; margin-right: 50px; margin-top: 10px"
...
...
@@ -407,9 +526,8 @@ export default {
tableData
:
[],
dialogVisible
:
false
,
form
:
{},
status
:
this
.
$route
.
query
.
noticeState
,
check
:
false
,
status
:
this
.
$route
.
query
.
status
,
check
:
true
,
//弹窗表单
form
:
{
filesSemester
:
""
,
...
...
@@ -441,6 +559,7 @@ export default {
},
mounted
()
{
this
.
getList
();
console
.
log
(
this
.
$route
.
query
.
status
,
"this.$route.query.status"
);
},
methods
:
{
/** 查询信息列表 */
...
...
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/index.vue
View file @
4044d1e0
...
...
@@ -112,7 +112,7 @@
:
row
.
noticeState
==
2
?
"已发布"
:
row
.
noticeState
==
7
?
"已
发布
"
?
"已
完成
"
:
""
}}
</
template
>
...
...
@@ -474,16 +474,17 @@ export default {
path
:
"/teachAffairAdministration/smartSchool/teachAffairAdministration/electronicRecord/dataReceiver"
,
query
:
{
id
:
row
.
id
,
status
:
row
.
status
,
status
:
row
.
noticeState
,
},
});
},
// 数据维护按钮
dataMaintenance
(
row
)
{
console
.
log
(
row
,
"数据维护按钮row"
);
const
noticeId
=
row
.
id
;
const
pageNum
=
this
.
queryForm
.
pageNum
;
const
pageSize
=
this
.
queryForm
.
pageSize
;
// const status
const
status
=
row
.
noticeState
;
//传值状态,如果是已结束跳过去只能查看,已发布可以新增或者删除
this
.
$router
.
push
({
path
:
"/teachAffairAdministration/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance"
,
...
...
@@ -491,16 +492,31 @@ export default {
noticeId
,
pageNum
,
pageSize
,
status
:
row
.
noticeState
,
status
,
},
});
console
.
log
(
status
,
"数据维护按钮status"
);
console
.
log
(
noticeId
,
"数据维护按钮id"
);
console
.
log
(
pageNum
,
"数据维护按钮num"
);
console
.
log
(
pageSize
,
"数据维护按钮size"
);
},
// 数据查看
dataInspection
()
{
infoTeaNotice
().
then
((
res
)
=>
{});
dataInspection
(
row
)
{
const
noticeId
=
row
.
id
;
const
pageNum
=
this
.
queryForm
.
pageNum
;
const
pageSize
=
this
.
queryForm
.
pageSize
;
const
status
=
row
.
noticeState
;
// const status
//传值状态,如果是已结束跳过去只能查看,已发布可以新增或者删除
this
.
$router
.
push
({
path
:
"/teachAffairAdministration/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance"
,
query
:
{
noticeId
,
pageNum
,
pageSize
,
status
,
},
});
},
// 导出按钮
handleExport
(
row
)
{
...
...
@@ -510,8 +526,6 @@ export default {
},
// 撤回按钮
handleRevocation
(
row
)
{
// taskRetracted
this
.
$modal
.
confirm
(
"是否撤回该活动?"
)
.
then
(
function
()
{
...
...
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