wuhongyu %!s(int64=5) %!d(string=hai) anos
pai
achega
a3f87b2e76
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/views/enterprise/enterprisedg.vue

+ 4 - 1
src/views/enterprise/enterprisedg.vue

@@ -67,7 +67,7 @@ export default {
   },
   methods: {
     ...transaction({ transactionList: 'query', transactiondtetle: 'delete', shenheupdate: 'update' }),
-    ...login({ logout: 'logout', transactiondtetle: 'delete' }),
+    ...login({ logout: 'logout', transactiondtetlse: 'delete' }),
     // 查询
     async faqijiaoyi({ skip = 0, limit = 3, ...info } = {}) {
       let status = 0;
@@ -107,6 +107,7 @@ export default {
         this.$set(this, `total3`, res.total);
       }
     },
+
     //审核
     async jiaoyisuccess({ item }) {
       item.status = '1';
@@ -144,6 +145,8 @@ export default {
       this.jiaoyi3();
     },
     async deleteData({ item }) {
+      console.log(item);
+
       const res = await this.transactiondtetle(item.id);
       this.$checkRes(res, '删除成功', '删除失败');
     },