gx
queenwuli
2021-01-12 a6653e19d20a61e7b8f788037d2a4df3f93a4f32
hive-app/pages/workbench/followRecords/index.vue
@@ -55,6 +55,7 @@
      <view v-if="list.length">
         <uni-load-more :status="loadStatus" color="#a5abaf"></uni-load-more>
      </view>
      <no-record :isShow="!list.length" txt="暂无跟进记录"></no-record>
      <view v-if="isShowComments" class="message-row" @click.stop="">
         <input type="text" v-model="comment" cursor-spacing="10" :focus="isShowComments" class="message-input" placeholder="评论" placeholder-class="placeholder"/>
         <button class="green-btn message-btn" :disabled="!comment" @click="addFollowupComment">发送</button>
@@ -110,14 +111,31 @@
            uni.navigateTo({
               url:"./addRecord"
            })
            this.isShowFilter = false;
         }
         if(e.index==1){
            this.isShowFilter = !this.isShowFilter;
         }
      },
      onLoad() {
      onLoad(options) {
         if(options.selectInfo){
            this.vipList.push(JSON.parse(options.selectInfo))
         }
         this.getUserInfo()
         this.reloadList()
         // 判断权限
         // #ifdef APP-PLUS
         if(!this.$utils.hasPermission('gjjl.add')){
            let webView = this.$mp.page.$getAppWebview();
            webView.setTitleNViewButtonStyle(0, {
                width: 0,
            });
         }
         // #endif
      },
      onShow() {
         this.reloadList()
      },
      onPullDownRefresh(){
         this.reloadData();