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
85807a4a
Commit
85807a4a
authored
Oct 25, 2023
by
Cat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zd 教师电子档案
parent
ef905027
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
498 additions
and
233 deletions
+498
-233
ruoyi-ui/src/api/smartSchool/teacherFiles/teacherElectronicFile.js
+155
-7
ruoyi-ui/src/views/smartSchool/personWork/electronicRecord/index.vue
+229
-201
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/index.vue
+114
-25
No files found.
ruoyi-ui/src/api/smartSchool/teacherFiles/teacherElectronicFile.js
View file @
85807a4a
import
request
from
'@/utils/request'
// 通知列表
// // 任务列表
// export function listTeacherNotice(query) {
// return request({
// url: '/teacherFiles/notice/list',
// method: 'get',
// params: query
// })
// }
// // 添加任务
// export function addTeacherNotice(data) {
// return request({
// url: '/teacherFiles/notice',
// method: 'post',
// data: data
// })
// }
// // 信息发布
// export function infoTeacherNotice(id) {
// return request({
// url: `/teacherFiles/notice/release/${id}`,
// method: 'put'
// })
// }
// // 通知下档案查看|数据维护
// export function getteacherNotice(query) {
// return request({
// url: '/teacherFiles/files/list',
// method: 'get',
// params: query
// })
// }
// //老师查看档案详情
// export function getNoticeInfo(query) {
// return request({
// url: '/teacherFiles/files/list',
// method: 'get',
// params: query
// })
// }
// //级部查看档案详情
// export function getDepInfo(query) {
// return request({
// url: '/teacherFiles/files/list',
// method: 'get',
// params: query
// })
// }
// //查看档案详情
// export function getFileTnfo(id) {
// return request({
// url: '/teacherFiles/files/'+id,
// method: 'get',
// })
// }
// // 同步档案
// export function syncNotice(id) {
// return request({
// url: '/teacherFiles/files/synchronous/' + id,
// method: 'put'
// })
// }
// 添加任务
export
function
addTeacherNotice
(
data
)
{
return
request
({
url
:
'/teacherFiles/notice'
,
method
:
'post'
,
data
:
data
})
}
// 任务列表
export
function
listTeacherNotice
(
query
)
{
return
request
({
url
:
'/teacherFiles/notice/list'
,
...
...
@@ -9,24 +88,54 @@ export function listTeacherNotice(query) {
})
}
// 添加通知
export
function
addTeacherNotice
(
data
)
{
// 任务详情
export
function
infoTeaNotice
(
id
)
{
return
request
({
url
:
`/teacherFiles/notice/
${
id
}
`
,
method
:
'put'
})
}
// 任务修改
export
function
updateTask
(
data
)
{
return
request
({
url
:
'/teacherFiles/notice'
,
method
:
'p
os
t'
,
method
:
'p
u
t'
,
data
:
data
})
}
//
信息发布
//
发布任务
export
function
infoTeacherNotice
(
id
)
{
return
request
({
url
:
`/teacherFiles/notice/release/
${
id
}
`
,
method
:
'put'
})
}
// 任务撤回
export
function
taskRetracted
(
id
)
{
return
request
({
url
:
'/teacherFiles/notice/withdraw/'
+
id
,
method
:
'put'
})
}
// 任务完成
export
function
taskCompleted
(
id
)
{
return
request
({
url
:
'/teacherFiles/notice/complete/'
+
id
,
method
:
'put'
})
}
// 任务删除
export
function
delTaskInfo
(
id
)
{
return
request
({
url
:
'/teacherFiles/notice/'
+
id
,
method
:
'delete'
})
}
// 通知下档案查看|数据维护
export
function
getteacherNotice
(
query
)
{
...
...
@@ -36,7 +145,6 @@ export function getteacherNotice(query) {
params
:
query
})
}
//老师查看档案详情
export
function
getNoticeInfo
(
query
)
{
return
request
({
...
...
@@ -54,7 +162,6 @@ export function getDepInfo(query) {
params
:
query
})
}
//查看档案详情
export
function
getFileTnfo
(
id
)
{
return
request
({
...
...
@@ -70,3 +177,43 @@ export function syncNotice(id) {
})
}
// 教师档案修改
export
function
updateInfo
(
data
)
{
return
request
({
url
:
'/teacherFiles/files'
,
method
:
'put'
,
data
:
data
})
}
// 教师档案删除
export
function
delInfo
(
id
)
{
return
request
({
url
:
'/teacherFiles/files'
+
id
,
method
:
'delete'
})
}
// 教师档案提交审核
// /teacherFiles/files/submitTo/29
export
function
fileSubReview
(
id
)
{
return
request
({
url
:
`/teacherFiles/files/submitTo/
${
id
}
`
,
method
:
'put'
})
}
// 教师档案提交通过
export
function
fileSubApproved
(
id
)
{
return
request
({
url
:
`/teacherFiles/files/reject/
${
id
}
`
,
method
:
'put'
})
}
// 教师档案提交驳回
export
function
fileSubRejected
(
id
)
{
return
request
({
url
:
`/teacherFiles/files/passThrough/
${
id
}
`
,
method
:
'put'
})
}
\ No newline at end of file
ruoyi-ui/src/views/smartSchool/personWork/electronicRecord/index.vue
View file @
85807a4a
<!--
数据维护
-->
<!--
个人工作教师电子档案
-->
<
template
>
<div>
<el-form
style=
"margin-top: 20px;margin-left: 20px;"
:inline=
"true"
:model=
"queryForm"
class=
"demo-form-inline"
>
<el-form
style=
"margin-top: 20px; margin-left: 20px"
:inline=
"true"
:model=
"queryForm"
class=
"demo-form-inline"
>
<el-form-item
label=
"任务名称:"
>
<el-input
v-model=
"queryForm.level"
placeholder=
"请输入级部"
></el-input>
<el-input
v-model=
"queryForm.noticeName"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item>
<el-button
size=
"mini"
icon=
"el-icon-search"
type=
"primary"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
size=
"mini"
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
size=
"mini"
icon=
"el-icon-edit"
type=
"warning"
@
click=
"handleEdit"
>
修改
</el-button>
<el-button
size=
"mini"
icon=
"el-icon-search"
type=
"primary"
@
click=
"handleQuery"
>
搜索
</el-button
>
<el-button
size=
"mini"
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
重置
</el-button
>
<el-button
size=
"mini"
icon=
"el-icon-edit"
type=
"warning"
@
click=
"handleEdit"
>
修改
</el-button
>
</el-form-item>
</el-form>
<el-table
style=
"margin-top: 20px;"
border
:data=
"tableData"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"任务名称"
align=
"center"
prop=
"schoolYear"
min-width=
"200"
/>
<el-table-column
label=
"任务状态"
align=
"center"
prop=
"level"
min-width=
"150"
/>
<el-table-column
label=
"填写状态"
align=
"center"
min-width=
"150"
prop=
"name"
/>
<el-table-column
label=
"开始时间"
align=
"center"
min-width=
"200"
prop=
"IDNum"
/>
<el-table-column
label=
"结束时间"
align=
"center"
min-width=
"150"
prop=
"schedule"
/>
<el-table-column
fixed=
"right"
label=
"操作"
align=
"center"
min-width=
"200"
>
<el-table
style=
"margin-top: 20px"
border
:data=
"tableData"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"任务名称"
align=
"center"
prop=
"schoolYear"
min-width=
"200"
/>
<el-table-column
label=
"任务状态"
align=
"center"
prop=
"level"
min-width=
"150"
/>
<el-table-column
label=
"填写状态"
align=
"center"
min-width=
"150"
prop=
"name"
/>
<el-table-column
label=
"开始时间"
align=
"center"
min-width=
"200"
prop=
"IDNum"
/>
<el-table-column
label=
"结束时间"
align=
"center"
min-width=
"150"
prop=
"schedule"
/>
<el-table-column
fixed=
"right"
label=
"操作"
align=
"center"
min-width=
"200"
>
<template
slot-scope=
"scope"
>
<!--已发布 未填写/已驳回 已填写-->
<div>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
填写
<el-button
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
填写
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleSubmit(scope.row)"
>
提交
<el-button
size=
"mini"
type=
"text"
@
click=
"handleSubmit(scope.row)"
>
提交
</el-button>
</div>
<!--已结束 已填写 / 已结束 级部已确认-->
<div>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
</el-button>
</div>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total
>
0"
v-show=
"total
>
0"
:total=
"total"
:page
.
sync=
"queryForm.pageNum"
:limit
.
sync=
"queryForm.pageSize"
@
pagination=
"getList"
/>
<!--弹窗-->
<el-dialog
:title=
title
:visible
.
sync=
"dialogVisible"
width=
"100%"
>
<div
style=
"display:flex;"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogVisible"
width=
"100%"
>
<div
style=
"display: flex"
>
<div
class=
"leftContent"
>
<div
style=
"margin-bottom: 10px"
>
<span
class=
"line"
></span>
<span
class=
"title"
>
基本信息
</span>
</div>
<el-form
size=
"mini"
ref=
"form"
label-position=
"left"
:model=
"dialogForm"
label-width=
"120px"
>
<el-form
size=
"mini"
ref=
"form"
label-position=
"left"
:model=
"dialogForm"
label-width=
"120px"
>
<el-form-item
label=
"学年学期:"
style=
"padding-right: 10px"
>
<el-input
readonly
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
...
...
@@ -80,53 +128,103 @@
<el-input
readonly
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"职称:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"学历:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"政治面貌:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"任教学科:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"任教班级:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"任正班主任班级:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"任副班主任班级:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"是否教学组长:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"是否教研组长:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"设计课时量:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"班主任情况:"
style=
"padding-right: 10px"
>
<el-input
:readonly=
"check == true ? true:false"
v-model=
"dialogForm.name"
></el-input>
<el-input
:readonly=
"check == true ? true : false"
v-model=
"dialogForm.name"
></el-input>
</el-form-item>
</el-form>
<span
style=
"display: flex;justify-content: center"
slot=
"footer"
class=
"dialog-footer"
>
<span
style=
"display: flex; justify-content: center"
slot=
"footer"
class=
"dialog-footer"
>
<div
v-if=
"check == false"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"confirmDialog"
>
保 存
</el-button>
<el-button
size=
"small"
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"confirmDialog"
>
保 存
</el-button
>
<el-button
size=
"small"
@
click=
"dialogVisible = false"
>
取 消
</el-button
>
</div>
<el-button
v-else
size=
"small"
type=
"primary"
@
click=
"dialogVisible = false"
>
关 闭
</el-button>
<el-button
v-else
size=
"small"
type=
"primary"
@
click=
"dialogVisible = false"
>
关 闭
</el-button
>
</span>
</div>
<div
class=
"rightContent"
>
<div
style=
"margin-bottom: 10px"
>
<span
class=
"line"
></span>
<span
class=
"title"
>
教育科研
</span>
<el-button
type=
"success"
size=
"mini"
style=
"float: right;margin-right: 50px;margin-top: 10px;"
>
提 取
<el-button
type=
"success"
size=
"mini"
style=
"float: right; margin-right: 50px; margin-top: 10px"
>
提 取
</el-button>
</div>
<div
class=
"tableList"
>
...
...
@@ -135,38 +233,18 @@
<i
class=
"el-icon-collection"
></i>
<span
style=
"margin-left: 5px"
>
发表成就奖论文情况
</span>
</div>
<el-table
:data=
"tableFirstData"
border
>
<el-table-column
align=
"center"
fixed
type=
"index"
label=
"序号"
>
<el-table
:data=
"tableFirstData"
border
>
<el-table-column
align=
"center"
fixed
type=
"index"
label=
"序号"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"name"
label=
"论文名称"
>
<el-table-column
align=
"center"
prop=
"name"
label=
"论文名称"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"province"
label=
"级别"
>
<el-table-column
align=
"center"
prop=
"province"
label=
"级别"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"city"
label=
"等级"
>
<el-table-column
align=
"center"
prop=
"city"
label=
"等级"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"address"
label=
"发表时间"
>
<el-table-column
align=
"center"
prop=
"address"
label=
"发表时间"
>
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
>
<el-table-column
align=
"center"
label=
"附件"
>
<
template
slot-scope=
"scope"
>
<el-link
type=
"success"
href=
""
></el-link>
</
template
>
...
...
@@ -176,69 +254,39 @@
<div
class=
"tableSecond"
>
<div
class=
"tableTitle"
>
<i
class=
"el-icon-edit-outline"
></i>
<span
style=
"margin-left: 5px"
>
课题、结题、专著、校本教材编写情况
</span>
<span
style=
"margin-left: 5px"
>
课题、结题、专著、校本教材编写情况
</span
>
</div>
<el-table
:data=
"tableSecondData"
border
>
<el-table-column
align=
"center"
fixed
type=
"index"
label=
"序号"
>
<el-table
:data=
"tableSecondData"
border
>
<el-table-column
align=
"center"
fixed
type=
"index"
label=
"序号"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"name"
label=
"名称"
>
<el-table-column
align=
"center"
prop=
"name"
label=
"名称"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"address"
label=
"发表时间"
>
<el-table-column
align=
"center"
prop=
"address"
label=
"发表时间"
>
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
>
<el-table-column
align=
"center"
label=
"附件"
>
<
template
slot-scope=
"scope"
>
<el-link
type=
"success"
href=
""
></el-link>
</
template
>
</el-table-column>
</el-table>
</div>
<div
class=
"tableThird"
>
<div
class=
"tableTitle"
>
<i
class=
"el-icon-data-analysis"
></i>
<span
style=
"margin-left: 5px"
>
发表成就奖论文情况
</span>
</div>
<el-table
:data=
"tableThirdData"
border
>
<el-table-column
align=
"center"
fixed
type=
"index"
label=
"序号"
>
<el-table
:data=
"tableThirdData"
border
>
<el-table-column
align=
"center"
fixed
type=
"index"
label=
"序号"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"name"
label=
"培训时间"
>
<el-table-column
align=
"center"
prop=
"name"
label=
"培训时间"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"address"
label=
"培训名称"
>
<el-table-column
align=
"center"
prop=
"address"
label=
"培训名称"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"address"
label=
"是否合格"
>
<el-table-column
align=
"center"
prop=
"address"
label=
"是否合格"
>
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
>
<el-table-column
align=
"center"
label=
"附件"
>
<
template
slot-scope=
"scope"
>
<el-link
type=
"success"
href=
""
></el-link>
</
template
>
...
...
@@ -249,40 +297,19 @@
<div
class=
"tableTitle"
>
<i
class=
"el-icon-trophy"
></i>
<span
style=
"margin-left: 5px"
>
发表成就奖论文情况
</span>
</div>
<el-table
:data=
"tableForthData"
border
>
<el-table-column
align=
"center"
fixed
type=
"index"
label=
"序号"
>
<el-table
:data=
"tableForthData"
border
>
<el-table-column
align=
"center"
fixed
type=
"index"
label=
"序号"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"name"
label=
"获奖名称"
>
<el-table-column
align=
"center"
prop=
"name"
label=
"获奖名称"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"address"
label=
"获奖时间"
>
<el-table-column
align=
"center"
prop=
"address"
label=
"获奖时间"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"address"
label=
"获奖等级"
>
<el-table-column
align=
"center"
prop=
"address"
label=
"获奖等级"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"address"
label=
"发证机关"
>
<el-table-column
align=
"center"
prop=
"address"
label=
"发证机关"
>
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
>
<el-table-column
align=
"center"
label=
"附件"
>
<
template
slot-scope=
"scope"
>
<el-link
type=
"success"
href=
""
></el-link>
</
template
>
...
...
@@ -290,16 +317,33 @@
</el-table>
</div>
</div>
</div>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
{
addTeacherNotice
,
//添加任务
listTeacherNotice
,
// 任务列表
infoTeaNotice
,
//任务详情
updateTask
,
//添加修改
infoTeacherNotice
,
//发布任务
taskRetracted
,
//任务撤回
taskCompleted
,
//任务完成
delTaskInfo
,
//任务删除
getteacherNotice
,
// 通知下档案查看|数据维护
getNoticeInfo
,
//老师查看档案详情
getDepInfo
,
//级部查看档案详情
getFileTnfo
,
//查看档案详情
syncNotice
,
//同步档案
updateInfo
,
//教师档案修改
delInfo
,
//教师档案删除
fileSubReview
,
//教师档案提交审核
fileSubApproved
,
//教师档案提交通过
fileSubRejected
,
//教师档案提交驳回
}
from
"@/api/smartSchool/teacherFiles/teacherElectronicFile"
;
export
default
{
name
:
"personElectronicRecord"
,
data
()
{
...
...
@@ -309,30 +353,20 @@ export default {
// 总条数
total
:
0
,
queryForm
:
{
level
:
''
,
name
:
''
,
region
:
''
pageNum
:
1
,
pageSize
:
10
,
noticeName
:
""
,
},
tableData
:
[{
schoolYear
:
'2022学年上学期'
,
level
:
'2022级部'
,
name
:
'张三'
,
IDNum
:
'121212121212121212'
,
schedule
:
'未填写'
}],
tableData
:
[],
dialogVisible
:
false
,
form
:
{},
status
:
this
.
$route
.
query
.
status
,
dialogTableData
:
[{
level
:
'2022'
,
name
:
'李四'
,
ID
:
'12121212121212'
}],
dialogTableData
:
[],
check
:
false
,
//弹窗表单
dialogForm
:
{},
//弹窗标题
title
:
''
,
title
:
""
,
//弹窗表格1
tableFirstData
:
[],
//弹窗表格2
...
...
@@ -340,64 +374,60 @@ export default {
//弹窗表格3
tableThirdData
:
[],
//弹窗表格4
tableForthData
:
[]
}
tableForthData
:
[]
,
}
;
},
mounted
()
{
console
.
log
(
'id'
,
this
.
$route
.
query
.
id
)
console
.
log
(
'status'
,
this
.
status
)
console
.
log
(
"id"
,
this
.
$route
.
query
.
id
);
console
.
log
(
"status"
,
this
.
status
);
this
.
getList
();
},
methods
:
{
/** 查询信息列表 */
getList
()
{
this
.
loading
=
true
;
//接口
// listUser(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
// this.userList = response.rows;
// this.total = response.total;
// this.loading = false;
// }
listTeacherNotice
(
this
.
queryForm
).
then
((
res
)
=>
{
console
.
log
(
this
.
queryForm
,
"getListquery"
);
console
.
log
(
res
,
"res"
);
this
.
total
=
res
.
total
;
});
},
// 搜索按钮
handleQuery
()
{
this
.
queryParams
.
pageNum
=
1
;
this
.
getList
()
this
.
getList
()
;
},
// 重置按钮
resetQuery
()
{
this
.
queryForm
=
{
pageNum
:
1
,
pageSize
:
10
,
level
:
''
,
name
:
''
,
region
:
''
}
this
.
handleQuery
()
level
:
""
,
name
:
""
,
region
:
""
,
}
;
this
.
handleQuery
()
;
},
//查看按钮
handleCheck
(
row
)
{
this
.
check
=
true
this
.
title
=
'基本信息查看'
this
.
dialogVisible
=
true
this
.
check
=
true
;
this
.
title
=
"基本信息查看"
;
this
.
dialogVisible
=
true
;
},
//填写按钮
handleEdit
(
row
)
{
this
.
check
=
false
this
.
title
=
'基本信息修改'
this
.
dialogVisible
=
true
this
.
check
=
false
;
this
.
title
=
"基本信息修改"
;
this
.
dialogVisible
=
true
;
},
//提交按钮
handleSubmit
(
row
)
{
},
handleSubmit
(
row
)
{},
//弹窗确定按钮
confirmDialog
()
{
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
;
},
}
}
}
,
}
;
</
script
>
<
style
scoped
>
...
...
@@ -432,7 +462,5 @@ export default {
padding-left
:
10px
;
font-size
:
16px
;
vertical-align
:
middle
;
}
</
style
>
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/index.vue
View file @
85807a4a
...
...
@@ -16,7 +16,7 @@
<el-select
v-model=
"queryForm.noticeState"
placeholder=
"请选择任务状态"
>
<el-option
label=
"未发布"
value=
"1"
></el-option>
<el-option
label=
"已发布"
value=
"2"
></el-option>
<el-option
label=
"已结束"
value=
"
3
"
></el-option>
<el-option
label=
"已结束"
value=
"
7
"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
@@ -107,7 +107,13 @@
>
<template
slot-scope=
"
{ row }">
{{
row
.
noticeState
==
1
?
"未发布"
:
2
?
"已发布"
:
3
?
"已结束"
:
""
row
.
noticeState
==
1
?
"未发布"
:
row
.
noticeState
==
2
?
"已发布"
:
row
.
noticeState
==
7
?
"已发布"
:
""
}}
</
template
>
</el-table-column>
...
...
@@ -142,16 +148,19 @@
</el-button>
</div>
<div>
<!-- v-if="scope.row.noticeState == '2'" -->
<el-button
size=
"mini"
type=
"text"
@
click=
"dataReceiver(scope.row)"
<el-button
v-if=
"scope.row.noticeState == '2'"
size=
"mini"
type=
"text"
@
click=
"dataReceiver(scope.row)"
>
数据接收人员
</el-button>
<el-button
v-if=
"scope.row.noticeState == '2'"
size=
"mini"
type=
"text"
@
click=
"dataMaintenance(scope.row)"
>
数据维护
<!-- v-if="scope.row.noticeState == '2'" -->
</el-button>
<el-button
v-if=
"scope.row.noticeState == '2'"
...
...
@@ -177,21 +186,21 @@
</div>
<div>
<el-button
v-if=
"scope.row.noticeState == '
3
'"
v-if=
"scope.row.noticeState == '
7
'"
size=
"mini"
type=
"text"
@
click=
"dataReceiver(scope.row)"
>
数据接收人员
</el-button>
<el-button
v-if=
"scope.row.noticeState == '
3
'"
v-if=
"scope.row.noticeState == '
7
'"
size=
"mini"
type=
"text"
@
click=
"dataMaintenance(scope.row)"
>
数据查看
</el-button>
<el-button
v-if=
"scope.row.noticeState == '
3
'"
v-if=
"scope.row.noticeState == '
7
'"
size=
"mini"
type=
"text"
@
click=
"handleExport(scope.row)"
...
...
@@ -272,13 +281,24 @@
<
script
>
import
{
listTeacherNotice
,
// 通知列表
addTeacherNotice
,
// 添加通知
infoTeacherNotice
,
// 信息发布
addTeacherNotice
,
//添加任务
listTeacherNotice
,
// 任务列表
infoTeaNotice
,
//任务详情
updateTask
,
//添加修改
infoTeacherNotice
,
//发布任务
taskRetracted
,
//任务撤回
taskCompleted
,
//任务完成
delTaskInfo
,
//任务删除
getteacherNotice
,
// 通知下档案查看|数据维护
getNoticeInfo
,
//查看档案详情//查看档案详情
syncNotice
,
// 同步档案
getDepInfo
,
//级部查询列表
getNoticeInfo
,
//老师查看档案详情
getDepInfo
,
//级部查看档案详情
getFileTnfo
,
//查看档案详情
syncNotice
,
//同步档案
updateInfo
,
//教师档案修改
delInfo
,
//教师档案删除
fileSubReview
,
//教师档案提交审核
fileSubApproved
,
//教师档案提交通过
fileSubRejected
,
//教师档案提交驳回
}
from
"@/api/smartSchool/teacherFiles/teacherElectronicFile"
;
import
{
format
}
from
"@/utils/activiti/myUtil.js"
;
export
default
{
...
...
@@ -309,6 +329,7 @@ export default {
// 弹窗标题
title
:
""
,
form
:
{
noticeYear
:
""
,
noticeSemester
:
""
,
noticeRange
:
"全体教师"
,
startTime
:
""
,
...
...
@@ -374,11 +395,30 @@ export default {
this
.
dialogVisible
=
true
;
},
//弹窗确定按钮
confirmDialog
()
{
addTeacherNotice
(
this
.
form
).
then
((
res
)
=>
{
console
.
log
(
res
,
"弹窗确定"
);
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
// 修改
updateTask
(
this
.
form
)
.
then
((
response
)
=>
{
this
.
getList
();
this
.
$message
.
success
(
"修改成功"
);
this
.
dialogVisible
=
false
;
})
.
catch
((
err
)
=>
{});
}
else
{
// 新增
addTeacherNotice
(
this
.
form
)
.
then
((
response
)
=>
{
this
.
getList
();
this
.
$message
.
success
(
"新增成功"
);
this
.
dialogVisible
=
false
;
})
.
catch
((
err
)
=>
{});
}
}
});
},
//多选删除按钮
...
...
@@ -388,25 +428,39 @@ export default {
},
//修改按钮
handleEdit
(
row
)
{
console
.
log
(
row
,
"row1"
);
this
.
title
=
"修改任务"
;
this
.
dialogVisible
=
true
;
this
.
form
=
row
;
},
// 删除按钮
handleDelete
(
row
)
{},
handleDelete
(
row
)
{
const
ids
=
row
.
id
;
this
.
$modal
.
confirm
(
"是否确认删除?"
)
.
then
(
function
()
{
return
delTaskInfo
(
ids
);
})
.
then
(()
=>
{
this
.
getList
();
this
.
$modal
.
msgSuccess
(
"删除成功"
);
})
.
catch
(()
=>
{});
},
// 发布按钮
handlePublish
(
row
)
{
this
.
$modal
.
confirm
(
"是否
确认发布此信息
?"
)
.
then
(
()
=>
{
.
confirm
(
"是否
发布该活动
?"
)
.
then
(
function
()
{
return
infoTeacherNotice
(
row
.
id
);
console
.
log
(
row
,
"发布按钮"
);
})
.
then
(()
=>
{
this
.
getList
();
this
.
$modal
.
msgSuccess
(
"发布成功"
);
})
.
catch
((
e
xception
)
=>
{
throw
new
Error
(
exception
);
.
catch
((
e
rr
)
=>
{
console
.
error
(
err
);
});
},
// 数据接收人员按钮
...
...
@@ -442,11 +496,46 @@ export default {
console
.
log
(
pageSize
,
"数据维护按钮size"
);
},
// 导出按钮
handleExport
(
row
)
{},
handleExport
(
row
)
{
// this.download(`/artExam/exportAddress/${this.examId}`, {
// ...this.queryParams
// }, `教师电子档案${Date.now()}.xlsx`)
},
// 撤回按钮
handleRevocation
(
row
)
{},
handleRevocation
(
row
)
{
// taskRetracted
this
.
$modal
.
confirm
(
"是否撤回该活动?"
)
.
then
(
function
()
{
return
taskRetracted
(
row
.
id
);
console
.
log
(
row
,
"撤回按钮"
);
})
.
then
(()
=>
{
this
.
getList
();
this
.
$modal
.
msgSuccess
(
"撤回成功"
);
})
.
catch
((
err
)
=>
{
console
.
error
(
err
);
});
},
// 结束按钮
handleFinish
(
row
)
{},
handleFinish
(
row
)
{
// taskCompleted
this
.
$modal
.
confirm
(
"是否结束该活动?"
)
.
then
(
function
()
{
return
taskCompleted
(
row
.
id
);
console
.
log
(
row
,
"结束按钮"
);
})
.
then
(()
=>
{
this
.
getList
();
this
.
$modal
.
msgSuccess
(
"任务结束"
);
})
.
catch
((
err
)
=>
{
console
.
error
(
err
);
});
},
},
};
</
script
>
...
...
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