浏览代码

feat: 订阅样式调整、列表分页报错处理

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 年之前
父节点
当前提交
3536037532

+ 3 - 0
apps/bigmember_pc/src/components/push-list/PushList.vue

@@ -853,6 +853,9 @@ export default {
       return tempArr
     },
     getRequestParam(filters) {
+      if (!filters) {
+        filters = this.getFilters
+      }
       const query = {
         pageNum: this.listState.pageNum,
         pageSize: this.listState.pageSize

+ 1 - 8
apps/bigmember_pc/src/views/subscribe/SubPush.vue

@@ -637,7 +637,6 @@ export default {
        ...data
       }
       const { keyWords } = data
-      console.log(keyWords, 'filters555555');
       if (typeof keyWords === 'object') {
         const { oneAndtwo, two_noall, one_noall } = keyWords
         if(oneAndtwo.length) {
@@ -807,7 +806,6 @@ export default {
     },
     // 点击感兴趣
     onClickInterested(type) {
-      console.log(this.nowModuleName)
       const title =
         type === 'A' ? '体验超前项目推荐服务!' : '为您量身定制个性化报告!'
       this.showAdvancedDialog(title)
@@ -819,7 +817,6 @@ export default {
     },
     // 查看完整报告
     async goToReport() {
-      console.log(this.nowModuleName)
       try {
         await ajaxSetLeadGetDateRecord({ type: 'B' })
       } catch (e) {
@@ -894,7 +891,6 @@ export default {
     },
     // 筛选条件:选择接收人员
     addUserPerson() {
-      console.log('addUserPerson')
       this.$refs.pushList.$refs.powerNode.centerDialogVisible = true
       this.$refs.pushList.$refs.powerNode.titleMsg = '选择接收人员'
       this.$refs.pushList.$refs.powerNode.getData('yes', '1')
@@ -1001,7 +997,6 @@ export default {
         }
       } else {
         // eslint-disable-next-line no-unused-expressions
-        console.log(this.subscribeKeyList)
         if (this.subscribeKeyList && this.subscribeKeyList.length > 0) {
           this.subscribeKeyList.forEach((v) => {
             if (v.s_item) {
@@ -1169,7 +1164,6 @@ export default {
       } else {
         this.filters.selectTime = time
       }
-      console.log(`${dateFormatter(item.start)} - ${dateFormatter(item.end)}`)
       this.doQuery()
     },
     changeKeys(item) {
@@ -1209,7 +1203,6 @@ export default {
           citys.push(...item[key])
         }
       }
-      console.log(item)
       this.filters.area = area.join(',')
       this.filters.city = citys.join(',')
       this.doQuery()
@@ -1414,7 +1407,7 @@ export default {
   background: #fff;
 
   .free-vip{
-    margin-left: -24px;
+    margin-left: 24px;
     img{
       width: 32px;
       height: 14px;