mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 23:36:46 +08:00
Merge branch 'zcwyMaster' into 'master'
Zcwy master See merge request !159
This commit is contained in:
@@ -563,6 +563,7 @@ function confirm() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const createNewCourse = () => {
|
const createNewCourse = () => {
|
||||||
|
editBeginClass.value = false
|
||||||
formData.reset({
|
formData.reset({
|
||||||
type: props.type,
|
type: props.type,
|
||||||
offcourseId: params.value.offcourseId,
|
offcourseId: params.value.offcourseId,
|
||||||
@@ -596,6 +597,10 @@ const del = (id,record) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
async function coursePlanConfirm() {
|
async function coursePlanConfirm() {
|
||||||
|
if(editBeginClass.value){
|
||||||
|
message.info('讲师费已进入审批阶段,无法编辑')
|
||||||
|
return
|
||||||
|
}
|
||||||
await validate().catch(({ errorFields }) => {
|
await validate().catch(({ errorFields }) => {
|
||||||
message.warning(errorFields[0].errors.join());
|
message.warning(errorFields[0].errors.join());
|
||||||
throw Error("数据校验不通过");
|
throw Error("数据校验不通过");
|
||||||
|
|||||||
@@ -3661,6 +3661,7 @@ export default defineComponent({
|
|||||||
state.cstm_hs = true;
|
state.cstm_hs = true;
|
||||||
};
|
};
|
||||||
const handleCancelStu = () => {
|
const handleCancelStu = () => {
|
||||||
|
editBeginClass.value = false
|
||||||
state.cstm_hs = false;
|
state.cstm_hs = false;
|
||||||
state.attach = "";
|
state.attach = "";
|
||||||
|
|
||||||
@@ -3689,6 +3690,10 @@ export default defineComponent({
|
|||||||
//保存开课
|
//保存开课
|
||||||
|
|
||||||
const handleSureStu = async () => {
|
const handleSureStu = async () => {
|
||||||
|
if(editBeginClass.value){
|
||||||
|
message.info('讲师费已进入审批阶段,无法编辑')
|
||||||
|
return
|
||||||
|
}
|
||||||
let startTime,
|
let startTime,
|
||||||
endTime = 0;
|
endTime = 0;
|
||||||
if (state.xjkkinputV3) {
|
if (state.xjkkinputV3) {
|
||||||
|
|||||||
Reference in New Issue
Block a user