Commit ae6fd5ab by 前端

Merge branch 'kuangyq_v2.3.3' into 'v2.3.3'

Kuangyq v2.3.3

See merge request !20
2 parents b1a5fcad 19d50df9
......@@ -14,13 +14,5 @@ import groupCustomer from './groupCustomer'
import groupTag from './groupTag'
import entmicroApi from './entmicroApi'
import detailApi from './detail'
export {
ssoApi,
groupChat,
wxConfig,
liveBroadcast,
groupCustomer,
groupTag,
entmicroApi,
detailApi
}
\ No newline at end of file
import solicitApi from './solicit'
export { ssoApi, groupChat, wxConfig, liveBroadcast, groupCustomer, groupTag, entmicroApi, detailApi, solicitApi }
const url = '/rop-scrm-marketing/router'
export default {
/**
* 获取跟进结果字典 */
followFindAllDictData(data) {
data.method = 'merchants.api.menu.findAllDictData'
return window.$HTTP({
url: 'http://rop-merchant.dev.glsx.com.cn/rop-merchants/router',
data,
returnAll: true
})
},
// 获取送达、未送达列表
getCustomerList(data) {
data.method = 'marketing.api.solicit.page.customer.condition'
return window.$HTTP({
url,
data,
returnAll: true
})
},
// 获取客户详情
getCustomerDetail(data) {
data.method = 'marketing.api.solicit.customer.detail'
return window.$HTTP({
url,
data,
returnAll: true
})
},
// 招揽跟进记录保存
sendSolicitRecord(data) {
data.method = 'marketing.api.solicit.record.save'
return window.$HTTP({
url,
data,
returnAll: true
})
}
}
......@@ -3,35 +3,40 @@
<div class="customer-box" v-for="item in customerInfo" :key="item.id">
<div class="customer-title">
<div class="customer-name">{{ item.name }}</div>
<div class="customer-carnumber">{{ item.carNumber }}</div>
<div class="customer-carnumber">{{ item.SolicitCarResponse.carNumber }}</div>
</div>
<div class="customer-info">
<div class="customer-info-left">
<div class="customer-info-label">
<div class="customer-info-name">车系:</div>
<div class="customer-info-message">{{ item.carBrand }}</div>
<div class="customer-info-message">{{ item.SolicitCarResponse.carSeries }}</div>
</div>
<div class="customer-info-label">
<div class="customer-info-name">招揽结果:</div>
<div class="customer-info-message">{{ item.result }}</div>
<div class="customer-info-message">{{ item.followResult }}</div>
</div>
<div class="customer-info-label">
<div class="customer-info-name">企微营销:</div>
<div class="customer-info-message">{{ item.wechatMarketing }}</div>
<div class="customer-info-message">{{ item.checkStatus }}</div>
</div>
</div>
<div class="customer-info-right">
<div class="customer-info-label">
<div class="customer-info-name">企微账号:</div>
<div class="customer-info-message customer-info-wechat">@{{ item.joinWechat }}</div>
<div v-if="item.wechatnick">
<span class="customer-info-message">{{ item.wechatnick }}</span>
<span class="customer-info-wechat customer-info-message" v-if="item.type == 1">@微信</span>
<span class="customer-info-qiwechat customer-info-message" v-else>@企微</span>
</div>
<div class="customer-info-message" v-else>未添加</div>
</div>
<div class="customer-info-label">
<div class="customer-info-name">招揽日期:</div>
<div class="customer-info-message">{{ item.date }}</div>
<div class="customer-info-message">{{ item.solicitTime }}</div>
</div>
<div class="customer-info-label">
<div class="customer-info-name">更新日期:</div>
<div class="customer-info-message">{{ item.updateDate }}</div>
<div class="customer-info-message">{{ item.updatedTime }}</div>
</div>
</div>
</div>
......@@ -42,6 +47,8 @@
<div class="sprite-icon icon-sendwechat" @click="sendWechat(item)"></div>
</div>
</div>
<!-- 电话营销弹窗 -->
<van-action-sheet v-model:show="show" :actions="actions" @select="onSelect" cancel-text="取消" close-on-click-action @cancel="onCancel" />
<!-- 跟进弹窗 -->
<customer-follow-popup ref="customerFollowRef"></customer-follow-popup>
<!-- 客户信息弹窗 -->
......@@ -51,6 +58,7 @@
<script>
import { Toast } from 'vant'
import { wxConfig } from '@/api'
import CustomerInfoPopup from './CustomerInfoPopup.vue'
import CustomerFollowPopup from './CustomerFollowPopup.vue'
export default {
......@@ -65,9 +73,28 @@ export default {
}
},
data() {
return {}
return {
// 电话营销弹窗
show: false,
actions: [{ name: '呼叫' }, { name: '复制' }],
chatParams: {
externalUserIds: [],
groupName: '',
userIds: [],
chatId: ''
},
phoneNumber: null
}
},
mounted() {
// this.initWx()
},
methods: {
//初始化微信接口
initWx() {
window.$wx = wxConfig
window.$wx.init(['setClipboardData', 'makePhoneCall']).then(() => {})
},
changeTab(index) {
console.log(index)
this.isShow = false
......@@ -77,10 +104,30 @@ export default {
},
// 电话招揽
callCustomer(val) {
console.log(val)
if (!val.telNumber) {
// console.log(val)
if (!val.phoneNumber) {
Toast('系统尚未查询到该用户的电话号码')
return
}
this.phoneNumber = val.phoneNumber
// 打开电话营销弹窗
this.show = true
},
// 选择电话营销方式
onSelect(e) {
console.log(e)
// 呼叫
if (e.name === '呼叫') {
// window.location.href = 'tel://' + this.telNumber
this.makePhoneCall(this.phoneNumber)
return
}
// 复制
this.setClipboardData(this.phoneNumber)
},
// 电话招揽弹窗关闭
onCancel() {
this.show = false
},
// 招揽跟进
followCustomer(val) {
......@@ -95,6 +142,9 @@ export default {
// 企微沟通
sendWechat(val) {
console.log(val)
wxConfig.openEnterpriseChat().then(res => {
console.log(res)
})
}
}
}
......@@ -163,4 +213,7 @@ export default {
.customer-info-wechat {
color: #3975c6;
}
.customer-info-qiwechat {
color: #2cca74;
}
</style>
......@@ -42,44 +42,50 @@
<!-- 维保记录 -->
<div class="customer-message">
<div class="customer-info-title">维保记录</div>
<div class="stepItem" v-for="(item, index) in maintennceList" :key="index">
<div class="sprite-icon icon-maintant"></div>
<div class="stepBox">
<div class="stepBox-left">
<div class="stepBox-left-name">{{ item.name }}</div>
<div class="stepBox-left-title">
费用:
<span class="stepBox-left-content">{{ item.price }}</span>
</div>
<div class="stepBox-left-title">
跟进人:
<span class="stepBox-left-content">{{ item.followStaff }}</span>
<template v-if="maintennceList.length">
<div class="stepItem" v-for="(item, index) in maintennceList" :key="index">
<div class="sprite-icon icon-maintant"></div>
<div class="stepBox">
<div class="stepBox-left">
<div class="stepBox-left-name">{{ item.name }}</div>
<div class="stepBox-left-title">
费用:
<span class="stepBox-left-content">{{ item.price }}</span>
</div>
<div class="stepBox-left-title">
跟进人:
<span class="stepBox-left-content">{{ item.followStaff }}</span>
</div>
</div>
<div class="stepBox-right">{{ item.date }}</div>
</div>
<div class="stepBox-right">{{ item.date }}</div>
</div>
</div>
</template>
<div v-else class="no-data">暂无数据</div>
</div>
<!-- 跟进记录 -->
<div class="record">
<div class="customer-info-title">跟进记录</div>
<div class="stepItem" v-for="(item, index) in recordList" :key="index">
<div class="sprite-icon icon-followRecord"></div>
<div class="stepBox">
<div class="stepBox-left">
<div class="stepBox-left-name">{{ item.name }}</div>
<div class="stepBox-left-title">
预约时间:
<span class="stepBox-left-content">{{ item.recordDate ? item.recordDate : '-' }}</span>
</div>
<div class="stepBox-left-title">
备注:
<span class="stepBox-left-content">{{ item.tips ? item.tips : '-' }}</span>
<template v-if="recordList.length">
<div class="stepItem" v-for="(item, index) in recordList" :key="index">
<div class="sprite-icon icon-followRecord"></div>
<div class="stepBox">
<div class="stepBox-left">
<div class="stepBox-left-name">{{ item.name }}</div>
<div class="stepBox-left-title">
预约时间:
<span class="stepBox-left-content">{{ item.recordDate ? item.recordDate : '-' }}</span>
</div>
<div class="stepBox-left-title">
备注:
<span class="stepBox-left-content">{{ item.tips ? item.tips : '-' }}</span>
</div>
</div>
<div class="stepBox-right">{{ item.date }}</div>
</div>
<div class="stepBox-right">{{ item.date }}</div>
</div>
</div>
</template>
<div v-else class="no-data">暂无数据</div>
</div>
</div>
</van-action-sheet>
......@@ -135,18 +141,18 @@ export default {
},
// 维保记录表
maintennceList: [
{
name: '保养项目A',
price: '240元',
followStaff: '续梅厄米',
date: '05-28 16:00'
},
{
name: '保养项目B',
price: '240元',
followStaff: '续梅厄米',
date: '05-28 16:00'
}
// {
// name: '保养项目A',
// price: '240元',
// followStaff: '续梅厄米',
// date: '05-28 16:00'
// },
// {
// name: '保养项目B',
// price: '240元',
// followStaff: '续梅厄米',
// date: '05-28 16:00'
// }
],
// 跟进记录表
recordList: [
......@@ -179,16 +185,20 @@ export default {
<style lang="scss" scoped>
.popup-card {
padding: 16px;
padding: 0 16px 16px 16px;
}
.name-title {
padding-bottom: 12px;
width: 100%;
height: 48px;
background-color: #fff;
position: sticky;
top: 0;
&-text {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 24px;
line-height: 48px;
}
}
.customer-message {
......@@ -272,6 +282,16 @@ export default {
color: #999999;
line-height: 18px;
}
.no-data {
height: 50px;
width: 100%;
text-align: center;
line-height: 50px;
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #999999;
}
/deep/ .van-action-sheet {
max-height: 100%;
}
......
......@@ -51,7 +51,8 @@ import {
DatetimePicker,
Toast,
Switch,
Form
Form,
Sticky
} from 'vant'
export const components = [
Button,
......@@ -97,5 +98,6 @@ export const components = [
DatetimePicker,
Toast,
Switch,
Form
Form,
Sticky
]
import Vue from 'vue'
import {
Toast,
Dialog
} from 'vant'
import { Toast, Dialog } from 'vant'
/**
* 日期格式化
* let time = new Date().format('yyyy-MM-dd hh:mm:ss')
*/
Date.prototype.format = function(fmt) {
Date.prototype.format = function (fmt) {
let o = {
'M+': this.getMonth() + 1, //月份
'd+': this.getDate(), //日
'h+': this.getHours(), //小时
'm+': this.getMinutes(), //分
's+': this.getSeconds(), //秒
//季度
'M+': this.getMonth() + 1, //月份
'd+': this.getDate(), //日
'h+': this.getHours(), //小时
'm+': this.getMinutes(), //分
's+': this.getSeconds(), //秒
//季度
'q+': Math.floor((this.getMonth() + 3) / 3),
'S': this.getMilliseconds() //毫秒
};
S: this.getMilliseconds() //毫秒
}
if (/(y+)/.test(fmt)) {
fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
}
for (let k in o) {
if (new RegExp(`(${k})`).test(fmt)) {
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
fmt = fmt.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ('00' + o[k]).substr(('' + o[k]).length))
}
}
return fmt
}
const throttle = (fn, gapTime) => {
if (gapTime == null || gapTime == undefined) {
gapTime = 1500
}
let _lastTime = null
return function() {
let _nowTime = +new Date()
if (_nowTime - _lastTime > gapTime || !_lastTime) {
fn.apply(this, arguments)
_lastTime = _nowTime
}
if (gapTime == null || gapTime == undefined) {
gapTime = 1500
}
let _lastTime = null
return function () {
let _nowTime = +new Date()
if (_nowTime - _lastTime > gapTime || !_lastTime) {
fn.apply(this, arguments)
_lastTime = _nowTime
}
}
/**防止重复点击 */
}
/**防止重复点击 */
const showLoading = (title = '加载中...') => {
Toast({
type: 'loading',
......@@ -52,27 +49,27 @@ const showLoading = (title = '加载中...') => {
})
}
const hideLoading = () => {
Toast.clear()
}
/**num:要转换的数值,fixed:精确几位小数 */
Toast.clear()
}
/**num:要转换的数值,fixed:精确几位小数 */
const decimal = (num, fixed) => {
let pow = Math.pow(10, fixed)
return Math.round(num * pow) / pow
}
const showToast = (message = '', callBack) => {
let params = {
message,
forbidClick: true,
duration: 1500
}
Toast(params)
if (callBack && typeof callBack == 'function') {
setTimeout(() => {
callBack()
}, 1500)
}
let params = {
message,
forbidClick: true,
duration: 1500
}
Toast(params)
if (callBack && typeof callBack == 'function') {
setTimeout(() => {
callBack()
}, 1500)
}
/**触摸样式 */
}
/**触摸样式 */
const touchstart = e => {
e.target.classList.add('btn-on-leave')
}
......@@ -98,28 +95,28 @@ const removeLocalStorage = key => {
window.localStorage.removeItem(key)
}
const dialog = (params = {}) => {
if (!params.confirmButtonColor) params.confirmButtonColor = '#FF7336'
return Dialog.confirm(params)
}
/**拨打电话 */
if (!params.confirmButtonColor) params.confirmButtonColor = '#FF7336'
return Dialog.confirm(params)
}
/**拨打电话 */
const makePhoneCall = phoneNumber => {
window.location.href = `tel://${phoneNumber}`
}
/**是否全面屏 */
const isFullSucreen = () => {
let result = false;
let result = false
const rate = window.screen.height / window.screen.width
let limit = window.screen.height == window.screen.availHeight ? 1.8 : 1.65 // 临界判断值
let limit = window.screen.height == window.screen.availHeight ? 1.8 : 1.65 // 临界判断值
result = rate > limit
return result
}
const jumpChildrenPage = (to, params) => {
let { name } = window.vm._route
window.vm.$router.push({ name: `${name}.${to}`, params })
}
/**拷贝 */
let { name } = window.vm._route
window.vm.$router.push({ name: `${name}.${to}`, params })
}
/**拷贝 */
const setClipboardData = data => {
wx.setClipboardData({
data,
......@@ -127,8 +124,7 @@ const setClipboardData = data => {
console.log(res)
Toast('复制成功')
},
fail(res){
}
fail(res) {}
})
}
......@@ -165,7 +161,6 @@ const watchPageBack = () => {
resolve()
}
})
}
const utils = {
removeLocalStorage,
......@@ -196,4 +191,4 @@ const utils = {
Object.keys(utils).map(key => {
Vue.prototype[key] = utils[key]
})
export default utils
\ No newline at end of file
export default utils
......@@ -3,30 +3,11 @@
<tip :title="title"></tip>
<template v-if="customerList.length > 0">
<div class="customerList-add">
<scroll-view
class="content"
@ReachBottom="onReachBottom"
ref="scrollView"
>
<div
class="customer-add"
v-for="(item, index) in customerList"
:key="index"
>
<div
class="customer-add-portrait"
v-if="tabIndex == 3"
>
<img
:src="item.avatar"
alt=""
v-if="item.avatar"
/>
<img
src="../../assets/images/user.png"
alt=""
v-else
/>
<scroll-view class="content" @ReachBottom="onReachBottom" ref="scrollView">
<div class="customer-add" v-for="(item, index) in customerList" :key="index">
<div class="customer-add-portrait" v-if="tabIndex == 3">
<img :src="item.avatar" alt="" v-if="item.avatar" />
<img src="../../assets/images/user.png" alt="" v-else />
</div>
<div :class="{ 'customer-add-info': true, 'customer-add-all-info': tabIndex === 3 }">
<div class="customer-add-info-number">{{ item.customerPhone }}</div>
......@@ -34,48 +15,30 @@
</div>
<template v-if="item.status == 0">
<div class="customer-add-friend flex">
<div
class="sprite-icon icon-customer-add"
@click="addFriend(item)"
></div>
<div class="sprite-icon icon-customer-add" @click="addFriend(item)"></div>
<div class="customer-add-friend-text">加好友</div>
</div>
<div class="line"></div>
<div
class="customer-add-friend flex"
@click="callPhone(item.customerPhone)"
>
<div class="customer-add-friend flex" @click="callPhone(item.customerPhone)">
<div class="sprite-icon icon-customer-phone"></div>
<div class="customer-add-friend-text">拨打电话</div>
</div>
</template>
<div
class="customer-add-stay"
v-else-if="item.status == 1"
>待通过</div>
<div
class="customer-add-pass"
v-else-if="item.status == 2"
>已通过</div>
<div class="customer-add-stay" v-else-if="item.status == 1">待通过</div>
<div class="customer-add-pass" v-else-if="item.status == 2">已通过</div>
<div class="buttomLine"></div>
</div>
</scroll-view>
</div>
<template v-if="tabIndex == 0 && copywriting != ''">
<div class="copy-box">
<div
class="sprite-icon icon-customer-copy"
@click="copy"
></div>
<div class="sprite-icon icon-customer-copy" @click="copy"></div>
<div class="title">客户好友申请文案</div>
<div>{{ copywriting }}</div>
</div>
</template>
</template>
<empty
v-else
description="暂无数据"
/>
<empty v-else description="暂无数据" />
</div>
</template>
<script>
......@@ -266,7 +229,7 @@ export default {
.customer-add-stay {
font-size: 12px;
font-weight: 400;
color: #3975C6;
color: #3975c6;
line-height: 17px;
margin-left: 78px;
white-space: nowrap;
......@@ -327,4 +290,4 @@ export default {
height: calc(100vh - 220px) !important;
}
}
</style>
\ No newline at end of file
</style>
<template>
<div>
<van-tabs v-model="tabIndex" sticky>
<van-tab :title="'未送达(' + customerInfo.length + ')'">
<div class="reason">
<div>未送达可能原因:</div>
<div>1. 客户开启消息免打扰,消息发送失败;</div>
<div>2. 群发次数达到上限,上限次数为每个客户每天仅可接收1条群发消息。(系统将连续重试3天)</div>
</div>
<customer-card :customerInfo="customerInfo"></customer-card>
<van-tabs v-model="tabIndex" sticky @change="tabChange">
<van-tab :title="'未送达(' + customerInfo1.length + ')'">
<scroll-view @ReachBottom="onReachBottom" ref="scrollView">
<div class="reason">
<div>未送达可能原因:</div>
<div>1. 客户开启消息免打扰,消息发送失败;</div>
<div>2. 群发次数达到上限,上限次数为每个客户每天仅可接收1条群发消息。(系统将连续重试3天)</div>
</div>
<customer-card v-if="customerInfo1.length" :customerInfo="customerInfo1"></customer-card>
<empty v-else></empty>
</scroll-view>
</van-tab>
<van-tab :title="'已送达(' + deliveredNum + ')'">
<div class="statistic-pic flex">
......@@ -17,8 +20,8 @@
<div class="statistic-list">
<template v-for="(status, index) in reachStatus">
<div class="font-12 color-2f flex m-b-14" :key="index">
<div class="circle" :style="{'background':status.color}"></div>
{{status.text}}
<div class="circle" :style="{ background: status.color }"></div>
{{ status.text }}
<span class="font-16 color-3 m-l-8 bold">2,000</span>
<span class="font-10 color39 m-l-4 fw5">(100%)</span>
</div>
......@@ -26,57 +29,132 @@
</div>
</div>
<select-bar :index="3" :list="selectBarList"></select-bar>
<customer-card :customerInfo="customerInfo"></customer-card>
<customer-card :customerInfo="customerInfo2"></customer-card>
</van-tab>
</van-tabs>
</div>
</template>
<script>
import Empty from '../../components/Empty.vue'
import ScrollView from '../../components/ScrollView.vue'
import SelectBar from '../../components/SelectBar.vue'
import { solicitApi } from '@/api'
export default {
components: { SelectBar },
components: { SelectBar, Empty, ScrollView },
data() {
return {
tabIndex: 0,
deliveredNum: 0,
selectBarList: ['已送达', '已查看', '已领取', '已到店'],
customerInfo: [
// 未送达页码
unSendPageParam: {
pagesize: 10,
pageNum: 1
},
// 送达页码
sendPageParam: {
pagesize: 10,
pageNum: 1
},
// 未送达客户数量
unSendCount: null,
// 送达客户数量
sendCount: null,
// 未送达客户列表
customerInfo1: [
{
id: 1,
name: '崔美女',
followResult: '未接听',
checkStatus: '一查看',
solicitTime: '05-07 15:30',
updatedTime: '05-07 15:30',
phoneNumber: '',
type: 1,
wechatnick: '',
SolicitCarResponse: {
carSeries: '奔驰 G63',
carNumber: '粤B 6666'
}
},
{
id: 2,
name: '匡先生',
followResult: '未接听',
checkStatus: '一查看',
solicitTime: '05-07 15:30',
updatedTime: '05-07 15:30',
phoneNumber: '18818188989',
type: 2,
wechatnick: '横穿',
SolicitCarResponse: {
carSeries: '奔驰 G63',
carNumber: '粤B 6666'
}
},
{
id: 3,
name: 'xu先生',
followResult: '未接听',
checkStatus: '一查看',
solicitTime: '05-07 15:30',
updatedTime: '05-07 15:30',
phoneNumber: '18818188989',
type: 1,
wechatnick: 'BB',
SolicitCarResponse: {
carSeries: '奔驰 G63',
carNumber: '粤B 6666'
}
}
],
// 已送达客户列表
customerInfo2: [
{
id: 1,
name: '林先生',
carNumber: '月A8888',
carBrand: 'BMW',
result: '未接听',
wechatMarketing: '一查看',
joinWechat: '美女',
date: '05-07 15:30',
updateDate: '05-07 15:30',
telNumber: ''
name: '崔美女',
followResult: '未接听',
checkStatus: '一查看',
solicitTime: '05-07 15:30',
updatedTime: '05-07 15:30',
phoneNumber: '',
type: 1,
wechatnick: '',
SolicitCarResponse: {
carSeries: '奔驰 G63',
carNumber: '粤B 6666'
}
},
{
id: 2,
name: 'kuang先生',
carNumber: '',
carBrand: 'BMW',
result: '未接听',
wechatMarketing: '一查看',
joinWechat: '美女',
date: '05-07 15:30',
updateDate: '05-07 15:30',
telNumber: '18818188989'
name: '匡先生',
followResult: '未接听',
checkStatus: '一查看',
solicitTime: '05-07 15:30',
updatedTime: '05-07 15:30',
phoneNumber: '18818188989',
type: 2,
wechatnick: '横穿',
SolicitCarResponse: {
carSeries: '奔驰 G63',
carNumber: '粤B 6666'
}
},
{
id: 3,
name: 'xu先生',
carNumber: '粤B 8888',
carBrand: '兰博基尼',
result: '未接听',
wechatMarketing: '一查看',
joinWechat: '美女',
date: '05-07 15:30',
updateDate: '05-07 15:30',
telNumber: '18818188989'
followResult: '未接听',
checkStatus: '一查看',
solicitTime: '05-07 15:30',
updatedTime: '05-07 15:30',
phoneNumber: '18818188989',
type: 2,
wechatnick: 'BB',
SolicitCarResponse: {
carSeries: '奔驰 G63',
carNumber: '粤B 6666'
}
}
],
reachStatus: [
......@@ -122,6 +200,56 @@ export default {
}
]
}
},
mounted() {
// this.getUnSendCustomerList()
// this.getSendCustomerList()
},
methods: {
// tab栏切换
tabChange(e) {
console.log(e)
this.tabIndex = e
},
// 获取未送达客户信息
getUnSendCustomerList() {
var params = { ...this.unSendPageParam }
// followFlag-跟进状态:0待跟进、1已跟进
params.followFlag = 0
// params.groupId =
// params.id =
// params.staffId =
console.log(params)
solicitApi.getCustomerList().then(res => {
console.log(res)
})
},
// 获取送达客户信息
getSendCustomerList() {
var params = { ...this.sendPageParam }
// followFlag-跟进状态:0待跟进、1已跟进
params.followFlag = 1
// params.groupId =
// params.id =
// params.staffId =
console.log(params)
solicitApi.getCustomerList().then(res => {
console.log(res)
})
},
// 下拉触底刷新
onReachBottom() {
console.log('触底')
this.$refs.scrollView.loading = false
this.$refs.scrollView.finished = true
// 未送达页面
if (this.tabIndex == 0) {
this.unSendPageParam.pageNum++
return
}
// 送达页面
this.sendPageParam.pageNum++
}
}
}
</script>
......@@ -161,7 +289,7 @@ export default {
margin-right: 6px;
}
}
.statistic-list div:nth-child(4){
.statistic-list div:nth-child(4) {
margin-bottom: 0;
}
}
......
......@@ -51,7 +51,7 @@ const spritesmithFunction = data => {
return `${shared}\n${perSprite}`
}
module.exports = {
publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main-test/', // 署应用包时的基本 URL。 vue-router hash 模式使用
publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main-kuangyq/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!