@@ -16,7 +16,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "AI营销辅助平台", | |||
"navigationBarBackgroundColor": "#2671E2", | |||
"navigationBarTextStyle": "white" | |||
"navigationBarTextStyle": "white", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -31,7 +32,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "学习", | |||
"navigationBarBackgroundColor": "#2671E2", | |||
"navigationBarTextStyle": "white" | |||
"navigationBarTextStyle": "white", | |||
"enablePullDownRefresh":true | |||
} | |||
},{ | |||
"path": "pages/index/personal", | |||
@@ -196,7 +198,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "值班顾问", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -204,7 +207,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "设备管理", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
} | |||
,{ | |||
@@ -216,6 +220,36 @@ | |||
"navigationBarTextStyle": "black" | |||
} | |||
} | |||
,{ | |||
"path" : "registerCode", | |||
"style" : | |||
{ | |||
"navigationBarTitleText": "访客登记码", | |||
"navigationBarBackgroundColor": "#2671E2", | |||
"navigationBarTextStyle": "white" | |||
} | |||
} | |||
,{ | |||
"path" : "registerForm", | |||
"style" : | |||
{ | |||
"navigationBarTitleText": "访客登记表", | |||
"navigationBarBackgroundColor": "#2671E2", | |||
"navigationBarTextStyle": "white" | |||
} | |||
} | |||
,{ | |||
"path" : "registerResult", | |||
"style" : | |||
{ | |||
"navigationBarTitleText": "访客登记表", | |||
"navigationBarBackgroundColor": "#2671E2", | |||
"navigationBarTextStyle": "white" | |||
} | |||
} | |||
] | |||
}, | |||
@@ -260,7 +294,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "分点学习", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -292,7 +327,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "销讲数据", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -300,7 +336,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "集团对比", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -308,7 +345,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "团队对比", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -332,7 +370,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "客户画像", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -340,7 +379,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "趋势分析", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -348,7 +388,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "员工分析", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
@@ -381,7 +422,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "顾问排名", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
@@ -390,7 +432,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "接待记录", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -406,7 +449,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "违禁记录", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -414,7 +458,8 @@ | |||
"style": { | |||
"navigationBarTitleText": "客户管理", | |||
"navigationBarBackgroundColor": "#FFFFFF", | |||
"navigationBarTextStyle": "black" | |||
"navigationBarTextStyle": "black", | |||
"enablePullDownRefresh":true | |||
} | |||
}, | |||
{ | |||
@@ -201,6 +201,12 @@ | |||
this.houseId = uni.getStorageSync('buildingID').id; | |||
this.init() | |||
}, | |||
onPullDownRefresh(){ | |||
this.init() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods: { | |||
init(){ | |||
this.newlisttabinfo1={ | |||
@@ -300,6 +300,19 @@ | |||
this.getSectionList() | |||
}, | |||
onPullDownRefresh(){ | |||
let that=this | |||
uni.$on('updateGroup',function(data){ | |||
console.log(data) | |||
that.houseId=data.arr.join(',') | |||
// 获取销奖能力 | |||
that.getPowerList() | |||
}) | |||
this.getSectionList() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods: { | |||
// 获取部门列表 | |||
@@ -242,6 +242,12 @@ | |||
// 请求接口获取所有置业顾问员工的列表 | |||
this.getStaffList() | |||
}, | |||
onPullDownRefresh(){ | |||
this.getStaffList() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods: { | |||
//是否对比 | |||
checkboxChange(){ | |||
@@ -471,6 +471,21 @@ | |||
this.getSectionList() | |||
}, | |||
onPullDownRefresh(){ | |||
let that=this | |||
uni.$on('update',function(data){ | |||
// console.log(data) | |||
that.deptids=data.arr.join(',') | |||
// 获取销奖能力 | |||
that.getPowerList() | |||
}) | |||
// this.buildingname = uni.getStorageSync('buildingID').name; | |||
// 请求接口获取所有置业顾问员工的列表 | |||
this.getSectionList() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods: { | |||
//是否对比 | |||
checkboxChange(){ | |||
@@ -321,6 +321,12 @@ | |||
this.pamect.houseId = uni.getStorageSync('buildingID').id; | |||
this.init() | |||
}, | |||
onPullDownRefresh(){ | |||
this.init() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
watch: { | |||
Showhiddenunits(newValue, oldValue) { | |||
this.showCanvas = !newValue | |||
@@ -102,6 +102,12 @@ | |||
onPageScroll(e) { | |||
this.scrollTop = e.scrollTop; | |||
}, | |||
onPullDownRefresh(){ | |||
this.gitinit() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
onLoad() { | |||
this.buildingID=uni.getStorageSync('buildingID').id; | |||
this.gitinit() | |||
@@ -336,6 +336,24 @@ | |||
// 获取维度 | |||
this.getindexZxl() | |||
}, | |||
onPullDownRefresh(){ | |||
// 获取员工 | |||
this.getStaffList() | |||
// 获取团队 | |||
this.getSectionList() | |||
// 获取团队是否显示权限 | |||
this.queryHaveDept() | |||
// 获取简报 | |||
this.getReport() | |||
// 获取接待趋势 | |||
this.getRtrent() | |||
// 获取维度 | |||
this.getindexZxl() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods: { | |||
queryHaveDept() { | |||
return new Promise((resolve, reject) => { | |||
@@ -26,7 +26,9 @@ | |||
更多筛选<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
</view> | |||
<view class="count" v-if="recordList.length > 0"> | |||
筛选结果:<text>{{totalRecords}} </text>条 | |||
</view> | |||
<view class="content"> | |||
<view v-if="recordList.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;"> | |||
<view style="width: 100%;padding-top: 200rpx;background: #FFFFFF;"> | |||
@@ -139,7 +141,13 @@ | |||
到访次数 | |||
</view> | |||
<view class="screen-record-tab"> | |||
<view :class="[screen.visitRecord==1?'screen-record-chose':'screen-record-nochose']" @click="screenvisitRecord(1)"> | |||
<block v-for="(item,index) in visitList" :key="index"> | |||
<view :class="[item.isShow?'screen-record-chose':'screen-record-nochose']" | |||
@click="choice(index,item.value)"> | |||
{{item.label}} | |||
</view> | |||
</block> | |||
<!-- <view :class="[screen.visitRecord==1?'screen-record-chose':'screen-record-nochose']" @click="screenvisitRecord(1)"> | |||
首次到访 | |||
</view> | |||
<view :class="[screen.visitRecord==2?'screen-record-chose':'screen-record-nochose']" @click="screenvisitRecord(2)"> | |||
@@ -150,7 +158,7 @@ | |||
</view> | |||
<view :class="[screen.visitRecord==4?'screen-record-chose':'screen-record-nochose']" @click="screenvisitRecord(4)"> | |||
3次以上 | |||
</view> | |||
</view> --> | |||
</view> | |||
</view> | |||
<view class="screen-foot"> | |||
@@ -213,7 +221,7 @@ | |||
screen:{ | |||
agentId:'', | |||
agentIdtext:'', | |||
visitRecord:'', | |||
visitRecord:[], | |||
record:null, | |||
cunsumerTips:'', | |||
cunsumerTipsid:'' | |||
@@ -234,7 +242,26 @@ | |||
soltishow:false, | |||
staTime:'', | |||
endtime:'', | |||
orderBy:'' | |||
orderBy:'', | |||
totalRecords:'', | |||
visitList: [{ | |||
label: '首次到访', | |||
value: 1, | |||
isShow: false, | |||
}, { | |||
label: '2次到访', | |||
value: 2, | |||
isShow: false, | |||
}, { | |||
label: '3次到访', | |||
value: 3, | |||
isShow: false, | |||
}, { | |||
label: '3次以上', | |||
value: 4, | |||
isShow: false, | |||
}, ], | |||
isRefresh:false | |||
} | |||
}, | |||
onLoad(options) { | |||
@@ -245,6 +272,7 @@ | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.nextPage=1; | |||
this.recordList=[] | |||
this.isRefresh = false; | |||
this.getMyCustom() | |||
this.getFreeList() | |||
this.getfindKeywordsList() | |||
@@ -261,10 +289,32 @@ | |||
return | |||
}else{ | |||
this.nextPage+=1; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
} | |||
}, | |||
onPullDownRefresh(){ | |||
this.isRefresh = true; | |||
this.nextPage = 1; | |||
this.getMyCustom() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods:{ | |||
choice(index,e) { | |||
if (this.visitList[index].isShow == true) { | |||
this.visitList[index].isShow = false; | |||
for (var i = 0; i < this.screen.visitRecord.length; i++) { | |||
if (this.screen.visitRecord[i] === e) { | |||
this.screen.visitRecord.splice(i, 1); | |||
} | |||
} | |||
} else { | |||
this.visitList[index].isShow = true; | |||
this.screen.visitRecord.push(e) | |||
} | |||
}, | |||
tapsoltishow(){ | |||
this.soltishow=true; | |||
}, | |||
@@ -278,6 +328,7 @@ | |||
selectCallback2(e){ | |||
this.orderBy=e[0].value; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.recordList=[]; | |||
this.getMyCustom(); | |||
}, | |||
@@ -286,6 +337,7 @@ | |||
this.timetushow=false; | |||
this.activeTotal2=index; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.recordList=[]; | |||
this.getMyCustom(); | |||
}, | |||
@@ -299,6 +351,7 @@ | |||
this.staTime=''; | |||
this.endtime=''; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.recordList=[]; | |||
this.getMyCustom(); | |||
} | |||
@@ -310,6 +363,7 @@ | |||
this.activeTotal=4; | |||
this.nextPage=1; | |||
this.recordList=[]; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
}, | |||
recordclick(i){ | |||
@@ -370,8 +424,8 @@ | |||
orderBy:orderBy | |||
} | |||
}; | |||
if (this.screen.visitRecord > 0) { | |||
parames.query.visitRecord = this.screen.visitRecord; | |||
if (this.screen.visitRecord.length > 0) { | |||
parames.query.visitRecords = this.screen.visitRecord.join(','); | |||
} | |||
if(this.screen.record==0){ | |||
parames.query.levels= ["1"] | |||
@@ -404,8 +458,14 @@ | |||
}) | |||
} | |||
}) | |||
this.recordList = [...this.recordList, ...list]; | |||
// this.recordList = [...this.recordList, ...list]; | |||
if(this.isRefresh){ | |||
this.recordList = list; | |||
}else{ | |||
this.recordList = [...this.recordList, ...list]; | |||
} | |||
this.totalRecord=data.totalPage; | |||
this.totalRecords = data.totalRecord; | |||
}) | |||
}, | |||
//获取顾问列表 | |||
@@ -458,14 +518,19 @@ | |||
cunsumerTips:'', | |||
cunsumerTipsid:'' | |||
} | |||
this.visitList.map(i=>{ | |||
i.isShow = false | |||
}) | |||
this.nextPage=1; | |||
this.recordList=[]; | |||
this.screenShow=false; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
}, | |||
//筛选确认 | |||
screensure(){ | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.recordList=[]; | |||
this.screenShow=false; | |||
this.getMyCustom(); | |||
@@ -490,7 +555,18 @@ | |||
height: 100%; | |||
background: #F8F8F8; | |||
} | |||
.count { | |||
width: 100%; | |||
height: 90rpx; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
background-color: #FBE4E4; | |||
text { | |||
color: #F71616; | |||
} | |||
} | |||
.timeview{ | |||
height: 80rpx; | |||
line-height: 80rpx; | |||
@@ -14,6 +14,9 @@ | |||
顾问<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
</view> | |||
<view class="count" v-if="recordList.length > 0"> | |||
筛选结果:<text>{{totalRecords}} </text>条 | |||
</view> | |||
<view class="content"> | |||
<view v-if="recordList.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;background: #FFFFFF;"> | |||
<view style="width: 100%;padding-top: 200rpx;"> | |||
@@ -93,7 +96,9 @@ | |||
timeshow:false, | |||
soltishow:false, | |||
orderBy:'', | |||
userInfo:{} | |||
userInfo:{}, | |||
totalRecords:'', | |||
isRefresh:false | |||
} | |||
}, | |||
@@ -107,12 +112,21 @@ | |||
this.endtime=options.endtime; | |||
} | |||
}, | |||
onPullDownRefresh(){ | |||
this.nextPage=1; | |||
this.isRefresh = true; | |||
this.getMyCustom() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
onShow() { | |||
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | |||
if(this.isnorefresh=='refresh'){ | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.recordList=[]; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.getMyCustom() | |||
this.getFreeList(); | |||
this.isnorefresh=''; | |||
@@ -130,6 +144,7 @@ | |||
}); | |||
return | |||
}else{ | |||
this.isRefresh = false; | |||
this.nextPage+=1; | |||
this.getMyCustom(); | |||
} | |||
@@ -146,6 +161,7 @@ | |||
selectCallback2(e){ | |||
this.orderBy=e[0].value; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.recordList=[]; | |||
this.getMyCustom(); | |||
}, | |||
@@ -159,6 +175,7 @@ | |||
this.staTime=''; | |||
this.endtime=''; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.recordList=[]; | |||
this.getMyCustom(); | |||
} | |||
@@ -169,6 +186,7 @@ | |||
this.endtime=e.endDate; | |||
this.activeTotal=4; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.recordList=[]; | |||
this.getMyCustom(); | |||
}, | |||
@@ -254,8 +272,14 @@ | |||
this.$u.post("/customer/findbypage", parames).then(data => { | |||
var list = data.results || []; | |||
this.recordList = [...this.recordList, ...list]; | |||
// this.recordList = [...this.recordList, ...list]; | |||
if(this.isRefresh){ | |||
this.recordList = list; | |||
}else{ | |||
this.recordList = [...this.recordList, ...list]; | |||
} | |||
this.totalRecord=data.totalPage; | |||
this.totalRecords = data.totalRecord; | |||
}) | |||
}, | |||
//获取顾问列表 | |||
@@ -272,6 +296,7 @@ | |||
actionSelectCallback(e){ | |||
this.screen.agentId=e[0].value; | |||
this.recordList=[]; | |||
this.isRefresh = false; | |||
this.nextPage=1; | |||
this.selectshow=false; | |||
this.getMyCustom(); | |||
@@ -291,6 +316,18 @@ | |||
height: 100%; | |||
background: #F8F8F8; | |||
} | |||
.count { | |||
width: 100%; | |||
height: 90rpx; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
background-color: #FBE4E4; | |||
text { | |||
color: #F71616; | |||
} | |||
} | |||
.timeview{ | |||
height: 80rpx; | |||
line-height: 80rpx; | |||
@@ -27,6 +27,9 @@ | |||
更多筛选<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
</view> | |||
<view class="count" v-if="recordList.length > 0"> | |||
筛选结果:<text>{{totalRecords}} </text>条 | |||
</view> | |||
<view class="content"> | |||
<view v-if="recordList.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;background: #FFFFFF;"> | |||
<view style="width: 100%;padding-top: 200rpx;"> | |||
@@ -102,6 +105,9 @@ | |||
<view :class="[screen.validInvalid==1?'screen-record-chose':'screen-record-nochose']" @click="screenvisivalidInvalid(1)"> | |||
无效接待 | |||
</view> | |||
<view :class="[screen.validInvalid==2?'screen-record-chose':'screen-record-nochose']" @click="screenvisivalidInvalid(2)"> | |||
无录音 | |||
</view> | |||
</view> | |||
</view> | |||
<view class="screen-record"> | |||
@@ -122,7 +128,13 @@ | |||
到访次数 | |||
</view> | |||
<view class="screen-record-tab"> | |||
<view :class="[screen.visitRecord==1?'screen-record-chose':'screen-record-nochose']" @click="recordclick(1)"> | |||
<block v-for="(item,index) in visitList" :key="index"> | |||
<view :class="[item.isShow?'screen-record-chose':'screen-record-nochose']" | |||
@click="choice(index,item.value)"> | |||
{{item.label}} | |||
</view> | |||
</block> | |||
<!-- <view :class="[screen.visitRecord==1?'screen-record-chose':'screen-record-nochose']" @click="recordclick(1)"> | |||
首次到访 | |||
</view> | |||
<view :class="[screen.visitRecord==2?'screen-record-chose':'screen-record-nochose']" @click="recordclick(2)"> | |||
@@ -133,7 +145,7 @@ | |||
</view> | |||
<view :class="[screen.visitRecord==4?'screen-record-chose':'screen-record-nochose']" @click="recordclick(4)"> | |||
3次以上 | |||
</view> | |||
</view> --> | |||
</view> | |||
</view> | |||
<view class="screen-foot"> | |||
@@ -195,7 +207,7 @@ | |||
agentId:'',//顾问id | |||
record:'0', | |||
markAdvisor:null, | |||
visitRecord:null, | |||
visitRecord:[], | |||
validInvalid:null | |||
}, | |||
freeList:[],//顾问 | |||
@@ -213,6 +225,25 @@ | |||
orderBy:'', | |||
methodsisshow:false, | |||
userInfo:{}, | |||
visitList: [{ | |||
label: '首次到访', | |||
value: 1, | |||
isShow: false, | |||
}, { | |||
label: '2次到访', | |||
value: 2, | |||
isShow: false, | |||
}, { | |||
label: '3次到访', | |||
value: 3, | |||
isShow: false, | |||
}, { | |||
label: '3次以上', | |||
value: 4, | |||
isShow: false, | |||
}, ], | |||
totalRecords: '', | |||
isRefresh:false | |||
} | |||
}, | |||
onLoad(options) { | |||
@@ -245,6 +276,7 @@ | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.recordList=[]; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.getMyCustom() | |||
this.getFreeList(); | |||
this.isnorefresh=''; | |||
@@ -260,10 +292,32 @@ | |||
return | |||
}else{ | |||
this.nextPage+=1; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
} | |||
}, | |||
onPullDownRefresh(){ | |||
this.nextPage=1; | |||
this.isRefresh = true; | |||
this.getMyCustom() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods:{ | |||
choice(index,e) { | |||
if (this.visitList[index].isShow == true) { | |||
this.visitList[index].isShow = false; | |||
for (var i = 0; i < this.screen.visitRecord.length; i++) { | |||
if (this.screen.visitRecord[i] === e) { | |||
this.screen.visitRecord.splice(i, 1); | |||
} | |||
} | |||
} else { | |||
this.visitList[index].isShow = true; | |||
this.screen.visitRecord.push(e) | |||
} | |||
}, | |||
tapsoltishow(){ | |||
this.soltishow=true; | |||
}, | |||
@@ -278,6 +332,7 @@ | |||
this.orderBy=e[0].value; | |||
this.nextPage=1; | |||
this.recordList=[]; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
}, | |||
//选择录音时长 | |||
@@ -286,6 +341,7 @@ | |||
this.activeTotal2=index; | |||
this.nextPage=1; | |||
this.recordList=[]; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
}, | |||
//时间选择 | |||
@@ -299,6 +355,7 @@ | |||
this.endtime=''; | |||
this.nextPage=1; | |||
this.recordList=[]; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
} | |||
}, | |||
@@ -309,6 +366,7 @@ | |||
this.activeTotal=4; | |||
this.nextPage=1; | |||
this.recordList=[]; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
}, | |||
tapThevisiting(item) { | |||
@@ -399,12 +457,13 @@ | |||
time:1, | |||
staTime:this.staTime, | |||
endtime:this.endtime, | |||
visitRecord:this.screen.visitRecord, | |||
visitRecords:this.screen.visitRecord.join(','), | |||
markAdvisor:this.screen.markAdvisor, | |||
dateType:dateType, | |||
recDurationInterval:recDurationInterval, | |||
orderBy:orderBy, | |||
validInvalid:this.screen.validInvalid | |||
validInvalid:this.screen.validInvalid, | |||
recording:this.screen.validInvalid==2?0:null | |||
} | |||
}; | |||
if(this.screen.agentId){ | |||
@@ -414,8 +473,14 @@ | |||
this.$u.post("/customer/findbypage", parames).then(data => { | |||
var list = data.results || []; | |||
this.recordList = [...this.recordList, ...list]; | |||
// this.recordList = [...this.recordList, ...list]; | |||
if(this.isRefresh){ | |||
this.recordList = list; | |||
}else{ | |||
this.recordList = [...this.recordList, ...list]; | |||
} | |||
this.totalRecord=data.totalPage; | |||
this.totalRecords = data.totalRecord; | |||
}) | |||
}, | |||
//获取顾问列表 | |||
@@ -437,6 +502,7 @@ | |||
this.screenShow=false; | |||
this.recordList=[]; | |||
this.nextPage=1; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
}, | |||
reset(){ | |||
@@ -444,12 +510,18 @@ | |||
counselorName:'', | |||
record:'0', | |||
markAdvisor:null, | |||
visitRecord:null, | |||
validInvalid:null | |||
visitRecord:[], | |||
validInvalid:null, | |||
recording:null, | |||
visitRecords:"", | |||
} | |||
this.visitList.map(i=>{ | |||
i.isShow = false | |||
}) | |||
this.screenShow=false; | |||
this.nextPage=1; | |||
this.recordList=[]; | |||
this.isRefresh = false; | |||
this.getMyCustom(); | |||
}, | |||
recordclick(i){ | |||
@@ -477,6 +549,7 @@ | |||
screensure(){ | |||
this.screenShow=false; | |||
this.recordList=[]; | |||
this.isRefresh = false; | |||
this.nextPage=1; | |||
this.getMyCustom(); | |||
}, | |||
@@ -502,6 +575,18 @@ | |||
text-align: center; | |||
border-bottom: 1px solid #F8F8F8; | |||
} | |||
.count { | |||
width: 100%; | |||
height: 90rpx; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
background-color: #FBE4E4; | |||
text { | |||
color: #F71616; | |||
} | |||
} | |||
//时间切换的样式 | |||
.boxtittab { | |||
width: 100; | |||
@@ -306,6 +306,45 @@ | |||
this.initworkThisWeek() | |||
this.initrealTimeStatistics() | |||
}, | |||
onPullDownRefresh() { | |||
this.getMenu() | |||
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | |||
if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) { | |||
this.methodsisshow = false; | |||
} else { | |||
this.methodsisshow = true; | |||
} | |||
if (this.userInfo.zkProperties.length == 1) { | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.buildingname = uni.getStorageSync('buildingID').name; | |||
this.buildingishow = false; | |||
} else { | |||
this.buildingishow = true; | |||
this.buildingname = uni.getStorageSync('buildingID').name; | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.userInfo.zkProperties.forEach(item => { | |||
item.label = item.propertyName; | |||
item.value = item.id | |||
}) | |||
this.lpanlist = this.userInfo.zkProperties | |||
} | |||
if (this.userInfo.dataCode == 6) { | |||
// this.Myworkcard = true; | |||
this.equipmentisshow = false; | |||
this.iniodianloang() | |||
} else { | |||
this.equipmentisshow = true; | |||
// this.Myworkcard = false; | |||
this.initequipment() | |||
// this.waitForOperation() | |||
} | |||
this.initworkThisWeek() | |||
this.initrealTimeStatistics() | |||
setTimeout(() => { | |||
uni.stopPullDownRefresh() | |||
}, 3000) | |||
}, | |||
methods: { | |||
//获取权限 | |||
getMenu(){ | |||
@@ -76,6 +76,14 @@ | |||
this.buildingID=uni.getStorageSync('buildingID').id; | |||
this.clocktab(i) | |||
}, | |||
onPullDownRefresh(){ | |||
var i=uni.getStorageSync('fendianindex') | |||
this.buildingID=uni.getStorageSync('buildingID').id; | |||
this.clocktab(i) | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods: { | |||
//全部学习跳转 | |||
quclick(item){ | |||
@@ -42,6 +42,15 @@ | |||
<image src="/static/images/arrow.png" style="width: 18rpx;height: 32rpx;" mode=""></image> | |||
</view> | |||
</view> | |||
<view class="line" @click="scan"> | |||
<view class="title" style="width: 220rpx;"> | |||
<image src="/static/images/reg.png" style="width: 36rpx;height: 36rpx;" mode=""></image> | |||
访客登记码 | |||
</view> | |||
<view class="right"> | |||
<image src="/static/images/arrow.png" style="width: 18rpx;height: 32rpx;" mode=""></image> | |||
</view> | |||
</view> | |||
<view class="line" @click="Changehepassword"> | |||
<view class="title"> | |||
<image src="/static/images/password.png" style="width: 36rpx;height: 36rpx;" mode=""></image> | |||
@@ -85,6 +94,11 @@ | |||
this.mobile = userInfos.loginName | |||
}, | |||
methods: { | |||
scan(){ | |||
uni.navigateTo({ | |||
url:"../mine/registerCode" | |||
}) | |||
}, | |||
//拨打电话 | |||
phone() { | |||
wx.makePhoneCall({ | |||
@@ -38,6 +38,12 @@ | |||
this.biaoqian=options.biaoqian | |||
this.ceninit() | |||
}, | |||
onPullDownRefresh(){ | |||
this.ceninit() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
methods: { | |||
quclick(item) { | |||
uni.showLoading({ | |||
@@ -67,6 +67,13 @@ | |||
this.changeAgentListShow() | |||
this.changePausedAgentListShow() | |||
}, | |||
onPullDownRefresh(){ | |||
this.changeAgentListShow() | |||
this.changePausedAgentListShow() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
computed: { | |||
activeAgentList() { | |||
return this.activeTotal == 1 ? this.agentList : this.pausedAgentList | |||
@@ -119,6 +119,12 @@ | |||
this.pageNum +=1; | |||
this.init() | |||
}, | |||
onPullDownRefresh(){ | |||
this.init() | |||
setTimeout(function () { | |||
uni.stopPullDownRefresh(); | |||
}, 1000); | |||
}, | |||
onLoad(options) { | |||
if(options.active){ | |||
this.activeClass=options.active | |||
@@ -0,0 +1,155 @@ | |||
<template> | |||
<view class="registerCode"> | |||
<view class="registerImg"> | |||
<image :src="qrCodeUrl+'/customer/getQrCode?page=pages/mine/registerForm&scene='+projectId" mode=""></image> | |||
</view> | |||
<view class="registerBtn" @click="down"> | |||
保存图片到手机 | |||
</view> | |||
</view> | |||
</template> | |||
<script> | |||
let domain = require("@/utils/domain") | |||
export default { | |||
data() { | |||
return { | |||
qrCodeUrl: "", | |||
projectId:"" | |||
}; | |||
}, | |||
onShow() { | |||
this.projectId = uni.getStorageSync('buildingID').id; | |||
}, | |||
methods: { | |||
down() { | |||
let url = this.qrCodeUrl+'/customer/getQrCode?page=pages/mine/registerForm&scene='+this.projectId | |||
console.log(url) | |||
uni.getImageInfo({ | |||
src:url, | |||
success: (res) => { | |||
console.log(res) | |||
uni.saveImageToPhotosAlbum({ | |||
filePath:res.path, | |||
success: () => { | |||
uni.showToast({ | |||
title: "保存成功", | |||
icon: "none" | |||
}) | |||
}, | |||
fail: () => { | |||
uni.showToast({ | |||
title: "保存失败", | |||
icon: "none" | |||
}) | |||
} | |||
}) | |||
} | |||
}) | |||
// uni.getSetting({ | |||
// success:(res)=> { | |||
// if(Object.keys(res.authSetting).length>0){ | |||
// if(res.authSetting['scope.writePhotosAlbum']==undefined){ | |||
// uni.openSetting({ | |||
// success: (res) => { | |||
// console.log("设置权限1",res.authSetting) | |||
// } | |||
// }) | |||
// }else{ | |||
// if(!res.authSetting['scope.writePhotosAlbum']){ | |||
// uni.openSetting({ | |||
// success: (res) => { | |||
// console.log("设置权限1",res.authSetting) | |||
// } | |||
// }) | |||
// } | |||
// } | |||
// }else{ | |||
// return | |||
// } | |||
// } | |||
// }) | |||
// uni.downloadFile({ | |||
// url, | |||
// success: (res) => { | |||
// console.log(res) | |||
// uni.downloadFile({ | |||
// url, //图片地址 | |||
// success: (res) => { | |||
// console.log('downloadFile success', res) | |||
// if (res.statusCode === 200) { | |||
// console.log('downloadFile res.statusCode === 200', res) | |||
// uni.saveImageToPhotosAlbum({ | |||
// filePath: res.tempFilePath, | |||
// success: function() { | |||
// uni.showToast({ | |||
// title: "保存成功", | |||
// icon: "none" | |||
// }) | |||
// }, | |||
// fail: function() { | |||
// uni.showToast({ | |||
// title: "保存失败", | |||
// icon: "none" | |||
// }) | |||
// } | |||
// }) | |||
// } else { | |||
// console.log('downloadFile res.statusCode !== 200', res) | |||
// } | |||
// } | |||
// }) | |||
// } | |||
// }); | |||
} | |||
}, | |||
onLoad() { | |||
this.qrCodeUrl = domain.baseUrl | |||
// let urlData = { | |||
// page:'pages/mine/registerForm', | |||
// scene:'556', | |||
// width:300 | |||
// } | |||
// uni.request({ | |||
// url:this.qrCodeUrl + '/customer/getQrCode', | |||
// method:"POST", | |||
// data:urlData, | |||
// success(res) { | |||
// console.log(res) | |||
// } | |||
// }) | |||
} | |||
} | |||
</script> | |||
<style lang="scss"> | |||
.registerCode { | |||
.registerImg { | |||
width: 300rpx; | |||
height: 300rpx; | |||
margin: 130rpx auto; | |||
image { | |||
width: 100%; | |||
height: 100%; | |||
} | |||
} | |||
.registerBtn { | |||
width: 80%; | |||
height: 80rpx; | |||
background: #3384fd; | |||
color: #FFFFFF; | |||
border-radius: 10rpx; | |||
line-height: 80rpx; | |||
text-align: center; | |||
font-size: 30rpx; | |||
margin: 50rpx auto; | |||
} | |||
} | |||
</style> |
@@ -0,0 +1,326 @@ | |||
<template> | |||
<view class="cented-box"> | |||
<view class="chented" style="margin-bottom: 26rpx;"> | |||
<view class="title" style="border: none;"> | |||
<view class="titletext">姓名</view> | |||
<view class="titletext2"> | |||
<input maxlength="10" class="titletext-input" style="color: #333333;" v-model="parames.name" | |||
placeholder-class="titletext-input" placeholder-style="color:#B2B2B2;" type="text" | |||
placeholder="请输入客户姓名(必填)" /> | |||
</view> | |||
<view class="titleimg"> | |||
<!-- <image class="titleimg1" src="../../../static/images/arrow.png" mode=""></image> --> | |||
</view> | |||
</view> | |||
</view> | |||
<view class="chented"> | |||
<view class="title"> | |||
<view class="titletext">性别</view> | |||
<view class="titletext2 displayclick" style="display: flex;align-items: center;padding-left: 10rpx;"> | |||
<view class="sexRadio" @click="changeSex(1)" :class="{active:parames.sex == 1}">男士</view> | |||
<view class="sexRadio" @click="changeSex(2)" :class="{active:parames.sex == 2}">女士</view> | |||
</view> | |||
</view> | |||
<view class="title"> | |||
<view class="titletext">到访人数</view> | |||
<view class="titletext2" style="display: flex;align-items: center;justify-content: space-around;"> | |||
<view class="num" v-for="i in 6" :key="i" :class="{active:parames.howMany == i+1}" | |||
@click="changeHowMany(i+1)"> | |||
{{i + 1}} | |||
</view> | |||
</view> | |||
</view> | |||
<view class="title" @click="Buildingselection()"> | |||
<view class="titletext">到访途径</view> | |||
<view class="titletext2" | |||
style="font-size: 30rpx;font-weight: 400;color: #B2B2B2;line-height: 110rpx;padding-left: 10rpx;"> | |||
<!-- {{parames.sourceName||'请选择客户来源'}} --> | |||
<text v-if="parames.sourceName" style="color: #333333;">{{parames.sourceName}}</text> | |||
<text v-else>请选择客户来源</text> | |||
</view> | |||
<view class="titleimg"> | |||
<image class="titleimg1" src="../../static/images/arrow.png" mode=""></image> | |||
</view> | |||
</view> | |||
<!-- <view class="title" style="border: none;" @click="Buildingselection()"> | |||
<view class="titletext">咨询业务</view> | |||
<view class="titletext2" | |||
style="font-size: 30rpx;font-weight: 400;color: #B2B2B2;line-height: 110rpx;padding-left: 10rpx;"> | |||
<text v-if="parames.sourceName" style="color: #333333;">{{parames.sourceName}}</text> | |||
<text v-else>请选择咨询业务</text> | |||
</view> | |||
<view class="titleimg"> | |||
<image class="titleimg1" src="../../static/images/arrow.png" mode=""></image> | |||
</view> | |||
</view> --> | |||
</view> | |||
<button class="clive" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber" v-if="verifyPass">提交</button> | |||
<view class="clive" @click="save" v-else>提交</view> | |||
<view v-if="Showhiddenunits"> | |||
<u-select :mask-close-able="false" v-model="Showhiddenunits" mode="single-column" :list="list" | |||
@cancel="cancel" @confirm="confirm"></u-select> | |||
</view> | |||
</view> | |||
</template> | |||
<script> | |||
var app = getApp(); | |||
var config = require("@/config"); | |||
let domain = require("@/utils/domain") | |||
export default { | |||
data() { | |||
return { | |||
Showhiddenunits: false, | |||
list: [{ | |||
label: '自然到访', | |||
value: '自然到访' | |||
}, | |||
{ | |||
label: '渠道推荐', | |||
value: '渠道推荐' | |||
}, | |||
], | |||
parames: { | |||
name: '', | |||
sex: 1, | |||
sourceName: null, | |||
howMany: 1, | |||
projectId: '', | |||
phone:'', | |||
projectId:'', | |||
projectName:'xxx' | |||
}, | |||
daitiReceptionobj: {}, | |||
verifyPass:false, | |||
qrCodeUrl:'' | |||
}; | |||
}, | |||
onLoad(options){ | |||
const sceneStr = decodeURIComponent(options.scene); | |||
console.log(options) | |||
this.projectId = sceneStr | |||
}, | |||
watch:{ | |||
parames:{ | |||
deep:true, | |||
handler(newV){ | |||
if (newV.name.length == 0) { | |||
this.verifyPass = false; | |||
}else{ | |||
this.verifyPass = true; | |||
} | |||
} | |||
} | |||
}, | |||
methods: { | |||
save() { | |||
if (this.parames.name.length == 0) { | |||
uni.showToast({ | |||
icon: "none", | |||
title: "姓名不能为空" | |||
}) | |||
return; | |||
} | |||
}, | |||
getPhoneNumber(e){ | |||
console.log(e) | |||
this.qrCodeUrl = domain.baseUrl | |||
if(e.detail.errMsg=="getPhoneNumber:ok"){ | |||
let data = { | |||
code:e.detail.code, | |||
} | |||
uni.request({ | |||
url:this.qrCodeUrl + '/code/loginSessionKey', | |||
method:"GET", | |||
data, | |||
success:(res)=> { | |||
let phoneNum = JSON.parse(res.data.data).phone_info.phoneNumber | |||
this.parames.phone = phoneNum | |||
if(this.parames.phone!=null && this.parames.phone!=""){ | |||
if(this.parames.name.length>8){ | |||
uni.showToast({ | |||
icon: "none", | |||
title: "不能超过8个汉字" | |||
}) | |||
}else{ | |||
uni.request({ | |||
url:this.qrCodeUrl + '/customer/codeAdd', | |||
method:"POST", | |||
data:this.parames, | |||
header: { | |||
'content-type': 'application/json', | |||
'Access-Token': uni.getStorageSync('weapp_session_login_data').token | |||
}, | |||
success: (addres) => { | |||
console.log(addres.data,111) | |||
if(addres.data.code == 10000){ | |||
uni.reLaunch({ | |||
url:'/pages/mine/registerResult' | |||
}) | |||
} | |||
} | |||
}) | |||
} | |||
} | |||
} | |||
}) | |||
}else{ | |||
return; | |||
} | |||
}, | |||
changeSex(sex) { | |||
this.parames.sex = sex; | |||
}, | |||
changeHowMany(num) { | |||
this.parames.howMany = num; | |||
}, | |||
Buildingselection() { | |||
this.Showhiddenunits = true; | |||
}, | |||
cancel() { | |||
this.Showhiddenunits = false; | |||
}, | |||
confirm(e) { | |||
this.parames.sourceName = e[0].value; | |||
this.Showhiddenunits = false; | |||
}, | |||
} | |||
}; | |||
</script> | |||
<style lang="scss" scoped> | |||
.sexRadio { | |||
color: #BFBFBF; | |||
border: 1rpx solid #BFBFBF; | |||
font-size: 24upx; | |||
width: 120rpx; | |||
height: 60rpx; | |||
text-align: center; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
&:last-child { | |||
margin-left: 20rpx; | |||
} | |||
&.active { | |||
background: #2B6FFF; | |||
color: #fff; | |||
border-color: #2B6FFF; | |||
} | |||
} | |||
.num { | |||
width: 50rpx; | |||
height: 50rpx; | |||
background: rgba(43, 110, 253, 0.1); | |||
color: #2B6EFD; | |||
font-size: 30rpx; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
&.active { | |||
background: #2B6EFD; | |||
color: #FFFFFF; | |||
} | |||
} | |||
.cented-box { | |||
background: #F8F8F8; | |||
width: 100%; | |||
height: 100vh; | |||
} | |||
.Pinspeak { | |||
width: 100%; | |||
height: 92rpx; | |||
border-bottom: 1rpx solid #E0E0E0; | |||
font-size: 32rpx; | |||
font-weight: bold; | |||
color: #333333; | |||
text-indent: 30rpx; | |||
line-height: 92rpx; | |||
background: #FFFFFF; | |||
margin-top: 20rpx; | |||
padding-left: 10rpx; | |||
} | |||
.chented { | |||
width: 100%; | |||
padding-left: 30rpx; | |||
padding-right: 30rpx; | |||
background-color: #FFFFFF; | |||
.title { | |||
width: 100%; | |||
height: 110rpx; | |||
border-bottom: 1rpx solid #E0E0E0; | |||
display: flex; | |||
align-items: center; | |||
.titletext { | |||
width: 21%; | |||
height: 110rpx; | |||
font-size: 30rpx; | |||
font-weight: 400; | |||
color: #333333; | |||
line-height: 110rpx; | |||
text-indent: 10rpx; | |||
} | |||
.titletext2 { | |||
width: 71%; | |||
height: 110rpx; | |||
} | |||
.titletext-input { | |||
width: 100%; | |||
height: 110rpx; | |||
font-size: 30rpx; | |||
font-weight: 400; | |||
color: #B2B2B2; | |||
line-height: 110rpx; | |||
padding-left: 10rpx; | |||
} | |||
.titleimg { | |||
width: 8%; | |||
text-align: right; | |||
.titleimg1 { | |||
width: 16rpx; | |||
height: 36rpx; | |||
} | |||
} | |||
} | |||
} | |||
.clive { | |||
position: absolute; | |||
bottom: 32rpx; | |||
left: 30rpx; | |||
right: 30rpx; | |||
width: 690rpx; | |||
height: 88rpx; | |||
background: #2671E2; | |||
text-align: center; | |||
line-height: 88rpx; | |||
color: #FFFFFF; | |||
border-radius: 8rpx; | |||
font-size: 32rpx; | |||
} | |||
</style> |
@@ -0,0 +1,45 @@ | |||
<template> | |||
<view class="registerCode"> | |||
<view class="registerImg"> | |||
<image src="../../static/images/scuess.png" mode=""></image> | |||
</view> | |||
<view class="registerBtn"> | |||
提交成功 | |||
</view> | |||
</view> | |||
</template> | |||
<script> | |||
export default { | |||
data() { | |||
return { | |||
}; | |||
} | |||
} | |||
</script> | |||
<style lang="scss"> | |||
.registerCode{ | |||
.registerImg{ | |||
width: 300rpx; | |||
height: 300rpx; | |||
margin: 130rpx auto; | |||
image{ | |||
width: 100%; | |||
height: 100%; | |||
} | |||
} | |||
.registerBtn{ | |||
width: 80%; | |||
height: 80rpx; | |||
background: #3384fd; | |||
color: #FFFFFF; | |||
border-radius: 10rpx; | |||
line-height: 80rpx; | |||
text-align: center; | |||
font-size: 30rpx; | |||
margin: 50rpx auto; | |||
} | |||
} | |||
</style> |
@@ -1,10 +1,10 @@ | |||
// http.js使用域名 | |||
// const baseUrl = 'http://192.168.31.57:8080/autoSR/api';// 本地 | |||
// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | |||
const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | |||
// const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 | |||
// const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | |||
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | |||
const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | |||
// const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | |||
// config使用域名 | |||
@@ -13,11 +13,11 @@ const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | |||
*/ | |||
// 此处主机域名修改成腾讯云解决方案分配的域名 | |||
// const host = 'http://192.168.31.57:8080/autoSR/api';// 本地 | |||
// const host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||
const host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||
// const host = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 | |||
// const host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | |||
// const host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | |||
const host = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | |||
// const host = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | |||
const iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 暂未使用留着防止报错 | |||