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) { export function getPolicyDetail(data) {
return request({ return request({

View File

@@ -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) {

View File

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

View File

@@ -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) {