mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 10:12:54 +08:00
禁用
This commit is contained in:
@@ -597,6 +597,10 @@ const del = (id,record) => {
|
||||
};
|
||||
|
||||
async function coursePlanConfirm() {
|
||||
if(editBeginClass.value){
|
||||
message.info('正在审核中,请稍候...')
|
||||
return
|
||||
}
|
||||
await validate().catch(({ errorFields }) => {
|
||||
message.warning(errorFields[0].errors.join());
|
||||
throw Error("数据校验不通过");
|
||||
|
||||
@@ -1199,7 +1199,6 @@
|
||||
class="cstm_btn btn6"
|
||||
@click="handleSureStu"
|
||||
:loading="validated === 1"
|
||||
:disabled="editBeginClass"
|
||||
>
|
||||
确定
|
||||
</a-button>
|
||||
@@ -3662,6 +3661,7 @@ export default defineComponent({
|
||||
state.cstm_hs = true;
|
||||
};
|
||||
const handleCancelStu = () => {
|
||||
editBeginClass.value = false
|
||||
state.cstm_hs = false;
|
||||
state.attach = "";
|
||||
|
||||
@@ -3690,6 +3690,10 @@ export default defineComponent({
|
||||
//保存开课
|
||||
|
||||
const handleSureStu = async () => {
|
||||
if(editBeginClass.value){
|
||||
message.info('正在审核中,请稍候...')
|
||||
return
|
||||
}
|
||||
let startTime,
|
||||
endTime = 0;
|
||||
if (state.xjkkinputV3) {
|
||||
@@ -3771,9 +3775,6 @@ export default defineComponent({
|
||||
let editBeginClass = ref(false)
|
||||
//编辑开课
|
||||
const handelEditStu = async (item) => {
|
||||
if(!editBeginClass.value){
|
||||
message.info('正在审核,请稍等...')
|
||||
}
|
||||
editBeginClass.value = false
|
||||
if (item.expenseStatus && item.expenseStatus !== 'A10' && item.expenseStatus !== 'S00') {
|
||||
editBeginClass.value = true
|
||||
|
||||
Reference in New Issue
Block a user