|
@@ -63,12 +63,14 @@ export default {
|
|
|
})
|
|
|
|
|
|
this.$api.post('/worker/detail', { id }).then(res => {
|
|
|
- var { agreements, policyName, text } = res.data
|
|
|
+ var { agreements, policyName, text, policyRanges } = res.data
|
|
|
uni.setNavigationBarTitle({
|
|
|
title: policyName
|
|
|
})
|
|
|
this.content = text
|
|
|
- this.insureAgreeList = agreements || []
|
|
|
+ this.$api.post('/worker/agreementList', { policyId: this.id }).then(res2 => {
|
|
|
+ this.insureAgreeList = res2.data
|
|
|
+ })
|
|
|
this.$nextTick(() => {
|
|
|
this.loading = false
|
|
|
this.djs.start()
|