mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
面授课保存按钮
This commit is contained in:
@@ -300,7 +300,7 @@
|
||||
<!-- 审核理由 -->
|
||||
<div v-if="statusJuJue" class="statusJuJue">
|
||||
<span>审核意见:</span>
|
||||
<span>111</span>
|
||||
<span>{{auditDescription}}</span>
|
||||
</div>
|
||||
<div class="faceteach" :style="{ display: ft_hs ? 'block' : 'none' }">
|
||||
<div class="ft_main">
|
||||
@@ -2442,8 +2442,7 @@
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="cstm_btn btn6" @click="handleSureStu">
|
||||
<div v-if="addLoading" class="btnText">保存中</div>
|
||||
<div v-else class="btnText">确定</div>
|
||||
<div class="btnText">确定</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3009,8 +3008,7 @@
|
||||
<div class="btnText" @click="delete_exit1">取消</div>
|
||||
</div>
|
||||
<div class="del_btn btn2">
|
||||
<div v-if="addLoading" class="btnText">保存中...</div>
|
||||
<div v-else class="btnText" @click="handleDeleteExit">确定</div>
|
||||
<div class="btnText" @click="handleDeleteExit">确定</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3078,7 +3076,7 @@
|
||||
</div>
|
||||
|
||||
<div class="aeLoading" :style="{ display: addLoading ? 'flex' : 'none' }">
|
||||
<a-spin :spinning="addLoading" tip="保存中..." />
|
||||
<a-spin :spinning="addLoading" tip="" />
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -3093,6 +3091,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";
|
||||
@@ -3663,6 +3662,7 @@ export default defineComponent({
|
||||
teacherId: null,
|
||||
teacher: null,
|
||||
selectedRowKeys7: [],
|
||||
auditDescription:"",
|
||||
isEdit: 0,
|
||||
member: { name: "", value: "" },
|
||||
//列表表格
|
||||
@@ -4662,6 +4662,10 @@ export default defineComponent({
|
||||
}
|
||||
return count ? false : true;
|
||||
};
|
||||
const ft_exit_0 = () => {
|
||||
state.ft_hs = false;
|
||||
|
||||
};
|
||||
const ft_exit_1 = () => {
|
||||
state.ft_hs = false;
|
||||
router.go(0);
|
||||
@@ -4740,7 +4744,7 @@ export default defineComponent({
|
||||
edit(postData).then((res) => {
|
||||
if (res.data.code === 200) {
|
||||
getTableDate();
|
||||
// ft_exit_1();
|
||||
ft_exit_0();
|
||||
rest();
|
||||
state.addLoading = false;
|
||||
|
||||
@@ -5275,6 +5279,17 @@ 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);
|
||||
if (type === "1") {
|
||||
@@ -5579,7 +5594,7 @@ export default defineComponent({
|
||||
handle(obj).then((res) => {
|
||||
console.log("提交审核成功", res.data);
|
||||
if (res.data.code === 200) {
|
||||
ft_exit_1();
|
||||
ft_exit_0();
|
||||
rest();
|
||||
getTableDate();
|
||||
state.addLoading = false;
|
||||
@@ -5733,6 +5748,7 @@ export default defineComponent({
|
||||
createft,
|
||||
ft_exit,
|
||||
ft_exit_1,
|
||||
ft_exit_0,
|
||||
om_exit,
|
||||
ckxq_hs,
|
||||
ftsr_exit,
|
||||
|
||||
Reference in New Issue
Block a user