| | |
| | | <template> |
| | | <view class="container" style="height: auto;"> |
| | | <view style="margin: 0.5rem;"> |
| | | <button class="mini-btn" style="background-color: cornflowerblue; margin-right: 10px;" type="primary" size="mini">短信审核</button> |
| | | <button @click="toPyq()" class="mini-btn" type="default" size="mini">微信朋友圈</button> |
| | | </view> |
| | | |
| | | <v-tabs v-model="currentTab" :tabs="tabList" :pills="true" line-height="0" activeColor="#fff" |
| | | @change="changeTab" pillsColor="#FF928F" :fixed="true"></v-tabs> |
| | | <cc-pullScroolView class="pullScrollView" ref="pullScroll" :enablePullDown="false" :back-top="false"> |
| | |
| | | <view style="display: flex;"> |
| | | <view class="font-size-sm text-color-assist taskid-show">任务编号:{{ item.id }} |
| | | </view> |
| | | <view style="color: #919293;">复制</view> |
| | | <view @click="copy(item.id)" style="color: #919293;">复制</view> |
| | | </view> |
| | | <view style="display: flex;"> |
| | | <view class="font-size-sm text-color-assist taskid-show"> |
| | |
| | | curPageNum: 1, |
| | | pageCount: 10, |
| | | totalNum: 0, |
| | | checkType: '', |
| | | whiteid: "ocUrg6nVVPhn-m6yNPg7igYnB64g" |
| | | checkType: '' |
| | | } |
| | | }, |
| | | onLoad(option) { |
| | | this.checkId(); |
| | | //this.checkId(); |
| | | }, |
| | | |
| | | // 上拉加载 |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | toPyq() |
| | | { |
| | | uni.navigateTo({ |
| | | url:'/pages/ad_page/wx_pyqset' |
| | | }) |
| | | }, |
| | | //检查白名单 |
| | | checkId() { |
| | | var openId = uni.getStorageSync('smsopenid'); |
| | | if (openId == "" || this.whiteid.indexOf(openId) < 0) { |
| | | var openId = uni.getStorageSync('smsopenid'); |
| | | var whiteid=comUtils.getSmsStatus(status); |
| | | if (openId == "" || whiteid.indexOf(openId) < 0) { |
| | | uni.reLaunch({ |
| | | url: '/pages/emptypage/nopermissions' |
| | | }) |
| | | } else { |
| | | this.getTemplateData(); |
| | | } |
| | | } |
| | | }, |
| | | copy(taskid) { |
| | | uni.setClipboardData({ |
| | | data: taskid, |
| | | success: function() { |
| | | uni.showToast({ |
| | | title: '复制成功', |
| | | icon: 'none' |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | //审核 |
| | | shenhe(record, shStatus) { |