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
41797696
Commit
41797696
authored
Oct 26, 2023
by
Cat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zd 教师档案
parent
97593fb9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
82 deletions
+64
-82
ruoyi-ui/src/api/smartSchool/teacherFiles/teacherElectronicFile.js
+1
-1
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance.vue
+63
-81
No files found.
ruoyi-ui/src/api/smartSchool/teacherFiles/teacherElectronicFile.js
View file @
41797696
...
@@ -119,7 +119,7 @@ export function updateInfo(data) {
...
@@ -119,7 +119,7 @@ export function updateInfo(data) {
// 教师档案删除
// 教师档案删除
export
function
delInfo
(
id
)
{
export
function
delInfo
(
id
)
{
return
request
({
return
request
({
url
:
'/teacherFiles/files'
+
id
,
url
:
'/teacherFiles/files
/
'
+
id
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
...
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance.vue
View file @
41797696
...
@@ -128,77 +128,59 @@
...
@@ -128,77 +128,59 @@
<el-form-item
label=
"姓名:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"姓名:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.teacherName"
></el-input>
<el-input
v-model=
"form.teacherName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"性别:"
style=
"padding-right: 10px"
>
<
!-- <
el-form-item label="性别:" style="padding-right: 10px">
<el-input v-model="form.sex"></el-input>
<el-input v-model="form.sex"></el-input>
</el-form-item> -->
<el-form-item
label=
"性别:"
style=
"padding-right: 10px"
>
<el-select
v-model=
"form.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>
<el-form-item
label=
"年龄:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"年龄:"
style=
"padding-right: 10px"
>
<el-input
v-model=
"form.age"
></el-input>
<el-input
v-model=
"form.age"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"职称:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"职称:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.title"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.title"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"学历:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"学历:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.education"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.education"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"政治面貌:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"政治面貌:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.appearance"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.appearance"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"任教学科:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"任教学科:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.courseName"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.courseName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"任教班级:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"任教班级:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.className"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.className"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"任正班主任班级:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"任正班主任班级:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.bzrClassName"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.bzrClassName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"任副班主任班级:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"任副班主任班级:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.fbzrClassName"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.fbzrClassName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否教学组长:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"是否教学组长:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.isTeachingGroupLeader"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.isTeachingGroupleader"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否教研组长:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"是否教研组长:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.isResearchGroupLeader"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.isResearchGroupLeader"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设计课时量:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"设计课时量:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.classHour"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.classHour"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"班主任情况:"
style=
"padding-right: 10px"
>
<el-form-item
label=
"班主任情况:"
style=
"padding-right: 10px"
>
<el-input
<el-input
v-model=
"form.classTeacherDetails"
></el-input>
:=
"check == true ? true : false"
v-model=
"form.classTeacherDetails"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<span
<span
...
@@ -407,6 +389,7 @@ import {
...
@@ -407,6 +389,7 @@ import {
export
default
{
export
default
{
name
:
"dataReceiver"
,
name
:
"dataReceiver"
,
dicts
:
[
"sys_user_sex"
],
data
()
{
data
()
{
return
{
return
{
// 遮罩层
// 遮罩层
...
@@ -440,7 +423,8 @@ export default {
...
@@ -440,7 +423,8 @@ export default {
courseName
:
""
,
courseName
:
""
,
className
:
""
,
className
:
""
,
bzrClassName
:
""
,
bzrClassName
:
""
,
isTeachingGroupleader
:
""
,
fbzrClassName
:
""
,
isTeachingGroupLeader
:
""
,
isResearchGroupLeader
:
""
,
isResearchGroupLeader
:
""
,
classHour
:
""
,
classHour
:
""
,
classTeacherDetails
:
""
,
classTeacherDetails
:
""
,
...
@@ -456,8 +440,6 @@ export default {
...
@@ -456,8 +440,6 @@ export default {
};
};
},
},
mounted
()
{
mounted
()
{
// console.log("id", this.$route.query.noticeId);
// console.log("status", this.$route.query.noticeState);
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
...
@@ -504,38 +486,46 @@ export default {
...
@@ -504,38 +486,46 @@ export default {
handleExtract
()
{
handleExtract
()
{
const
id
=
this
.
form
.
id
;
const
id
=
this
.
form
.
id
;
syncNotice
(
id
).
then
((
res
)
=>
{
syncNotice
(
id
).
then
((
res
)
=>
{
console
.
log
(
id
,
"id"
);
console
.
log
(
"res提取"
,
res
);
console
.
log
(
"res提取"
,
res
);
this
.
tableFirstData
=
res
;
this
.
tableFirstData
=
res
;
this
.
tableSecondData
=
res
;
this
.
tableSecondData
=
res
;
this
.
tableThirdData
=
res
;
this
.
tableThirdData
=
res
;
this
.
tableForthData
=
res
;
this
.
tableForthData
=
res
;
console
.
log
(
"this.tableFirstData"
,
this
.
tableFirstData
);
console
.
log
(
"this.tableSecondData"
,
this
.
tableSecondData
);
console
.
log
(
"this.tableThirdData"
,
this
.
tableThirdData
);
console
.
log
(
"this.tableForthData"
,
this
.
tableForthData
);
});
});
// this.$modal
// .confirm("是否提取?")
// .then(function () {
// return syncNotice(id);
// })
// .then(() => {
// this.getList();
// this.$modal.msgSuccess("提取成功");
// })
// .catch((err) => {
// console.error(err);
// });
},
},
//修改按钮
//修改按钮
handleEdit
(
row
)
{
handleEdit
(
row
)
{
this
.
check
=
false
;
this
.
check
=
false
;
this
.
title
=
"基本信息修改"
;
this
.
title
=
"基本信息修改"
;
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
this
.
form
=
row
;
},
},
//弹窗确定按钮
//弹窗确定按钮
confirmDialog
()
{
confirmDialog
()
{
const
params
=
{
id
:
this
.
form
.
id
,
sex
:
this
.
form
.
sex
,
age
:
this
.
form
.
age
,
title
:
this
.
form
.
title
,
education
:
this
.
form
.
education
,
appearance
:
this
.
form
.
appearance
,
courseName
:
this
.
form
.
courseName
,
className
:
this
.
form
.
className
,
bzrClassName
:
this
.
form
.
bzrClassName
,
fbzrClassName
:
this
.
form
.
fbzrClassName
,
isTeachingGroupLeader
:
this
.
form
.
isTeachingGroupLeader
,
isResearchGroupLeader
:
this
.
form
.
isResearchGroupLeader
,
classHour
:
this
.
form
.
classHour
,
classTeacherDetails
:
this
.
form
.
classTeacherDetails
,
state
:
this
.
form
.
state
,
};
console
.
log
(
params
,
"弹窗确定按钮"
);
updateInfo
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
,
"res"
);
this
.
form
=
res
;
});
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
;
},
},
//多选按钮
//多选按钮
...
@@ -544,25 +534,17 @@ export default {
...
@@ -544,25 +534,17 @@ export default {
},
},
// 删除按钮
// 删除按钮
handleDelete
(
row
)
{
handleDelete
(
row
)
{
//判断,如果进度是未填写可以直接删除不需要提醒
const
ids
=
row
.
id
||
this
.
ids
;
//如果是其他状态需要提示相应的状态
this
.
$modal
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
.
confirm
(
"是否确认删除?"
)
confirmButtonText
:
"确定"
,
.
then
(
function
()
{
cancelButtonText
:
"取消"
,
return
delInfo
(
ids
);
type
:
"warning"
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
this
.
$message
({
this
.
getList
();
type
:
"success"
,
this
.
$modal
.
msgSuccess
(
"删除成功"
);
message
:
"删除成功!"
,
});
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{});
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
});
},
},
},
},
};
};
...
...
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