| | |
| | | <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> |
| | |
| | | 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(); |