diff --git a/src/api/ebiz/questions/index.js b/src/api/ebiz/questions/index.js new file mode 100644 index 000000000..6d3094d63 --- /dev/null +++ b/src/api/ebiz/questions/index.js @@ -0,0 +1,20 @@ +import request from '@/assets/js/utils/request' +import getUrl from '@/assets/js/utils/get-url' + +// 列表 +export function getQuestionList(data = {}) { + return request({ + method: 'post', + url: getUrl('/sale/issue/getPrtIssueList', 1), + data + }) +} + +// 详情 +export function getQuestionDetail(data = {}) { + return request({ + method: 'post', + url: getUrl('/sale/issue/getPrtIssueDetail', 1), + data + }) +} diff --git a/src/components/ebiz/question/ShortMessage.vue b/src/components/ebiz/question/ShortMessage.vue new file mode 100644 index 000000000..7ff453af8 --- /dev/null +++ b/src/components/ebiz/question/ShortMessage.vue @@ -0,0 +1,174 @@ + + + + 短信验证 + + {{ text }} + + + 获取验证码 + + + + 取消 + 确定 + + + + + + diff --git a/src/router/ebiz/index.js b/src/router/ebiz/index.js index a131d8d83..b45bbaef9 100644 --- a/src/router/ebiz/index.js +++ b/src/router/ebiz/index.js @@ -1,5 +1,6 @@ //ebiz-h5 import proposal from './proposal' +import question from './question' import sale from './sale' import customer from './customer' import my from './my' @@ -48,5 +49,6 @@ export default [ ...productStore, ...performance, ...attendance, - ...institutionalPerform + ...institutionalPerform, + ...question ] //根据需要进行删减 diff --git a/src/router/ebiz/question.js b/src/router/ebiz/question.js new file mode 100644 index 000000000..8a357277f --- /dev/null +++ b/src/router/ebiz/question.js @@ -0,0 +1,31 @@ +const g = filename => () => import(`@/views/ebiz/questions/${filename}.vue`) + +export default [ + { + path: '/questions/list', + name: 'QuestionsList', + component: g('QuestionsList'), + meta: { + title: '电投问题件', + index: 1 + } + }, + { + path: '/questions/detail', + name: 'QuestionsDetail', + component: g('QuestionsDetail'), + meta: { + title: '问题处理', + index: 1 + } + }, + { + path: '/questions/result', + name: 'result', + component: g('Result'), + meta: { + title: '提交结果', + index: 1 + } + } +] diff --git a/src/views/ebiz/nbs/CrewList.vue b/src/views/ebiz/nbs/CrewList.vue index 9c8c61285..61c365f63 100644 --- a/src/views/ebiz/nbs/CrewList.vue +++ b/src/views/ebiz/nbs/CrewList.vue @@ -286,7 +286,6 @@ export default { }, async getRankList() { const rs = await getRankList() - console.log('rs ::::: ', rs) rs.content.branchGroupBaseDtoList.map(item => { return (item.text = item.name) }) @@ -320,7 +319,6 @@ export default { this.params[`picker_${this.pickerType}`] = data if (this.pickerType === 1) { let data = await getGankLevel(this.params.picker_1.agentgroup) - console.log(data) this.pickerData.branchGroupBaseDtoList = data.content } this.getTableList() @@ -345,6 +343,7 @@ export default { this.searchType = false this.showTime = false this.startTime = new Date() + this.endTime = new Date() this.startTimeStr = dateUtil.formatDate(this.startTime, 'yyyy-MM-dd') this.endTimeStr = dateUtil.formatDate(this.endTime, 'yyyy-MM-dd') this.getTableList() @@ -373,7 +372,6 @@ export default { pageNum: 0 } }) - console.log(rs) this.excelUrl = config.imgDomain + '/returnDirectStream?imgPath=' + rs.content }, async appCallBack(data) { @@ -391,7 +389,6 @@ export default { } else { await this.exportExcel() } - setTimeout(() => { // eslint-disable-next-line no-undef EWebBridge.webCallAppInJs('download', { @@ -440,6 +437,7 @@ export default { this.endTimeStr = dateUtil.formatDate(value, 'yyyy-MM-dd') }, queryTableList() { + if (this.startTime.getTime() > this.endTime.getTime()) return this.$toast('开始时间不能大于结束时间') this.searchType = true this.getTableList() } diff --git a/src/views/ebiz/questions/QuestionsDetail.vue b/src/views/ebiz/questions/QuestionsDetail.vue new file mode 100644 index 000000000..8801e91cf --- /dev/null +++ b/src/views/ebiz/questions/QuestionsDetail.vue @@ -0,0 +1,421 @@ + + + + + + + + + 被保险人身份证明 + + + 问题说明 + + {{ supplement.problemDescription }} + + + + + + + 被保险人身份证明 + + + 问题说明 + + {{ supplement.problemDescription }} + + + + + + + + + 问题件回复: + + + + 本人认真阅读本新契约基本问题件,对其有关内容已全部了解,确认所上传资料均为真实资料,如有虚假资料或不如实告知,一切法律后果本人承担,同意将其作为投保要约的有效组成部分并承诺遵守。 + + + + + + + + 继续转账 + 终止转账 + 更换卡号 + + + + + + + + 银行卡扫描 + + + + + + + + + + + + + + 本人已认真阅读和理解上述通知书内容,同意将其作为投保要约的有效组成部分并承诺遵守。 + + + + + + 投保人/监护人亲笔签名: + 签名 + + + 被投保人亲笔签名: + 签名 + + + 下一步 + + + + {{ item.bankName }} + + + + + + + + + + diff --git a/src/views/ebiz/questions/QuestionsList.vue b/src/views/ebiz/questions/QuestionsList.vue new file mode 100644 index 000000000..85e928759 --- /dev/null +++ b/src/views/ebiz/questions/QuestionsList.vue @@ -0,0 +1,279 @@ + + + + + + 搜索 + + + + + + + + {{ item.createdTime | createTimeFormatFilter }} + + + 投保 + {{ item.prtName }} + + + 被保 + {{ item.insuredName }} + + + 主险 + {{ item.mainRiskName }} + + + 类型 + {{ item.businessType }} + + + + + 投保单号 + {{ item.prtNo }} + + + 状态 + {{ item.statusComment }} + + + + 去处理 + + + + + + + + {{ item.createdTime | createTimeFormatFilter }} + + + 投保 + {{ item.prtName }} + + + 被保 + {{ item.insuredName }} + + + 主险 + {{ item.mainRiskName }} + + + 类型 + {{ item.businessType }} + + + + + 投保单号 + {{ item.prtNo }} + + + 状态 + {{ item.statusComment }} + + + + + + + + + + + diff --git a/src/views/ebiz/questions/Result.vue b/src/views/ebiz/questions/Result.vue new file mode 100644 index 000000000..9475ec96f --- /dev/null +++ b/src/views/ebiz/questions/Result.vue @@ -0,0 +1,51 @@ + + + + + + 提交失败 + + Lorem, ipsum dolor sit amet consectetur adipisicing elit. Consectetur tenetur itaque labore quas amet accusamus quam in dicta officia, qui quidem maxime + facilis animi ea laudantium quo laborum odio! Tempore. + + + + + +
{{ text }}
+ {{ supplement.problemDescription }} +
提交失败