Compare commits

...

14 Commits

Author SHA1 Message Date
liu.xiaofeng@ebiz-digits.com
470c7b7577 GBC获客录入信息界面 选择产品弹窗 不勾选产品点击确定 提示语修改 2024-03-11 09:16:38 +08:00
liu.xiaofeng@ebiz-digits.com
4c82f4bee1 GBC获客信息录入页面部门字段必填校验 2024-03-08 10:27:35 +08:00
liu.xiaofeng@ebiz-digits.com
7b1c52c944 获客信息录入页面保存接口增加科室相关字段 2024-03-07 17:31:11 +08:00
liu.xiaofeng@ebiz-digits.com
d1569f6986 获客投保人信息录入页面去掉校验 2024-03-07 14:38:38 +08:00
liu.xiaofeng@ebiz-digits.com
c74b371dc9 获客功能提交页面更换图片 2024-02-28 17:17:29 +08:00
liu.xiaofeng@ebiz-digits.com
e5a85f2c3a 获客功能保存接口对接 2024-02-28 15:35:48 +08:00
liu.xiaofeng@ebiz-digits.com
835dcb46ef 获客功能代码编辑 2024-02-28 09:20:23 +08:00
liu.xiaofeng@ebiz-digits.com
46d605effd 信息录入页面优化代码 2024-02-27 15:37:34 +08:00
liu.xiaofeng@ebiz-digits.com
5cd64f6556 信息录入页面底部提交按钮以及总保费的展示添加 2024-02-27 15:19:19 +08:00
liu.xiaofeng@ebiz-digits.com
226f10a760 信息录入页面底部提交按钮以及总保费的展示添加 2024-02-27 15:17:48 +08:00
liu.xiaofeng@ebiz-digits.com
73cff411c0 GBC一级产品校验接口联调
获取GBC一级产品接口联调
新增提交结果页面添加样式
2024-02-27 15:11:00 +08:00
liu.xiaofeng@ebiz-digits.com
379f150a37 获客功能开发 2024-02-27 09:56:59 +08:00
liu.xiaofeng@ebiz-digits.com
ebf910b1bf 获客功能开发 2024-02-26 16:59:03 +08:00
liu.xiaofeng@ebiz-digits.com
12219f8cd6 获客功能开发 2024-02-26 16:58:23 +08:00
8 changed files with 18871 additions and 25 deletions

17316
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -88,4 +88,31 @@ export function getGBCappntConnectSave(data) {
method: 'post',
data
})
}
}
// 获取GBC一级产品
export function getGBCRiskList(data) {
return request({
url: getUrl('/sale/product/getGBCRiskList ', 1),
method: 'post',
data
})
}
// GBC一级产品校验
export function gbcAppntCheckProdect(data) {
return request({
url: getUrl('/sale/gbc/appnt/checkProdect ', 1),
method: 'post',
data
})
}
// GBC一级产品校验
export function saveOrUpdateGbc(data) {
return request({
url: getUrl('/sale/gbc/appnt/saveOrUpdateGbc', 1),
method: 'post',
data
})
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -1,6 +1,6 @@
<template>
<div class="search_box" ref="search_box">
<van-field :label="label" required>
<van-field :label="label" :class="{ 'van-cell--required': required }">
<template #input>
<input
style="width: 100%; border: none"
@@ -40,6 +40,10 @@ export default {
value: {
type: String
},
required: {
type: Boolean,
default: true
},
isAsync: {
type: Boolean,
default: false

View File

@@ -29,29 +29,29 @@ function getSearchString (key) {
}
return obj[key]
}
let apiVersion = 'v2'
var ua = window.navigator.userAgent.toLowerCase()
//通过正则表达式匹配ua中是否含有MicroMessenger字符串, 在微信
if (localStorage.getItem('apiVersion')) {
apiVersion = localStorage.getItem('apiVersion')
} else {
if (ua.match(/MicroMessenger/i) == 'micromessenger') {
//report/reportList数据报表页面在浏览器可以打开了但在微信或企业微信中打开不了,接口请求不需要token
if (window.location.href.indexOf('apiVersion') > 0) {
apiVersion = getSearchString('apiVersion') == 'V3' ? 'v3' : 'v2';//url中apiVersion没有时为v2
} else {
apiVersion = 'v3'
}
} else {
// 在app
if (navigator.userAgent.indexOf('JZG_') > 0) {
apiVersion = navigator.userAgent.split('JZG_')[1].split('/')[0].split('_')[1] == 'V3' ? 'v3' : 'v2'
}
}
window.localStorage.setItem('apiVersion', apiVersion)
}
// 可以多个接口域名,按需添加
console.log('环境:', process.env.VUE_APP_FLAG)
let apiVersion = 'v1'
// var ua = window.navigator.userAgent.toLowerCase()
// //通过正则表达式匹配ua中是否含有MicroMessenger字符串, 在微信
// if (localStorage.getItem('apiVersion')) {
// apiVersion = localStorage.getItem('apiVersion')
// } else {
// if (ua.match(/MicroMessenger/i) == 'micromessenger') {
// //report/reportList数据报表页面在浏览器可以打开了但在微信或企业微信中打开不了,接口请求不需要token
// if (window.location.href.indexOf('apiVersion') > 0) {
// apiVersion = getSearchString('apiVersion') == 'V3' ? 'v3' : 'v2';//url中apiVersion没有时为v2
// } else {
// apiVersion = 'v3'
// }
// } else {
// // 在app
// if (navigator.userAgent.indexOf('JZG_') > 0) {
// apiVersion = navigator.userAgent.split('JZG_')[1].split('/')[0].split('_')[1] == 'V3' ? 'v3' : 'v2'
// }
// }
// window.localStorage.setItem('apiVersion', apiVersion)
// }
// // 可以多个接口域名,按需添加
// console.log('环境:', process.env.VUE_APP_FLAG)
switch (process.env.VUE_APP_FLAG) {
case 'dev':
apiDomain = 'https://iagentsales-test2.e-guofu.com:5200/api/' + apiVersion // 国富api ///api/v1

View File

@@ -3,6 +3,8 @@ const GBC_home = () => import('@/views/GBC/home')
const GBC_projectList = () => import('@/views/GBC/projectList')
const GBC_projectDetail = () => import('@/views/GBC/projectDetail')
const GBC_customerDetail = () => import('@/views/GBC/customerDetail')
const GBC_InsuredInfo = () => import('@/views/GBC/InsuredInfo')
const GBC_submitResult = () => import('@/views/GBC/submitResult')
export default [
{
@@ -41,4 +43,22 @@ export default [
index: 1
}
},
{
path: '/GBC/InsuredInfo',
name: 'GBC_InsuredInfo',
component: GBC_InsuredInfo,
meta: {
title: '信息录入',
index: 1
}
},
{
path: '/GBC/submitResult',
name: 'GBC_submitResult',
component: GBC_submitResult,
meta: {
title: '提交结果',
index: 1
}
},
]

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,40 @@
<template>
<div>
<div style="text-align: center;margin-top: 10vh;">
<img :src="submitResultImg" style="width: 60vw;"/>
</div>
<p style="font-size: 20px;text-align: center;margin-top: 5vh;">提交成功</p>
</div>
</template>
<script>
import submitResultImg from '@/assets/images/GBC/submitResult.png'
export default {
data() {
return {
submitResultImg,
}
},
components: {
},
created() {
},
mounted() {
},
methods: {
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''
next()
}
}
</script>
<style lang="scss" scoped>
</style>