---fix bug

This commit is contained in:
yuping
2023-08-25 16:10:03 +08:00
parent 2e19f357a5
commit 0938845250
20 changed files with 102 additions and 68 deletions

View File

@@ -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 TEST_PAGE = "/api/b1/system/quiz/quiz-list 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`;

View File

@@ -22,7 +22,7 @@
style="width: 100%; height: 100%"
:src="iframeUrl + '/course/manages'"
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>
</a-modal>
</div>

View File

@@ -25,7 +25,7 @@
frameborder="0"
name="myframe"
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>
</div>

View File

@@ -17,7 +17,7 @@
:src="`${iframeUrl}/course/manages?f=choose&refId=${props.id}&refType=${props.type}`"
name="myframe"
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>
</a-modal>
</template>

View File

@@ -83,7 +83,7 @@
style="width: 100%; height: 100%"
:src="iframeUrl + '/exam/papers?addnew=true'"
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>
</a-modal>
</template>

View File

@@ -17,7 +17,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -17,7 +17,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -17,7 +17,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -17,7 +17,7 @@
frameborder="0"
name="myframe"
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>
<OnlineClassModelStudent ref="stuRef" :type="13"></OnlineClassModelStudent>
</div>

View File

@@ -17,7 +17,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -17,7 +17,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -17,7 +17,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -245,7 +245,7 @@
<a-modal v-model:visible="onlineClassesVisible" :footer="null" :closable="false"
wrapClassName="modalStyle onlineClassesStyle" :zIndex="9999">
<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>
</div>
</template>
@@ -259,6 +259,8 @@ import { iframeUrl } from "../../api/method";
import { editCourseRecord } from "../../api/indexAudit";
import {useStore} from "vuex";
import dayjs from "dayjs";
import {boeRequest} from "@/api/request";
import {COURSE_AUDIT, OTHER_AUDIT} from "@/api/ThirdApi";
export default {
name: "CoursereViewedN",
@@ -766,8 +768,8 @@ export default {
name: item.name,
type: item.type == 1 ? "线上" : "线下",
content: sHX(item.sysTypeId),
status:
item.status == 0
status:item.type == 2?
(item.status == 0
? "未提交"
: item.status == 1
? "待审核"
@@ -775,7 +777,7 @@ export default {
? "通过"
: item.status == -1
? "拒绝"
: "-",
: "-"):(item.status == 1?'未审核':item.status == 2 ? "拒绝":item.status == 9?'通过':'-'),
change: "-",
creater: item.createName,
time: item.processTime,
@@ -833,6 +835,7 @@ export default {
"teacherId": state.memberValue.value,
"teacherName": state.memberValue.label
})
if(state.type==2){
inviteAudit({
"inviteContent": state.valueSuggInvitation,
"offcourseId": state.inviteReview.offcourseId,
@@ -846,6 +849,19 @@ export default {
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,9 +900,7 @@ export default {
message.error("请输入审核意见");
return;
}
if(state.type==2){
courseAuditView({
createId: state.createId,
createName: state.chooseCreater,
@@ -911,6 +925,24 @@ export default {
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;
})
}
};
onMounted(async () => {
getFaceList();

View File

@@ -7,7 +7,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -7,7 +7,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -17,7 +17,7 @@
frameborder="0"
name="myframe"
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>
</div>
</template>

View File

@@ -6,7 +6,7 @@
:src="`${BOE_URL}/pc/iframe/ugroup/manages`"
name="myframe"
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>
</div>
</template>

View File

@@ -6,7 +6,7 @@
:src="`${BOE_URL}/platform/sys/dwdictionary`"
name="myframe"
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>
</div>
</template>

View File

@@ -6,7 +6,7 @@
:src="`${BOE_URL}/resource/index.html`"
name="myframe"
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>
</div>
</template>

View File

@@ -6,7 +6,7 @@
:src="`${BOE_URL}/train/manager/index.html`"
name="myframe"
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>
</div>
</template>