|
@@ -132,10 +132,20 @@ import cmScreenDrawer from '@/components/cm-module/cm-seller/cm-screen-drawer'
|
|
|
|
|
|
import { mapState, mapMutations } from 'vuex'
|
|
import { mapState, mapMutations } from 'vuex'
|
|
const defaultListQuery = {
|
|
const defaultListQuery = {
|
|
- reportId: 0,
|
|
|
|
keyWord: '',
|
|
keyWord: '',
|
|
- pageNum: 1,
|
|
|
|
- pageSize: 10
|
|
|
|
|
|
+ reportId: 0,
|
|
|
|
+ startAddTime: '',
|
|
|
|
+ endAddTime: '',
|
|
|
|
+ consult: '',
|
|
|
|
+ pinceSensitve: 0, //价格敏感度
|
|
|
|
+ satisfied: 0, // 意向程度
|
|
|
|
+ followup: 0, // 跟进状态
|
|
|
|
+ leaderId: 0,
|
|
|
|
+ groupId: 0,
|
|
|
|
+ manager: 0,
|
|
|
|
+ newDeal: 0, // 新增分配机构
|
|
|
|
+ status: 0, // 报备状态
|
|
|
|
+ serviceProviderId: 0
|
|
}
|
|
}
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
@@ -146,6 +156,7 @@ export default {
|
|
return {
|
|
return {
|
|
StaticUrl: this.$Static,
|
|
StaticUrl: this.$Static,
|
|
isIphoneX: this.$store.state.isIphoneX,
|
|
isIphoneX: this.$store.state.isIphoneX,
|
|
|
|
+ serviceProviderId:0,
|
|
modalButton: [
|
|
modalButton: [
|
|
{
|
|
{
|
|
text: '取消',
|
|
text: '取消',
|
|
@@ -183,11 +194,14 @@ export default {
|
|
this.initGetStotage()
|
|
this.initGetStotage()
|
|
},
|
|
},
|
|
filters: {
|
|
filters: {
|
|
- NumFormat: function(value) {
|
|
|
|
- //处理金额
|
|
|
|
- if (!value) return '0.00'
|
|
|
|
- let number = Number(value).toFixed(2)
|
|
|
|
- return number
|
|
|
|
|
|
+ statusFilters(value) {
|
|
|
|
+ // 订单来源
|
|
|
|
+ const map = {
|
|
|
|
+ 1: '待审核',
|
|
|
|
+ 2: '审核通过',
|
|
|
|
+ 3: '审核未通过'
|
|
|
|
+ }
|
|
|
|
+ return map[value]
|
|
},
|
|
},
|
|
followupFilters(value) {
|
|
followupFilters(value) {
|
|
// 订单来源
|
|
// 订单来源
|
|
@@ -220,6 +234,8 @@ export default {
|
|
...mapMutations(['login', 'logout']),
|
|
...mapMutations(['login', 'logout']),
|
|
async initGetStotage() {
|
|
async initGetStotage() {
|
|
const userInfo = await this.$api.getStorage()
|
|
const userInfo = await this.$api.getStorage()
|
|
|
|
+ this.listQuery.serviceProviderId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
|
|
|
|
+ this.listQuery.manager = userInfo.manager ? userInfo.manager : 0
|
|
this.userReportVisitorAssociatedList()
|
|
this.userReportVisitorAssociatedList()
|
|
},
|
|
},
|
|
userReportVisitorAssociatedList() {
|
|
userReportVisitorAssociatedList() {
|