mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-06 21:16:44 +08:00
Compare commits
14 Commits
ed565ffb80
...
feature/FM
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
470c7b7577 | ||
|
|
4c82f4bee1 | ||
|
|
7b1c52c944 | ||
|
|
d1569f6986 | ||
|
|
c74b371dc9 | ||
|
|
e5a85f2c3a | ||
|
|
835dcb46ef | ||
|
|
46d605effd | ||
|
|
5cd64f6556 | ||
|
|
226f10a760 | ||
|
|
73cff411c0 | ||
|
|
379f150a37 | ||
|
|
ebf910b1bf | ||
|
|
12219f8cd6 |
17316
package-lock.json
generated
Normal file
17316
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
BIN
src/assets/images/GBC/submitResult.png
Normal file
BIN
src/assets/images/GBC/submitResult.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
1439
src/views/GBC/InsuredInfo.vue
Normal file
1439
src/views/GBC/InsuredInfo.vue
Normal file
File diff suppressed because it is too large
Load Diff
40
src/views/GBC/submitResult.vue
Normal file
40
src/views/GBC/submitResult.vue
Normal 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>
|
||||
Reference in New Issue
Block a user