Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_zhxy
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_zhxy
Commits
f57ca13a
Commit
f57ca13a
authored
Jan 05, 2024
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公文流转修改 1.5
parent
09b589fb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1837 additions
and
922 deletions
+1837
-922
src/router/index.js
+938
-856
src/service/home.js
+123
-66
src/views/teacher/moveMent/InitiateAction.vue
+275
-0
src/views/teacher/moveMent/index.vue
+178
-0
src/views/teacher/moveMent/readOver.vue
+323
-0
No files found.
src/router/index.js
View file @
f57ca13a
import
{
createRouter
,
createWebHashHistory
,
createWebHistory
}
from
"vue-router"
;
import
{
Toast
}
from
"vant"
;
import
{
createRouter
,
createWebHashHistory
,
createWebHistory
,
}
from
"vue-router"
;
import
{
Toast
}
from
"vant"
;
// createWebHistory
const
routes
=
[
/* 正常登录 */
// {
// path: "",
// name: "login",
// component: () => import("../views/login/login.vue"),
// children: [
// {
// path: "login",
// name: "login",
// component: () => import("../views/login/login.vue"),
// meta: {
// requireAuth: true,
// },
// },
// ],
// },
/* 钉钉免登陆 */
{
path
:
""
,
/* 正常登录 */
// {
// path: "",
// name: "login",
// component: () => import("../views/login/login.vue"),
// children: [
// {
// path: "login",
// name: "login",
// component: () => import("../views/login/login.vue"),
// meta: {
// requireAuth: true,
// },
// },
// ],
// },
/* 钉钉免登陆 */
{
path
:
""
,
name
:
"dd"
,
component
:
()
=>
import
(
"../views/dd.vue"
),
children
:
[
{
path
:
"dd"
,
name
:
"dd"
,
component
:
()
=>
import
(
"../views/dd.vue"
),
children
:
[
{
path
:
"dd"
,
name
:
"dd"
,
component
:
()
=>
import
(
"../views/dd.vue"
),
meta
:
{
requireAuth
:
true
,
},
},
],
},
// {
// path: "/dd",
// name: "dd",
// component: () => import("../views/dd.vue"),
// meta: {
// requireAuth: true,
// },
// },
/* 不用钉钉登录时 */
{
path
:
"/login"
,
name
:
"login"
,
component
:
()
=>
import
(
"../views/login/login.vue"
),
meta
:
{
requireAuth
:
true
,
requireAuth
:
true
,
},
},
/* 主页 */
{
path
:
"/main"
,
name
:
"main"
,
// children: [
// {
// path: "main",
// name: "Main",
// component: () => import("../views/tabbar/main/index.vue"),
// meta: {
// requireAuth: true,
// },
// },
// ],
component
:
()
=>
import
(
"../views/tabbar/main/index.vue"
),
},
/* 个人信息 */
{
path
:
"/personInfo"
,
name
:
"PersonInfo"
,
component
:
()
=>
import
(
"../views/tabbar/PersonInfo.vue"
),
},
/* 考试成绩*/
{
path
:
"/achievement"
,
name
:
"Achievement"
,
component
:
()
=>
import
(
"../views/parent/achievement.vue"
),
},
/* 考试列表 教师端*/
{
path
:
"/exlisttec"
,
name
:
"Exlisttec"
,
component
:
()
=>
import
(
"../views/teacher/exlisttec.vue"
),
},
/* 考试成绩 教师端*/
{
path
:
"/achievementtec"
,
name
:
"Achievementtec"
,
component
:
()
=>
import
(
"../views/teacher/achievementtec.vue"
),
},
/* 考试列表*/
{
path
:
"/exlist"
,
name
:
"Exlist"
,
component
:
()
=>
import
(
"../views/parent/exlist.vue"
),
},
},
],
},
// {
// path: "/dd",
// name: "dd",
// component: () => import("../views/dd.vue"),
// meta: {
// requireAuth: true,
// },
// },
/* 不用钉钉登录时 */
{
path
:
"/login"
,
name
:
"login"
,
component
:
()
=>
import
(
"../views/login/login.vue"
),
meta
:
{
requireAuth
:
true
,
},
},
/* 主页 */
{
path
:
"/main"
,
name
:
"main"
,
// children: [
// {
// path: "main",
// name: "Main",
// component: () => import("../views/tabbar/main/index.vue"),
// meta: {
// requireAuth: true,
// },
// },
// ],
component
:
()
=>
import
(
"../views/tabbar/main/index.vue"
),
},
/* 个人信息 */
{
path
:
"/personInfo"
,
name
:
"PersonInfo"
,
component
:
()
=>
import
(
"../views/tabbar/PersonInfo.vue"
),
},
/* 考试成绩*/
{
path
:
"/achievement"
,
name
:
"Achievement"
,
component
:
()
=>
import
(
"../views/parent/achievement.vue"
),
},
/* 考试列表 教师端*/
{
path
:
"/exlisttec"
,
name
:
"Exlisttec"
,
component
:
()
=>
import
(
"../views/teacher/exlisttec.vue"
),
},
/* 校历
*/
{
path
:
"/Calendar
"
,
name
:
"Calendar
"
,
component
:
()
=>
import
(
"../views/public/Calendar
.vue"
),
},
/* 个人信息 老师
*/
{
path
:
"/teacherInfo
"
,
name
:
"TeacherInfo
"
,
component
:
()
=>
import
(
"../views/tabbar/TeacherInfo
.vue"
),
},
/* 考试成绩 教师端
*/
{
path
:
"/achievementtec
"
,
name
:
"Achievementtec
"
,
component
:
()
=>
import
(
"../views/teacher/achievementtec
.vue"
),
},
/* 考试列表
*/
{
path
:
"/exlist
"
,
name
:
"Exlist
"
,
component
:
()
=>
import
(
"../views/parent/exlist
.vue"
),
},
/* 问卷调查列表 */
{
path
:
"/questionnairelist"
,
name
:
"questionnairelist"
,
component
:
()
=>
import
(
"../views/public/questionnaire/questionnairelist.vue"
),
},
/* 问卷调查详情 */
{
path
:
"/questionnairedetail"
,
name
:
"questionnairedetail"
,
component
:
()
=>
import
(
"../views/public/questionnaire/questionnairedetail.vue"
),
},
/* 校历*/
{
path
:
"/Calendar"
,
name
:
"Calendar"
,
component
:
()
=>
import
(
"../views/public/Calendar.vue"
),
},
/* 个人信息 老师*/
{
path
:
"/teacherInfo"
,
name
:
"TeacherInfo"
,
component
:
()
=>
import
(
"../views/tabbar/TeacherInfo.vue"
),
},
/* 问卷调查列表 */
{
path
:
"/questionnairelist"
,
name
:
"questionnairelist"
,
component
:
()
=>
import
(
"../views/public/questionnaire/questionnairelist.vue"
),
},
/* 问卷调查详情 */
{
path
:
"/questionnairedetail"
,
name
:
"questionnairedetail"
,
component
:
()
=>
import
(
"../views/public/questionnaire/questionnairedetail.vue"
),
},
/* 学生请假 */
{
path
:
"/studentLeave"
,
name
:
"StudentLeave"
,
component
:
()
=>
import
(
"../views/parent/leave.vue"
),
},
/* 学生请假 */
{
path
:
"/studentLeave"
,
name
:
"StudentLeave"
,
component
:
()
=>
import
(
"../views/parent/leave.vue"
),
},
/* 学生请假 */
{
path
:
"/studentLeavetask"
,
name
:
"studentLeavetask"
,
component
:
()
=>
import
(
"../views/parent/studentLeavexj.vue"
),
},
/* 学生请假详情 */
{
path
:
"/studentLeavedetail"
,
name
:
"studentLeavedetail"
,
component
:
()
=>
import
(
"../views/parent/leavedetail.vue"
),
// meta: { keepAlive: true }, //需要缓存的页面 }
},
/* 学生请假 */
{
path
:
"/studentLeavetask"
,
name
:
"studentLeavetask"
,
component
:
()
=>
import
(
"../views/parent/studentLeavexj.vue"
),
},
/* 学生请假详情 */
{
path
:
"/studentLeavedetail"
,
name
:
"studentLeavedetail"
,
component
:
()
=>
import
(
"../views/parent/leavedetail.vue"
),
// meta: { keepAlive: true }, //需要缓存的页面 }
},
{
path
:
"/studentLeave/detail/:id"
,
name
:
"LeaveDetail"
,
component
:
()
=>
import
(
"../views/parent/LeaveProcess.vue"
),
},
{
path
:
"/studentLeave/detail/:id"
,
name
:
"LeaveDetail"
,
component
:
()
=>
import
(
"../views/parent/LeaveProcess.vue"
),
},
/* 老师请假请假详情 */
{
path
:
"/teacherLeave"
,
name
:
"teacherLeave"
,
component
:
()
=>
import
(
"../views/teacher/leave.vue"
),
},
/* 老师请假请假详情 */
{
path
:
"/teacherLeave"
,
name
:
"teacherLeave"
,
component
:
()
=>
import
(
"../views/teacher/leave.vue"
),
},
// /* 人物查询 */
// {
// path: "/seachName",
// name: "seachName",
// component: () => import("../views/public/seachName.vue"),
// },
/* 冬夏时令 */
{
path
:
"/time"
,
name
:
"time"
,
component
:
()
=>
import
(
"../views/public/time.vue"
),
},
/* 学生请假 申请页 */
{
path
:
"/studentLeaveApply"
,
name
:
"StudentLeaveApply"
,
component
:
()
=>
import
(
"../views/parent/StudentLeaveApply.vue"
),
},
/* 校园介绍 */
{
path
:
"/gardenIntr"
,
name
:
"GardenIntr"
,
component
:
()
=>
import
(
"../views/tabbar/GardenIntr.vue"
),
},
/* 每日食谱 */
{
path
:
"/everydayFood"
,
name
:
"EverydayFood"
,
component
:
()
=>
import
(
"../views/EverydayFood.vue"
),
},
/* 消息通知 */
{
path
:
"/messageNotice"
,
name
:
"MessageNotice"
,
component
:
()
=>
import
(
"../views/MessageNotice.vue"
),
},
/* 消息通知 详情 */
{
path
:
"/messageNoticeDetail"
,
name
:
"MessageNoticeDetail"
,
component
:
()
=>
import
(
"../views/MessageNoticeDetail.vue"
),
},
/* 德育 */
{
path
:
"/moralEducation"
,
name
:
"moralEducation"
,
component
:
()
=>
import
(
"../views/parent/moralEducation/index.vue"
),
},
/* 学生德育详情 */
{
path
:
"/moralEducationDetail"
,
name
:
"moralEducationDetail"
,
component
:
()
=>
import
(
"../views/parent/moralEducation/detail.vue"
),
},
/* 教师列表页 家长端 */
{
path
:
"/teacherList"
,
name
:
"TeacherList"
,
component
:
()
=>
import
(
"../views/parent/TeacherList.vue"
),
},
/* 学生选课 家长端 */
{
path
:
"/studentCourseSelection"
,
name
:
"studentCourseSelection"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/index"
),
},
/* 学生选课 选课列表 */
{
path
:
"/courseList"
,
name
:
"courseList"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/courseList"
),
},
/* 学生选课 家长端 超过日期页面 */
{
path
:
"/studentCourse"
,
name
:
"studentCourse"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/checkCourse"
),
},
/* 学生选课 家长端 学科成绩 */
{
path
:
"/subjectAchievement"
,
name
:
"subjectAchievement"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/subjectAchievement"
),
},
/* 学校社团 家长端 */
{
path
:
"/schoolClub"
,
name
:
"schoolClub"
,
component
:
()
=>
import
(
"../views/parent/schoolClub/index"
),
},
/* 学校社团-查看社团详情 家长端 */
{
path
:
"/schoolClub/clubDetail"
,
name
:
"clubDetail"
,
component
:
()
=>
import
(
"../views/parent/schoolClub/clueDetail"
),
},
/* 学校社团-查看社团详情 家长端 */
{
path
:
"/schoolClub/clubDetail/clubApply"
,
name
:
"clubApply"
,
component
:
()
=>
import
(
"../views/parent/schoolClub/clubApply"
),
},
/* 学生选课 家长端 成绩查看 */
{
path
:
"/totalScoreView"
,
name
:
"totalScoreView"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/totalScoreView"
),
},
/* 教师列表页 教师端的 可以查看所有教师 */
{
path
:
"/teacherListTeac"
,
name
:
"TeacherListTeac"
,
component
:
()
=>
import
(
"../views/teacher/TeacherListTeac.vue"
),
},
// /* 课程表 */
// {
// path: "/gradeSchedule",
// name: "GradeSchedule",
// component: () => import("../views/tabbar/GradeSchedule.vue"),
// },
/* 课程表 */
{
path
:
"/gradeSchedule"
,
name
:
"GradeSchedule"
,
component
:
()
=>
import
(
"../views/tabbar/lesson.vue"
),
},
/* 课程表 学生1111111111 */
{
path
:
"/lesson"
,
name
:
"lesson"
,
component
:
()
=>
import
(
"../views/tabbar/lesson.vue"
),
},
/* 班级列表页 */
{
path
:
"/gradeList"
,
name
:
"GradeList"
,
component
:
()
=>
import
(
"../views/parent/GradeList.vue"
),
},
/* 班级列表页 教师端 */
{
path
:
"/gradeListTeac"
,
name
:
"GradeListTeac"
,
component
:
()
=>
import
(
"../views/teacher/GradeListTeac.vue"
),
},
/* 学生考勤页 */
{
path
:
"/attendance"
,
name
:
"Attendance"
,
component
:
()
=>
import
(
"../views/Attendance.vue"
),
},
{
path
:
"/courseSele"
,
name
:
"courseSele"
,
component
:
()
=>
import
(
"../views/parent/courseSele.vue"
),
},
// 综合素质
{
path
:
"/qualitylist"
,
name
:
"qualitylist"
,
component
:
()
=>
import
(
"../views/parent/qualitylist.vue"
),
},
/* 教师工资 */
{
path
:
"/wagesdetail"
,
name
:
"WageList"
,
component
:
()
=>
import
(
"../views/teacher/wagesdetail.vue"
),
},
{
path
:
"/wagesdetail/info/:id"
,
name
:
"WageDetail"
,
component
:
()
=>
import
(
"../views/teacher/wagesDetails/WageDetail.vue"
),
},
//值班
{
path
:
"/dutylist"
,
name
:
"dutylist"
,
component
:
()
=>
import
(
"../views/teacher/Dutytable/list.vue"
),
},
{
path
:
"/dutydetail"
,
name
:
"Dutydetail"
,
component
:
()
=>
import
(
"../views/teacher/Dutytable/detail.vue"
),
},
{
path
:
"/dutydetailh"
,
name
:
"Dutydetailh"
,
component
:
()
=>
import
(
"../views/teacher/Dutytable/detailh.vue"
),
},
{
path
:
"/overworklist"
,
name
:
"overworklist"
,
component
:
()
=>
import
(
"../views/teacher/overwork/list.vue"
),
},
{
path
:
"/overworkdetail"
,
name
:
"overworkdetail"
,
component
:
()
=>
import
(
"../views/teacher/overwork/detail.vue"
),
},
{
path
:
"/overworkapply"
,
name
:
"overworkapply"
,
component
:
()
=>
import
(
"../views/teacher/overwork/Apply.vue"
),
},
{
path
:
"/patrollist"
,
name
:
"patrollist"
,
component
:
()
=>
import
(
"../views/teacher/patrol/list.vue"
),
},
{
path
:
"/patroldetail"
,
name
:
"patroldetail"
,
component
:
()
=>
import
(
"../views/teacher/patrol/detail.vue"
),
},
{
path
:
"/task"
,
name
:
"task"
,
component
:
()
=>
import
(
"../views/teacher/task/index.vue"
),
},
{
path
:
"/taskleave"
,
name
:
"taskleave"
,
component
:
()
=>
import
(
"../views/teacher/task/leavedetail.vue"
),
},
/* 教师考勤 */
{
path
:
"/attendance"
,
name
:
"Attendance"
,
redirect
:
"/attendance/sign"
,
component
:
()
=>
import
(
"../views/teacher/attendance/Attendance.vue"
),
children
:
[
{
path
:
"sign"
,
name
:
"Sign"
,
component
:
()
=>
import
(
"../views/teacher/attendance/Sign.vue"
),
},
{
path
:
"history"
,
name
:
"History"
,
component
:
()
=>
import
(
"../views/teacher/attendance/History.vue"
),
},
],
},
{
path
:
"/attendancelist"
,
name
:
"attendancelist"
,
component
:
()
=>
import
(
"../views/teacher/attendance/list.vue"
),
},
{
path
:
"/attendanceHistory"
,
name
:
"attendanceHistory"
,
// /* 人物查询 */
// {
// path: "/seachName",
// name: "seachName",
// component: () => import("../views/public/seachName.vue"),
// },
/* 冬夏时令 */
{
path
:
"/time"
,
name
:
"time"
,
component
:
()
=>
import
(
"../views/public/time.vue"
),
},
/* 学生请假 申请页 */
{
path
:
"/studentLeaveApply"
,
name
:
"StudentLeaveApply"
,
component
:
()
=>
import
(
"../views/parent/StudentLeaveApply.vue"
),
},
/* 校园介绍 */
{
path
:
"/gardenIntr"
,
name
:
"GardenIntr"
,
component
:
()
=>
import
(
"../views/tabbar/GardenIntr.vue"
),
},
/* 每日食谱 */
{
path
:
"/everydayFood"
,
name
:
"EverydayFood"
,
component
:
()
=>
import
(
"../views/EverydayFood.vue"
),
},
/* 消息通知 */
{
path
:
"/messageNotice"
,
name
:
"MessageNotice"
,
component
:
()
=>
import
(
"../views/MessageNotice.vue"
),
},
/* 消息通知 详情 */
{
path
:
"/messageNoticeDetail"
,
name
:
"MessageNoticeDetail"
,
component
:
()
=>
import
(
"../views/MessageNoticeDetail.vue"
),
},
/* 德育 */
{
path
:
"/moralEducation"
,
name
:
"moralEducation"
,
component
:
()
=>
import
(
"../views/parent/moralEducation/index.vue"
),
},
/* 学生德育详情 */
{
path
:
"/moralEducationDetail"
,
name
:
"moralEducationDetail"
,
component
:
()
=>
import
(
"../views/parent/moralEducation/detail.vue"
),
},
/* 教师列表页 家长端 */
{
path
:
"/teacherList"
,
name
:
"TeacherList"
,
component
:
()
=>
import
(
"../views/parent/TeacherList.vue"
),
},
/* 学生选课 家长端 */
{
path
:
"/studentCourseSelection"
,
name
:
"studentCourseSelection"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/index"
),
},
/* 学生选课 选课列表 */
{
path
:
"/courseList"
,
name
:
"courseList"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/courseList"
),
},
/* 学生选课 家长端 超过日期页面 */
{
path
:
"/studentCourse"
,
name
:
"studentCourse"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/checkCourse"
),
},
/* 学生选课 家长端 学科成绩 */
{
path
:
"/subjectAchievement"
,
name
:
"subjectAchievement"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/subjectAchievement"
),
},
/* 学校社团 家长端 */
{
path
:
"/schoolClub"
,
name
:
"schoolClub"
,
component
:
()
=>
import
(
"../views/parent/schoolClub/index"
),
},
/* 学校社团-查看社团详情 家长端 */
{
path
:
"/schoolClub/clubDetail"
,
name
:
"clubDetail"
,
component
:
()
=>
import
(
"../views/parent/schoolClub/clueDetail"
),
},
/* 学校社团-查看社团详情 家长端 */
{
path
:
"/schoolClub/clubDetail/clubApply"
,
name
:
"clubApply"
,
component
:
()
=>
import
(
"../views/parent/schoolClub/clubApply"
),
},
/* 学生选课 家长端 成绩查看 */
{
path
:
"/totalScoreView"
,
name
:
"totalScoreView"
,
component
:
()
=>
import
(
"../views/parent/studentCourseSelection/totalScoreView"
),
},
/* 教师列表页 教师端的 可以查看所有教师 */
{
path
:
"/teacherListTeac"
,
name
:
"TeacherListTeac"
,
component
:
()
=>
import
(
"../views/teacher/TeacherListTeac.vue"
),
},
// /* 课程表 */
// {
// path: "/gradeSchedule",
// name: "GradeSchedule",
// component: () => import("../views/tabbar/GradeSchedule.vue"),
// },
/* 课程表 */
{
path
:
"/gradeSchedule"
,
name
:
"GradeSchedule"
,
component
:
()
=>
import
(
"../views/tabbar/lesson.vue"
),
},
/* 课程表 学生1111111111 */
{
path
:
"/lesson"
,
name
:
"lesson"
,
component
:
()
=>
import
(
"../views/tabbar/lesson.vue"
),
},
/* 班级列表页 */
{
path
:
"/gradeList"
,
name
:
"GradeList"
,
component
:
()
=>
import
(
"../views/parent/GradeList.vue"
),
},
/* 班级列表页 教师端 */
{
path
:
"/gradeListTeac"
,
name
:
"GradeListTeac"
,
component
:
()
=>
import
(
"../views/teacher/GradeListTeac.vue"
),
},
/* 学生考勤页 */
{
path
:
"/attendance"
,
name
:
"Attendance"
,
component
:
()
=>
import
(
"../views/Attendance.vue"
),
},
{
path
:
"/courseSele"
,
name
:
"courseSele"
,
component
:
()
=>
import
(
"../views/parent/courseSele.vue"
),
},
// 综合素质
{
path
:
"/qualitylist"
,
name
:
"qualitylist"
,
component
:
()
=>
import
(
"../views/parent/qualitylist.vue"
),
},
/* 教师工资 */
{
path
:
"/wagesdetail"
,
name
:
"WageList"
,
component
:
()
=>
import
(
"../views/teacher/wagesdetail.vue"
),
},
{
path
:
"/wagesdetail/info/:id"
,
name
:
"WageDetail"
,
component
:
()
=>
import
(
"../views/teacher/wagesDetails/WageDetail.vue"
),
},
//值班
{
path
:
"/dutylist"
,
name
:
"dutylist"
,
component
:
()
=>
import
(
"../views/teacher/Dutytable/list.vue"
),
},
{
path
:
"/dutydetail"
,
name
:
"Dutydetail"
,
component
:
()
=>
import
(
"../views/teacher/Dutytable/detail.vue"
),
},
{
path
:
"/dutydetailh"
,
name
:
"Dutydetailh"
,
component
:
()
=>
import
(
"../views/teacher/Dutytable/detailh.vue"
),
},
{
path
:
"/overworklist"
,
name
:
"overworklist"
,
component
:
()
=>
import
(
"../views/teacher/overwork/list.vue"
),
},
{
path
:
"/overworkdetail"
,
name
:
"overworkdetail"
,
component
:
()
=>
import
(
"../views/teacher/overwork/detail.vue"
),
},
{
path
:
"/overworkapply"
,
name
:
"overworkapply"
,
component
:
()
=>
import
(
"../views/teacher/overwork/Apply.vue"
),
},
{
path
:
"/patrollist"
,
name
:
"patrollist"
,
component
:
()
=>
import
(
"../views/teacher/patrol/list.vue"
),
},
{
path
:
"/patroldetail"
,
name
:
"patroldetail"
,
component
:
()
=>
import
(
"../views/teacher/patrol/detail.vue"
),
},
{
path
:
"/task"
,
name
:
"task"
,
component
:
()
=>
import
(
"../views/teacher/task/index.vue"
),
},
{
path
:
"/taskleave"
,
name
:
"taskleave"
,
component
:
()
=>
import
(
"../views/teacher/task/leavedetail.vue"
),
},
/* 教师考勤 */
{
path
:
"/attendance"
,
name
:
"Attendance"
,
redirect
:
"/attendance/sign"
,
component
:
()
=>
import
(
"../views/teacher/attendance/Attendance.vue"
),
children
:
[
{
path
:
"sign"
,
name
:
"Sign"
,
component
:
()
=>
import
(
"../views/teacher/attendance/Sign.vue"
),
},
{
path
:
"history"
,
name
:
"History"
,
component
:
()
=>
import
(
"../views/teacher/attendance/History.vue"
),
},
{
path
:
"/attendancedetail"
,
name
:
"attendancedetail"
,
component
:
()
=>
import
(
"../views/teacher/attendance/detail.vue"
),
},
/* 场地申请 */
{
path
:
"/area"
,
name
:
"area"
,
component
:
()
=>
import
(
"../views/areaApply/list"
),
},
{
path
:
"/areaDetail"
,
name
:
"areaDetail"
,
component
:
()
=>
import
(
"../views/areaApply/detail"
),
},
{
path
:
"/areaApply"
,
name
:
"areaApply"
,
component
:
()
=>
import
(
"../views/areaApply/apply"
),
},
{
path
:
"/askForLeaveapply"
,
name
:
"askForLeaveapply"
,
component
:
()
=>
import
(
"../views/teacher/askForLeave/apply"
),
},
{
path
:
"/askForLeavealist"
,
name
:
"askForLeavelist"
,
component
:
()
=>
import
(
"../views/teacher/askForLeave/list"
),
},
{
path
:
"/askForLeavedetail"
,
name
:
"askForLeavedetail"
,
component
:
()
=>
import
(
"../views/teacher/askForLeave/detail"
),
},
{
path
:
"/lessonall"
,
name
:
"lessonall"
,
component
:
()
=>
import
(
"../views/teacher/lesson/all"
),
},
{
path
:
"/lessonmy"
,
name
:
"lessonmy"
,
component
:
()
=>
import
(
"../views/teacher/lesson/my"
),
},
{
path
:
"/SchoolTeacherAward"
,
name
:
"SchoolTeacherAward"
,
component
:
()
=>
import
(
"../views/teacher/SchoolTeacherAward"
),
},
{
path
:
"/teacherResume"
,
name
:
"teacherResume"
,
component
:
()
=>
import
(
"../views/teacher/teacherResume"
),
},
//审批列表
{
path
:
"/approvalList"
,
name
:
"materialPurchase"
,
component
:
()
=>
import
(
"../views/teacher/approvalList/index.vue"
),
},
// 审批详情
{
path
:
"/approvalDetail"
,
name
:
"approvalDetail"
,
component
:
()
=>
import
(
"../views/teacher/approvalList/detail.vue"
),
},
// 审批详情
{
path
:
"/teacherLeaveDetail"
,
name
:
"teacherLeaveDetail"
,
component
:
()
=>
import
(
"../views/teacher/approvalList/detailqj.vue"
),
},
//我的领用
{
path
:
"/myUse"
,
name
:
"myUse"
,
component
:
()
=>
import
(
"../views/teacher/myUse/index.vue"
),
},
//修改密码
{
path
:
"/changePassword"
,
name
:
"changePassword"
,
component
:
()
=>
import
(
"../views/public/changePassword/index.vue"
),
},
//学生请假
{
path
:
"/stleavelist"
,
name
:
"stleavelist"
,
component
:
()
=>
import
(
"../views/parent/askForLeave/list.vue"
),
},
{
path
:
"/stleavedetail"
,
name
:
"stleavedetail"
,
component
:
()
=>
import
(
"../views/parent/askForLeave/detail.vue"
),
},
{
path
:
"/stspdetail"
,
name
:
"stspdetail"
,
component
:
()
=>
import
(
"../views/teacher/approvalList/detailqjst.vue"
),
},
{
path
:
"/stleaveapply"
,
name
:
"stleaveapply"
,
component
:
()
=>
import
(
"../views/parent/askForLeave/apply.vue"
),
},
{
path
:
"/infomationlist"
,
name
:
"infomationlist"
,
component
:
()
=>
import
(
"../views/parent/infomation/list.vue"
),
},
{
path
:
"/infomationdetail"
,
name
:
"infomationdetail"
,
component
:
()
=>
import
(
"../views/parent/infomation/detail.vue"
),
},
{
path
:
"/InforColl"
,
name
:
"InforColl"
,
component
:
()
=>
import
(
"../views/parent/InforCollection/index.vue"
),
},
{
path
:
"/InforColledit"
,
name
:
"InforColledit"
,
component
:
()
=>
import
(
"../views/parent/InforCollection/edit.vue"
),
},
{
path
:
"/InforCollapply"
,
name
:
"InforCollapply"
,
component
:
()
=>
import
(
"../views/parent/InforCollection/apply.vue"
),
},
},
],
},
{
path
:
"/attendancelist"
,
name
:
"attendancelist"
,
component
:
()
=>
import
(
"../views/teacher/attendance/list.vue"
),
},
{
path
:
"/attendanceHistory"
,
name
:
"attendanceHistory"
,
component
:
()
=>
import
(
"../views/teacher/attendance/History.vue"
),
},
{
path
:
"/attendancedetail"
,
name
:
"attendancedetail"
,
component
:
()
=>
import
(
"../views/teacher/attendance/detail.vue"
),
},
/* 场地申请 */
{
path
:
"/area"
,
name
:
"area"
,
component
:
()
=>
import
(
"../views/areaApply/list"
),
},
{
path
:
"/areaDetail"
,
name
:
"areaDetail"
,
component
:
()
=>
import
(
"../views/areaApply/detail"
),
},
{
path
:
"/areaApply"
,
name
:
"areaApply"
,
component
:
()
=>
import
(
"../views/areaApply/apply"
),
},
{
path
:
"/askForLeaveapply"
,
name
:
"askForLeaveapply"
,
component
:
()
=>
import
(
"../views/teacher/askForLeave/apply"
),
},
{
path
:
"/askForLeavealist"
,
name
:
"askForLeavelist"
,
component
:
()
=>
import
(
"../views/teacher/askForLeave/list"
),
},
{
path
:
"/askForLeavedetail"
,
name
:
"askForLeavedetail"
,
component
:
()
=>
import
(
"../views/teacher/askForLeave/detail"
),
},
/**
* Type:教师端
* Describe:后勤报修、校产管理
* Date:2023-08-08
**/
/* 后勤报修 */
{
path
:
"/logisticsRepair"
,
name
:
"logisticsRepair"
,
component
:
()
=>
import
(
"../views/teacher/logisticsRepair/index"
),
},
/* 后勤报修新增 */
{
path
:
"/addRepair"
,
name
:
"addRepair"
,
component
:
()
=>
import
(
"../views/teacher/logisticsRepair/addRepair"
),
},
/* 后勤报修查看 */
{
path
:
"/checkRepair"
,
name
:
"checkRepair"
,
component
:
()
=>
import
(
"../views/teacher/logisticsRepair/checkRepair"
),
},
/* 后勤报修反馈 */
{
path
:
"/feedbackRepair"
,
name
:
"feedbackRepair"
,
component
:
()
=>
import
(
"../views/teacher/logisticsRepair/feedbackRepair"
),
},
/** 校产管理 schoolProperty 管理员权限 教师权限 **/
// 管理员 首页
{
path
:
"/schoolProperty"
,
name
:
"adminIndex"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty"
),
},
// 管理员 物品借用列表页
{
path
:
"/schoolProperty/borrow"
,
name
:
"adminBorrowList"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/borrowList"
),
},
// 管理员 物品借用 新增、编辑、查看页面
{
path
:
"/schoolProperty/borrow/detail"
,
name
:
"adminBorrowDetail"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/borrowDetail"
),
},
// 管理员 归还列表页
{
path
:
"/schoolProperty/return"
,
name
:
"adminReturnList"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/returnList"
),
},
// 管理员 归还查看页
{
path
:
"/schoolProperty/return/detail"
,
name
:
"adminReturnDetail"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/returnDetail"
),
},
// 管理员 物品领用列表页
{
path
:
"/schoolProperty/use"
,
name
:
"adminUseList"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/useList"
),
},
// 管理员 物品领用 新增
{
path
:
"/schoolProperty/use/add"
,
name
:
"adminUseAdd"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/useAdd"
),
},
// 管理员 设备报修列表页
{
path
:
"/schoolProperty/device"
,
name
:
"adminDeviceList"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/deviceList"
),
},
// 管理员 设备维修列表页
{
path
:
"/schoolProperty/equipmentFix"
,
name
:
"equipmentFix"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/equipmentFix"
),
},
// 管理员 设备维修列表详情页
{
path
:
"/schoolProperty/equipmentFix/equipmentFixDetail"
,
name
:
"equipmentFixDetail"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/equipmentFixDetail"
),
},
// 设备报修新增、修改、查看、反馈页面
{
path
:
"/schoolProperty/device/info"
,
name
:
"deviceListInfo"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/deviceListInfo"
),
},
//扫码查看设备的详细信息
{
path
:
"/schoolProperty/equipmentInfo"
,
name
:
'equipmentInfo'
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/equipmentInfo"
),
{
path
:
"/lessonall"
,
name
:
"lessonall"
,
component
:
()
=>
import
(
"../views/teacher/lesson/all"
),
},
{
path
:
"/lessonmy"
,
name
:
"lessonmy"
,
component
:
()
=>
import
(
"../views/teacher/lesson/my"
),
},
},
/** 实验室管理 laboratoryManagement 管理员权限 教师权限 领导权限 级部权限 **/
{
path
:
"/laboratoryManagement"
,
name
:
'laboratoryManagement'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/index.vue"
),
},
//领导-实验室记录
{
path
:
"/laboratoryManagement/laboratoryRecord"
,
name
:
'laboratoryRecord'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/leader/laboratoryRecord"
),
},
//领导-实验室完成情况统计
{
path
:
"/laboratoryManagement/laboratoryCompleteStatistics"
,
name
:
'laboratoryCompleteStatistics'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/leader/laboratoryCompleteStatistics"
),
},
{
path
:
'/laboratoryManagement/laboratoryCompleteStatistics/checkComplete'
,
name
:
'checkComplete'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/leader/checkComplete"
),
},
// 实验室管理员 - 年级实验预约列表
{
path
:
'/laboratoryManagement/gradeLaboratory'
,
name
:
'gradeLaboratory'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/gradeLaboratory"
),
},
// 实验室管理员 - 年级实验预约列表查看
{
path
:
'/laboratoryManagement/gradeLaboratory/checkGradeComplete'
,
name
:
'checkGradeComplete'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/checkGradeComplete"
),
},
// 实验室管理员 - 教师实验室预约
{
path
:
'/laboratoryManagement/teacherLaboratory'
,
name
:
'teacherLaboratory'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/teacherLaboratory"
),
},
// 实验室管理员 - 教师实验室预约查看/申请审批
{
path
:
'/laboratoryManagement/teacherLaboratory/teacherLaboratoryApprove'
,
name
:
'teacherLaboratoryApprove'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/teacherLaboratoryApprove"
),
},
// 实验室管理员 - 个人实验审批
{
path
:
'/laboratoryManagement/personalLaboratoryApprove'
,
name
:
'personalLaboratoryApprove'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/personalLaboratoryApprove"
),
},
//级部申请-年级实验室预约
{
path
:
'/laboratoryManagement/gradeLaboratoryApprove'
,
name
:
'gradeLaboratoryApprove'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/gradeLaboratoryApprove"
),
},
//级部申请-年级实验室预约-新增/查看/修改
{
path
:
'/laboratoryManagement/gradeLaboratoryApprove/gradeLaboratoryDetail'
,
name
:
'gradeLaboratoryDetail'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/gradeLaboratoryDetail"
),
},
//级部申请-班级完成情况明细
{
path
:
'/laboratoryManagement/gradeLaboratoryComplete'
,
name
:
'gradeLaboratoryComplete'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/gradeLaboratoryComplete"
),
},
//级部申请-班级完成情况查看
{
path
:
'/laboratoryManagement/gradeLaboratoryComplete/checkGradeLaboratoryComplete'
,
name
:
'checkGradeLaboratoryComplete'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/checkGradeLaboratoryComplete"
),
},
//级部申请-实验室完成情况明细
{
path
:
'/laboratoryManagement/laboratoryCompleteDetail'
,
name
:
'laboratoryCompleteDetail'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/laboratoryCompleteDetail"
),
},
//级部申请-查看实验室完成情况
{
path
:
'/laboratoryManagement/laboratoryCompleteDetail/checkLaboratoryComplete'
,
name
:
'checkLaboratoryComplete'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/checkLaboratoryComplete"
),
{
path
:
"/SchoolTeacherAward"
,
name
:
"SchoolTeacherAward"
,
component
:
()
=>
import
(
"../views/teacher/SchoolTeacherAward"
),
},
{
path
:
"/teacherResume"
,
name
:
"teacherResume"
,
component
:
()
=>
import
(
"../views/teacher/teacherResume"
),
},
//审批列表
{
path
:
"/approvalList"
,
name
:
"materialPurchase"
,
component
:
()
=>
import
(
"../views/teacher/approvalList/index.vue"
),
},
},
//教师申请-实验室安排
{
path
:
'/laboratoryManagement/laboratoryArrangement'
,
name
:
'laboratoryArrangement'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/laboratoryArrangement"
),
},
//教师申请-实验室安排查看、申请
{
path
:
'/laboratoryManagement/laboratoryArrangement/laboratoryArrangementDetail'
,
name
:
'laboratoryArrangementDetail'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/laboratoryArrangementDetail"
),
},
//教师申请-实验室申请记录
{
path
:
'/laboratoryManagement/laboratoryApplicationRecord'
,
name
:
'laboratoryApplicationRecord'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/laboratoryApplicationRecord"
),
},
//教师申请-实验室申请记录查看
{
path
:
'/laboratoryManagement/laboratoryApplicationRecord/checkLaboratoryApplication'
,
name
:
'checkLaboratoryApplication'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/checkLaboratoryApplication"
),
},
//教师申请-个人实验申请
{
path
:
'/laboratoryManagement/PersonalLaboratoryApplication'
,
name
:
'PersonalLaboratoryApplication'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/PersonalLaboratoryApplication"
),
},
//教师申请-个人实验申请新增、修改
{
path
:
'/laboratoryManagement/PersonalLaboratoryApplication/PersonalLaboratoryApplyDetail'
,
name
:
'PersonalLaboratoryApplyDetail'
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/PersonalLaboratoryApplyDetail"
),
},
/** 实验室管理 laboratoryManagement 管理员权限 教师权限 领导权限 级部权限 **/
// 审批详情
{
path
:
"/approvalDetail"
,
name
:
"approvalDetail"
,
component
:
()
=>
import
(
"../views/teacher/approvalList/detail.vue"
),
},
// 审批详情
{
path
:
"/teacherLeaveDetail"
,
name
:
"teacherLeaveDetail"
,
component
:
()
=>
import
(
"../views/teacher/approvalList/detailqj.vue"
),
},
//公文流转
{
path
:
"/moveMent"
,
name
:
"moveMent"
,
component
:
()
=>
import
(
"../views/teacher/moveMent/index.vue"
),
},
//传阅查看
{
path
:
"/InitiateAction"
,
name
:
"InitiateAction"
,
component
:
()
=>
import
(
"../views/teacher/moveMent/InitiateAction.vue"
),
},
//批阅
{
path
:
"/readOver"
,
name
:
"readOver"
,
component
:
()
=>
import
(
"../views/teacher/moveMent/readOver.vue"
),
},
//我的领用
{
path
:
"/myUse"
,
name
:
"myUse"
,
component
:
()
=>
import
(
"../views/teacher/myUse/index.vue"
),
},
//修改密码
{
path
:
"/changePassword"
,
name
:
"changePassword"
,
component
:
()
=>
import
(
"../views/public/changePassword/index.vue"
),
},
//学生请假
{
path
:
"/stleavelist"
,
name
:
"stleavelist"
,
component
:
()
=>
import
(
"../views/parent/askForLeave/list.vue"
),
},
{
path
:
"/stleavedetail"
,
name
:
"stleavedetail"
,
component
:
()
=>
import
(
"../views/parent/askForLeave/detail.vue"
),
},
{
path
:
"/stspdetail"
,
name
:
"stspdetail"
,
component
:
()
=>
import
(
"../views/teacher/approvalList/detailqjst.vue"
),
},
{
path
:
"/stleaveapply"
,
name
:
"stleaveapply"
,
component
:
()
=>
import
(
"../views/parent/askForLeave/apply.vue"
),
},
{
path
:
"/infomationlist"
,
name
:
"infomationlist"
,
component
:
()
=>
import
(
"../views/parent/infomation/list.vue"
),
},
{
path
:
"/infomationdetail"
,
name
:
"infomationdetail"
,
component
:
()
=>
import
(
"../views/parent/infomation/detail.vue"
),
},
{
path
:
"/InforColl"
,
name
:
"InforColl"
,
component
:
()
=>
import
(
"../views/parent/InforCollection/index.vue"
),
},
{
path
:
"/InforColledit"
,
name
:
"InforColledit"
,
component
:
()
=>
import
(
"../views/parent/InforCollection/edit.vue"
),
},
{
path
:
"/InforCollapply"
,
name
:
"InforCollapply"
,
component
:
()
=>
import
(
"../views/parent/InforCollection/apply.vue"
),
},
/** 安全管理 safetyManagement 教师端 **/
{
path
:
'/safetyManagement'
,
name
:
'safetyManagement'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/index.vue"
),
},
//个人安全管理-车辆出入登记
{
path
:
'/safetyManagement/carAccessRegistration'
,
name
:
'carAccessRegistration'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/carAccessRegistration"
),
},
//个人安全管理-监控录像调阅
{
path
:
'/safetyManagement/monitoringCall'
,
name
:
'monitoringCall'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCall"
),
},
//信息中心监控管理-监控调阅内部
{
path
:
'/safetyManagement/monitoringCallInside'
,
name
:
'monitoringCallInside'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCallInside"
),
},
//信息中心监控管理-监控调阅外部
{
path
:
'/safetyManagement/monitoringCallOutside'
,
name
:
'monitoringCallOutside'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCallOutside"
),
},
//安全管理-车辆登记表
{
path
:
'/safetyManagement/vehicleRegistration'
,
name
:
'vehicleRegistration'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/vehicleRegistration"
),
},
//安全管理-车辆出入登记申请列表
{
path
:
'/safetyManagement/carAccessRegistrationApply'
,
name
:
'carAccessRegistrationApply'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/carAccessRegistrationApply"
),
},
//安全管理-监控调阅内部申请列表
{
path
:
'/safetyManagement/monitoringCallInsideApply'
,
name
:
'monitoringCallInsideApply'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCallInsideApply"
),
},
//安全管理-监控调阅外部申请列表
{
path
:
'/safetyManagement/monitoringCallOutsideApply'
,
name
:
'monitoringCallOutsideApply'
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCallOutsideApply"
),
},
/**
* Type:教师端
* Describe:后勤报修、校产管理
* Date:2023-08-08
**/
/* 后勤报修 */
{
path
:
"/logisticsRepair"
,
name
:
"logisticsRepair"
,
component
:
()
=>
import
(
"../views/teacher/logisticsRepair/index"
),
},
/* 后勤报修新增 */
{
path
:
"/addRepair"
,
name
:
"addRepair"
,
component
:
()
=>
import
(
"../views/teacher/logisticsRepair/addRepair"
),
},
/* 后勤报修查看 */
{
path
:
"/checkRepair"
,
name
:
"checkRepair"
,
component
:
()
=>
import
(
"../views/teacher/logisticsRepair/checkRepair"
),
},
/* 后勤报修反馈 */
{
path
:
"/feedbackRepair"
,
name
:
"feedbackRepair"
,
component
:
()
=>
import
(
"../views/teacher/logisticsRepair/feedbackRepair"
),
},
/** 校产管理 schoolProperty 管理员权限 教师权限 **/
// 管理员 首页
{
path
:
"/schoolProperty"
,
name
:
"adminIndex"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty"
),
},
// 管理员 物品借用列表页
{
path
:
"/schoolProperty/borrow"
,
name
:
"adminBorrowList"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/borrowList"
),
},
// 管理员 物品借用 新增、编辑、查看页面
{
path
:
"/schoolProperty/borrow/detail"
,
name
:
"adminBorrowDetail"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/borrowDetail"
),
},
// 管理员 归还列表页
{
path
:
"/schoolProperty/return"
,
name
:
"adminReturnList"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/returnList"
),
},
// 管理员 归还查看页
{
path
:
"/schoolProperty/return/detail"
,
name
:
"adminReturnDetail"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/returnDetail"
),
},
// 管理员 物品领用列表页
{
path
:
"/schoolProperty/use"
,
name
:
"adminUseList"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/useList"
),
},
// 管理员 物品领用 新增
{
path
:
"/schoolProperty/use/add"
,
name
:
"adminUseAdd"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/useAdd"
),
},
// 管理员 设备报修列表页
{
path
:
"/schoolProperty/device"
,
name
:
"adminDeviceList"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/deviceList"
),
},
// 管理员 设备维修列表页
{
path
:
"/schoolProperty/equipmentFix"
,
name
:
"equipmentFix"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/equipmentFix"
),
},
// 管理员 设备维修列表详情页
{
path
:
"/schoolProperty/equipmentFix/equipmentFixDetail"
,
name
:
"equipmentFixDetail"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/equipmentFixDetail"
),
},
// 设备报修新增、修改、查看、反馈页面
{
path
:
"/schoolProperty/device/info"
,
name
:
"deviceListInfo"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/deviceListInfo"
),
},
//扫码查看设备的详细信息
{
path
:
"/schoolProperty/equipmentInfo"
,
name
:
"equipmentInfo"
,
component
:
()
=>
import
(
"../views/teacher/schoolProperty/equipmentInfo"
),
},
/** 实验室管理 laboratoryManagement 管理员权限 教师权限 领导权限 级部权限 **/
{
path
:
"/laboratoryManagement"
,
name
:
"laboratoryManagement"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/index.vue"
),
},
//领导-实验室记录
{
path
:
"/laboratoryManagement/laboratoryRecord"
,
name
:
"laboratoryRecord"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/leader/laboratoryRecord"
),
},
//领导-实验室完成情况统计
{
path
:
"/laboratoryManagement/laboratoryCompleteStatistics"
,
name
:
"laboratoryCompleteStatistics"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/leader/laboratoryCompleteStatistics"
),
},
{
path
:
"/laboratoryManagement/laboratoryCompleteStatistics/checkComplete"
,
name
:
"checkComplete"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/leader/checkComplete"
),
},
// 实验室管理员 - 年级实验预约列表
{
path
:
"/laboratoryManagement/gradeLaboratory"
,
name
:
"gradeLaboratory"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/gradeLaboratory"
),
},
// 实验室管理员 - 年级实验预约列表查看
{
path
:
"/laboratoryManagement/gradeLaboratory/checkGradeComplete"
,
name
:
"checkGradeComplete"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/checkGradeComplete"
),
},
// 实验室管理员 - 教师实验室预约
{
path
:
"/laboratoryManagement/teacherLaboratory"
,
name
:
"teacherLaboratory"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/teacherLaboratory"
),
},
// 实验室管理员 - 教师实验室预约查看/申请审批
{
path
:
"/laboratoryManagement/teacherLaboratory/teacherLaboratoryApprove"
,
name
:
"teacherLaboratoryApprove"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/teacherLaboratoryApprove"
),
},
// 实验室管理员 - 个人实验审批
{
path
:
"/laboratoryManagement/personalLaboratoryApprove"
,
name
:
"personalLaboratoryApprove"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/manager/personalLaboratoryApprove"
),
},
//级部申请-年级实验室预约
{
path
:
"/laboratoryManagement/gradeLaboratoryApprove"
,
name
:
"gradeLaboratoryApprove"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/gradeLaboratoryApprove"
),
},
//级部申请-年级实验室预约-新增/查看/修改
{
path
:
"/laboratoryManagement/gradeLaboratoryApprove/gradeLaboratoryDetail"
,
name
:
"gradeLaboratoryDetail"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/gradeLaboratoryDetail"
),
},
//级部申请-班级完成情况明细
{
path
:
"/laboratoryManagement/gradeLaboratoryComplete"
,
name
:
"gradeLaboratoryComplete"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/gradeLaboratoryComplete"
),
},
//级部申请-班级完成情况查看
{
path
:
"/laboratoryManagement/gradeLaboratoryComplete/checkGradeLaboratoryComplete"
,
name
:
"checkGradeLaboratoryComplete"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/checkGradeLaboratoryComplete"
),
},
//级部申请-实验室完成情况明细
{
path
:
"/laboratoryManagement/laboratoryCompleteDetail"
,
name
:
"laboratoryCompleteDetail"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/laboratoryCompleteDetail"
),
},
//级部申请-查看实验室完成情况
{
path
:
"/laboratoryManagement/laboratoryCompleteDetail/checkLaboratoryComplete"
,
name
:
"checkLaboratoryComplete"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/levelPart/checkLaboratoryComplete"
),
},
//教师申请-实验室安排
{
path
:
"/laboratoryManagement/laboratoryArrangement"
,
name
:
"laboratoryArrangement"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/laboratoryArrangement"
),
},
//教师申请-实验室安排查看、申请
{
path
:
"/laboratoryManagement/laboratoryArrangement/laboratoryArrangementDetail"
,
name
:
"laboratoryArrangementDetail"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/laboratoryArrangementDetail"
),
},
//教师申请-实验室申请记录
{
path
:
"/laboratoryManagement/laboratoryApplicationRecord"
,
name
:
"laboratoryApplicationRecord"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/laboratoryApplicationRecord"
),
},
//教师申请-实验室申请记录查看
{
path
:
"/laboratoryManagement/laboratoryApplicationRecord/checkLaboratoryApplication"
,
name
:
"checkLaboratoryApplication"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/checkLaboratoryApplication"
),
},
//教师申请-个人实验申请
{
path
:
"/laboratoryManagement/PersonalLaboratoryApplication"
,
name
:
"PersonalLaboratoryApplication"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/PersonalLaboratoryApplication"
),
},
//教师申请-个人实验申请新增、修改
{
path
:
"/laboratoryManagement/PersonalLaboratoryApplication/PersonalLaboratoryApplyDetail"
,
name
:
"PersonalLaboratoryApplyDetail"
,
component
:
()
=>
import
(
"../views/teacher/laboratoryManagement/teacher/PersonalLaboratoryApplyDetail"
),
},
/** 实验室管理 laboratoryManagement 管理员权限 教师权限 领导权限 级部权限 **/
/** 安全管理 safetyManagement 教师端 **/
{
path
:
"/safetyManagement"
,
name
:
"safetyManagement"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/index.vue"
),
},
//个人安全管理-车辆出入登记
{
path
:
"/safetyManagement/carAccessRegistration"
,
name
:
"carAccessRegistration"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/carAccessRegistration"
),
},
//个人安全管理-监控录像调阅
{
path
:
"/safetyManagement/monitoringCall"
,
name
:
"monitoringCall"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCall"
),
},
//信息中心监控管理-监控调阅内部
{
path
:
"/safetyManagement/monitoringCallInside"
,
name
:
"monitoringCallInside"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCallInside"
),
},
//信息中心监控管理-监控调阅外部
{
path
:
"/safetyManagement/monitoringCallOutside"
,
name
:
"monitoringCallOutside"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCallOutside"
),
},
//安全管理-车辆登记表
{
path
:
"/safetyManagement/vehicleRegistration"
,
name
:
"vehicleRegistration"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/vehicleRegistration"
),
},
//安全管理-车辆出入登记申请列表
{
path
:
"/safetyManagement/carAccessRegistrationApply"
,
name
:
"carAccessRegistrationApply"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/carAccessRegistrationApply"
),
},
//安全管理-监控调阅内部申请列表
{
path
:
"/safetyManagement/monitoringCallInsideApply"
,
name
:
"monitoringCallInsideApply"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCallInsideApply"
),
},
//安全管理-监控调阅外部申请列表
{
path
:
"/safetyManagement/monitoringCallOutsideApply"
,
name
:
"monitoringCallOutsideApply"
,
component
:
()
=>
import
(
"../views/teacher/safetyManagement/monitoringCallOutsideApply"
),
},
];
const
router
=
createRouter
({
history
:
createWebHashHistory
(
'zhxygzh'
),
// mode: "history",
// base: process.env.BASE_URL,
routes
,
history
:
createWebHashHistory
(
"zhxygzh"
),
// mode: "history",
// base: process.env.BASE_URL,
routes
,
});
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
// console.log(to,from);
if
(
to
.
name
==
"development"
)
{
Toast
(
"开发中"
);
return
;
}
next
()
// next();
// if (!to.meta.noAuth) {
// next({ name: "login" });
// // 路由需要授权
// if (_.isEmpty(store.getters.wechatUserInfo)) {
// // 获取用户信息
// if (
// !_.isEmpty(store.getters.openid) &&
// !_.isEmpty(store.getters.accessToken)
// ) {
// // 存在openid和accessToken,已经授过权
// // 判断accessToken是否过期,过期刷新token,获取用户信息
// store.dispatch('getUserInfo')
// next()
// } else {
// // todo 跳转网页授权
// // 记录当前页面url
// localStorage.setItem('currentUrl', to.fullPath)
// next({name: 'auth'})
// }
// } else {
// // todo 已经存在用户信息,需要定期更新
// next()
// }
// } else {
// // 路由不需要授权
// next();
// }
// console.log(to,from);
if
(
to
.
name
==
"development"
)
{
Toast
(
"开发中"
);
return
;
}
next
();
// next();
// if (!to.meta.noAuth) {
// next({ name: "login" });
// // 路由需要授权
// if (_.isEmpty(store.getters.wechatUserInfo)) {
// // 获取用户信息
// if (
// !_.isEmpty(store.getters.openid) &&
// !_.isEmpty(store.getters.accessToken)
// ) {
// // 存在openid和accessToken,已经授过权
// // 判断accessToken是否过期,过期刷新token,获取用户信息
// store.dispatch('getUserInfo')
// next()
// } else {
// // todo 跳转网页授权
// // 记录当前页面url
// localStorage.setItem('currentUrl', to.fullPath)
// next({name: 'auth'})
// }
// } else {
// // todo 已经存在用户信息,需要定期更新
// next()
// }
// } else {
// // 路由不需要授权
// next();
// }
});
export
default
router
;
src/service/home.js
View file @
f57ca13a
...
...
@@ -58,7 +58,7 @@ export function loginOut() {
});
}
export
function
getgetToken
(
id
)
{
let
result
=
axios
.
get
(
"/wx/user/getToken"
)
let
result
=
axios
.
get
(
"/wx/user/getToken"
)
;
return
result
;
}
...
...
@@ -89,7 +89,7 @@ export function getjudgePermission() {
export
function
getAttendanceList
()
{
return
axios
.
get
(
"/school/studentAttendance/getAttendanceList?studentId="
+
store
.
state
.
studentId
store
.
state
.
studentId
);
}
...
...
@@ -102,13 +102,13 @@ export function getCalendar(params) {
export
function
getCalendardate
(
params
)
{
return
axios
.
get
(
"/wx/calendar/getCalendar/"
+
params
.
calendarId
+
"?date="
+
params
.
date
+
"&pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
params
.
calendarId
+
"?date="
+
params
.
date
+
"&pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
);
}
...
...
@@ -116,11 +116,11 @@ export function getCalendardate(params) {
export
function
getCalendarmoth
(
params
)
{
return
axios
.
get
(
"/wx/calendar/getMonth/"
+
store
.
state
.
CalendarId
+
"?start="
+
params
.
start
+
"&end="
+
params
.
end
store
.
state
.
CalendarId
+
"?start="
+
params
.
start
+
"&end="
+
params
.
end
);
}
...
...
@@ -133,12 +133,12 @@ export function getResoucelist() {
export
function
getresourceDetails
(
params
)
{
return
axios
.
get
(
"/wx/schoolResource/getResouceDetails/"
+
params
.
resourceId
+
"?pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
+
(
params
.
name
?
"&name="
+
params
.
name
:
""
)
params
.
resourceId
+
"?pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
+
(
params
.
name
?
"&name="
+
params
.
name
:
""
)
);
}
...
...
@@ -158,11 +158,11 @@ export function getResouceupdateAll(resourceId, updateAll) {
export
function
getResoucelistinfocommentList
(
params
)
{
return
axios
.
get
(
"/wx/schoolResource/commentList/"
+
params
.
detailsId
+
"?pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
,
params
.
detailsId
+
"?pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
,
{
params
:
{
studentId
:
store
.
state
.
studentId
,
...
...
@@ -195,9 +195,9 @@ export function getChildExam(params) {
export
function
getStudentScore
(
examId
)
{
return
axios
.
get
(
"/wx/schoolExam/getscore?studentId="
+
store
.
state
.
studentId
+
"&examId="
+
examId
store
.
state
.
studentId
+
"&examId="
+
examId
);
}
...
...
@@ -205,13 +205,13 @@ export function getStudentScore(examId) {
export
function
getChildExamtec
(
params
)
{
return
axios
.
get
(
"/wx/schoolExam/list/"
+
params
.
gradeId
+
"?pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
+
"&examName="
+
params
.
examName
params
.
gradeId
+
"?pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
+
"&examName="
+
params
.
examName
);
}
...
...
@@ -301,7 +301,10 @@ export function messageinfoteac(id) {
//消息读取
export
function
changeStatus
(
id
)
{
let
url
=
store
.
state
.
userLoginType
==
1
?
"/wx/parentMessage/changeStatus/"
:
"/wx/message/changeStatus/"
let
url
=
store
.
state
.
userLoginType
==
1
?
"/wx/parentMessage/changeStatus/"
:
"/wx/message/changeStatus/"
;
let
result
=
axios
.
put
(
url
+
id
+
"?status=1"
);
return
result
;
}
...
...
@@ -310,12 +313,12 @@ export function changeStatus(id) {
export
function
getparentPushList
(
params
)
{
let
result
=
axios
.
get
(
"/wx/parentMessage/parentPushList/"
+
store
.
state
.
userInfo
.
userId
+
"?"
+
"pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
store
.
state
.
userInfo
.
userId
+
"?"
+
"pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
);
return
result
;
}
...
...
@@ -325,12 +328,12 @@ export function getteacherPushList(params) {
console
.
log
(
"我是老师"
);
let
result
=
axios
.
get
(
"/wx/message/teacherPushList/"
+
store
.
state
.
userInfo
.
userId
+
"?"
+
"pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
store
.
state
.
userInfo
.
userId
+
"?"
+
"pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
);
return
result
;
}
...
...
@@ -455,8 +458,8 @@ export function getMemberByGradeId(params) {
"?pageSize="
+
params
.
pageSize
+
"&pageNum="
+
params
.
pageNum
+
studentName
?
+
"&studentName="
+
params
.
studentName
:
""
+
gradeId
==
0
?
""
:
"&gradeId="
+
params
.
gradeId
;
?
""
:
"&gradeId="
+
params
.
gradeId
;
// let url =
// "/wx/schoolGrade/getMemberByGradeId" +
// params.gradeId==0? "+
...
...
@@ -634,14 +637,14 @@ export function cancelLeave(taskId, params) {
});
}
//根据用户找到所在的组织
export
function
getUserDept
(
userId
){
export
function
getUserDept
(
userId
)
{
return
axios
({
url
:
"/wx/teacherLeave/getUserDept/"
+
userId
,
method
:
"get"
,
});
}
//根据部门和部门id 获取当前机构的 科室主任 处室主任
export
function
getDeptGrapRole
(
deptName
,
deptId
)
{
export
function
getDeptGrapRole
(
deptName
,
deptId
)
{
return
axios
({
url
:
`/wx/teacherLeave/getDeptGrapRole?deptName=
${
deptName
}
&deptId=
${
deptId
}
`
,
method
:
"get"
,
...
...
@@ -1101,7 +1104,7 @@ export function getpersonalListinfo(id) {
});
}
//请假时间
export
function
getTotalTime
(
query
,
type
)
{
export
function
getTotalTime
(
query
,
type
)
{
return
axios
({
url
:
`/wx/teacherLeave/getTotalTime/
${
store
.
state
.
userInfo
.
userId
}
/
${
type
}
`
,
method
:
"get"
,
...
...
@@ -1264,11 +1267,7 @@ export function postStudentLeave(params) {
}
export
function
postStudentLeavecancel
(
params
)
{
return
axios
({
url
:
"/wx/studentLeave/cancel/"
+
params
.
taskId
+
"/"
+
params
.
instanceId
,
url
:
"/wx/studentLeave/cancel/"
+
params
.
taskId
+
"/"
+
params
.
instanceId
,
method
:
"post"
,
data
:
params
.
schoolStudentLeave
,
});
...
...
@@ -1319,7 +1318,7 @@ export function uploadfileImg(query) {
});
}
export
function
postexam
(
query
,
id
,
iscm
)
{
let
url
=
iscm
?
"/wx/schoolDcwj/edit/"
+
id
:
"/wx/schoolDcwj/commit/"
+
id
let
url
=
iscm
?
"/wx/schoolDcwj/edit/"
+
id
:
"/wx/schoolDcwj/commit/"
+
id
;
return
axios
({
url
:
url
,
method
:
"POST"
,
...
...
@@ -1345,18 +1344,18 @@ export function getschoolXxfbdetail(query) {
});
}
export
function
postfz
(
id
,
query
)
{
let
url
=
"/wx/schoolXxfb/commit/"
+
id
let
url
=
"/wx/schoolXxfb/commit/"
+
id
;
return
axios
({
url
:
url
,
method
:
"POST"
,
params
:
{
...
query
}
params
:
{
...
query
}
,
});
}
/**
* 信息采集
*/
export
function
getmatch
(
query
)
{
let
url
=
"/wx/schoolInfo/match"
let
url
=
"/wx/schoolInfo/match"
;
return
axios
({
url
:
url
,
method
:
"get"
,
...
...
@@ -1364,16 +1363,15 @@ export function getmatch(query) {
});
}
export
function
postmaintain
(
query
)
{
let
url
=
"/wx/schoolInfo/maintain"
let
url
=
"/wx/schoolInfo/maintain"
;
return
axios
({
url
:
url
,
method
:
"PUT"
,
data
:
query
data
:
query
,
});
}
export
function
getAcquisitionList
(
query
)
{
let
url
=
"/wx/schoolInfo/getAcquisitionList/"
+
query
let
url
=
"/wx/schoolInfo/getAcquisitionList/"
+
query
;
return
axios
({
url
:
url
,
method
:
"get"
,
...
...
@@ -1389,3 +1387,62 @@ export function getTotalDay(query) {
params
:
query
,
});
}
// 查询我的任务
//我的任务
export
function
mytaskList
(
userId
)
{
return
axios
.
get
(
"/wx/officialflow/taskList/"
+
userId
);
}
// 详情页
export
function
lookList
(
id
)
{
let
url
=
"/wx/officialflow/review/getInfo/"
+
id
;
return
axios
({
url
:
url
,
method
:
"get"
,
params
:
id
,
});
}
// 批阅人操作
export
function
offiCialflow
(
query
)
{
let
url
=
"/wx/officialflow/review/"
+
query
.
id
;
// 在路径和查询参数之间加上 ?
return
axios
({
url
:
url
,
method
:
"put"
,
data
:
query
,
});
}
// 发起人操作
export
function
offiCialflowfq
(
query
)
{
let
url
=
"/wx/officialflow/initiator"
;
return
axios
({
url
:
url
,
method
:
"put"
,
data
:
query
,
});
}
// 传阅人操作
export
function
offiCialflowcy
(
query
)
{
let
url
=
"/wx/officialflow/circulator/"
+
query
.
id
;
return
axios
({
url
:
url
,
method
:
"put"
,
data
:
query
,
});
}
//批阅人下拉框
export
function
getSchoolLeader
(
query
)
{
return
axios
({
url
:
"/wx/officialflow/getSchoolLeader"
,
method
:
"get"
,
params
:
query
,
});
}
//传阅人
export
function
getTeacherList
(
query
)
{
return
axios
({
url
:
"/wx/officialflow/getTeacherList"
,
method
:
"get"
,
params
:
query
,
});
}
src/views/teacher/moveMent/InitiateAction.vue
0 → 100644
View file @
f57ca13a
<
template
>
<van-nav-bar
title=
"传阅"
left-text=
"返回"
left-arrow
@
click-left=
"goback"
/>
<div
style=
"margin: 0.1rem;font-weight: 700;"
>
<span
style=
"margin-left: 10px; font-size: 18px;font-family: PingFang SC;background-color: #faf9f9;"
>
公文信息
</span>
<table
style=
"border: 1px solid #e5ecf4;"
>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
发文字号
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4; "
:colspan=
"3"
>
{{
list
&&
list
.
issuedNum
?
list
.
issuedNum
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
发文标题
</td>
<td
style=
" font-size: 15px; border: 1px solid #e5ecf4;"
:colspan=
"3"
>
{{
list
&&
list
.
issuedName
?
list
.
issuedName
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #f9f9f9;background-color: #faf9f9;"
>
收文时间
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4; "
>
{{
list
&&
list
.
receiveDate
?
list
.
receiveDate
:
''
}}
</td>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;background-color: #f9f9f9;background-color: #faf9f9; "
>
办理期限
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4; "
>
{{
list
&&
list
.
deadline
?
list
.
deadline
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
紧急程度
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4;"
:colspan=
"3"
>
{{
list
&&
list
.
urgency
?
list
.
urgency
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-spe"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
简介
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4;"
:colspan=
"3"
>
{{
list
&&
list
.
remarks
?
list
.
remarks
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-spe"
style=
"font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
文件
</td>
<td
style=
"font-size: 15px;border: 1px solid #e5ecf4;"
:colspan=
"3"
>
{{
list
&&
list
.
fileList
?
list
.
fileList
.
map
(
item
=>
item
.
fjmc
).
join
(
', '
)
:
''
}}
</td>
</tr>
</table>
</div>
<!-- 流转信息 -->
<div
style=
"
text-align: left;
margin: 0.2rem;
height: 20px;
font-family: PingFang SC;
font-weight: 700;
color: #242627;
font-size: 18px;
"
>
<span
style=
"margin-left: 10px; height: 20px"
>
流转信息
</span>
</div>
<!-- 表格信息 -->
<div
style=
"
margin-left: 0.2rem;
text-align: center;
min-width: 315px;
height: 68px;
background: #f5f7f7;
border: 1px solid;
border-color: #eeeeee;
display: flex;
align-items: center;
justify-content: space-around;
"
>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 60px;
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 15px;
border-right: 1px solid;
border-color: #eeeeee;
"
>
接收人
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 77px;
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 15px;
border-right: 1px solid;
border-color: #eeeeee;
"
>
接收时间
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 137px;
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 15px;
"
>
办理时间
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 137px;
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 15px;
"
>
意见
</div>
</div>
<div
v-for=
"item in review"
:key=
"item"
style=
"
display: flex;
/* height: 70px;
line-height: 70px; */
align-items: center;
justify-content: space-around;
/* min-width: 315px; */
border: 1px solid;
border-color: #eeeeee;
"
>
<div
style=
"
/* height: 67px;
line-height: 67px;
min-width: 101px; */
font-family: PingFang SC;
text-align: center;
color: #000000;
font-size: 14px;
border-right: 1px solid;
border-color: #eeeeee;
"
>
{{
item
.
userName
}}
</div>
<div
style=
"
min-width: 77px;
font-family: PingFang SC;
color: #000000;
font-size: 14px;
text-align: center;
border-right: 1px solid;
border-color: #eeeeee;
display: flex;
align-items: center;
flex-direction: column;
"
>
<div
style=
""
>
{{
item
.
receiveTime
}}
</div>
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 137px;
font-family: PingFang SC;
text-align: center;
color: #000000;
font-size: 14px;
"
>
{{
item
.
finishTime
}}
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 137px;
font-family: PingFang SC;
color: #000000;
text-align: center;
font-size: 14px;
"
>
{{
item
.
opinion
}}
</div>
</div>
</
template
>
<
script
setup
>
import
{
ref
,
toRefs
,
computed
,
reactive
,
onMounted
}
from
"vue"
;
import
{
mytaskList
,
// 查询我的任务
lookList
,
// 详情页
offiCialflow
,
// 批阅人操作
offiCialflowfq
,
// 发起人操作
offiCialflowcy
,
// 传阅人操作
getSchoolLeader
,
//批阅人下拉框
getTeacherList
//传阅人下拉框
}
from
"@/service/home"
;
import
{
useRouter
,
useRoute
}
from
"vue-router"
;
import
{
createApp
}
from
'vue'
;
import
{
Field
,
CellGroup
}
from
'vant'
;
import
{
useStore
}
from
"vuex"
;
import
{
Toast
}
from
"vant"
;
const
router
=
useRouter
();
const
route
=
useRoute
();
const
xzdetail
=
ref
();
const
app
=
createApp
();
const
list
=
ref
();
const
review
=
ref
();
const
store
=
useStore
();
// 提交表单
const
postForm
=
ref
(
null
);
const
detail
=
JSON
.
parse
(
decodeURIComponent
(
route
.
query
.
detail
));
// 接收参数
const
state
=
ref
({
opinion
:
""
,
//意见
receiveUser
:
""
,
//用户id
});
app
.
use
(
Field
);
app
.
use
(
CellGroup
);
const
loadData
=
async
()
=>
{
let
result
=
await
lookList
(
detail
.
id
,
{
});
list
.
value
=
result
.
offical
;
console
.
log
(
list
,
'list'
);
review
.
value
=
result
.
review
;
console
.
log
(
review
,
'review'
);
};
console
.
log
(
loadData
,
'loadData'
);
const
goback
=
async
()
=>
{
try
{
const
query
=
{
id
:
detail
.
id
,
userId
:
store
.
state
.
userInfo
.
teacherId
,
};
// 创建一个空的 query 对象
await
offiCialflowcy
(
query
);
// 调用 offiCialflowcy 接口,并传递 query 对象
router
.
back
();
}
catch
(
error
)
{
}
};
onMounted
(
async
()
=>
{
loadData
();
});
</
script
>
<
style
lang=
"less"
scoped
>
table
{
border-collapse
:
collapse
;
border
:
1px
solid
gray
;
width
:
100%
;
font-size
:
0.28rem
;
tr
{
width
:
100%
;
.td-width
{
text-align
:
center
;
padding
:
0.2225rem
;
}
.td-spe
{
text-align
:
center
;
padding
:
0.3525rem
;
}
}
}
</
style
>
\ No newline at end of file
src/views/teacher/moveMent/index.vue
0 → 100644
View file @
f57ca13a
<
template
>
<van-nav-bar
title=
"公文流转"
left-text=
"返回"
left-arrow
@
click-left=
"goback"
/>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"onRefresh"
>
<van-list
v-model:loading=
"state.loading"
:finished=
"finished"
:finished-text=
"loadingText"
@
load=
"onLoad"
>
<div
class=
"c_main_list"
v-for=
"item in list"
:key=
"item"
style=
"padding: 18px 12px 15px 17px"
>
<div
style=
"
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 16px;
"
>
{{
item
.
issuedNum
}}
</div>
<div
style=
"font-size: 12px; margin: 10px -10px 10px -10px"
>
<van-cell-group
inset
>
<van-field
v-model=
"item.issuedName"
rows=
"4"
autosize
type=
"textarea"
readonly
placeholder=
"申请内容"
style=
"
background-color: #f5f7f7;
font-family: PingFang SC;
color: #6f787d;
font-size: 14px;
"
/>
</van-cell-group>
</div>
<div
style=
"
display: flex;
align-items: center;
justify-content: flex-end;
margin-top: 23px;
"
>
<div
v-if=
"item.receiveType == '1'"
@
click=
"goDetails(item)"
class=
"flex_center"
style=
"
width: 64px;
height: 32px;
border: 1px solid;
background: #ff7a6a;
border-radius: 3px;
font-family: PingFang SC;
font-weight: 700;
color: #ffffff;
font-size: 14px;
text-align: center;
margin-left: 10px;
"
>
批阅
</div>
<div
v-if=
"item.receiveType == '2'"
class=
"flex_center"
@
click=
"goDetails(item)"
style=
"
width: 64px;
height: 32px;
background: #6aadff;
border-radius: 3px;
font-family: PingFang SC;
font-weight: 700;
color: #ffffff;
font-size: 14px;
text-align: center;
margin-left: 10px;
"
>
传阅
</div>
</div>
</div>
</van-list>
</van-pull-refresh>
<div
class=
"box"
style=
"
margin: 5px 6px 0 6px;
background-color: #ffffff;
height: 180px;
padding: 10px 10px 10px 10px;
"
></div>
</
template
>
<
script
setup
>
import
{
ref
,
toRefs
,
computed
,
reactive
,
onMounted
}
from
"vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
mytaskList
,
// 查询我的任务
lookList
,
// 详情页
offiCialflow
,
// 批阅人操作
offiCialflowfq
,
// 发起人操作
offiCialflowcy
,
// 传阅人操作
getSchoolLeader
,
//批阅人下拉框
getTeacherList
//传阅人下拉框
}
from
"@/service/home"
;
import
{
Toast
}
from
"vant"
;
import
axios
from
"axios"
;
import
{
useStore
}
from
"vuex"
;
import
{
formatDatetime
}
from
"@/utils/time.js"
;
const
state
=
reactive
({
loading
:
false
,
});
const
receiveType
=
ref
(
""
);
const
store
=
useStore
();
const
router
=
useRouter
();
const
list
=
ref
([]);
const
loading
=
ref
(
false
);
const
finished
=
ref
(
false
);
const
refreshing
=
ref
(
false
);
const
pageNum
=
ref
(
0
);
const
option1
=
[
{
text
:
"全部"
,
value
:
""
},
];
const
change
=
async
()
=>
{
refreshing
.
value
=
true
;
onRefresh
();
};
const
goDetails
=
(
item
)
=>
{
// 批阅
if
(
item
.
receiveType
==
1
)
{
router
.
push
({
path
:
"/readOver"
,
query
:
{
detail
:
encodeURIComponent
(
JSON
.
stringify
(
item
)),
},
});
}
// 传阅 查看
else
if
(
item
.
receiveType
==
2
)
{
router
.
push
({
path
:
"/InitiateAction"
,
query
:
{
detail
:
encodeURIComponent
(
JSON
.
stringify
(
item
)),
},
});
}
};
const
onLoad
=
async
()
=>
{
if
(
refreshing
.
value
)
{
list
.
value
=
[];
pageNum
.
value
=
0
;
refreshing
.
value
=
false
;
}
pageNum
.
value
+=
1
;
let
result
=
await
mytaskList
(
store
.
state
.
userInfo
.
teacherId
);
console
.
log
(
result
,
'result'
);
if
(
result
.
code
==
200
)
{
list
.
value
.
push
(...
result
.
data
);
list
.
value
.
length
===
result
.
total
&&
(
finished
.
value
=
true
);
}
else
{
Toast
(
"获取信息失败!"
);
loading
.
value
=
false
;
return
;
}
loading
.
value
=
false
;
// 设置loading为false,表示数据加载完成
};
const
onRefresh
=
()
=>
{
// 清空列表数据
finished
.
value
=
false
;
// 重新加载数据
// 将 loading 设置为 true,表示处于加载状态
loading
.
value
=
true
;
onLoad
();
};
const
posttactleave
=
async
()
=>
{
let
result
=
await
postteacherLeave
();
};
const
goback
=
()
=>
{
router
.
back
();
};
</
script
>
<
style
lang=
"less"
scoped
>
.main_search_1
{
width
:
100%
;
flex
:
1
;
height
:
15vw
;
display
:
inline-block
;
vertical-align
:
top
;
margin
:
0
0
-2px
0
;
}
</
style
>
src/views/teacher/moveMent/readOver.vue
0 → 100644
View file @
f57ca13a
<
template
>
<van-nav-bar
title=
"批阅"
left-text=
"返回"
left-arrow
@
click-left=
"goback"
/>
<van-row
gutter=
"2"
style=
"line-height: 10px;display: flex;flex-direction: row;justify-content: center;align-items: center;"
>
<van-col
span=
"20"
@
refresh=
"onRefresh"
>
<van-form
ref=
"postForm"
>
<van-field
style=
"font-family: PingFang SC;
font-weight: 700;
color: #242627;
font-size: 15px;"
v-model=
"state.opinion"
rows=
"1"
autosize
label=
"批阅意见"
type=
"textarea"
placeholder=
"请输入内容"
/>
</van-form>
</van-col>
<van-col
span=
"4"
>
<van-button
type=
"primary"
@
click=
"onSubmit"
style=
"height: 0.8rem; border-radius: 8px;"
>
确定
</van-button>
</van-col>
</van-row>
<div
style=
"margin: 0.1rem;font-weight: 700;"
>
<span
style=
"margin-left: 10px; font-size: 18px;font-family: PingFang SC;background-color: #faf9f9;"
>
公文信息
</span>
<table
style=
"border: 1px solid #e5ecf4;"
>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
发文字号
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4; "
:colspan=
"3"
>
{{
list
&&
list
.
issuedNum
?
list
.
issuedNum
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
发文标题
</td>
<td
style=
" font-size: 15px; border: 1px solid #e5ecf4;"
:colspan=
"3"
>
{{
list
&&
list
.
issuedName
?
list
.
issuedName
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #f9f9f9;background-color: #faf9f9;"
>
收文时间
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4; "
>
{{
list
&&
list
.
receiveDate
?
list
.
receiveDate
:
''
}}
</td>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;background-color: #f9f9f9;background-color: #faf9f9; "
>
办理期限
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4; "
>
{{
list
&&
list
.
deadline
?
list
.
deadline
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-width"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
紧急程度
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4;"
:colspan=
"3"
>
{{
list
&&
list
.
urgency
?
list
.
urgency
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-spe"
style=
" font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
简介
</td>
<td
style=
" font-size: 15px;border: 1px solid #e5ecf4;"
:colspan=
"3"
>
{{
list
&&
list
.
remarks
?
list
.
remarks
:
''
}}
</td>
</tr>
<tr
style=
"border: 1px solid #e5ecf4;"
>
<td
class=
"td-spe"
style=
"font-size: 15px;border: 1px solid #e5ecf4;width: 25%;background-color: #faf9f9;"
>
文件
</td>
<td
style=
"font-size: 15px;border: 1px solid #e5ecf4;"
:colspan=
"3"
>
{{
list
&&
list
.
fileList
?
list
.
fileList
.
map
(
item
=>
item
.
fjmc
).
join
(
', '
)
:
''
}}
</td>
</tr>
</table>
</div>
<!-- 流转信息 -->
<div
style=
"
text-align: left;
margin: 0.2rem;
height: 20px;
font-family: PingFang SC;
font-weight: 700;
color: #242627;
font-size: 18px;
"
>
<span
style=
"margin-left: 10px; height: 20px"
>
流转信息
</span>
</div>
<!-- 表格信息 -->
<div
style=
"
margin-left: 0.2rem;
text-align: center;
min-width: 315px;
height: 68px;
background: #f5f7f7;
border: 1px solid;
border-color: #eeeeee;
display: flex;
align-items: center;
justify-content: space-around;
"
>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 60px;
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 15px;
border-right: 1px solid;
border-color: #eeeeee;
"
>
接收人
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 77px;
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 15px;
border-right: 1px solid;
border-color: #eeeeee;
"
>
接收时间
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 137px;
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 15px;
"
>
办理时间
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 137px;
font-family: PingFang SC;
font-weight: 700;
color: #000000;
font-size: 15px;
"
>
意见
</div>
</div>
<div
v-for=
"item in review"
:key=
"item"
style=
"
display: flex;
/* height: 70px;
line-height: 70px; */
align-items: center;
justify-content: space-around;
/* min-width: 315px; */
border: 1px solid;
border-color: #eeeeee;
"
>
<div
style=
"
/* height: 67px;
line-height: 67px;
min-width: 101px; */
font-family: PingFang SC;
text-align: center;
color: #000000;
font-size: 14px;
border-right: 1px solid;
border-color: #eeeeee;
"
>
{{
item
.
userName
}}
</div>
<div
style=
"
min-width: 77px;
font-family: PingFang SC;
color: #000000;
font-size: 14px;
text-align: center;
border-right: 1px solid;
border-color: #eeeeee;
display: flex;
align-items: center;
flex-direction: column;
"
>
<div
style=
""
>
{{
item
.
receiveTime
}}
</div>
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 137px;
font-family: PingFang SC;
text-align: center;
color: #000000;
font-size: 14px;
"
>
{{
item
.
finishTime
}}
</div>
<div
style=
"
height: 67px;
line-height: 67px;
min-width: 137px;
font-family: PingFang SC;
color: #000000;
text-align: center;
font-size: 14px;
"
>
{{
item
.
opinion
}}
</div>
</div>
</
template
>
<
script
setup
>
import
{
ref
,
toRefs
,
computed
,
reactive
,
onMounted
}
from
"vue"
;
import
{
mytaskList
,
// 查询我的任务
lookList
,
// 详情页
offiCialflow
,
// 批阅人操作
offiCialflowfq
,
// 发起人操作
offiCialflowcy
,
// 传阅人操作
getSchoolLeader
,
//批阅人下拉框
getTeacherList
//传阅人下拉框
}
from
"@/service/home"
;
import
{
useRouter
,
useRoute
}
from
"vue-router"
;
import
{
createApp
}
from
'vue'
;
import
{
Field
,
CellGroup
}
from
'vant'
;
import
{
useStore
}
from
"vuex"
;
import
{
Toast
}
from
"vant"
;
const
router
=
useRouter
();
const
route
=
useRoute
();
const
xzdetail
=
ref
();
const
app
=
createApp
();
const
list
=
ref
();
const
review
=
ref
();
const
store
=
useStore
();
// 提交表单
const
postForm
=
ref
(
null
);
const
detail
=
JSON
.
parse
(
decodeURIComponent
(
route
.
query
.
detail
));
// 接收参数
console
.
log
(
detail
,
'detail'
);
const
state
=
ref
({
opinion
:
""
,
//意见
receiveUser
:
""
,
//用户id
});
app
.
use
(
Field
);
app
.
use
(
CellGroup
);
const
loadData
=
async
()
=>
{
let
result
=
await
lookList
(
detail
.
id
,
{
});
list
.
value
=
result
.
offical
;
console
.
log
(
list
,
'list'
);
review
.
value
=
result
.
review
;
console
.
log
(
review
,
'review'
);
};
// const onSubmit = () => {
// let data = {};
// data.userId = store.state.userInfo.teacherId;
// data.opinion = state.opinion.value;
// console.log("state.opinion:", state.opinion);
// console.log("store.state.userInfo.teacherId:", store.state.userInfo.teacherId);
// postForm.validate().then((valid) => {
// loading.value = true;
// offiCialflow(data).then((response) => {
// loading.value = false;
// Toast.success("提交成功");
// goLeave();
// }).catch((error) => {
// loading.value = false;
// Toast.fail("提交失败");
// });
// }).catch((message) => { });
// };
const
onSubmit
=
async
(
item
)
=>
{
console
.
log
(
item
);
let
result
=
await
offiCialflow
({
id
:
detail
.
id
,
opinion
:
state
.
value
.
opinion
,
receiveUser
:
store
.
state
.
userInfo
.
teacherId
,
});
if
(
result
.
code
==
200
)
{
Toast
(
"提交成功"
);
goback
();
onRefresh
();
}
else
{
Toast
(
"提交失败!"
);
}
};
const
onRefresh
=
()
=>
{
// 清空列表数据
finished
.
value
=
false
;
// 重新加载数据
// 将 loading 设置为 true,表示处于加载状态
loading
.
value
=
true
;
onLoad
();
};
console
.
log
(
loadData
,
'loadData'
);
const
goback
=
()
=>
{
router
.
back
();
};
onMounted
(
async
()
=>
{
loadData
();
});
</
script
>
<
style
lang=
"less"
scoped
>
table
{
border-collapse
:
collapse
;
border
:
1px
solid
gray
;
width
:
100%
;
font-size
:
0.28rem
;
tr
{
width
:
100%
;
.td-width
{
text-align
:
center
;
padding
:
0.2225rem
;
}
.td-spe
{
text-align
:
center
;
padding
:
0.3525rem
;
}
}
}
</
style
>
\ No newline at end of file
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