mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-08 10:26:44 +08:00
-- fix 项目任务 管理
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btnss" style="margin-top: 20px" v-if="checkPer(permissions,createId)">
|
||||
<div class="btn btn1" @click="signQR">
|
||||
<div class="wz">签到二维码</div>
|
||||
</div>
|
||||
@@ -274,6 +274,7 @@ import TwoDimensionalCode from "../../components/TwoDimensionalCode";
|
||||
import * as api from "../../api/indexTaskManage";
|
||||
import { toDate } from "../../api/method";
|
||||
import { message } from "ant-design-vue";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
export default {
|
||||
name: "ActiveAttendance",
|
||||
components: {
|
||||
@@ -281,6 +282,14 @@ export default {
|
||||
TwoDimensionalCode,
|
||||
},
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
AAvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -782,6 +791,7 @@ export default {
|
||||
align: "center",
|
||||
customRender: (value) => {
|
||||
return (
|
||||
checkPer(props.permissions,props.createId)?
|
||||
<div
|
||||
class="opa"
|
||||
style="display:flex;justify-content:center;align-items:center;"
|
||||
@@ -897,6 +907,7 @@ export default {
|
||||
<div>请假</div>
|
||||
</div>
|
||||
</div>
|
||||
:''
|
||||
);
|
||||
},
|
||||
},
|
||||
@@ -1022,6 +1033,7 @@ export default {
|
||||
tableDataFunc,
|
||||
clearLine,
|
||||
showqdModal,
|
||||
checkPer,
|
||||
closeqdModal,
|
||||
showsingleqdModal,
|
||||
showsingleqtModal,
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btnss" style="margin-top: 20px" v-if="checkPer(permissions,createId)">
|
||||
<div class="btn btn1" @click="godie" style="margin-right: 20px">
|
||||
<div class="img1"></div>
|
||||
<div class="wz">催促{{title}}</div>
|
||||
@@ -105,12 +105,21 @@ import { toRefs, reactive, onMounted, onUnmounted } from "vue";
|
||||
import { message } from 'ant-design-vue';
|
||||
import CVote from "./CheckVote.vue"
|
||||
import * as api from "../../api/index";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
export default {
|
||||
name: "TimeManage",
|
||||
components:{
|
||||
CVote,
|
||||
},
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
Tvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -461,6 +470,7 @@ export default {
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
checkPer,
|
||||
closeDrawer,
|
||||
afterVisibleChange,
|
||||
tableDataFunc,
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<div class="img1"></div>
|
||||
<div class="wz">催促学习</div>
|
||||
</div>-->
|
||||
<div class="btn btn2" @click="exportTaskStu">
|
||||
<div class="btn btn2" @click="exportTaskStu" v-if="checkPer(permissions,createId)">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">导出数据</div>
|
||||
</div>
|
||||
@@ -119,10 +119,19 @@ import { toRefs, reactive, onMounted, onUnmounted } from "vue";
|
||||
import { message } from "ant-design-vue";
|
||||
// import * as api from "../../../api/index";
|
||||
import * as api from "../../../api/indexTaskManage";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
export default {
|
||||
name: "ProjectEvalManage",
|
||||
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
Evalvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -417,6 +426,7 @@ export default {
|
||||
afterVisibleChange,
|
||||
tableDataFunc,
|
||||
godie,
|
||||
checkPer,
|
||||
onMounted,
|
||||
onUnmounted,
|
||||
onChange,
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btnss" style="margin-top: 20px" v-if="checkPer(permissions,createId)">
|
||||
|
||||
<div class="btn btn1" @click="godie" style="margin-right: 20px">
|
||||
<div class="img1"></div>
|
||||
@@ -127,6 +127,7 @@ import EScore from "../ExportScore.vue";
|
||||
import CheckAnsware from '../CheckAnsware.vue'
|
||||
import * as api from '../../../api/indexTaskManage';
|
||||
import { batchSendMessage } from "@/api/index1";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
|
||||
// import * as api from "../../../api/index";
|
||||
export default {
|
||||
@@ -136,6 +137,14 @@ export default {
|
||||
CheckAnsware
|
||||
},
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
TMvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -448,6 +457,7 @@ export default {
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
checkPer,
|
||||
closeDrawer,
|
||||
afterVisibleChange,
|
||||
onSelectChange,
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btnss" style="margin-top: 20px" v-if="checkPer(permissions,createId)">
|
||||
<!-- <div class="btn btn1" style="margin-right: 20px" @click="godie">
|
||||
<div class="img1"></div>
|
||||
<div class="wz">催促学习</div>
|
||||
@@ -192,6 +192,7 @@ import EScore from "../ExportScore.vue";
|
||||
// import * as api from "../../../api/index";
|
||||
import * as api from "../../../api/index1";
|
||||
import ExportHomeWork from "../../Modals/ExportHomeWork.vue";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
export default {
|
||||
name: "ProjectFaceTaskManage",
|
||||
components: {
|
||||
@@ -203,6 +204,14 @@ export default {
|
||||
CheckAnsware
|
||||
},
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
Fvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -694,6 +703,7 @@ export default {
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
checkPer,
|
||||
closeDrawer,
|
||||
afterVisibleChange,
|
||||
onSelectChange,
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btnss" style="margin-top: 20px" v-if="checkPer(permissions,createId)">
|
||||
<div class="btn btn2" @click="exportTaskStu">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">导出数据</div>
|
||||
@@ -164,6 +164,7 @@ import EScore from "../ExportScore.vue";
|
||||
// import * as api from "../../../api/index";
|
||||
import * as api from "../../../api/index1";
|
||||
import ExportHomeWork from "../../Modals/ExportHomeWork.vue";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
export default {
|
||||
name: "ProjectHomeWorkManage",
|
||||
components: {
|
||||
@@ -174,6 +175,14 @@ export default {
|
||||
ExportHomeWork,
|
||||
},
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
Wvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -649,7 +658,7 @@ export default {
|
||||
showEntryScore,
|
||||
godie,
|
||||
clearLine,
|
||||
|
||||
checkPer,
|
||||
searchTaskList,
|
||||
resetTaskList,
|
||||
changePaginationStu,
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
<div class="wz">催促学习</div>
|
||||
</div>
|
||||
-->
|
||||
<div class="btn btn2" @click="exportTaskStu">
|
||||
<div class="btn btn2" @click="exportTaskStu" v-if="checkPer(permissions,createId)">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">导出数据</div>
|
||||
</div>
|
||||
@@ -138,11 +138,20 @@ import { message } from "ant-design-vue";
|
||||
// import * as api from "../../../api/index";
|
||||
import * as api from "../../../api/indexTaskManage";
|
||||
import ViewAssess from "../ViewAssess";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
|
||||
export default {
|
||||
name: "ProjectOnlineManage",
|
||||
components: { ViewAssess },
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
Tvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -510,6 +519,7 @@ export default {
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
checkPer,
|
||||
showassess,
|
||||
closeDrawer,
|
||||
afterVisibleChange,
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<div class="img1"></div>
|
||||
<div class="wz">催促学习</div>
|
||||
</div>-->
|
||||
<div class="btn btn2" @click="exportTaskStu">
|
||||
<div class="btn btn2" @click="exportTaskStu" v-if="checkPer(permissions,createId)">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">导出数据</div>
|
||||
</div>
|
||||
@@ -125,6 +125,7 @@
|
||||
// import * as api from "../../../api/index";
|
||||
import * as api from "../../../api/indexTaskManage";
|
||||
import CVote from "../CheckVote.vue"
|
||||
import {checkPer} from "@/utils/utils";
|
||||
|
||||
export default {
|
||||
name: "ProjectVoteManage",
|
||||
@@ -132,6 +133,14 @@
|
||||
CVote,
|
||||
},
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
ProjectVoteModelVisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -439,6 +448,7 @@
|
||||
afterVisibleChange,
|
||||
tableDataFunc,
|
||||
godie,
|
||||
checkPer,
|
||||
onMounted,
|
||||
onUnmounted,
|
||||
onChange,
|
||||
|
||||
@@ -621,7 +621,7 @@
|
||||
class="operation"
|
||||
style="cursor: pointer"
|
||||
@click="showAA(item.type, item.name, item)"
|
||||
v-if="(item.type == 6 || item.type == 9) && checkPer(permissions,createId)"
|
||||
v-if="(item.type == 6 || item.type == 9)"
|
||||
>
|
||||
考勤
|
||||
</div>
|
||||
@@ -640,7 +640,6 @@
|
||||
</div>
|
||||
<div
|
||||
class="operation"
|
||||
v-if="checkPer(permissions,createId)"
|
||||
style="cursor: pointer; margin-right: 10px"
|
||||
@click="
|
||||
item.type == '1' ||
|
||||
@@ -1469,6 +1468,8 @@
|
||||
</div>
|
||||
<!-- 时间管理抽屉 -->
|
||||
<time-manage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:Tvisible="visible"
|
||||
:projectTaskId="projectTaskId"
|
||||
:title="showTimeText"
|
||||
@@ -1476,6 +1477,8 @@
|
||||
/>
|
||||
<!-- 在线、案例等管理抽屉 -->
|
||||
<ProjectOnlineManage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:Tvisible="onlineVisible"
|
||||
:projectTaskId="projectTaskId"
|
||||
:title="showTimeText"
|
||||
@@ -1485,6 +1488,8 @@
|
||||
/>
|
||||
<!-- 面授管理抽屉 -->
|
||||
<ProjectFaceTaskManage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:Fvisible="FaceVisivle"
|
||||
:projectTaskId="projectTaskId"
|
||||
:title="showFaceText"
|
||||
@@ -1492,6 +1497,8 @@
|
||||
/>
|
||||
<!-- 作业管理抽屉 -->
|
||||
<ProjectHomeWorkManage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:Wvisible="Wvisible"
|
||||
:projectTaskId="projectTaskId"
|
||||
:title="showWorkText"
|
||||
@@ -1499,6 +1506,8 @@
|
||||
/>
|
||||
<!-- 系统考试管理抽屉 -->
|
||||
<ProjectExamManage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:TMvisible="TMvisible"
|
||||
:title="showTestText"
|
||||
:projectTaskId="projectTaskId"
|
||||
@@ -1506,6 +1515,8 @@
|
||||
/>
|
||||
<!-- 外部考试管理抽屉 -->
|
||||
<ProjectExternalExamManage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:TMvisibleExternal="TMvisibleExternal"
|
||||
:title="showTestText"
|
||||
:projectTaskId="projectTaskId"
|
||||
@@ -1513,6 +1524,8 @@
|
||||
/>
|
||||
<!-- 投票管理抽屉 -->
|
||||
<ProjectVoteManage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:ProjectVoteModelVisible="projectVoteModelVisible"
|
||||
:title="voteModelVisibleTitle"
|
||||
:levelName="voteLevelName"
|
||||
@@ -1520,6 +1533,8 @@
|
||||
/>
|
||||
<!-- 测评抽屉 -->
|
||||
<ProjectEvalManage
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:Evalvisible="Evalvisible"
|
||||
:title="showTestText"
|
||||
:projectTaskId="projectTaskId"
|
||||
@@ -1528,6 +1543,8 @@
|
||||
/>
|
||||
<!-- 添加证书抽屉 -->
|
||||
<AddCertificate
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:ACertificate="ACertificate"
|
||||
v-model:projectId="projectId"
|
||||
v-model:ACertificateEdit="ACertificateEdit"
|
||||
@@ -1562,6 +1579,8 @@
|
||||
<!-- <stu-add v-model:Stuvisible="Stuvisible" /> -->
|
||||
<!-- 添加学员抽屉 -->
|
||||
<proj-check-ship
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:ProjCheckvisible="Stuvisible"
|
||||
:selectProjectId="projectId"
|
||||
v-model:addAuthList="addAuthList"
|
||||
@@ -1598,11 +1617,15 @@
|
||||
/>
|
||||
<!-- 面授学员抽屉 -->
|
||||
<ProjectFaceStu
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:FSvisible="FSvisible"
|
||||
:projectTaskInfo="facestudent"
|
||||
/>
|
||||
<!-- 活动直播考勤抽屉 -->
|
||||
<active-attendance
|
||||
:permissions="permissions"
|
||||
:createId="createId"
|
||||
v-model:AAvisible="AAvisible"
|
||||
:datasource="liveData"
|
||||
:title="showKaoqinText"
|
||||
|
||||
Reference in New Issue
Block a user