guhongwei 4 年之前
父节点
当前提交
e9d2d65c52
共有 2 个文件被更改,包括 7 次插入10 次删除
  1. 3 6
      src/views/adminCenter/transaction/index.vue
  2. 4 4
      src/views/hall/direct.vue

+ 3 - 6
src/views/adminCenter/transaction/index.vue

@@ -58,7 +58,7 @@ export default {
     },
     },
     // 删除
     // 删除
     async deleteBtn(id) {
     async deleteBtn(id) {
-      console.log(id);
+      s;
       const res = await this.transactiondetele(id);
       const res = await this.transactiondetele(id);
       this.$checkRes(res, '删除成功', '删除失败');
       this.$checkRes(res, '删除成功', '删除失败');
       this.search();
       this.search();
@@ -70,9 +70,8 @@ export default {
     async search({ skip = 0, limit = 10, ...info } = {}) {
     async search({ skip = 0, limit = 10, ...info } = {}) {
       if (this.user.role == '4') {
       if (this.user.role == '4') {
         skip = this.skip;
         skip = this.skip;
-        console.log(this.user.uid);
-        let create_userid = this.user.uid;
-        const res = await this.transactionslist({ skip, create_userid, limit, ...info });
+        let dockid = '5efc62dc0830555c780788a7';
+        const res = await this.transactionslist({ skip, dockid, limit, ...info });
         this.$set(this, `recruitInfo`, res.data);
         this.$set(this, `recruitInfo`, res.data);
         this.$set(this, `total`, res.total);
         this.$set(this, `total`, res.total);
       } else {
       } else {
@@ -87,9 +86,7 @@ export default {
       this.$set(this, `skip`, skip);
       this.$set(this, `skip`, skip);
       this.search();
       this.search();
     },
     },
-
     //审核页面
     //审核页面
-
     async searchinfo(id) {
     async searchinfo(id) {
       const res = await this.productpactFetch(id);
       const res = await this.productpactFetch(id);
       if (this.$checkRes(res)) {
       if (this.$checkRes(res)) {

+ 4 - 4
src/views/hall/direct.vue

@@ -5,8 +5,8 @@
         <div class="livetop">
         <div class="livetop">
           <div class="w_1200">
           <div class="w_1200">
             <el-col :span="24" class="title">
             <el-col :span="24" class="title">
-              <el-col :span="16"> {{ title }} </el-col>
-              <el-col :span="8" class="userper" v-if="this.user.uid">
+              {{ title }}
+              <!-- <el-col :span="8" class="userper" v-if="this.user.uid">
                 <span style="padding:0 10px 0 0 "> {{ user.name }}</span>
                 <span style="padding:0 10px 0 0 "> {{ user.name }}</span>
                 <span
                 <span
                   v-if="this.user.role == '2' || this.user.role == '3' || this.user.role == '6'"
                   v-if="this.user.role == '2' || this.user.role == '3' || this.user.role == '6'"
@@ -14,8 +14,8 @@
                 >
                 >
                   个人中心
                   个人中心
                 </span>
                 </span>
-                <span v-if="this.user.role == '4'" @click="$router.push({ path: '/adminCenter/index', query: { num: 1 } })">个人中心</span>
-              </el-col>
+                <span v-if="this.user.role == '4'" @click="$router.push({ path: '/adminCenter/index', query: { num: 1 } })">管理中心</span>
+              </el-col> -->
             </el-col>
             </el-col>
             <el-col :span="24" class="zhuban">
             <el-col :span="24" class="zhuban">
               <span>主办方:</span>
               <span>主办方:</span>