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,
|
||||
} from "vue";
|
||||
import * as api from "../../api/indexInvist.js";
|
||||
import * as api2 from "../../api/indexAudit.js";
|
||||
|
||||
import { message } from "ant-design-vue";
|
||||
import { useRouter, useRoute } from "vue-router";
|
||||
// import StuAdd from "../../components/drawers/StuAdd";
|
||||
@@ -4839,16 +4839,7 @@ export default defineComponent({
|
||||
};
|
||||
//编辑面授课
|
||||
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(itm);
|
||||
|
||||
@@ -648,8 +648,12 @@ export default defineComponent({
|
||||
pageSize: 1,
|
||||
}
|
||||
api2.auditList(obj).then((res)=>{
|
||||
state.auditDescription = res.data.data.rows[0].description;
|
||||
|
||||
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