dedsudiyu преди 1 година
родител
ревизия
abc920a8cc
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      src/views/safetyEducationExam/trainingCourse/index.vue

+ 3 - 2
src/views/safetyEducationExam/trainingCourse/index.vue

@@ -76,7 +76,7 @@
 <script>
   import addDialog from './addDialog.vue'
   import infoDialog from './infoDialog.vue'
-  import { securitycourseList,addSecuritycourseDel,securitycourseInfo } from '@/api/trainingCourse/index'
+  import { securitycourseList,securitycourseDel,securitycourseInfo } from '@/api/trainingCourse/index'
   export default {
     name: 'trainingCourse',
     components: {
@@ -169,7 +169,8 @@
             cancelButtonText: "取消",
             type: "warning"
           }).then(function() {
-            addSecuritycourseDel(row.id).then(response => {
+            securitycourseDel(row.id).then(response => {
+              console.log('123123')
               self.msgSuccess(response.msg)
               self.getList();
             })