|
|
@ -4,7 +4,8 @@ |
|
|
|
<div class="card"> |
|
|
|
<div class="font-size21 font-bold">{{ info.title }}</div> |
|
|
|
<div class="flex flex-x flex-center2 m-top10 m-bottom10"> |
|
|
|
<van-tag :color="info.expiredFlag?'#EBF1FE':'#F5F5F5'" :text-color="info.expiredFlag?'#3974F6':'#AAAAAA'" size="large">{{ |
|
|
|
<van-tag :color="info.expiredFlag ? '#EBF1FE' : '#F5F5F5'" |
|
|
|
:text-color="info.expiredFlag ? '#3974F6' : '#AAAAAA'" size="large">{{ |
|
|
|
info.expiredFlag ? "进行中" : "已结束" }}</van-tag> |
|
|
|
<div class="font-size13 C1 m-left12">{{ info.data }}</div> |
|
|
|
|
|
|
@ -12,7 +13,8 @@ |
|
|
|
<div class="y66666 font-size15 m-bottom5">享受服务条件:{{ info.resiSearchTagName }}</div> |
|
|
|
<div class="y66666 font-size15 m-bottom5">服务提供方:{{ info.assignText || '--' }}</div> |
|
|
|
<div class="flex flex-x "> |
|
|
|
<div class="y66666 font-size15 nowrap">服务时间:{{ info.assignInfo.serviceTimeStart }} 至</br>{{ info.assignInfo.serviceTimeEnd }} </div> |
|
|
|
<div class="y66666 font-size15 nowrap">服务时间:{{ info.assignInfo.serviceTimeStart }} 至</br>{{ |
|
|
|
info.assignInfo.serviceTimeEnd }} </div> |
|
|
|
<div class="y66666 font-size15">{{ info.serviceData }} </div> |
|
|
|
</div> |
|
|
|
<van-divider /> |
|
|
@ -24,31 +26,61 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { icServiceWarmRecord } from '@/api/user' |
|
|
|
import { icServicePostRecord, icServiceSkillRecord, icServiceWarmRecord, icServiceRecordV2 } from '@/api/service' |
|
|
|
|
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
info: { |
|
|
|
title: '鞠源社区为退役待就业的军人提供 就业岗位', |
|
|
|
content: '<p>县级以上地方人民政府退役士兵安置工作主管部门组织自主就业的退役士兵参加职业教育</p><p>县级以上地方人民政府退役士兵安置工作主管部门组织自主就业的退役士兵参加职业教育</p>', data: '2024-05-08 09:30' |
|
|
|
, status: 1, condition: '退役军人 40-60岁', provider: 'XXX就业指导中心', serviceData: "2024-05-08 13:00至2024-6-22 13:00" |
|
|
|
title: '', |
|
|
|
content: '', |
|
|
|
data: '', |
|
|
|
condition: '', |
|
|
|
provider: '', |
|
|
|
expiredFlag: false, |
|
|
|
serviceData: "" |
|
|
|
}, |
|
|
|
phone: "" |
|
|
|
} |
|
|
|
}, |
|
|
|
components:{Android}, |
|
|
|
components: {}, |
|
|
|
created() { |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
if (this.$route.query) { |
|
|
|
this.icServiceWarmRecord(this.$route.query.id) |
|
|
|
let type = this.$route.query.type; |
|
|
|
let id = this.$route.query.id; |
|
|
|
if (type === 'fw') { |
|
|
|
this.icServiceRecordV2({ serviceRecordId: id }) |
|
|
|
} else if (type === 'wn') { |
|
|
|
this.icServiceWarmRecord({ serviceRecordId: id }) |
|
|
|
} else if (type === 'jn') { |
|
|
|
this.icServiceSkillRecord({ serviceRecordId: id }) |
|
|
|
} else if (type === 'gw') { |
|
|
|
this.icServicePostRecord({ serviceRecordId: id }) |
|
|
|
}else if (type === 'zc') { |
|
|
|
this.policyDetail(id) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
handleNumber(value){ |
|
|
|
console.log(value,"wl kgnsl, "); |
|
|
|
this.phone=value |
|
|
|
async policyDetail(id) { |
|
|
|
let res = await policyDetail(id) |
|
|
|
if (res.code === 0) { |
|
|
|
this.info = res.data; |
|
|
|
if (res.data.assignFlag === 1) { |
|
|
|
this.info.assignText = res.data.assignInfo.serviceScopeList.map(item => item.objectName).join(',') |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
async icServiceRecordV2(id) { |
|
|
|
let res = await icServiceRecordV2(id) |
|
|
|
if (res.code === 0) { |
|
|
|
this.info = res.data; |
|
|
|
if (res.data.assignFlag === 1) { |
|
|
|
this.info.assignText = res.data.assignInfo.serviceScopeList.map(item => item.objectName).join(',') |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
async icServiceWarmRecord(id) { |
|
|
|
let res = await icServiceWarmRecord(id) |
|
|
@ -58,8 +90,26 @@ export default { |
|
|
|
this.info.assignText = res.data.assignInfo.serviceScopeList.map(item => item.objectName).join(',') |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
async icServiceSkillRecord(id) { |
|
|
|
let res = await icServiceSkillRecord(id) |
|
|
|
if (res.code === 0) { |
|
|
|
this.info = res.data; |
|
|
|
if (res.data.assignFlag === 1) { |
|
|
|
this.info.assignText = res.data.assignInfo.serviceScopeList.map(item => item.objectName).join(',') |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
async icServicePostRecord(id) { |
|
|
|
let res = await icServicePostRecord(id) |
|
|
|
if (res.code === 0) { |
|
|
|
this.info = res.data; |
|
|
|
if (res.data.assignFlag === 1) { |
|
|
|
this.info.assignText = res.data.assignInfo.serviceScopeList.map(item => item.objectName).join(',') |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped></style> |