修改客户线索池
This commit is contained in:
@@ -36,6 +36,7 @@ api = {
|
||||
appSmsCusorder: "app/sms/cusorder", //订单发短信
|
||||
appCustomerlogs: "app/customerlogs", //获取日志
|
||||
appCustomerData: "app/customers/data", //获取客户详细信息
|
||||
appCustomerLock: "app/customers/unlock", //解锁线索
|
||||
appCusorder: "app/cusorder", //新建订单 /获取订单列表 /获取订单详情 /修改付款方式 /修改委托协议
|
||||
appCusorderTabs: "app/cusorder/tabs", //获取tab
|
||||
appEmployees: "app/employees", //获取客户详细信息 /获取店员列表 /更新店员信息 /删除店员
|
||||
|
||||
@@ -1124,4 +1124,10 @@ apiQuery.getAppCusorderDestroy = function (params) {
|
||||
HttpRequest(false, Config.api.appCusorderDestroy, 2, params, "GET", resolve, reject)
|
||||
})
|
||||
}
|
||||
//解锁客户
|
||||
apiQuery.putAppCustomerLock = function (params) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
HttpRequest(true, Config.api.appCustomerLock, 2, params, "PUT", resolve, reject)
|
||||
})
|
||||
}
|
||||
export default apiQuery;
|
||||
@@ -1150,7 +1150,7 @@ Page({
|
||||
let params = {
|
||||
'id' : this.data.cluesId
|
||||
};
|
||||
_.apiQuery.putAppCluesLock(params).then(res => {
|
||||
_.apiQuery.putAppCustomerLock(params).then(res => {
|
||||
wx.showToast({
|
||||
title: res.msg,
|
||||
icon: 'success',
|
||||
@@ -1163,7 +1163,7 @@ Page({
|
||||
//跳转线索池详情
|
||||
goClues(e){
|
||||
let row = e.currentTarget.dataset.row;
|
||||
let url = "/pages/clues/detail/index?id="+row.id+"&from=customer"
|
||||
let url = "/pages/clues/detail/index?id="+row.rid+"&from=customer"
|
||||
if(row.un_lock){
|
||||
_.$router.openUrlScheme(url);
|
||||
}
|
||||
|
||||
@@ -99,11 +99,11 @@
|
||||
<view class="relative">
|
||||
<view class="mt25 fn-clear font-28 pr180">
|
||||
<view class="fn-fl color-333 mr15">入池时间</view>
|
||||
<view class="fn-fl color-666">{{ item.c_time }}</view>
|
||||
<view class="fn-fl color-666">{{ item.other_data['建档时间'] }}</view>
|
||||
</view>
|
||||
<view class="mt25 fn-clear font-28 pr180">
|
||||
<view class="fn-fl color-333 mr15">意向车型</view>
|
||||
<view class="fn-fl color-666">{{item.brand_detail}}</view>
|
||||
<view class="fn-fl color-666">{{item.other_data['关注车型']}}</view>
|
||||
</view>
|
||||
<view class="absolute right-0 box-middle" wx:if="{{!item.un_lock}}" bind:tap="showUnlock" data-id="{{item.id}}">
|
||||
<!-- <view class="font-26 mt10" style="color:#f63c51">{{'距转派还剩4小时23分'}}</view> -->
|
||||
|
||||
Reference in New Issue
Block a user