jyt 2 роки тому
джерело
коміт
5c9e8a8bd4
17 змінених файлів з 53 додано та 53 видалено
  1. +2
    -2
      App.vue
  2. +11
    -11
      pages.json
  3. +1
    -1
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  4. +1
    -1
      pages/center/Piabodata/Customerportrait/Receivingrecords.vue
  5. +2
    -2
      pages/center/Piabodata/Employeesstatistics.vue
  6. +9
    -9
      pages/center/Piabodata/Groupcontrast.vue
  7. +2
    -2
      pages/center/Piabodata/StaffAnalysis.vue
  8. +2
    -2
      pages/center/Piabodata/Theteamcompared.vue
  9. +1
    -1
      pages/center/Piabodata/index.vue
  10. +1
    -1
      pages/center/Piabodata/selectGroup.vue
  11. +1
    -1
      pages/center/Piabodata/selectTeam.vue
  12. +12
    -12
      pages/index/index.vue
  13. +2
    -2
      pages/login/Verification.vue
  14. +2
    -2
      pages/login/index.vue
  15. +2
    -2
      pages/login/yinzhongmalogin.vue
  16. +1
    -1
      pages/mine/details2.vue
  17. +1
    -1
      pages/mine/selectBuilding.vue

+ 2
- 2
App.vue Переглянути файл

@@ -86,7 +86,7 @@
}
if (rescor.user.total == 0) {
uni.showToast({
title: '暂无绑定楼盘',
title: '暂无绑定项目',
duration: 2000,
icon: "none"
});
@@ -107,7 +107,7 @@
// .then(data => {
// if (data.user.total==0) {
// uni.showToast({
// title: '暂无绑定楼盘',
// title: '暂无绑定项目',
// duration: 2000,
// icon:"none"
// });


+ 11
- 11
pages.json Переглянути файл

@@ -16,7 +16,7 @@
"style": {
"navigationBarTitleText": "AI销管",
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": true
}
},
@@ -25,7 +25,7 @@
"style": {
"navigationBarTitleText": "客户管理",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black",
"navigationBarTextStyle": "black",
"enablePullDownRefresh": true
}
},
@@ -42,7 +42,7 @@
"style": {
"navigationBarTitleText": "学习",
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": true
}
}, {
@@ -236,16 +236,16 @@
}
}
,{
"path" : "selectBuilding",
,{
"path" : "selectBuilding",
"style" :
{
"navigationBarTitleText": "切换楼盘",
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white"
"navigationBarTitleText": "切换项目",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black"
}
}
}
]
},
{
@@ -352,7 +352,7 @@
{
"path": "Piabodata/selectGroup",
"style": {
"navigationBarTitleText": "选择楼盘",
"navigationBarTitleText": "选择项目",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black"
}


+ 1
- 1
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue Переглянути файл

@@ -213,7 +213,7 @@
<view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.agentName}}</view>
</view>
<view style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
<view style="width: 25%;color: #666666;font-size: 26rpx;">意向楼盘</view>
<view style="width: 25%;color: #666666;font-size: 26rpx;">意向项目</view>
<view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.projectName}}</view>
</view>
<view style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">


+ 1
- 1
pages/center/Piabodata/Customerportrait/Receivingrecords.vue Переглянути файл

@@ -151,7 +151,7 @@ export default {
starttime:'',//开始时间
endoftime:'',//结束时间
keywordsId:'',//选中语义词id
houseId:'',//楼盘id
houseId:'',//项目id
semanticlist:[],//语义词集合
name:'',
agentName:'',


+ 2
- 2
pages/center/Piabodata/Employeesstatistics.vue Переглянути файл

@@ -166,7 +166,7 @@
return {
activeTotal: 4,
totalTimeShow: false,
// 楼盘id
// 项目id
houseId:'',
lastEndDate:'',
lastStartDate:'',
@@ -197,7 +197,7 @@
};
},
onLoad() {
// 获取楼盘id
// 获取项目id
this.houseId = uni.getStorageSync('buildingID').id;
this.init()
},


+ 9
- 9
pages/center/Piabodata/Groupcontrast.vue Переглянути файл

@@ -22,7 +22,7 @@
<view class="title1">接待量(TOP10)</view>
</view>
<view class="hejibox">
<view class="heji">楼盘:{{newTeam1||0}}</view>
<view class="heji">项目:{{newTeam1||0}}</view>
<view class="heji">均值:{{newAvg1||0}}</view>
</view>
<view class="jindu">
@@ -47,7 +47,7 @@
<view class="title1">接待时长(TOP10)</view>
</view>
<view class="hejibox">
<view class="heji">楼盘:{{newTeam2||0}}</view>
<view class="heji">项目:{{newTeam2||0}}</view>
<view class="heji">均值:{{newAvg2||0}}</view>
</view>
<view class="jindu">
@@ -80,7 +80,7 @@
</view>
<view class="hejibox">
<view class="heji">楼盘:{{newTeam3||0}}</view>
<view class="heji">项目:{{newTeam3||0}}</view>
<view class="heji">均值:{{newAvg3||0}}%</view>
</view>
<view class="jindu">
@@ -113,7 +113,7 @@
</view>
<!-- <view class="hejibox">
<view class="heji">楼盘:{{newTeam4||0}}</view>
<view class="heji">项目:{{newTeam4||0}}</view>
<view class="heji">均值:{{newAvg4||0}}</view>
</view> -->
<view class="jindu">
@@ -137,7 +137,7 @@
<view class="title" style="padding-right: 30rpx;">
<view class="title1" style="flex: 1;">销讲能力</view>
<!-- <view class="title2" style="flex: 1;justify-content: flex-end;" @click="Groupcontrast">
<view class="title2-che">楼盘
<view class="title2-che">项目
<image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
</view>
</view> -->
@@ -148,7 +148,7 @@
</view>
</view>
<!-- <view class="hejibox">
<view class="heji">楼盘:50</view>
<view class="heji">项目:50</view>
<view class="heji">均值:25</view>
</view> -->
<view class="uchaserbox">
@@ -194,7 +194,7 @@
<view class="title" style="padding-right: 30rpx;">
<view class="title1" style="flex: 1;">违禁能力(TOP10)</view>
<view class="title2" style="flex: 1;justify-content: flex-end;">
<view class="title2-che">楼盘
<view class="title2-che">项目
<image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
</view>
</view>
@@ -215,7 +215,7 @@
</view> -->
<u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
<!-- 选择楼盘 -->
<!-- 选择项目 -->
<u-select v-model="staffShow" :list="staffList" @confirm="staffSelectCallback" :default-value='selindex'></u-select>
</view>
</template>
@@ -231,7 +231,7 @@
activeTotal2: 0,
bocindex:0,
totalTimeShow: false,
// 楼盘id
// 项目id
houseId:'',
staffShow:false,
staffList:[],


+ 2
- 2
pages/center/Piabodata/StaffAnalysis.vue Переглянути файл

@@ -152,7 +152,7 @@
totalTimeShow: false,
activeTotal:4,
activeTotal2:1,
// 楼盘id
// 项目id
houseId:'',
staffList:[],
staffList1:[],
@@ -237,7 +237,7 @@
},
onLoad: function(options) {
// 获取楼盘id
// 获取项目id
this.houseId = uni.getStorageSync('buildingID').id;
// this.buildingname = uni.getStorageSync('buildingID').name;
// 请求接口获取所有置业顾问员工的列表


+ 2
- 2
pages/center/Piabodata/Theteamcompared.vue Переглянути файл

@@ -205,7 +205,7 @@
bocindex: 0,
timepickpickisshow: false,
totalTimeShow: false,
// 楼盘id
// 项目id
houseId: '',
staffList: [],
staffList1: [],
@@ -363,7 +363,7 @@
// 获取销奖能力
that.getPowerList()
})
// 获取楼盘id
// 获取项目id
this.houseId = uni.getStorageSync('buildingID').id;
// this.buildingname = uni.getStorageSync('buildingID').name;
// 请求接口获取所有置业顾问员工的列表


+ 1
- 1
pages/center/Piabodata/index.vue Переглянути файл

@@ -345,7 +345,7 @@
this.permissions.commonly6 = newmenulist.yhhx;


// 获取楼盘id
// 获取项目id
this.houseId = uni.getStorageSync('buildingID').id;
// 获取数据看板



+ 1
- 1
pages/center/Piabodata/selectGroup.vue Переглянути файл

@@ -38,7 +38,7 @@
}
},
onLoad(e) {
// 获取楼盘id
// 获取项目id
// console.log(e)
this.ids=e.ids
// this.houseId = uni.getStorageSync('buildingID').id;


+ 1
- 1
pages/center/Piabodata/selectTeam.vue Переглянути файл

@@ -38,7 +38,7 @@
}
},
onLoad(e) {
// 获取楼盘id
// 获取项目id
// console.log(e)
this.ids=e.ids
this.houseId = uni.getStorageSync('buildingID').id;


+ 12
- 12
pages/index/index.vue Переглянути файл

@@ -4,9 +4,9 @@
<view class="Switching1">
<image class="Switching1-img" src="../../static/images/building.png" mode=""></image>
</view>
<view class="Switching2">楼盘:</view>
<view class="Switching2">项目:</view>
<view class="Switching3">{{buildingname}}</view>
<view class="Switching4" v-if="buildingishow" @click="piskbuilding()">切换楼盘</view>
<view class="Switching4" v-if="buildingishow" @click="piskbuilding()">切换项目</view>
</view>

<view class="title" style="margin-top: 30rpx; display: flex; justify-content: space-between;" v-if="permissions.myisshebei">
@@ -305,7 +305,7 @@
</view>


<!-- 楼盘切换 -->
<!-- 项目切换 -->
<view v-if="Showhiddenunits">
<u-select :mask-close-able="false" v-model="Showhiddenunits" mode="single-column" :list="lpanlist"
@cancel="cancel" @confirm="confirm"></u-select>
@@ -336,10 +336,10 @@
//--- end --- tabbar配置项
userInfo: {},
Showhiddenunits: false,
lpanlist: [], //楼盘列表
buildingname: '', //楼盘
buildingID: '', //楼盘id
buildingishow: false, //是否选择楼盘
lpanlist: [], //项目列表
buildingname: '', //项目
buildingID: '', //项目id
buildingishow: false, //是否选择项目
// Myworkcard: false,
percentage: '', //设备电量
Whetheroffline: false, //是否离线
@@ -745,14 +745,14 @@
}
})
},
//选择楼盘弹框
//选择项目弹框
piskbuilding() {
// this.Showhiddenunits = true;
uni.navigateTo({
url:"../mine/selectBuilding"
})
},
// 楼盘选择确认
// 项目选择确认
confirm(e) {
this.buildingname = e[0].label;
this.buildingID = e[0].value;
@@ -760,8 +760,8 @@
id: e[0].value,
name: e[0].label
}
uni.setStorageSync("buildingID", lopan); //楼盘id写入缓存
uni.setStorageSync("orgCode", e[0].orgCode); //楼盘id写入缓存
uni.setStorageSync("buildingID", lopan); //项目id写入缓存
uni.setStorageSync("orgCode", e[0].orgCode); //项目id写入缓存
this.initworkThisWeek()
this.initrealTimeStatistics()
this.waitForOperation()
@@ -769,7 +769,7 @@
this.iniodianloang()

},
// 楼盘选择取消
// 项目选择取消
cancel() {
this.Showhiddenunits = false;
},


+ 2
- 2
pages/login/Verification.vue Переглянути файл

@@ -125,7 +125,7 @@
util.getRequestPromise(config.service.getUser, {}, false, "GET").then(data => {
if (data.user.total==0) {
uni.showToast({
title: '暂无绑定楼盘',
title: '暂无绑定项目',
duration: 2000,
icon:"none"
});
@@ -141,7 +141,7 @@
uni.setStorageSync("weapp_session_userInfo_data",users); //写入缓存
uni.setStorageSync("buildingID", lopan); //楼盘id写入缓存
uni.setStorageSync("buildingID", lopan); //项目id写入缓存
uni.switchTab({
url: '/pages/index/index'
});


+ 2
- 2
pages/login/index.vue Переглянути файл

@@ -159,7 +159,7 @@
util.getRequestPromise(config.service.getUser, {}, false, "GET").then(data => {
if (data.user.total==0) {
uni.showToast({
title: '暂无绑定楼盘',
title: '暂无绑定项目',
duration: 2000,
icon:"none"
});
@@ -175,7 +175,7 @@
uni.setStorageSync("weapp_session_userInfo_data",users); //写入缓存
uni.setStorageSync("buildingID", lopan); //楼盘id写入缓存
uni.setStorageSync("buildingID", lopan); //项目id写入缓存
uni.switchTab({
url: '/pages/index/index'
});


+ 2
- 2
pages/login/yinzhongmalogin.vue Переглянути файл

@@ -180,7 +180,7 @@
util.getRequestPromise(config.service.getUser, {}, false, "GET").then(data => {
if (data.user.total==0) {
uni.showToast({
title: '暂无绑定楼盘',
title: '暂无绑定项目',
duration: 2000,
icon:"none"
});
@@ -196,7 +196,7 @@
uni.setStorageSync("weapp_session_userInfo_data",users); //写入缓存
uni.setStorageSync("buildingID", lopan); //楼盘id写入缓存
uni.setStorageSync("buildingID", lopan); //项目id写入缓存
uni.switchTab({
url: '/pages/index/index'
});


+ 1
- 1
pages/mine/details2.vue Переглянути файл

@@ -286,7 +286,7 @@
</view>
<view
style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
<view style="width: 25%;color: #666666;font-size: 26rpx;">意向楼盘</view>
<view style="width: 25%;color: #666666;font-size: 26rpx;">意向项目</view>
<view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.projectName}}</view>
</view>
<view


+ 1
- 1
pages/mine/selectBuilding.vue Переглянути файл

@@ -1,7 +1,7 @@
<template>
<view class="selectBuilding">
<view class="searchStyle">
<u-search placeholder="输入楼盘名称" v-model="search" @search="s" @custom="s"></u-search>
<u-search placeholder="输入项目名称" v-model="search" @search="s" @custom="s"></u-search>
</view>
<view class="searchResultStyle">
<view class="searchList" v-for="(item,index) in list" :key="index" @click="okSelect(item.id,item.propertyName)">


Завантаження…
Відмінити
Зберегти