mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-19 00:56:45 +08:00
对比dev代码
This commit is contained in:
@@ -78,13 +78,13 @@ export default {
|
|||||||
async getMainRiskList() {
|
async getMainRiskList() {
|
||||||
let mainRiskCodes = localStorage.mainRiskCodes && JSON.parse(localStorage.mainRiskCodes)
|
let mainRiskCodes = localStorage.mainRiskCodes && JSON.parse(localStorage.mainRiskCodes)
|
||||||
let mainListDate = { platform: 'app' }
|
let mainListDate = { platform: 'app' }
|
||||||
switch (this.isFrom){
|
switch (this.isFrom) {
|
||||||
case 'proposal':
|
case 'proposal':
|
||||||
mainListDate.platform = 'proposal'
|
mainListDate.platform = 'proposal'
|
||||||
break;
|
break
|
||||||
case 'sale':
|
case 'sale':
|
||||||
mainListDate.platform = 'app'
|
mainListDate.platform = 'app'
|
||||||
break;
|
break
|
||||||
}
|
}
|
||||||
let resultData = await mainRiskList(mainListDate)
|
let resultData = await mainRiskList(mainListDate)
|
||||||
if (resultData.result == 0) {
|
if (resultData.result == 0) {
|
||||||
@@ -201,7 +201,8 @@ export default {
|
|||||||
return this.$toast('抱歉,您没有该产品的销售权限!')
|
return this.$toast('抱歉,您没有该产品的销售权限!')
|
||||||
}
|
}
|
||||||
|
|
||||||
let flagCompany = await riskRules.checkCompany(resultData.productCode, JSON.parse(localStorage.saleInsuredInfo).workcompany, this)
|
let flagCompany = await riskRules.checkCompany(resultData.productCode, JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).workcompany, this)
|
||||||
|
|
||||||
if (flagCompany && localStorage.isFrom != 'proposal') {
|
if (flagCompany && localStorage.isFrom != 'proposal') {
|
||||||
//校验该投保人的工作单位是否能够投保该产品
|
//校验该投保人的工作单位是否能够投保该产品
|
||||||
return this.$toast('该投保人工作单位不能投保该产品')
|
return this.$toast('该投保人工作单位不能投保该产品')
|
||||||
|
|||||||
Reference in New Issue
Block a user