mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
课程审核拒绝意见
This commit is contained in:
@@ -2639,7 +2639,7 @@ import {
|
|||||||
watch,
|
watch,
|
||||||
} from "vue";
|
} from "vue";
|
||||||
import * as api from "../../api/indexInvist.js";
|
import * as api from "../../api/indexInvist.js";
|
||||||
import * as api2 from "../../api/indexAudit.js";
|
|
||||||
import { message } from "ant-design-vue";
|
import { message } from "ant-design-vue";
|
||||||
import { useRouter, useRoute } from "vue-router";
|
import { useRouter, useRoute } from "vue-router";
|
||||||
// import StuAdd from "../../components/drawers/StuAdd";
|
// import StuAdd from "../../components/drawers/StuAdd";
|
||||||
@@ -4839,16 +4839,7 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
//编辑面授课
|
//编辑面授课
|
||||||
const handleEdit = async (itm, type) => {
|
const handleEdit = async (itm, type) => {
|
||||||
// auditDescription
|
|
||||||
let obj = {
|
|
||||||
offcourseId: itm.offcourseId,
|
|
||||||
pageNo: 1,
|
|
||||||
pageSize: 1,
|
|
||||||
type: 2,
|
|
||||||
};
|
|
||||||
api2.auditList(obj).then((res) => {
|
|
||||||
state.auditDescription = res.data.data.rows[0].description;
|
|
||||||
});
|
|
||||||
|
|
||||||
console.log(45555);
|
console.log(45555);
|
||||||
console.log(itm);
|
console.log(itm);
|
||||||
|
|||||||
@@ -640,7 +640,7 @@ export default defineComponent({
|
|||||||
if (Number(item.auditStatus) === 2 && Number(item.status) === 0) {
|
if (Number(item.auditStatus) === 2 && Number(item.status) === 0) {
|
||||||
state.statusTingQi = 0;
|
state.statusTingQi = 0;
|
||||||
}
|
}
|
||||||
if(Number(item.auditStatus) === -1 ){
|
if(Number(item.auditStatus) === -1){
|
||||||
let obj ={
|
let obj ={
|
||||||
offcourseId:offcourseId,
|
offcourseId:offcourseId,
|
||||||
type:2,
|
type:2,
|
||||||
@@ -648,8 +648,12 @@ export default defineComponent({
|
|||||||
pageSize: 1,
|
pageSize: 1,
|
||||||
}
|
}
|
||||||
api2.auditList(obj).then((res)=>{
|
api2.auditList(obj).then((res)=>{
|
||||||
state.auditDescription = res.data.data.rows[0].description;
|
|
||||||
console.log("state.auditDescription",state.auditDescription);
|
if(res.data.data.rows &&res.data.data.rows.length > 0){
|
||||||
|
state.auditDescription = res.data.data.rows[0].description?res.data.data.rows[0].description :"-";
|
||||||
|
console.log("state.auditDescription",state.auditDescription);
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user