mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 12:56:45 +08:00
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # src/components/drawers/AssessmentAll.vue
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
{{ noticeContent1 ? noticeContent1 : "暂无公告" }}
|
{{ noticeContent1 ? noticeContent1 : "暂无公告" }}
|
||||||
</div> -->
|
</div> -->
|
||||||
<a-textarea
|
<a-textarea
|
||||||
disabled="true"
|
disabled="false"
|
||||||
v-model:value="noticeContent1"
|
v-model:value="noticeContent1"
|
||||||
:maxlength="150"
|
:maxlength="150"
|
||||||
placeholder="公告信息最多输入150个字"
|
placeholder="公告信息最多输入150个字"
|
||||||
@@ -142,8 +142,8 @@ export default {
|
|||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
// message.success("发布成功");
|
// message.success("发布成功");
|
||||||
state.noticeContent1 =
|
// state.noticeContent1 =
|
||||||
res.data.data.notice == "" ? "暂无公告" : res.data.data.notice;
|
// res.data.data.notice == "" ? "暂无公告" : res.data.data.notice;
|
||||||
handleCancel();
|
handleCancel();
|
||||||
emitter.emit("setNotice", false);
|
emitter.emit("setNotice", false);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -602,6 +602,7 @@ export default {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log(res.data, "修改成功");
|
console.log(res.data, "修改成功");
|
||||||
message.destroy();
|
message.destroy();
|
||||||
|
getScoreRule();
|
||||||
return message.success("修改积分规则成功");
|
return message.success("修改积分规则成功");
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|||||||
@@ -159,6 +159,10 @@ export default {
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
|
outchapter: {
|
||||||
|
type: Number,
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
datasource: {
|
datasource: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: function () {
|
default: function () {
|
||||||
@@ -386,7 +390,7 @@ export default {
|
|||||||
console.log("我是传递的查询参数", {
|
console.log("我是传递的查询参数", {
|
||||||
"pageNo": state.currentPage,
|
"pageNo": state.currentPage,
|
||||||
"pageSize": state.pageSize,
|
"pageSize": state.pageSize,
|
||||||
"chapterId": props.datasource.chapterId,
|
"chapterId": props.outchapter,
|
||||||
"status": state.projectName,
|
"status": state.projectName,
|
||||||
"studentName": state.name,
|
"studentName": state.name,
|
||||||
"taskId": props.datasource.courseId,
|
"taskId": props.datasource.courseId,
|
||||||
@@ -397,7 +401,7 @@ export default {
|
|||||||
api.QueryOnlineManagementDetail({
|
api.QueryOnlineManagementDetail({
|
||||||
"pageNo": state.currentPage,
|
"pageNo": state.currentPage,
|
||||||
"pageSize": state.pageSize,
|
"pageSize": state.pageSize,
|
||||||
"chapterId": props.datasource.chapterId,
|
"chapterId": props.outchapter,
|
||||||
"status": state.projectName,
|
"status": state.projectName,
|
||||||
"studentName": state.name,
|
"studentName": state.name,
|
||||||
"targetId":props.datasource.routerId,
|
"targetId":props.datasource.routerId,
|
||||||
|
|||||||
@@ -159,6 +159,10 @@
|
|||||||
return {};
|
return {};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
outchapter: {
|
||||||
|
type: Number,
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
@@ -378,13 +382,13 @@
|
|||||||
function getData() {
|
function getData() {
|
||||||
state.loadingData = true;
|
state.loadingData = true;
|
||||||
api.QueryExternalExamManageDetail({
|
api.QueryExternalExamManageDetail({
|
||||||
chapterId: props.datasource.chapterId,
|
chapterId: props.outchapter,
|
||||||
pageNo: state.currentPage,
|
pageNo: state.currentPage,
|
||||||
pageSize: state.pageSize,
|
pageSize: state.pageSize,
|
||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
targetId: props.datasource.routerId,
|
targetId: props.datasource.routerId,
|
||||||
taskId: props.datasource.routerTaskId,
|
taskId: props.datasource.courseId,
|
||||||
type: 1,
|
type: 1,
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|||||||
@@ -158,6 +158,10 @@
|
|||||||
return {};
|
return {};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
outchapter: {
|
||||||
|
type: Number,
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
@@ -381,7 +385,7 @@
|
|||||||
console.log("我是传递的查询参数", {
|
console.log("我是传递的查询参数", {
|
||||||
"pageNo": state.currentPage,
|
"pageNo": state.currentPage,
|
||||||
"pageSize": state.pageSize,
|
"pageSize": state.pageSize,
|
||||||
"chapterId": props.datasource.stageId=="0"?"":props.datasource.stageId,
|
"chapterId": props.datasource.stageId=="0"?"":props.outchapter,
|
||||||
"status": state.projectName,
|
"status": state.projectName,
|
||||||
"studentName": state.name,
|
"studentName": state.name,
|
||||||
"targetId":props.datasource.projectId,
|
"targetId":props.datasource.projectId,
|
||||||
@@ -391,7 +395,7 @@
|
|||||||
api.QueryVoteManagementDetail({
|
api.QueryVoteManagementDetail({
|
||||||
"pageNo": state.currentPage,
|
"pageNo": state.currentPage,
|
||||||
"pageSize": state.pageSize,
|
"pageSize": state.pageSize,
|
||||||
"chapterId": props.datasource.chapterId,
|
"chapterId": props.outchapter,
|
||||||
"status": state.projectName,
|
"status": state.projectName,
|
||||||
"studentName": state.name,
|
"studentName": state.name,
|
||||||
"targetId":props.datasource.routerId,
|
"targetId":props.datasource.routerId,
|
||||||
|
|||||||
@@ -244,14 +244,14 @@
|
|||||||
<div v-if="i < 11">
|
<div v-if="i < 11">
|
||||||
<div class="chose">
|
<div class="chose">
|
||||||
{{ item.realName }}
|
{{ item.realName }}
|
||||||
<div class="ch" @click="stuDel(i)"></div>
|
<div class="ch" @click="memberDel(i)"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div v-if="person">
|
<div v-if="person">
|
||||||
<div class="chose">
|
<div class="chose">
|
||||||
{{ item.realName }}
|
{{ item.realName }}
|
||||||
<div class="ch" @click="stuDel(i)"></div>
|
<div class="ch" @click="memberDel(i)"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -536,13 +536,23 @@ const getStu = () => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
getStu();
|
getStu();
|
||||||
const projectChangePagination = () => {};
|
const projectChangePagination = (page) => {
|
||||||
|
procurrentPage.value = page;
|
||||||
|
getStu();
|
||||||
|
};
|
||||||
function onProjectSelectChange(e, l) {
|
function onProjectSelectChange(e, l) {
|
||||||
console.log("eeeee", e, l);
|
console.log("eeeee", e, l);
|
||||||
projectSelectKeys.value = e;
|
projectSelectKeys.value = e;
|
||||||
selectsData.value.projectMemberList = l;
|
selectsData.value.projectMemberList = l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function memberDel(i) {
|
||||||
|
projectSelectKeys.value = projectSelectKeys.value.filter(
|
||||||
|
(e) => e !== selectsData.value.projectMemberList[i].id
|
||||||
|
);
|
||||||
|
selectsData.value.projectMemberList.splice(i, 1);
|
||||||
|
}
|
||||||
|
|
||||||
const person = ref(false);
|
const person = ref(false);
|
||||||
// const dept =ref(false)
|
// const dept =ref(false)
|
||||||
const group = ref(false);
|
const group = ref(false);
|
||||||
@@ -889,7 +899,9 @@ function handleStageOk() {
|
|||||||
deptIds: selectsData.value.deptList?.map((e) => e.id),
|
deptIds: selectsData.value.deptList?.map((e) => e.id),
|
||||||
stageId: selectsData.value.stageId,
|
stageId: selectsData.value.stageId,
|
||||||
groupIds: selectsData.value.groupList?.map((e) => e.id),
|
groupIds: selectsData.value.groupList?.map((e) => e.id),
|
||||||
studentList: selectsData.value.studentList,
|
studentList: selectsData.value.studentList.concat(
|
||||||
|
selectsData.value.projectMemberList
|
||||||
|
),
|
||||||
groupName: props.groupName,
|
groupName: props.groupName,
|
||||||
groupId: props.groupId,
|
groupId: props.groupId,
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
@@ -940,6 +952,7 @@ watch(visiable, () => {
|
|||||||
studentList: [],
|
studentList: [],
|
||||||
deptList: [],
|
deptList: [],
|
||||||
groupList: [],
|
groupList: [],
|
||||||
|
projectMemberList: [],
|
||||||
};
|
};
|
||||||
stuReset();
|
stuReset();
|
||||||
auditReset();
|
auditReset();
|
||||||
|
|||||||
@@ -440,6 +440,15 @@ const tablecolumns = ref([
|
|||||||
customRender: ({ record: { studentOrgName, studentDepartName } }) =>
|
customRender: ({ record: { studentOrgName, studentDepartName } }) =>
|
||||||
allDepartShow(studentOrgName, studentDepartName),
|
allDepartShow(studentOrgName, studentDepartName),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "所属小组",
|
||||||
|
dataIndex: "groupName",
|
||||||
|
key: "groupName",
|
||||||
|
width: "20%",
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
ellipsis: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "加入方式",
|
title: "加入方式",
|
||||||
dataIndex: "source",
|
dataIndex: "source",
|
||||||
@@ -449,13 +458,13 @@ const tablecolumns = ref([
|
|||||||
customRender: ({ record: { source } }) =>
|
customRender: ({ record: { source } }) =>
|
||||||
// ({ 1: "快速添加", 2: "组织", 3: "受众", 4: "报名" }[source]),
|
// ({ 1: "快速添加", 2: "组织", 3: "受众", 4: "报名" }[source]),
|
||||||
({
|
({
|
||||||
0: "手动加入",
|
0: "导入",
|
||||||
1: "手动加入",
|
1: "导入",
|
||||||
2: "手动加入",
|
2: "导入",
|
||||||
3: "手动加入",
|
3: "导入",
|
||||||
4: "报名",
|
4: "报名",
|
||||||
5: "手动加入",
|
5: "导入",
|
||||||
6: "手动加入",
|
6: "导入",
|
||||||
}[source]),
|
}[source]),
|
||||||
},
|
},
|
||||||
...props.columns,
|
...props.columns,
|
||||||
|
|||||||
@@ -2030,7 +2030,7 @@ const columns7 = [
|
|||||||
customRender: ({ record }) => {
|
customRender: ({ record }) => {
|
||||||
switch (String(record.source)) {
|
switch (String(record.source)) {
|
||||||
case "1":
|
case "1":
|
||||||
return "手动加入";
|
return "导入";
|
||||||
case "2":
|
case "2":
|
||||||
return "报名加入";
|
return "报名加入";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3573,7 +3573,7 @@ const columns7 = [
|
|||||||
customRender: ({ record }) => {
|
customRender: ({ record }) => {
|
||||||
switch (String(record.source)) {
|
switch (String(record.source)) {
|
||||||
case "1":
|
case "1":
|
||||||
return "手动加入";
|
return "导入";
|
||||||
case "2":
|
case "2":
|
||||||
return "报名加入";
|
return "报名加入";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,98 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
<!-- 邀请审核弹窗 -->
|
||||||
|
<a-modal v-model:visible="courInvitationAuditModal" :footer="null" :closable="closeBack" wrapClassName="courAuditModal"
|
||||||
|
centered="true">
|
||||||
|
<div class="delete">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<span>请选择教师</span>
|
||||||
|
<div class="close_exit" @click="closeInvitationCourAuditModal"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<div class="item" style="align-items: center;">
|
||||||
|
<div class="left">教师:</div>
|
||||||
|
<div class="rig" style="margin-left: 10px;">
|
||||||
|
<ProjectManager
|
||||||
|
placeholder="请输入教师姓名"
|
||||||
|
v-model:value="memberValue.value"
|
||||||
|
v-model:name="memberValue.label">
|
||||||
|
</ProjectManager>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item" style="margin-top: 20px">
|
||||||
|
<div class="sign" style="position: relative; left: 30px; top: -2px">
|
||||||
|
<img src="@/assets/images/coursewareManage/asterisk.png" alt="" />
|
||||||
|
</div>
|
||||||
|
<div class="left">邀请说明:</div>
|
||||||
|
<div class="rig">
|
||||||
|
<a-textarea v-model:value="valueSuggInvitation" :rows="4" show-count :maxlength="20" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1" @click="closeInvitationCourAuditModal">
|
||||||
|
<div class="btnText">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2" @click="sureInvitationCourAuditModal">
|
||||||
|
<div class="btnText">转审</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
<!-- 转审完成弹窗 -->
|
||||||
|
<a-modal v-model:visible="transferInvitationAuditModal" :footer="null" :closable="closeBack" wrapClassName="courAuditModal"
|
||||||
|
centered="true">
|
||||||
|
<div class="delete" style="height:460px;">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<span>审核信息</span>
|
||||||
|
<div class="close_exit" @click="closeTransferInvitationCourAuditModal"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<div class="item" style="align-items: center;">
|
||||||
|
<div class="left">审核人:</div>
|
||||||
|
<div class="rig" style="margin-left: 10px;">
|
||||||
|
<span>董瑞华</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item" style="align-items: center;margin-top: 20px;">
|
||||||
|
<div class="left">审核结果:</div>
|
||||||
|
<div class="rig" style="margin-left: 10px;">
|
||||||
|
<a-tag color="red">拒绝</a-tag>
|
||||||
|
<a-tag color="green">通过</a-tag>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item" style="margin-top: 20px">
|
||||||
|
<div class="sign" style="position: relative; left: 30px; top: -2px">
|
||||||
|
<!-- <img src="@/assets/images/coursewareManage/asterisk.png" alt="" /> -->
|
||||||
|
</div>
|
||||||
|
<div class="left">审核备注:</div>
|
||||||
|
<div class="rig">
|
||||||
|
<a-textarea v-model:value="valueTransferSuggInvitation" :rows="4" show-count :maxlength="20" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item" style="align-items: center;margin-top: 20px;">
|
||||||
|
<div class="left">审核时间:</div>
|
||||||
|
<div class="rig" style="margin-left: 10px;">
|
||||||
|
<span>2023-02-14 11:23:45</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1" @click="closeTransferInvitationCourAuditModal">
|
||||||
|
<div class="btnText">关闭</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
<!-- 预览弹窗 -->
|
<!-- 预览弹窗 -->
|
||||||
<SeeModal :visible="lookCourseModal" :detail="faceDetailObj" @cancel="ft_exit" />
|
<SeeModal :visible="lookCourseModal" :detail="faceDetailObj" @cancel="ft_exit" />
|
||||||
|
|
||||||
@@ -139,6 +231,7 @@
|
|||||||
import {reactive, toRefs, onMounted, ref, computed} from "vue";
|
import {reactive, toRefs, onMounted, ref, computed} from "vue";
|
||||||
import { list, courseAuditView, courseDetail } from "../../api/indexAudit";
|
import { list, courseAuditView, courseDetail } from "../../api/indexAudit";
|
||||||
import { message } from "ant-design-vue";
|
import { message } from "ant-design-vue";
|
||||||
|
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||||
import SeeModal from "../courselibrary/components/seeModal.vue";
|
import SeeModal from "../courselibrary/components/seeModal.vue";
|
||||||
import { iframeUrl } from "../../api/method";
|
import { iframeUrl } from "../../api/method";
|
||||||
import {useStore} from "vuex";
|
import {useStore} from "vuex";
|
||||||
@@ -148,6 +241,7 @@ export default {
|
|||||||
name: "CoursereViewedN",
|
name: "CoursereViewedN",
|
||||||
components: {
|
components: {
|
||||||
SeeModal,
|
SeeModal,
|
||||||
|
ProjectManager
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
@@ -162,6 +256,10 @@ export default {
|
|||||||
label: "rose",
|
label: "rose",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
memberValue: {
|
||||||
|
value: "",
|
||||||
|
label: "",
|
||||||
|
},
|
||||||
calssifyList: [], //分类字典
|
calssifyList: [], //分类字典
|
||||||
valueproj: null,
|
valueproj: null,
|
||||||
valuecreater: "",
|
valuecreater: "",
|
||||||
@@ -171,9 +269,13 @@ export default {
|
|||||||
total: null,
|
total: null,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
courAuditModal: false, //审核弹窗
|
courAuditModal: false, //审核弹窗
|
||||||
|
courInvitationAuditModal: false, //邀请审核弹窗
|
||||||
|
transferInvitationAuditModal: false, //转审完成 弹框
|
||||||
closeBack: false,
|
closeBack: false,
|
||||||
valuepass: "1",
|
valuepass: "1",
|
||||||
valueSugg: null,
|
valueSugg: null,
|
||||||
|
valueSuggInvitation: null,
|
||||||
|
valueTransferSuggInvitation: null,
|
||||||
createId: null,
|
createId: null,
|
||||||
chooseCreater: null,
|
chooseCreater: null,
|
||||||
chooseOffId: null,
|
chooseOffId: null,
|
||||||
@@ -214,21 +316,40 @@ export default {
|
|||||||
dataIndex: "status",
|
dataIndex: "status",
|
||||||
key: "status",
|
key: "status",
|
||||||
align: "center",
|
align: "center",
|
||||||
width: "10%",
|
width: "8%",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "转审",
|
||||||
|
dataIndex: "transfer",
|
||||||
|
key: "transfer",
|
||||||
|
align: "center",
|
||||||
|
width: "10%",
|
||||||
|
customRender: (value) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<a-tag
|
||||||
|
color="blue">已转审</a-tag>
|
||||||
|
<a-tag
|
||||||
|
onClick={()=>{
|
||||||
|
showTransferInvitationAudit(
|
||||||
|
value.record.createrId,
|
||||||
|
value.record.creater,
|
||||||
|
value.record.offId
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
style="cursor:pointer;"
|
||||||
|
color="green">转审完成</a-tag>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// title: "转审",
|
|
||||||
// dataIndex: "change",
|
|
||||||
// key: "change",
|
|
||||||
// align: "center",
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
title: "创建人",
|
title: "创建人",
|
||||||
dataIndex: "creater",
|
dataIndex: "creater",
|
||||||
key: "creater",
|
key: "creater",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: "15%",
|
width: "10%",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "创建时间",
|
title: "创建时间",
|
||||||
@@ -236,7 +357,7 @@ export default {
|
|||||||
key: "time",
|
key: "time",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: "15%",
|
width: "10%",
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -261,6 +382,19 @@ export default {
|
|||||||
审核
|
审核
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
style="cursor:pointer;color:#387DF7"
|
||||||
|
onClick={() => {
|
||||||
|
showInvitationAudit(
|
||||||
|
value.record.createrId,
|
||||||
|
value.record.creater,
|
||||||
|
value.record.offId
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
邀请审核
|
||||||
|
</span>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
getFaceDetail(value.record.offId);
|
getFaceDetail(value.record.offId);
|
||||||
@@ -563,6 +697,7 @@ export default {
|
|||||||
time: item.processTime,
|
time: item.processTime,
|
||||||
createrId: item.createId,
|
createrId: item.createId,
|
||||||
offId: item.id,
|
offId: item.id,
|
||||||
|
transfer: item.id // 转审
|
||||||
};
|
};
|
||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
@@ -587,6 +722,32 @@ export default {
|
|||||||
state.chooseOffId = offId;
|
state.chooseOffId = offId;
|
||||||
getFaceList();
|
getFaceList();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 显示邀请审核弹框
|
||||||
|
const showInvitationAudit = (createId, creater, offId) => {
|
||||||
|
console.log("参数",createId, creater, offId)
|
||||||
|
state.courInvitationAuditModal = true;
|
||||||
|
};
|
||||||
|
// 关闭邀请审核弹框
|
||||||
|
const closeInvitationCourAuditModal = () => {
|
||||||
|
state.courInvitationAuditModal = false;
|
||||||
|
}
|
||||||
|
// 邀请审核确定
|
||||||
|
const sureInvitationCourAuditModal = () => {
|
||||||
|
state.courInvitationAuditModal = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 转审完成弹框
|
||||||
|
const showTransferInvitationAudit = (createId, creater, offId) => {
|
||||||
|
console.log("参数",createId, creater, offId)
|
||||||
|
state.transferInvitationAuditModal = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 关闭转审完成弹框
|
||||||
|
const closeTransferInvitationCourAuditModal = () => {
|
||||||
|
state.transferInvitationAuditModal = false;
|
||||||
|
}
|
||||||
|
|
||||||
const closeCourAuditModal = () => {
|
const closeCourAuditModal = () => {
|
||||||
state.courAuditModal = false;
|
state.courAuditModal = false;
|
||||||
state.valueSugg = null;
|
state.valueSugg = null;
|
||||||
@@ -646,6 +807,11 @@ export default {
|
|||||||
reset,
|
reset,
|
||||||
changePagination,
|
changePagination,
|
||||||
showAudit,
|
showAudit,
|
||||||
|
showInvitationAudit,
|
||||||
|
closeInvitationCourAuditModal,
|
||||||
|
sureInvitationCourAuditModal,
|
||||||
|
showTransferInvitationAudit,
|
||||||
|
closeTransferInvitationCourAuditModal,
|
||||||
closeCourAuditModal,
|
closeCourAuditModal,
|
||||||
sureCourAuditModal,
|
sureCourAuditModal,
|
||||||
ft_exit,
|
ft_exit,
|
||||||
|
|||||||
@@ -115,8 +115,8 @@
|
|||||||
<a-button @click="showDeleteModal(record.id)" type="link" danger>删除</a-button>
|
<a-button @click="showDeleteModal(record.id)" type="link" danger>删除</a-button>
|
||||||
<a-button v-if="record.state==='已发布'" @click="showBackModal(record.id)" type="link">撤回</a-button>
|
<a-button v-if="record.state==='已发布'" @click="showBackModal(record.id)" type="link">撤回</a-button>
|
||||||
<a-button v-if="record.state==='已发布'" @click="showStopModal(record.id)" type="link">结束</a-button>
|
<a-button v-if="record.state==='已发布'" @click="showStopModal(record.id)" type="link">结束</a-button>
|
||||||
<a-button v-if="record.state==='已结束'" @click="showStartModal(record.id)" type="link">启用</a-button>
|
|
||||||
</DropDown>
|
</DropDown>
|
||||||
|
<!-- <a-button v-if="record.state==='已结束'" @click="showStartModal(record.id)" type="link">启用</a-button> -->
|
||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -327,7 +327,7 @@
|
|||||||
<div class="taskmain">任务大纲</div>
|
<div class="taskmain">任务大纲</div>
|
||||||
|
|
||||||
<router-link
|
<router-link
|
||||||
:to="{ path: '/leveladddetail', query:{ routerId: routerId } }"
|
:to="{ path: '/leveladddetail', query: { routerId: routerId } }"
|
||||||
class="editright"
|
class="editright"
|
||||||
v-if="checkPer(permissions)"
|
v-if="checkPer(permissions)"
|
||||||
>
|
>
|
||||||
@@ -340,7 +340,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 无数据显示快速创建 -->
|
<!-- 无数据显示快速创建 -->
|
||||||
<div v-show="!taskSyllabus.length">
|
<div v-show="!taskSyllabus.length">
|
||||||
<router-link :to="{ path: '/leveladddetail', query:{ routerId: routerId } }">
|
<router-link
|
||||||
|
:to="{ path: '/leveladddetail', query: { routerId: routerId } }"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="taskbox"
|
class="taskbox"
|
||||||
style="background: linear-gradient(180deg, #fef3dd, #fffaf0)"
|
style="background: linear-gradient(180deg, #fef3dd, #fffaf0)"
|
||||||
@@ -529,17 +531,17 @@
|
|||||||
item.type === 6 ||
|
item.type === 6 ||
|
||||||
item.type === 11 ||
|
item.type === 11 ||
|
||||||
item.type === 9
|
item.type === 9
|
||||||
? commonModel(item, value.name)
|
? commonModel(item, value.name, value.chapterId)
|
||||||
: item.type === 2
|
: item.type === 2
|
||||||
? faceTeachModel(item)
|
? faceTeachModel(item)
|
||||||
: item.type === 4
|
: item.type === 4
|
||||||
? homeworkModel(item)
|
? homeworkModel(item)
|
||||||
: item.type === 5
|
: item.type === 5
|
||||||
? examinationModel(item, value.name)
|
? examinationModel(item, value.name, value.chapterId)
|
||||||
: item.type === 10
|
: item.type === 10
|
||||||
? evaluationModel(item, value.name)
|
? evaluationModel(item, value.name)
|
||||||
: item.type === 12
|
: item.type === 12
|
||||||
? voteModel(item, value.name)
|
? voteModel(item, value.name, value.chapterId)
|
||||||
: item.type === 13
|
: item.type === 13
|
||||||
? projectModel(item, value.name)
|
? projectModel(item, value.name)
|
||||||
: null
|
: null
|
||||||
@@ -1301,6 +1303,7 @@
|
|||||||
v-model:ExaminationExaminaModelVisible="examinationExaminaModelVisible"
|
v-model:ExaminationExaminaModelVisible="examinationExaminaModelVisible"
|
||||||
:title="examinationModelVisibleTitle"
|
:title="examinationModelVisibleTitle"
|
||||||
:datasource="examinationData"
|
:datasource="examinationData"
|
||||||
|
:outchapter="outchapter"
|
||||||
:levelName="examLevelName"
|
:levelName="examLevelName"
|
||||||
/>
|
/>
|
||||||
<!-- 外部考试管理抽屉 结束-->
|
<!-- 外部考试管理抽屉 结束-->
|
||||||
@@ -1327,6 +1330,7 @@
|
|||||||
v-model:CommonModelVisible="commonModelVisible"
|
v-model:CommonModelVisible="commonModelVisible"
|
||||||
:title="commonModelVisibleTitle"
|
:title="commonModelVisibleTitle"
|
||||||
:datasource="commonData"
|
:datasource="commonData"
|
||||||
|
:outchapter="outchapter"
|
||||||
:levelName="commonLevelName"
|
:levelName="commonLevelName"
|
||||||
/>
|
/>
|
||||||
<!-- 公共管理抽屉 结束-->
|
<!-- 公共管理抽屉 结束-->
|
||||||
@@ -1336,6 +1340,7 @@
|
|||||||
v-model:VoteModelVisible="voteModelVisible"
|
v-model:VoteModelVisible="voteModelVisible"
|
||||||
:title="voteModelVisibleTitle"
|
:title="voteModelVisibleTitle"
|
||||||
:datasource="voteData"
|
:datasource="voteData"
|
||||||
|
:outchapter="outchapter"
|
||||||
:levelName="voteLevelName"
|
:levelName="voteLevelName"
|
||||||
/>
|
/>
|
||||||
<!-- 投票管理抽屉 结束-->
|
<!-- 投票管理抽屉 结束-->
|
||||||
@@ -1364,7 +1369,7 @@ import TestManage from "../../components/drawers/TestManage";
|
|||||||
import FaceManage from "../../components/drawers/FaceManage";
|
import FaceManage from "../../components/drawers/FaceManage";
|
||||||
import WorkManage from "../../components/drawers/WorkManage";
|
import WorkManage from "../../components/drawers/WorkManage";
|
||||||
import SeeStu from "../../components/drawers/SeeStu";
|
import SeeStu from "../../components/drawers/SeeStu";
|
||||||
import { useRouter,useRoute } from "vue-router";
|
import { useRouter, useRoute } from "vue-router";
|
||||||
import { getRouterOverview } from "@/api/indexLearningPath";
|
import { getRouterOverview } from "@/api/indexLearningPath";
|
||||||
import { handleLearnPath } from "../../api/index1";
|
import { handleLearnPath } from "../../api/index1";
|
||||||
import { GetRouterDetail } from "@/api/indexTask";
|
import { GetRouterDetail } from "@/api/indexTask";
|
||||||
@@ -1590,6 +1595,7 @@ export default {
|
|||||||
projectModelVisible: false,
|
projectModelVisible: false,
|
||||||
faceTeachModelVisibleTitle: "",
|
faceTeachModelVisibleTitle: "",
|
||||||
examinationModelVisibleTitle: "",
|
examinationModelVisibleTitle: "",
|
||||||
|
outchapter:"",
|
||||||
evaluationModelVisibleTitle: "",
|
evaluationModelVisibleTitle: "",
|
||||||
homeworkModelVisibleTitle: "",
|
homeworkModelVisibleTitle: "",
|
||||||
commonModelVisibleTitle: "",
|
commonModelVisibleTitle: "",
|
||||||
@@ -1900,11 +1906,12 @@ export default {
|
|||||||
// 面授课弹框名称 RouterFaceTeachManage
|
// 面授课弹框名称 RouterFaceTeachManage
|
||||||
};
|
};
|
||||||
// 考试点击管理弹框
|
// 考试点击管理弹框
|
||||||
const examinationModel = (data, levelname) => {
|
const examinationModel = (data, levelname, outchapterid) => {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
if (data.startTime == null && data.endTime == null) {
|
if (data.startTime == null && data.endTime == null) {
|
||||||
// 外部考试
|
// 外部考试
|
||||||
state.examinationExaminaModelVisible = true;
|
state.examinationExaminaModelVisible = true;
|
||||||
|
state.outchapter = outchapterid;
|
||||||
} else {
|
} else {
|
||||||
// 系统考试
|
// 系统考试
|
||||||
state.examinationModelVisible = true;
|
state.examinationModelVisible = true;
|
||||||
@@ -1924,12 +1931,13 @@ export default {
|
|||||||
// 测评弹框名称 RouterEvaluationManage
|
// 测评弹框名称 RouterEvaluationManage
|
||||||
};
|
};
|
||||||
// 投票点击管理弹框
|
// 投票点击管理弹框
|
||||||
const voteModel = (data, levelname) => {
|
const voteModel = (data, levelname, outchapterid) => {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
state.voteLevelName = levelname;
|
state.voteLevelName = levelname;
|
||||||
state.voteModelVisible = true;
|
state.voteModelVisible = true;
|
||||||
state.voteModelVisibleTitle = data.name;
|
state.voteModelVisibleTitle = data.name;
|
||||||
state.voteData = data;
|
state.voteData = data;
|
||||||
|
state.outchapter = outchapterid;
|
||||||
// 投票弹框名称 RouterVoteManage
|
// 投票弹框名称 RouterVoteManage
|
||||||
};
|
};
|
||||||
// 项目点击管理弹框
|
// 项目点击管理弹框
|
||||||
@@ -1950,12 +1958,13 @@ export default {
|
|||||||
// 作业弹框名称 RouterHomeworkManage
|
// 作业弹框名称 RouterHomeworkManage
|
||||||
};
|
};
|
||||||
// 在线、案例、外链、评估、直播、活动点击管理弹框
|
// 在线、案例、外链、评估、直播、活动点击管理弹框
|
||||||
const commonModel = (data, levelname) => {
|
const commonModel = (data, levelname, outchapterid) => {
|
||||||
state.commonLevelName = levelname;
|
state.commonLevelName = levelname;
|
||||||
console.log(data);
|
console.log(data);
|
||||||
state.commonModelVisible = true;
|
state.commonModelVisible = true;
|
||||||
state.commonModelVisibleTitle = data.name;
|
state.commonModelVisibleTitle = data.name;
|
||||||
state.commonData = data;
|
state.commonData = data;
|
||||||
|
state.outchapter = outchapterid;
|
||||||
// 公共模块弹框名称 RouterCommonManage
|
// 公共模块弹框名称 RouterCommonManage
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2278,6 +2287,7 @@ export default {
|
|||||||
state.nodata = false;
|
state.nodata = false;
|
||||||
}
|
}
|
||||||
let data = res.data.data.chapterList;
|
let data = res.data.data.chapterList;
|
||||||
|
console.log('----------------111111111111111-----------------2222222222', res.data.data.chapterList)
|
||||||
state.stage = res.data.data.chapterList.map((e) => ({
|
state.stage = res.data.data.chapterList.map((e) => ({
|
||||||
id: e.chapterId,
|
id: e.chapterId,
|
||||||
name: e.name,
|
name: e.name,
|
||||||
@@ -2549,7 +2559,7 @@ export default {
|
|||||||
// console.log("state.taskSyllabus", state.taskSyllabus);
|
// console.log("state.taskSyllabus", state.taskSyllabus);
|
||||||
router.push({
|
router.push({
|
||||||
path: "/leveladddetail",
|
path: "/leveladddetail",
|
||||||
query:{ routerId: state.routerId }
|
query: { routerId: state.routerId },
|
||||||
});
|
});
|
||||||
// if (state.taskSyllabus.length===1) {
|
// if (state.taskSyllabus.length===1) {
|
||||||
// if(state.taskSyllabus[0].taskList.length===0){
|
// if(state.taskSyllabus[0].taskList.length===0){
|
||||||
@@ -2594,6 +2604,7 @@ export default {
|
|||||||
"&id=" +
|
"&id=" +
|
||||||
item.projectTaskId;
|
item.projectTaskId;
|
||||||
}
|
}
|
||||||
|
if (item.type == 3) return message.error("请在pc端完成");
|
||||||
|
|
||||||
if (item.type == 4) {
|
if (item.type == 4) {
|
||||||
let date1 = new Date(item.endTime).getTime();
|
let date1 = new Date(item.endTime).getTime();
|
||||||
|
|||||||
@@ -4719,7 +4719,7 @@ export default {
|
|||||||
"&id=" +
|
"&id=" +
|
||||||
item.projectTaskId;
|
item.projectTaskId;
|
||||||
}
|
}
|
||||||
|
if (item.type == 3) return message.error("请在pc端完成");
|
||||||
if (item.type == 4) {
|
if (item.type == 4) {
|
||||||
let date1 = new Date(item.endTime).getTime();
|
let date1 = new Date(item.endTime).getTime();
|
||||||
let date2 = new Date().getTime();
|
let date2 = new Date().getTime();
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ export default defineComponent({
|
|||||||
for (let i in resData) {
|
for (let i in resData) {
|
||||||
state.tableData1.push({
|
state.tableData1.push({
|
||||||
id : i + 1,
|
id : i + 1,
|
||||||
projectTemplateId:resData[i].projectTemplateId,
|
projectTemplateId:resData[i].id,
|
||||||
status:resData[i].status ? "已发布" : "未发布",
|
status:resData[i].status ? "已发布" : "未发布",
|
||||||
name:resData[i].name,
|
name:resData[i].name,
|
||||||
creator:resData[i].createName,
|
creator:resData[i].createName,
|
||||||
|
|||||||
Reference in New Issue
Block a user