|
@@ -76,7 +76,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import moment from 'moment';
|
|
import moment from 'moment';
|
|
-import { getAction, postAction, downFile, downFilePost } from '@/api/manage';
|
|
|
|
|
|
+import { getAction, postAction, downFile, downFilePost,deleteAction } from '@/api/manage';
|
|
// import { JeecgListMixin } from '@/mixins/ipagination'
|
|
// import { JeecgListMixin } from '@/mixins/ipagination'
|
|
// import editableCell from './editableCell'
|
|
// import editableCell from './editableCell'
|
|
import Treeselect from '@/views/modules/Statistics/components/Treeselect.vue'
|
|
import Treeselect from '@/views/modules/Statistics/components/Treeselect.vue'
|
|
@@ -216,7 +216,7 @@ export default {
|
|
},
|
|
},
|
|
deleteRecord(record){
|
|
deleteRecord(record){
|
|
this.loading=true
|
|
this.loading=true
|
|
- postAction(this.url.delete,{
|
|
|
|
|
|
+ deleteAction(this.url.delete,{
|
|
id:record.id
|
|
id:record.id
|
|
}).then(res=>{
|
|
}).then(res=>{
|
|
this.loading=false
|
|
this.loading=false
|