完善客户管理
This commit is contained in:
@@ -202,7 +202,9 @@ export default {
|
|||||||
mobile: '',
|
mobile: '',
|
||||||
name: '',
|
name: '',
|
||||||
remindStartDay: '',
|
remindStartDay: '',
|
||||||
remindEndtDay: ''
|
remindEndtDay: '',
|
||||||
|
useOrgSid: '',
|
||||||
|
createOrgSid: ''
|
||||||
},
|
},
|
||||||
total: 0
|
total: 0
|
||||||
}
|
}
|
||||||
@@ -287,6 +289,8 @@ export default {
|
|||||||
// 查询列表信息
|
// 查询列表信息
|
||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
this.listQuery.params.useOrgSid = window.sessionStorage.getItem('defaultDeptSid')
|
||||||
|
this.listQuery.params.createOrgSid = window.sessionStorage.getItem('orgSid')
|
||||||
req.listPage(this.listQuery).then((response) => {
|
req.listPage(this.listQuery).then((response) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
@@ -314,7 +318,9 @@ export default {
|
|||||||
mobile: '',
|
mobile: '',
|
||||||
name: '',
|
name: '',
|
||||||
remindStartDay: '',
|
remindStartDay: '',
|
||||||
remindEndtDay: ''
|
remindEndtDay: '',
|
||||||
|
useOrgSid: '',
|
||||||
|
createOrgSid: ''
|
||||||
},
|
},
|
||||||
total: 0
|
total: 0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -285,8 +285,10 @@ export default {
|
|||||||
sourceKey: '', // 客户来源key
|
sourceKey: '', // 客户来源key
|
||||||
staffSid: '', // 业务员sid
|
staffSid: '', // 业务员sid
|
||||||
taxpayerNo: '', // 身份证号
|
taxpayerNo: '', // 身份证号
|
||||||
useOrgName: '', // 分公司名称
|
useOrgName: '', // 部门名称
|
||||||
useOrgSid: '', // 分公司sid
|
useOrgSid: '', // 部门sid
|
||||||
|
createOrgName: '', // 单位名称
|
||||||
|
createOrgSid: '', // 单位sid
|
||||||
userSid: '', // 当前登录用户的sid
|
userSid: '', // 当前登录用户的sid
|
||||||
visitWay: '', // 见面方式(到店/电话/拜访)
|
visitWay: '', // 见面方式(到店/电话/拜访)
|
||||||
visitWayKey: '', // 见面方式key
|
visitWayKey: '', // 见面方式key
|
||||||
@@ -342,7 +344,10 @@ export default {
|
|||||||
this.temp.visitWayKey = customerTypeList.visitWayKey
|
this.temp.visitWayKey = customerTypeList.visitWayKey
|
||||||
this.temp.userSid = window.sessionStorage.getItem('userSid')
|
this.temp.userSid = window.sessionStorage.getItem('userSid')
|
||||||
this.temp.staffSid = ''
|
this.temp.staffSid = ''
|
||||||
this.temp.orgSid = window.sessionStorage.getItem('orgSid')
|
this.temp.createOrgSid = window.sessionStorage.getItem('orgSid')
|
||||||
|
this.temp.createOrgName = window.sessionStorage.getItem('orgName')
|
||||||
|
this.temp.useOrgSid = window.sessionStorage.getItem('defaultDeptSid')
|
||||||
|
this.temp.useOrgName = window.sessionStorage.getItem('defaultDeptName')
|
||||||
this.$refs['dataForm'].clearValidate()
|
this.$refs['dataForm'].clearValidate()
|
||||||
if (this.temp.customerType !== '') {
|
if (this.temp.customerType !== '') {
|
||||||
if (this.temp.customerType === '个人') {
|
if (this.temp.customerType === '个人') {
|
||||||
@@ -496,8 +501,10 @@ export default {
|
|||||||
sourceKey: '', // 客户来源key
|
sourceKey: '', // 客户来源key
|
||||||
staffSid: '', // 业务员sid
|
staffSid: '', // 业务员sid
|
||||||
taxpayerNo: '', // 身份证号
|
taxpayerNo: '', // 身份证号
|
||||||
useOrgName: '', // 分公司名称
|
useOrgName: '', // 部门名称
|
||||||
useOrgSid: '', // 分公司sid
|
useOrgSid: '', // 部门sid
|
||||||
|
createOrgName: '', // 单位名称
|
||||||
|
createOrgSid: '', // 单位sid
|
||||||
userSid: '', // 当前登录用户的sid
|
userSid: '', // 当前登录用户的sid
|
||||||
visitWay: '', // 见面方式(到店/电话/拜访)
|
visitWay: '', // 见面方式(到店/电话/拜访)
|
||||||
visitWayKey: '', // 见面方式key
|
visitWayKey: '', // 见面方式key
|
||||||
|
|||||||
Reference in New Issue
Block a user