Merge branch 'zcwyMaster' into 'master'

Zcwy master

See merge request !159
This commit is contained in:
joshen
2023-11-17 16:49:58 +08:00
2 changed files with 10 additions and 0 deletions

View File

@@ -563,6 +563,7 @@ function confirm() {
}
const createNewCourse = () => {
editBeginClass.value = false
formData.reset({
type: props.type,
offcourseId: params.value.offcourseId,
@@ -596,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("数据校验不通过");

View File

@@ -3661,6 +3661,7 @@ export default defineComponent({
state.cstm_hs = true;
};
const handleCancelStu = () => {
editBeginClass.value = false
state.cstm_hs = false;
state.attach = "";
@@ -3689,6 +3690,10 @@ export default defineComponent({
//保存开课
const handleSureStu = async () => {
if(editBeginClass.value){
message.info('讲师费已进入审批阶段,无法编辑')
return
}
let startTime,
endTime = 0;
if (state.xjkkinputV3) {