guhongwei 4 år sedan
förälder
incheckning
97d5085efd

+ 0 - 1
src/layout/adminuser/release.vue

@@ -189,7 +189,6 @@ export default {
     },
     // 图片上传
     uploadSuccess({ type, data }) {
-      console.log(type, data);
       this.$set(this.form, `${type}`, data.uri);
     },
   },

+ 0 - 3
src/layout/duijiehui/detail.vue

@@ -111,13 +111,10 @@ export default {
       this.$emit('placesubmit', { value });
     },
     onSubmit() {
-      console.log(this.form);
-
       this.$emit('onSubmit', { data: this.form });
     },
     // 图片上传
     uploadSuccess({ type, data }) {
-      console.log(type, data);
       this.$set(this.form, `${type}`, data.uri);
     },
   },

+ 0 - 3
src/layout/duijiehui/examineinfo.vue

@@ -91,13 +91,10 @@ export default {
       this.$emit('placesubmit', { value });
     },
     onSubmit() {
-      console.log(this.form);
-
       this.$emit('onSubmit', { data: this.form });
     },
     // 图片上传
     uploadSuccess({ type, data }) {
-      console.log(type, data);
       this.$set(this.form, `${type}`, data.uri);
     },
   },

+ 0 - 4
src/layout/market/release.vue

@@ -137,7 +137,6 @@ export default {
       form.userid = this.user.uid;
       let res;
       let msg;
-      console.log(form);
       res = await this.productCreate(form);
       msg = `${this.keyWord}添加成功`;
       this.$checkRes(res, '添加成功', '添加失败');
@@ -162,10 +161,7 @@ export default {
 
     // 图片
     uploadSuccess({ type, data }) {
-      console.log(type, data);
-      console.log(data.uri);
       let image = [{ url: data.uri }];
-      console.log(image);
       this.$set(this.form, `image`, image);
     },
     // 删除图片

+ 0 - 2
src/layout/transaction/detaliinfo.vue

@@ -76,8 +76,6 @@ export default {
     // 出生日期
 
     onSubmit() {
-      console.log(this.form);
-
       this.$emit('onSubmit', { data: this.form });
     },
     // 图片上传

+ 0 - 3
src/views/adminCenter/duijiehui/detail.vue

@@ -77,8 +77,6 @@ export default {
     async searchinfo() {
       let level = 1;
       let res = await this.palcequery({ level });
-      console.log(res.data);
-      console.log(res.data);
       this.$set(this, `option`, res.data);
     },
 
@@ -89,7 +87,6 @@ export default {
       }
     },
     async onSubmit({ data }) {
-      console.log(data);
       if (this.id) {
         let res = await this.liveupdate(data);
         this.$checkRes(res, '修改成功', '修改失败');

+ 0 - 4
src/views/adminCenter/duijiehui/parts/applyList.vue

@@ -58,11 +58,9 @@ export default {
       this.$set(this, `list`, this.data.apply);
     },
     async submit(item) {
-      console.log(item);
       item.status = '1';
       item.dock_id = this.id;
       item.id = item._id;
-      console.log(item);
       let res = await this.applyUpdate(item);
 
       if (this.$checkRes(res)) {
@@ -73,11 +71,9 @@ export default {
       }
     },
     async jujue(item) {
-      console.log(item);
       item.status = '2';
       item.dock_id = this.id;
       item.id = item._id;
-      console.log(item);
       let res = await this.applyUpdate(item);
       if (this.$checkRes(res)) {
         this.$message({

+ 2 - 5
src/views/adminCenter/enterpriseProduct/parts/list.vue

@@ -6,10 +6,10 @@
           <p class="textOver">
             <span class="titel">{{ item.name }}</span>
             <span style="float:right;margin:0 0 0  5px;" v-if="item.status == '0'">
-              <van-button type="info" size="mini" @click="sussess(item)">审核通过</van-button>
+              <van-button type="info" size="mini" @click="fail(item)">审核拒绝</van-button>
             </span>
             <span style="float:right;margin:0 0 0  5px;" v-if="item.status == '0'">
-              <van-button type="info" size="mini" @click="fail(item)">审核拒绝</van-button>
+              <van-button type="info" size="mini" @click="sussess(item)">审核通过</van-button>
             </span>
           </p>
           <p class="listInfo">
@@ -21,9 +21,6 @@
           <p class="listInfo">
             <span>审核状态:</span><span>{{ item.status == '0' ? '待审核' : item.status == '1' ? '审核成功' : item.status == '2' ? '审核拒绝' : '草稿' }}</span>
           </p>
-          <p class="listInfo">
-            <span>简介:</span><span>{{ item.introduction }}</span>
-          </p>
         </el-col>
       </el-col>
     </el-row>

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

@@ -52,8 +52,6 @@ export default {
     ...transaction({ transactionsfetch: 'fetch', transactionslist: 'query', transactionupdate: 'update' }),
     ...productpact({ transactionQuery: 'query', productpactFetch: 'findpact', productpactUpdate: 'update' }),
     async searchInfo() {
-      console.log(this.id);
-
       const res = await this.productpactFetch(this.id);
       if (this.$checkRes(res)) {
         this.$set(this, `form`, res.data);

+ 2 - 4
src/views/adminCenter/transaction/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">
-              <list></list>
-            </el-col>
+          <el-col :span="24" class="one">
+            <list></list>
           </el-col>
         </el-col>
       </el-col>

+ 6 - 2
src/views/adminCenter/transaction/parts/list.vue

@@ -58,14 +58,18 @@ export default {
       if (this.user.role == '4') {
         let create_userid = this.user.uid;
         let res = await this.transactionList({ create_userid, status: '4' });
+        let arr = await this.transactionList({ create_userid, status: '2' });
         if (this.$checkRes(res)) {
-          this.$set(this, `list`, res.data);
+          var newData = res.data.concat(arr.data);
+          this.$set(this, `list`, newData);
         }
       } else {
         let userid = this.user.uid;
         let res = await this.transactionList({ status: '4' });
+        let arr = await this.transactionList({ status: '2' });
         if (this.$checkRes(res)) {
-          this.$set(this, `list`, res.data);
+          var newData = res.data.concat(arr.data);
+          this.$set(this, `list`, newData);
         }
       }
     },

+ 0 - 5
src/views/adminCenter/user/parts/userlist.vue

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

+ 0 - 1
src/views/index.vue

@@ -39,7 +39,6 @@ export default {
   computed: {},
   methods: {
     uploadSuccess({ type, data }) {
-      console.log(type, data);
       // if (type !== 'img_path') {
       //   let arr = _.get(this.uploads, type);
       //   if (arr !== undefined) {

+ 0 - 1
src/views/live/parts/roomsDetail.vue

@@ -52,7 +52,6 @@ export default {
       data.userid = this.user.userid;
       data.username = this.user.name;
       const res = await this.lookuserFetch(data);
-      console.log(res);
     },
     onSubmit() {
       console.log(this.input);

+ 0 - 1
src/views/live/parts/videoDetail.vue

@@ -51,7 +51,6 @@ export default {
       let res = await this.palcefetch(this.id);
       if (this.$checkRes(res)) {
         this.$set(this, `file_path`, res.data.file_path);
-        console.log(res.data.file_path);
       }
     },
     onSubmit() {

+ 0 - 2
src/views/onlive/roomInfo.vue

@@ -62,8 +62,6 @@ export default {
     async seachInfo() {
       let res = await this.roomfetch({ roomname: this.roomname });
       if (this.$checkRes(res)) {
-        console.log(res.data);
-
         this.$set(this, `roomInfos`, res.data);
         const starttime = moment(res.data.starttime).format('x');
         const endtime = moment(res.data.endtime).format('x');

+ 0 - 3
src/views/userCenter/dock/apply.vue

@@ -58,11 +58,8 @@ export default {
     async onSubmit({ data }) {
       data.user_id = this.user.uid;
       if (this.user.role == '3' || this.user.role == '2' || this.user.role == '6') {
-        console.log(data);
         data.user_name = this.user.name;
         let dock_id = this.$route.query.id;
-        console.log(data);
-
         const res = await this.appleCreate({ id: dock_id, ...data });
         this.$checkRes(res, '添加成功', '添加失败');
       } else {

+ 0 - 2
src/views/userCenter/matter/detailinfo.vue

@@ -48,8 +48,6 @@ export default {
 
     async search() {
       let res = await this.fetch(this.id);
-      console.log(res.data);
-
       if (this.$checkRes(res)) {
         this.$set(this, `detailInfo`, res.data);
       }

+ 0 - 1
src/views/userCenter/matter/index.vue

@@ -103,7 +103,6 @@ export default {
     ...transactions({ transactionList: 'query', transactiondtetle: 'delete', shenheupdate: 'update' }),
     ...productpact({ productpactCreate: 'create' }),
     submit(data) {
-      console.log(data);
       this.show = true;
       this.$set(this, `newform`, data);
     },

+ 0 - 2
src/views/userCenter/user/index.vue

@@ -49,8 +49,6 @@ export default {
       if (this.user.role == '2' || this.user.role == '3' || this.user.role == '7') {
         let res = await this.fetch(this.user.userid);
         if (res.errcode === 0) {
-          console.log(res.data);
-
           this.$set(this, `form`, res.data);
         }
       } else if (this.user.role == '6') {