diff --git a/src/views/ebiz/sale/Detail.vue b/src/views/ebiz/sale/Detail.vue index 347f0c27a..868f6a110 100644 --- a/src/views/ebiz/sale/Detail.vue +++ b/src/views/ebiz/sale/Detail.vue @@ -4,6 +4,7 @@ + @@ -114,6 +115,9 @@ import { getDetail } from '@/api/ebiz/sale/sale' import { formatAllRisk } from '@/assets/js/utils/formatRiskList' import dataDictionary from '@/assets/js/utils/data-dictionary' import { getQuestionList } from '@/api/ebiz/questions' +import { getAgentInfo } from '@/api/ebiz/my/my' +import { getCheckModelAgentInfo } from '@/api/ebiz/common/common' + export default { data() { return { @@ -132,17 +136,19 @@ export default { contNo: '', list: [], reason: '', - problemList: [] + problemList: [], + branchName: '', } }, created() { + this.getAgentInfo() // 获取保单详情 this.getPolicyDetail() }, mounted() { if(window.localStorage.getItem('branchType') == '13') { this.branchType = '13' - } + } }, components: { [Collapse.name]: Collapse, @@ -152,6 +158,19 @@ export default { [Button.name]: Button }, methods: { + async getAgentInfo() { + const result = await getAgentInfo({}) + if (result.result == '0') { + this.branchType = result.branchType || window.localStorage.getItem('branchType') + if (this.branchType == '14') { + // 网点名称 + const res = await getCheckModelAgentInfo({}) + if (res.result == 0) { + this.branchName = res.comName + } + } + } + }, // 获取保单详情 async getPolicyDetail() { let data = { diff --git a/src/views/ebiz/sale/List.vue b/src/views/ebiz/sale/List.vue index ea2677a01..fd681ac82 100644 --- a/src/views/ebiz/sale/List.vue +++ b/src/views/ebiz/sale/List.vue @@ -55,14 +55,14 @@ 首期总保费(元) {{ order.firstPrem == 0 ? '0.00' : order.firstPrem | moneyFormat }} -
+
投保单号
{{ order.orderInfoDTO.orderNo }}
-
+
状态