mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 23:36:46 +08:00
feat:修改面授课传参
This commit is contained in:
@@ -115,12 +115,15 @@
|
|||||||
<!-- 导出成绩抽屉 -->
|
<!-- 导出成绩抽屉 -->
|
||||||
<EScore v-model:eScorevisible="eScorevisible" />
|
<EScore v-model:eScorevisible="eScorevisible" />
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
|
<!-- 查看答卷抽屉 -->
|
||||||
|
<CheckAnsware v-model:CAvisible="CAvisible" :datasource="datasource"/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { toRefs, reactive } from "vue";
|
import { toRefs, reactive } from "vue";
|
||||||
import { message } from "ant-design-vue";
|
import { message } from "ant-design-vue";
|
||||||
import EScore from "../ExportScore.vue";
|
import EScore from "../ExportScore.vue";
|
||||||
|
import CheckAnsware from '../CheckAnsware.vue'
|
||||||
import * as api from '../../../api/indexTaskManage';
|
import * as api from '../../../api/indexTaskManage';
|
||||||
|
|
||||||
// import * as api from "../../../api/index";
|
// import * as api from "../../../api/index";
|
||||||
@@ -128,6 +131,7 @@ export default {
|
|||||||
name: "RouterExaminationManage",
|
name: "RouterExaminationManage",
|
||||||
components: {
|
components: {
|
||||||
EScore,
|
EScore,
|
||||||
|
CheckAnsware
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
ExaminationModelVisible: {
|
ExaminationModelVisible: {
|
||||||
@@ -320,8 +324,34 @@ export default {
|
|||||||
className: "h",
|
className: "h",
|
||||||
customRender: ({record:{finishStatus}}) => ({1:'通过',2:'未通过'}[finishStatus] || '未开始'),
|
customRender: ({record:{finishStatus}}) => ({1:'通过',2:'未通过'}[finishStatus] || '未开始'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "操作",
|
||||||
|
dataIndex: "studentKid",
|
||||||
|
key: "studentKid",
|
||||||
|
width: 60,
|
||||||
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<a
|
||||||
|
onClick={()=>{
|
||||||
|
state.studentKid = text.record.studentKid;
|
||||||
|
state.datasource = text.record;
|
||||||
|
state.CAvisible = true;
|
||||||
|
}}>
|
||||||
|
查看答卷
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
loadingData: true
|
loadingData: true,
|
||||||
|
studentKid: '',
|
||||||
|
CAvisible: false,
|
||||||
|
datasource: ''
|
||||||
});
|
});
|
||||||
|
|
||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
|
|||||||
@@ -348,21 +348,13 @@
|
|||||||
>管理</a-button
|
>管理</a-button
|
||||||
>
|
>
|
||||||
<DropDown v-if="checkPer(record.permissions)" value="授权">
|
<DropDown v-if="checkPer(record.permissions)" value="授权">
|
||||||
<OwnerTableModelStudent
|
<OwnerTableModelStudent :types="[10, 11, 12]" :id="record.id"
|
||||||
:types="[10, 11, 12]"
|
|
||||||
:id="record.offcourseId"
|
|
||||||
>权限名单</OwnerTableModelStudent
|
>权限名单</OwnerTableModelStudent
|
||||||
>
|
>
|
||||||
<CommonStudent
|
<CommonStudent :type="10" :id="record.id" title="查看权"
|
||||||
:type="10"
|
|
||||||
:id="record.offcourseId"
|
|
||||||
title="查看权"
|
|
||||||
>查看权</CommonStudent
|
>查看权</CommonStudent
|
||||||
>
|
>
|
||||||
<CommonStudent
|
<CommonStudent :type="11" :id="record.id" title="管理权"
|
||||||
:type="11"
|
|
||||||
:id="record.offcourseId"
|
|
||||||
title="管理权"
|
|
||||||
>管理权</CommonStudent
|
>管理权</CommonStudent
|
||||||
>
|
>
|
||||||
</DropDown>
|
</DropDown>
|
||||||
@@ -3064,6 +3056,7 @@ export default defineComponent({
|
|||||||
findClassFullName(sysTypeOptions.value, itm.sysTypeId) || "-";
|
findClassFullName(sysTypeOptions.value, itm.sysTypeId) || "-";
|
||||||
});
|
});
|
||||||
state.tableData1 = datas;
|
state.tableData1 = datas;
|
||||||
|
console.log("state.tableData1", state.tableData1);
|
||||||
state.tableLoading = false;
|
state.tableLoading = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -3776,9 +3769,9 @@ export default defineComponent({
|
|||||||
|
|
||||||
//编辑开课
|
//编辑开课
|
||||||
const handelEditStu = async (itm) => {
|
const handelEditStu = async (itm) => {
|
||||||
console.log(itm);
|
console.log("编辑开课", itm);
|
||||||
|
|
||||||
state.offcourseId = itm.offcourseId;
|
state.offcourseId = itm.id;
|
||||||
state.offcoursePlanId = itm.offcoursePlanId;
|
state.offcoursePlanId = itm.offcoursePlanId;
|
||||||
|
|
||||||
const item = await detailPlan({
|
const item = await detailPlan({
|
||||||
@@ -3857,7 +3850,7 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
const handelGuan = (itm) => {
|
const handelGuan = (itm) => {
|
||||||
console.log("开课信息", itm);
|
console.log("开课信息", itm);
|
||||||
state.offcourseId = itm.offcourseId;
|
state.offcourseId = itm.id;
|
||||||
state.offcoursePlanId = itm.offcoursePlanId;
|
state.offcoursePlanId = itm.offcoursePlanId;
|
||||||
state.studentId = itm.studentId;
|
state.studentId = itm.studentId;
|
||||||
state.studentItem = itm;
|
state.studentItem = itm;
|
||||||
@@ -3937,7 +3930,7 @@ export default defineComponent({
|
|||||||
if (type === "1") {
|
if (type === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
state.offcourseId = itm.offcourseId;
|
state.offcourseId = itm.id;
|
||||||
|
|
||||||
handle({
|
handle({
|
||||||
offcourseId: state.offcourseId,
|
offcourseId: state.offcourseId,
|
||||||
@@ -4246,7 +4239,7 @@ export default defineComponent({
|
|||||||
if (type === "1") {
|
if (type === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// console.log(itm)
|
console.log("编辑面授课信息", itm, type);
|
||||||
state.offcourseId = itm.id;
|
state.offcourseId = itm.id;
|
||||||
|
|
||||||
const item = await detail({
|
const item = await detail({
|
||||||
@@ -4353,14 +4346,14 @@ export default defineComponent({
|
|||||||
if (type === "1") {
|
if (type === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
state.offcourseId = itm.offcourseId;
|
state.offcourseId = itm.id;
|
||||||
|
|
||||||
state.delete_hs = true;
|
state.delete_hs = true;
|
||||||
state.copy_hs = true;
|
state.copy_hs = true;
|
||||||
};
|
};
|
||||||
const handleCopyP = async (itm) => {
|
const handleCopyP = async (itm) => {
|
||||||
console.log(itm);
|
console.log(itm);
|
||||||
state.offcourseId = itm.offcourseId;
|
state.offcourseId = itm.id;
|
||||||
state.offcoursePlanId = itm.offcoursePlanId;
|
state.offcoursePlanId = itm.offcoursePlanId;
|
||||||
|
|
||||||
state.delete_hs = true;
|
state.delete_hs = true;
|
||||||
@@ -4371,7 +4364,7 @@ export default defineComponent({
|
|||||||
if (type === "1") {
|
if (type === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
state.offcourseId = itm.offcourseId;
|
state.offcourseId = itm.id;
|
||||||
|
|
||||||
state.delete_hs = true;
|
state.delete_hs = true;
|
||||||
state.nouse_hs = true;
|
state.nouse_hs = true;
|
||||||
@@ -4381,7 +4374,7 @@ export default defineComponent({
|
|||||||
if (type === "1") {
|
if (type === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
state.offcourseId = itm.offcourseId;
|
state.offcourseId = itm.id;
|
||||||
|
|
||||||
handle({
|
handle({
|
||||||
offcourseId: state.offcourseId,
|
offcourseId: state.offcourseId,
|
||||||
@@ -4494,6 +4487,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
// 管理开课
|
// 管理开课
|
||||||
const handleGuan22 = (item) => {
|
const handleGuan22 = (item) => {
|
||||||
|
console.log("点击管理信息", item);
|
||||||
if (String(item.courseform) === "1") {
|
if (String(item.courseform) === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -4508,7 +4502,7 @@ export default defineComponent({
|
|||||||
console.log(787666, item);
|
console.log(787666, item);
|
||||||
state.faceClassification = item.contentTxt;
|
state.faceClassification = item.contentTxt;
|
||||||
state.faceStatus = item.kkty;
|
state.faceStatus = item.kkty;
|
||||||
state.currentFaceId = item.offcourseId;
|
state.currentFaceId = item.id;
|
||||||
getCourseStudentList();
|
getCourseStudentList();
|
||||||
state.newCourseName = item.name;
|
state.newCourseName = item.name;
|
||||||
};
|
};
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -227,7 +227,7 @@ export default {
|
|||||||
style="cursor:pointer;color:#387DF7"
|
style="cursor:pointer;color:#387DF7"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
showProjAudit(
|
showProjAudit(
|
||||||
value.record.projectId,
|
value.record.id,
|
||||||
value.record.createId,
|
value.record.createId,
|
||||||
value.record.createName
|
value.record.createName
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user