guhongwei 5 gadi atpakaļ
vecāks
revīzija
c604d12944

+ 1 - 1
src/layout/enterpriseTrans/transaction.vue

@@ -39,7 +39,7 @@
                     @click="$router.push({ path: '/enterpriseTrans/detail', query: { id: scoped.row.id } })"
                     >审核
                   </el-button>
-                  <el-button type="danger" size="mini" @click="handleDelete(scoped.row)">删除</el-button>
+                  <!-- <el-button type="danger" size="mini" @click="handleDelete(scoped.row)">删除</el-button> -->
                 </template>
               </el-table-column>
             </el-table>

+ 0 - 5
src/views/enterpriseTrans/index.vue

@@ -39,12 +39,9 @@ export default {
     ...product(['query', 'delete', 'fetch', 'update']),
     ...tranaudit({ tranauditList: 'query', tranauditListupdate: 'update' }),
     ...transactions({ transactionsfetch: 'fetch', transactionslist: 'query', transactiondetele: 'detele' }),
-
     async search({ skip = 0, limit = 10, ...info } = {}) {
       skip = this.skip;
       const res = await this.transactionslist({ skip, limit, ...info });
-      console.log(res);
-      console.log(res.data);
       this.$set(this, `recruitInfo`, res.data);
       this.$set(this, `total`, res.total);
     },
@@ -55,11 +52,9 @@ export default {
     },
 
     async edit({ data }) {
-      console.log('a');
       data.status = '1';
       let res = await this.update(data);
       this.$checkRes(res, '审核成功', '审核失败');
-      console.log(data);
     },
 
     async handleCurrentChange({ skip, limit, currentPage }) {