mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 01:46:45 +08:00
对比dev代码
This commit is contained in:
@@ -78,13 +78,13 @@ export default {
|
||||
async getMainRiskList() {
|
||||
let mainRiskCodes = localStorage.mainRiskCodes && JSON.parse(localStorage.mainRiskCodes)
|
||||
let mainListDate = { platform: 'app' }
|
||||
switch (this.isFrom){
|
||||
switch (this.isFrom) {
|
||||
case 'proposal':
|
||||
mainListDate.platform = 'proposal'
|
||||
break;
|
||||
break
|
||||
case 'sale':
|
||||
mainListDate.platform = 'app'
|
||||
break;
|
||||
break
|
||||
}
|
||||
let resultData = await mainRiskList(mainListDate)
|
||||
if (resultData.result == 0) {
|
||||
@@ -201,7 +201,8 @@ export default {
|
||||
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') {
|
||||
//校验该投保人的工作单位是否能够投保该产品
|
||||
return this.$toast('该投保人工作单位不能投保该产品')
|
||||
|
||||
Reference in New Issue
Block a user