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
0d8d87b8
Commit
0d8d87b8
authored
Nov 09, 2023
by
Cat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zd 教师电子档案 修改
parent
67725b50
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
133 additions
and
60 deletions
+133
-60
ruoyi-ui/src/views/smartSchool/gradeWork/electronicRecord/index.vue
+64
-31
ruoyi-ui/src/views/smartSchool/personWork/electronicRecord/index.vue
+44
-20
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance.vue
+23
-7
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/index.vue
+2
-2
No files found.
ruoyi-ui/src/views/smartSchool/gradeWork/electronicRecord/index.vue
View file @
0d8d87b8
...
...
@@ -73,11 +73,7 @@
<
template
slot-scope=
"{ row }"
>
{{
row
.
state
==
1
?
"未发布"
:
row
.
state
==
2
?
"已发布"
:
row
.
state
==
3
?
"已填写"
?
"编辑"
:
row
.
state
==
4
?
"已提交"
:
row
.
state
==
5
...
...
@@ -157,37 +153,30 @@
>
<
template
slot-scope=
"scope"
>
<!-- 已发布 -->
<div>
<el-button
v-if=
"scope.row.state
<
=
3
"
size=
"mini"
type=
"text"
@
click=
"handleSubmit(scope.row)"
<div
v-if=
"scope.row.state == '4'"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleSubmit(scope.row)"
>
提交
</el-button>
<el-button
v-if=
"scope.row.state
<
=
3
"
size=
"mini"
type=
"text"
@
click=
"handleReject(scope.row)"
<el-button
size=
"mini"
type=
"text"
@
click=
"handleReject(scope.row)"
>
驳回
</el-button>
<el-button
v-if=
"scope.row.state
<
=
3
"
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
<!--
<el-button
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
修改
</el-button>
</el-button>
-->
</div>
<!--已提交-->
<div>
<!-- v-if="scope.row.state == '5'" -->
<el-button
v-if=
"scope.row.state >= 3"
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
<div
v-if=
"scope.row.state == '1'"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
</el-button>
</div>
<div
v-if=
"scope.row.state == '5'"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
</el-button>
</div>
<div
v-if=
"scope.row.state == '9'"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
</el-button>
</div>
...
...
@@ -234,11 +223,31 @@
v-model=
"dialogForm.teacherName"
></el-input>
</el-form-item>
<el-form-item
label=
"性别:"
style=
"padding-right: 10px"
>
<
!-- <
el-form-item label="性别:" style="padding-right: 10px">
<el-input
:readonly="check == true ? true : false"
v-model="dialogForm.sex"
></el-input>
</el-form-item> -->
<el-form-item
:disabled=
"true"
label=
"性别:"
style=
"padding-right: 10px"
>
<el-select
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.sex"
placeholder=
"请输入性别"
style=
"width: 100%"
>
<el-option
v-for=
"dict in dict.type.sys_user_sex"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"年龄:"
style=
"padding-right: 10px"
>
<el-input
...
...
@@ -252,11 +261,31 @@
v-model=
"dialogForm.title"
></el-input>
</el-form-item>
<el-form-item
label=
"学历:"
style=
"padding-right: 10px"
>
<
!-- <
el-form-item label="学历:" style="padding-right: 10px">
<el-input
:readonly="check == true ? true : false"
v-model="dialogForm.education"
></el-input>
</el-form-item> -->
<el-form-item
:disabled=
"true"
label=
"学历:"
style=
"padding-right: 10px"
>
<el-select
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.education"
style=
"width: 100%"
placeholder=
"请选择学历"
>
<el-option
v-for=
"dict in dict.type.education"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"政治面貌:"
style=
"padding-right: 10px"
>
<el-input
...
...
@@ -604,6 +633,8 @@ import {
}
from
"@/api/smartSchool/teacherFiles/teacherElectronicFile"
;
export
default
{
name
:
"gradeElectronicRecord"
,
dicts
:
[
"sys_user_sex"
,
"education"
],
data
()
{
return
{
completedCount
:
""
,
//填写
...
...
@@ -688,6 +719,7 @@ export default {
getGradeTnfo
(
params
).
then
((
res
)
=>
{
this
.
tableData
=
res
.
rows
;
console
.
log
(
res
,
11111111
);
this
.
total
=
res
.
total
;
this
.
yfb
=
res
.
yfb
;
this
.
yqr
=
res
.
yqr
;
...
...
@@ -752,6 +784,7 @@ export default {
const
id
=
row
.
id
;
getFileTnfo
(
id
).
then
((
res
)
=>
{
this
.
dialogForm
=
res
.
data
;
console
.
log
(
this
.
dialogForm
,
2222222
);
this
.
title
=
"基本信息查看"
;
this
.
tableFirstData
=
res
.
data
.
thesisList
;
this
.
tableSecondData
=
res
.
data
.
materialList
;
...
...
ruoyi-ui/src/views/smartSchool/personWork/electronicRecord/index.vue
View file @
0d8d87b8
...
...
@@ -61,17 +61,11 @@
<
template
slot-scope=
"{ row }"
>
{{
row
.
state
==
1
?
"未发布"
:
row
.
state
==
2
?
"已发布"
:
row
.
state
==
3
?
"已填写"
?
"编辑"
:
row
.
state
==
4
?
"已提交"
:
row
.
state
==
5
?
"已确认"
:
row
.
state
==
7
?
"已结束"
:
row
.
state
==
9
?
"驳回"
:
""
...
...
@@ -90,15 +84,21 @@
min-width=
"150"
prop=
"endTime"
/>
<el-table-column
fixed=
"right"
label=
"操作"
align=
"center"
min-width=
"200"
>
<el-table-column
fixed=
"right"
label=
"操作"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<!-- 未填写 -->
<div
v-if=
"scope.row.state === 4"
>
<div
v-if=
"scope.row.state == '1'"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
填写
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleSubmit(scope.row)"
>
提交
</el-button>
</div>
<div
v-if=
"scope.row.state == '9'"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
填写
</el-button>
...
...
@@ -109,7 +109,18 @@
>
提交
</el-button>
</div>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
<el-button
v-if=
"scope.row.state == '4'"
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
</el-button>
<el-button
v-if=
"scope.row.state == '5'"
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
</el-button>
<div></div>
...
...
@@ -217,10 +228,20 @@
label=
"学历:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.education"
<el-select
:disabled=
"form.state == '4' ? true : false"
></el-input>
v-model=
"form.education"
style=
"width: 100%"
placeholder=
"请选择学历"
>
<el-option
v-for=
"dict in dict.type.education"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:disabled=
"true"
...
...
@@ -611,7 +632,7 @@ import {
}
from
"@/api/smartSchool/teacherFiles/teacherElectronicFile"
;
export
default
{
name
:
"personElectronicRecord"
,
dicts
:
[
"sys_user_sex"
],
dicts
:
[
"sys_user_sex"
,
"education"
],
data
()
{
return
{
// 遮罩层
...
...
@@ -684,6 +705,7 @@ export default {
};
getTeacherTnfo
(
params
).
then
((
res
)
=>
{
this
.
tableData
=
res
.
rows
;
console
.
log
(
this
.
tableData
,
"this.tableData11111"
);
this
.
tableDataInfo
=
res
.
rows
.
map
((
item
)
=>
{
return
item
.
fid
;
// 如果需要将 fid 属性单独提取出来,可以返回一个包含 fid 的新数组
});
...
...
@@ -820,9 +842,9 @@ export default {
this
.
title
=
"基本信息修改"
;
this
.
dialogVisible
=
true
;
const
id
=
row
.
fid
;
console
.
log
(
id
,
33333333333333
);
getFileTnfo
(
id
).
then
((
res
)
=>
{
this
.
form
=
res
.
data
;
console
.
log
(
res
.
data
,
"填写按钮"
);
this
.
title
=
"基本信息查看"
;
this
.
tableFirstData
=
res
.
data
.
thesisList
;
this
.
tableSecondData
=
res
.
data
.
materialList
;
...
...
@@ -868,6 +890,7 @@ export default {
},
//提交按钮
handleSubmit
(
row
)
{
console
.
log
(
row
,
"提交row"
);
const
id
=
row
.
fid
;
this
.
$modal
.
confirm
(
"是否提交该活动?"
)
...
...
@@ -883,6 +906,7 @@ export default {
console
.
error
(
err
);
});
},
//弹窗确定按钮
confirmDialog
(
row
)
{
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
...
...
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance.vue
View file @
0d8d87b8
...
...
@@ -68,11 +68,7 @@
<template
slot-scope=
"
{ row }">
{{
row
.
state
==
1
?
"未发布"
:
row
.
state
==
2
?
"已发布"
:
row
.
state
==
3
?
"已填写"
?
"编辑"
:
row
.
state
==
4
?
"已提交"
:
row
.
state
==
5
...
...
@@ -206,7 +202,7 @@
:disabled=
"status == '7' ? true : false"
></el-input>
</el-form-item>
<el-form-item
<
!-- <
el-form-item
:disabled="true"
label="学历:"
style="padding-right: 10px"
...
...
@@ -215,6 +211,26 @@
v-model="form.education"
:disabled="status == '7' ? true : false"
></el-input>
</el-form-item> -->
<el-form-item
:disabled=
"true"
label=
"学历:"
style=
"padding-right: 10px"
>
<el-select
:disabled=
"status == '7' ? true : false"
v-model=
"form.education"
style=
"width: 100%"
placeholder=
"请选择学历"
>
<el-option
v-for=
"dict in dict.type.education"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:disabled=
"true"
...
...
@@ -607,7 +623,7 @@ import {
export
default
{
name
:
"dataReceiver"
,
dicts
:
[
"sys_user_sex"
],
dicts
:
[
"sys_user_sex"
,
"education"
],
data
()
{
return
{
// 遮罩层
...
...
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/index.vue
View file @
0d8d87b8
...
...
@@ -406,7 +406,6 @@ export default {
},
//弹窗确定按钮
confirmDialog
()
{
this
.
loading
=
true
;
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
...
...
@@ -422,9 +421,10 @@ export default {
// 新增
addTeacherNotice
(
this
.
form
)
.
then
((
response
)
=>
{
this
.
getList
(
);
this
.
$modal
.
loading
(
"正在加载数据,请稍等..."
);
this
.
$message
.
success
(
"新增成功"
);
this
.
dialogVisible
=
false
;
this
.
getList
();
})
.
catch
((
err
)
=>
{});
}
...
...
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