guhongwei před 4 roky
rodič
revize
f013a4bb22

+ 2 - 0
src/views/adminCenter/user/detail.vue

@@ -76,6 +76,7 @@ export default {
           });
         } else {
           data.status = '0';
+          data.code = this.user.code;
           res = await this.create(data);
           this.$message({
             message: '个人信息创建成功',
@@ -92,6 +93,7 @@ export default {
             type: 'success',
           });
         } else {
+          data.code = this.user.code;
           res = await this.expertsuserCreate(data);
           this.$message({
             message: '个人信息添加成功',

+ 2 - 4
src/views/adminCenter/user/index.vue

@@ -6,10 +6,8 @@
           <NavBar v-show="navShow" :title="title" :isleftarrow="isleftarrow"> </NavBar>
         </el-col>
         <el-col :span="24" class="main">
-          <el-col :span="24" class="main">
-            <el-col :span="24" class="one">
-              <userlist></userlist>
-            </el-col>
+          <el-col :span="24" class="one">
+            <userlist></userlist>
           </el-col>
         </el-col>
       </el-col>

+ 1 - 1
src/views/adminCenter/user/parts/userlist.vue

@@ -58,7 +58,7 @@ export default {
         }
       } else {
         const res = await this.query({ code: this.user.code });
-        const resTwo = await this.exportuserQuery({ skip, limit, code: this.user.code });
+        const resTwo = await this.exportuserQuery({ code: this.user.code });
         var newData = res.data.concat(resTwo.data);
         if (this.$checkRes(newData)) {
           var arr = newData.filter(item => item.pid == undefined && item.status != '3');

+ 0 - 1
src/views/bind.vue

@@ -46,7 +46,6 @@ export default {
       let data = {};
       data.uid = this.uid;
       data.openid = this.openid;
-      console.log(data);
       let res = await this.bind(data);
       if (res.errcode == '0') {
         this.$message({

+ 1 - 1
src/views/user/parts/clickBtn.vue

@@ -16,7 +16,7 @@
             <van-cell is-link title="产品供求交易状态审核管理" @click="$router.push({ path: '/adminCenter/transaction/index' })" />
           </span>
           <span v-else>
-            <van-cell is-link title="用户管理" v-if="oneName == '用户管理'" />
+            <van-cell is-link title="用户管理" v-if="oneName == '用户管理'" @click="$router.push({ path: '/adminCenter/user/index' })" />
             <van-cell is-link title="对接会管理" v-if="twoName == '对接会'" />
             <van-cell is-link title="产品供求审核管理" v-if="threeName == '产品供求审核管理'" />
             <van-cell is-link title="产品供求交易状态审核管理" v-if="fourName == '产品供求交易状态审核管理'" />