mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
---fix bug
This commit is contained in:
@@ -12,4 +12,6 @@ export const CASE_PAGE = "/systemapi/xboe/m/boe/cases/pagelist post formData";
|
|||||||
export const EXAM_PAPER_PAGE = "/systemapi/xboe/m/exam/paper/querylist post formData";
|
export const EXAM_PAPER_PAGE = "/systemapi/xboe/m/exam/paper/querylist post formData";
|
||||||
export const TEST_PAGE = "/api/b1/system/quiz/quiz-list post formData";
|
export const TEST_PAGE = "/api/b1/system/quiz/quiz-list post formData";
|
||||||
export const ONLINE_PAGE = "/systemapi/xboe/m/course/manage/pagelist post formData";
|
export const ONLINE_PAGE = "/systemapi/xboe/m/course/manage/pagelist post formData";
|
||||||
|
export const COURSE_AUDIT = "/xboe/m/course/manage/audit post formData";
|
||||||
|
export const OTHER_AUDIT = "/xboe/m/course/audit/appoint post formData";
|
||||||
export const ONLINE_COURSE_DEL = (id, courseId) => `/systemapi/xboe/school/study/course/delete-signup?id=${id}&couserId=${courseId} post`;
|
export const ONLINE_COURSE_DEL = (id, courseId) => `/systemapi/xboe/school/study/course/delete-signup?id=${id}&couserId=${courseId} post`;
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
style="width: 100%; height: 100%"
|
style="width: 100%; height: 100%"
|
||||||
:src="iframeUrl + '/course/manages'"
|
:src="iframeUrl + '/course/manages'"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-scripts allow-downloads allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
>
|
>
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:src="`${iframeUrl}/course/manages?f=choose&refId=${props.id}&refType=${props.type}`"
|
:src="`${iframeUrl}/course/manages?f=choose&refId=${props.id}&refType=${props.type}`"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
style="width: 100%; height: 100%"
|
style="width: 100%; height: 100%"
|
||||||
:src="iframeUrl + '/exam/papers?addnew=true'"
|
:src="iframeUrl + '/exam/papers?addnew=true'"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
<OnlineClassModelStudent ref="stuRef" :type="13"></OnlineClassModelStudent>
|
<OnlineClassModelStudent ref="stuRef" :type="13"></OnlineClassModelStudent>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -245,7 +245,7 @@
|
|||||||
<a-modal v-model:visible="onlineClassesVisible" :footer="null" :closable="false"
|
<a-modal v-model:visible="onlineClassesVisible" :footer="null" :closable="false"
|
||||||
wrapClassName="modalStyle onlineClassesStyle" :zIndex="9999">
|
wrapClassName="modalStyle onlineClassesStyle" :zIndex="9999">
|
||||||
<iframe id="iframe" style="width: 100%; height: 100%" :src="iframeUrl + 'course/noapproved'" name="myframe"
|
<iframe id="iframe" style="width: 100%; height: 100%" :src="iframeUrl + 'course/noapproved'" name="myframe"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"></iframe>
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"></iframe>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -259,6 +259,8 @@ import { iframeUrl } from "../../api/method";
|
|||||||
import { editCourseRecord } from "../../api/indexAudit";
|
import { editCourseRecord } from "../../api/indexAudit";
|
||||||
import {useStore} from "vuex";
|
import {useStore} from "vuex";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
import {boeRequest} from "@/api/request";
|
||||||
|
import {COURSE_AUDIT, OTHER_AUDIT} from "@/api/ThirdApi";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "CoursereViewedN",
|
name: "CoursereViewedN",
|
||||||
@@ -766,16 +768,16 @@ export default {
|
|||||||
name: item.name,
|
name: item.name,
|
||||||
type: item.type == 1 ? "线上" : "线下",
|
type: item.type == 1 ? "线上" : "线下",
|
||||||
content: sHX(item.sysTypeId),
|
content: sHX(item.sysTypeId),
|
||||||
status:
|
status:item.type == 2?
|
||||||
item.status == 0
|
(item.status == 0
|
||||||
? "未提交"
|
? "未提交"
|
||||||
: item.status == 1
|
: item.status == 1
|
||||||
? "待审核"
|
? "待审核"
|
||||||
: item.status == 2
|
: item.status == 2
|
||||||
? "通过"
|
? "通过"
|
||||||
: item.status == -1
|
: item.status == -1
|
||||||
? "拒绝"
|
? "拒绝"
|
||||||
: "-",
|
: "-"):(item.status == 1?'未审核':item.status == 2 ? "拒绝":item.status == 9?'通过':'-'),
|
||||||
change: "-",
|
change: "-",
|
||||||
creater: item.createName,
|
creater: item.createName,
|
||||||
time: item.processTime,
|
time: item.processTime,
|
||||||
@@ -833,19 +835,33 @@ export default {
|
|||||||
"teacherId": state.memberValue.value,
|
"teacherId": state.memberValue.value,
|
||||||
"teacherName": state.memberValue.label
|
"teacherName": state.memberValue.label
|
||||||
})
|
})
|
||||||
inviteAudit({
|
if(state.type==2){
|
||||||
"inviteContent": state.valueSuggInvitation,
|
inviteAudit({
|
||||||
"offcourseId": state.inviteReview.offcourseId,
|
"inviteContent": state.valueSuggInvitation,
|
||||||
"teacherId": state.memberValue.value,
|
"offcourseId": state.inviteReview.offcourseId,
|
||||||
"teacherName": state.memberValue.label
|
"teacherId": state.memberValue.value,
|
||||||
}).then((res) => {
|
"teacherName": state.memberValue.label
|
||||||
console.log(res)
|
}).then((res) => {
|
||||||
getFaceList();
|
console.log(res)
|
||||||
state.courInvitationAuditModal = false;
|
getFaceList();
|
||||||
}).catch(err=>{
|
state.courInvitationAuditModal = false;
|
||||||
console.log(err)
|
}).catch(err=>{
|
||||||
state.courInvitationAuditModal = false;
|
console.log(err)
|
||||||
})
|
state.courInvitationAuditModal = false;
|
||||||
|
})
|
||||||
|
}else if (state.type==1){
|
||||||
|
boeRequest(OTHER_AUDIT,{
|
||||||
|
auditId:state.id,
|
||||||
|
courseId:state.courseId,
|
||||||
|
teacherId:state.memberValue.value,
|
||||||
|
teacherName:state.memberValue.label,
|
||||||
|
remark:state.description,
|
||||||
|
}).then(()=>{
|
||||||
|
getFaceList();
|
||||||
|
state.courInvitationAuditModal = false;
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 转审完成弹框
|
// 转审完成弹框
|
||||||
@@ -884,33 +900,49 @@ export default {
|
|||||||
message.error("请输入审核意见");
|
message.error("请输入审核意见");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(state.type==2){
|
||||||
|
courseAuditView({
|
||||||
|
createId: state.createId,
|
||||||
|
createName: state.chooseCreater,
|
||||||
|
description: state.valueSugg,
|
||||||
|
offcourseId: state.chooseOffId,
|
||||||
|
pass: state.valuepass == "1" ? 1 : 0,
|
||||||
|
}).then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
state.courAuditModal = false;
|
||||||
|
message.destroy();
|
||||||
|
message.success("审核提交成功");
|
||||||
|
state.valueSugg = null;
|
||||||
|
state.valuepass = "1";
|
||||||
|
getFaceList();
|
||||||
|
state.openDetailVisibie = false;
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
console.log(err);
|
||||||
|
message.destroy();
|
||||||
|
message.warning("审核提交失败");
|
||||||
|
state.valueSugg = null;
|
||||||
|
state.valuepass = "1";
|
||||||
|
state.openDetailVisibie = false;
|
||||||
|
});
|
||||||
|
}else if(state.type==1){
|
||||||
|
boeRequest(COURSE_AUDIT,{
|
||||||
|
auditId:state.id,
|
||||||
|
courseId:state.courseId,
|
||||||
|
title:state.description,
|
||||||
|
remark:state.description,
|
||||||
|
pass:state.valuepass == "1" ? true : false,
|
||||||
|
}).then(()=>{
|
||||||
|
state.courAuditModal = false;
|
||||||
|
message.destroy();
|
||||||
|
message.success("审核提交成功");
|
||||||
|
state.valueSugg = null;
|
||||||
|
state.valuepass = "1";
|
||||||
|
getFaceList();
|
||||||
|
state.openDetailVisibie = false;
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
courseAuditView({
|
|
||||||
createId: state.createId,
|
|
||||||
createName: state.chooseCreater,
|
|
||||||
description: state.valueSugg,
|
|
||||||
offcourseId: state.chooseOffId,
|
|
||||||
pass: state.valuepass == "1" ? 1 : 0,
|
|
||||||
}).then((res) => {
|
|
||||||
console.log(res);
|
|
||||||
state.courAuditModal = false;
|
|
||||||
message.destroy();
|
|
||||||
message.success("审核提交成功");
|
|
||||||
state.valueSugg = null;
|
|
||||||
state.valuepass = "1";
|
|
||||||
getFaceList();
|
|
||||||
state.openDetailVisibie = false;
|
|
||||||
})
|
|
||||||
.catch((err) => {
|
|
||||||
console.log(err);
|
|
||||||
message.destroy();
|
|
||||||
message.warning("审核提交失败");
|
|
||||||
state.valueSugg = null;
|
|
||||||
state.valuepass = "1";
|
|
||||||
state.openDetailVisibie = false;
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
getFaceList();
|
getFaceList();
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
:src="`${BOE_URL}/pc/iframe/ugroup/manages`"
|
:src="`${BOE_URL}/pc/iframe/ugroup/manages`"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
:src="`${BOE_URL}/platform/sys/dwdictionary`"
|
:src="`${BOE_URL}/platform/sys/dwdictionary`"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
:src="`${BOE_URL}/resource/index.html`"
|
:src="`${BOE_URL}/resource/index.html`"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
:src="`${BOE_URL}/train/manager/index.html`"
|
:src="`${BOE_URL}/train/manager/index.html`"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user