add~policyListAgent

This commit is contained in:
邓晓坤
2019-09-26 11:23:44 +08:00
parent edb1105179
commit 957b96b0ae
4 changed files with 22 additions and 4 deletions

View File

@@ -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) {
return request({

View File

@@ -11,7 +11,7 @@
<van-cell-group class="mt10">
<van-cell title="销售人员工号" :value="recmd.agentCode" />
<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="保费合计(元)"
@@ -564,6 +564,9 @@ export default {
}
}
}
},
toTest(){
},
// 微信分享
share(code) {

View File

@@ -4,6 +4,8 @@
<div @click="click">111</div>
<div @click="next">xiayibu</div>
<div @click="token">tokentoken</div>
<div @click="reload">强刷</div>
</div>
</template>
@@ -17,8 +19,14 @@ export default {
}
},
methods: {
reload(){
window.location.reload()
setTimeout(() => {
this.$router.back(-1)
}, 200);
},
token(){
localStorage.setItem('token','cafb6f89b32a410190db96fa7e76b77b')
localStorage.setItem('token',this.$$router.query.token)
this.$router.back(-1)
},
click() {

View File

@@ -65,7 +65,7 @@
<script>
import { Search, List, Tag, Row, Col } from 'vant'
import { getPolicyList } from '@/api/ebiz/serve/serve'
import { getpolicyListAgent } from '@/api/ebiz/serve/serve'
export default {
data() {
return {
@@ -82,7 +82,7 @@ export default {
created() {
let that = this
// 获取表单列表
that.getPolicyList()
that.getpolicyListAgent()
},
mounted() {
if (this.isShow == true) {