mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 23:42:52 +08:00
add~policyListAgent
This commit is contained in:
@@ -10,6 +10,13 @@ export function getPolicyList(data) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getpolicyListAgent(data) {
|
||||||
|
return request({
|
||||||
|
url: getUrl('/sale/policy/policyListAgent', 1),
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
// 获取保单详情
|
// 获取保单详情
|
||||||
export function getPolicyDetail(data) {
|
export function getPolicyDetail(data) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<van-cell-group class="mt10">
|
<van-cell-group class="mt10">
|
||||||
<van-cell title="销售人员工号" :value="recmd.agentCode" />
|
<van-cell title="销售人员工号" :value="recmd.agentCode" />
|
||||||
<van-cell title="销售人员姓名" :value="recmd.name" />
|
<van-cell title="销售人员姓名" :value="recmd.name" />
|
||||||
<van-cell title="投保单号" :value="orderInfo.orderNo"></van-cell>
|
<van-cell title="投保单号" :value="orderInfo.orderNo" @click="toTest"></van-cell>
|
||||||
<van-cell title="投保日期" :value="date" />
|
<van-cell title="投保日期" :value="date" />
|
||||||
<van-cell
|
<van-cell
|
||||||
title="保费合计(元)"
|
title="保费合计(元)"
|
||||||
@@ -564,6 +564,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
toTest(){
|
||||||
|
|
||||||
},
|
},
|
||||||
// 微信分享
|
// 微信分享
|
||||||
share(code) {
|
share(code) {
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
<div @click="click">111</div>
|
<div @click="click">111</div>
|
||||||
<div @click="next">xiayibu</div>
|
<div @click="next">xiayibu</div>
|
||||||
<div @click="token">tokentoken</div>
|
<div @click="token">tokentoken</div>
|
||||||
|
|
||||||
|
<div @click="reload">强刷</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -17,8 +19,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
reload(){
|
||||||
|
window.location.reload()
|
||||||
|
setTimeout(() => {
|
||||||
|
this.$router.back(-1)
|
||||||
|
}, 200);
|
||||||
|
},
|
||||||
token(){
|
token(){
|
||||||
localStorage.setItem('token','cafb6f89b32a410190db96fa7e76b77b')
|
localStorage.setItem('token',this.$$router.query.token)
|
||||||
this.$router.back(-1)
|
this.$router.back(-1)
|
||||||
},
|
},
|
||||||
click() {
|
click() {
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Search, List, Tag, Row, Col } from 'vant'
|
import { Search, List, Tag, Row, Col } from 'vant'
|
||||||
import { getPolicyList } from '@/api/ebiz/serve/serve'
|
import { getpolicyListAgent } from '@/api/ebiz/serve/serve'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -82,7 +82,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
let that = this
|
let that = this
|
||||||
// 获取表单列表
|
// 获取表单列表
|
||||||
that.getPolicyList()
|
that.getpolicyListAgent()
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.isShow == true) {
|
if (this.isShow == true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user