|
@@ -17,8 +17,11 @@
|
|
|
<script>
|
|
|
import right from './component/right.vue'
|
|
|
import left from './component/left.vue'
|
|
|
+import { myMixin } from "@/mixins/mixin.js"
|
|
|
|
|
|
export default {
|
|
|
+ mixins: [ myMixin ],
|
|
|
+
|
|
|
components: {
|
|
|
right,
|
|
|
left
|
|
@@ -138,6 +141,11 @@ export default {
|
|
|
message: "提交成功",
|
|
|
type: "success",
|
|
|
});
|
|
|
+
|
|
|
+ this.addOp3('1', "", { courseid: this.id,tool:'英语口语',
|
|
|
+ data: JSON.stringify(this.work),
|
|
|
+ type: "course_tool_sub" }, 'success')
|
|
|
+
|
|
|
// this.$emit('selectSWorks')
|
|
|
// this.$emit('selectStudent')
|
|
|
// this.close2();
|
|
@@ -145,6 +153,10 @@ export default {
|
|
|
.catch((err) => {
|
|
|
this.$message.error("提交失败");
|
|
|
console.error(err);
|
|
|
+
|
|
|
+ this.addOp3('1', "", { courseid: this.id,tool:'英语口语',
|
|
|
+ data: JSON.stringify(this.work),
|
|
|
+ type: "course_tool_sub" }, err)
|
|
|
});
|
|
|
},
|
|
|
},
|