mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +08:00
feat:合并
This commit is contained in:
@@ -267,6 +267,7 @@ export default {
|
||||
};
|
||||
const getTableDate = (tableData) => {
|
||||
let data = tableData;
|
||||
console.log('我是获取的评估数据', data)
|
||||
let array = [];
|
||||
data.map((value) => {
|
||||
let n1 = value.essayQuestionVoList
|
||||
@@ -289,7 +290,7 @@ export default {
|
||||
assessmentId: value.id,
|
||||
num: num,
|
||||
name: value.assessmentName ? value.assessmentName : "-",
|
||||
creator: value.createUserName ? value.createUserName : "-",
|
||||
creator: value.createName ? value.createName : "-",
|
||||
time: dayjs(value.createTime).format("YYYY-MM-DD HH:mm"),
|
||||
};
|
||||
array.push(obj);
|
||||
|
||||
@@ -124,6 +124,98 @@
|
||||
</div>
|
||||
</div>
|
||||
</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" />
|
||||
|
||||
@@ -139,6 +231,7 @@
|
||||
import {reactive, toRefs, onMounted, ref, computed} from "vue";
|
||||
import { list, courseAuditView, courseDetail } from "../../api/indexAudit";
|
||||
import { message } from "ant-design-vue";
|
||||
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||
import SeeModal from "../courselibrary/components/seeModal.vue";
|
||||
import { iframeUrl } from "../../api/method";
|
||||
import {useStore} from "vuex";
|
||||
@@ -148,6 +241,7 @@ export default {
|
||||
name: "CoursereViewedN",
|
||||
components: {
|
||||
SeeModal,
|
||||
ProjectManager
|
||||
},
|
||||
setup() {
|
||||
const state = reactive({
|
||||
@@ -162,6 +256,10 @@ export default {
|
||||
label: "rose",
|
||||
},
|
||||
],
|
||||
memberValue: {
|
||||
value: "",
|
||||
label: "",
|
||||
},
|
||||
calssifyList: [], //分类字典
|
||||
valueproj: null,
|
||||
valuecreater: "",
|
||||
@@ -171,9 +269,13 @@ export default {
|
||||
total: null,
|
||||
pageSize: 10,
|
||||
courAuditModal: false, //审核弹窗
|
||||
courInvitationAuditModal: false, //邀请审核弹窗
|
||||
transferInvitationAuditModal: false, //转审完成 弹框
|
||||
closeBack: false,
|
||||
valuepass: "1",
|
||||
valueSugg: null,
|
||||
valueSuggInvitation: null,
|
||||
valueTransferSuggInvitation: null,
|
||||
createId: null,
|
||||
chooseCreater: null,
|
||||
chooseOffId: null,
|
||||
@@ -214,21 +316,40 @@ export default {
|
||||
dataIndex: "status",
|
||||
key: "status",
|
||||
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: "创建人",
|
||||
dataIndex: "creater",
|
||||
key: "creater",
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
width: "15%",
|
||||
width: "10%",
|
||||
},
|
||||
{
|
||||
title: "创建时间",
|
||||
@@ -236,7 +357,7 @@ export default {
|
||||
key: "time",
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
width: "15%",
|
||||
width: "10%",
|
||||
},
|
||||
|
||||
{
|
||||
@@ -261,6 +382,19 @@ export default {
|
||||
审核
|
||||
</span>
|
||||
|
||||
<span
|
||||
style="cursor:pointer;color:#387DF7"
|
||||
onClick={() => {
|
||||
showInvitationAudit(
|
||||
value.record.createrId,
|
||||
value.record.creater,
|
||||
value.record.offId
|
||||
)
|
||||
}}
|
||||
>
|
||||
邀请审核
|
||||
</span>
|
||||
|
||||
<span
|
||||
onClick={() => {
|
||||
getFaceDetail(value.record.offId);
|
||||
@@ -563,6 +697,7 @@ export default {
|
||||
time: item.processTime,
|
||||
createrId: item.createId,
|
||||
offId: item.id,
|
||||
transfer: item.id // 转审
|
||||
};
|
||||
array.push(obj);
|
||||
});
|
||||
@@ -587,6 +722,32 @@ export default {
|
||||
state.chooseOffId = offId;
|
||||
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 = () => {
|
||||
state.courAuditModal = false;
|
||||
state.valueSugg = null;
|
||||
@@ -646,6 +807,11 @@ export default {
|
||||
reset,
|
||||
changePagination,
|
||||
showAudit,
|
||||
showInvitationAudit,
|
||||
closeInvitationCourAuditModal,
|
||||
sureInvitationCourAuditModal,
|
||||
showTransferInvitationAudit,
|
||||
closeTransferInvitationCourAuditModal,
|
||||
closeCourAuditModal,
|
||||
sureCourAuditModal,
|
||||
ft_exit,
|
||||
|
||||
@@ -715,7 +715,6 @@ import ProjCheckShip from "../../components/drawers/ProjCheckPower";
|
||||
import * as api from "../../api/index1";
|
||||
import * as apiStu from "../../api/index";
|
||||
import { message } from "ant-design-vue";
|
||||
// import { storage } from "@/api/storage";
|
||||
import { useStore } from "vuex";
|
||||
import OrgClass from "@/components/project/OrgClass";
|
||||
import NameInput from "@/components/project/NameInput";
|
||||
|
||||
@@ -854,12 +854,10 @@ import AddFaceteach from "../../components/drawers/AddFaceteach.vue";
|
||||
import * as api from "../../api/indexLevel";
|
||||
import { GetRouterDetail, changeChapterSort, changeTasklistSort, releaseRouter, cancelRouterTask } from "../../api/indexTask";
|
||||
import { message, Modal } from "ant-design-vue";
|
||||
// import { storage } from "../../api/storage";
|
||||
import { deleteStudyTask } from "../../api/indexStudy";
|
||||
import draggable from "vuedraggable";
|
||||
import { editTask } from "../../api/indexTaskadd";
|
||||
import { editRoutered } from '@/api/indexLearningPath'
|
||||
// import { RouterEditTask } from "@/api/indexTask";
|
||||
import { useRouter, useRoute } from "vue-router";
|
||||
import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
export default {
|
||||
@@ -890,39 +888,10 @@ export default {
|
||||
const state = reactive({
|
||||
routerId: route.query.routerId,
|
||||
routerDetail: null,
|
||||
level: [
|
||||
// {
|
||||
// chapterId: "1",
|
||||
// remark: "关卡说明",
|
||||
// name: "默认关卡",
|
||||
// },
|
||||
],
|
||||
level: [],
|
||||
unlockMode: 1, // 学习模式
|
||||
tableData: [
|
||||
// {
|
||||
// key: 1,
|
||||
// lei: "在线",
|
||||
// routerTaskId: 0,
|
||||
// // state: "已发布",
|
||||
// creater: "管理者课程",
|
||||
// // pubtime: "2022-07-20 14:00:03",
|
||||
// cretime: "60分钟",
|
||||
// haspub: false,
|
||||
// checked1: false,
|
||||
// checkedd: false,
|
||||
// },
|
||||
],
|
||||
tableData2: [
|
||||
// {
|
||||
// key: 1,
|
||||
// name: "张三",
|
||||
// com: "产研部",
|
||||
// gang: "产品经理",
|
||||
// cur: "关卡2",
|
||||
// jin: "2/10",
|
||||
// time: "2022-07-15 14:00",
|
||||
// },
|
||||
],
|
||||
tableData: [],
|
||||
tableData2: [],
|
||||
//项目抽屉、列表参数
|
||||
currentPage: 1,
|
||||
tableDataTotal: 0,
|
||||
|
||||
Reference in New Issue
Block a user