|
@@ -2052,7 +2052,9 @@ export default {
|
|
|
this.ajax
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "insert_teacher_work_pptCourse", params)
|
|
.post(this.$store.state.api + "insert_teacher_work_pptCourse", params)
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
- this.uploadWorkLoading = false;
|
|
|
|
|
|
|
+ if(type != 3){
|
|
|
|
|
+ this.uploadWorkLoading = false;
|
|
|
|
|
+ }
|
|
|
console.log(this.steps);
|
|
console.log(this.steps);
|
|
|
// if (this.steps != 1 && this.steps != 2 && this.steps != 3) {
|
|
// if (this.steps != 1 && this.steps != 2 && this.steps != 3) {
|
|
|
this.showToast(this.lang.ssSaveSuccess);
|
|
this.showToast(this.lang.ssSaveSuccess);
|
|
@@ -2169,7 +2171,9 @@ export default {
|
|
|
.post(this.$store.state.api + "updateWorkNew2", params)
|
|
.post(this.$store.state.api + "updateWorkNew2", params)
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
// if (this.steps != 1 && this.steps != 2 && this.steps != 3) {
|
|
// if (this.steps != 1 && this.steps != 2 && this.steps != 3) {
|
|
|
- this.uploadWorkLoading = false;
|
|
|
|
|
|
|
+ if(type != 3){
|
|
|
|
|
+ this.uploadWorkLoading = false;
|
|
|
|
|
+ }
|
|
|
// if (this.cidType == 1) {
|
|
// if (this.cidType == 1) {
|
|
|
// this.$message({
|
|
// this.$message({
|
|
|
// message: this.lang.ssSaveSuccess,
|
|
// message: this.lang.ssSaveSuccess,
|