epmet pc工作端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

133 lines
2.7 KiB

<template>
<popup :title="title" @close="handleClose">
<template v-slot:cnt>
<div class="m-info">
<div class="row">
<div class="item">
<div class="field">政策依据</div>
<div class="value">{{ info.policy_name }}</div>
</div>
<div class="item">
<div class="field">联系方式</div>
<div class="value">{{ info.principal_contact }}</div>
</div>
<div class="item">
<div class="field">经办人</div>
<div class="value">{{ info.principal_name }}</div>
</div>
<div class="item">
<div class="field">备注</div>
<div class="value">{{ info.remark }}</div>
</div>
<div class="item">
<div class="field">服务范围</div>
<div class="value">{{ info.scope_name }}</div>
</div>
<div class="item">
<div class="field">服务名称</div>
<div class="value">{{ info.service_name }}</div>
</div>
<div class="item">
<div class="field">服务组织</div>
<div class="value">{{ info.service_org_name }}</div>
</div>
<!-- <div class="item">
<div class="field">公共服务主键</div>
<div class="value">{{ info.service_record_id }}</div>
</div> -->
</div>
</div>
</template>
</popup>
</template>
<script>
import { Scene } from '@antv/l7';
import popup from '@/views/dataBoard/cpts/popup';
import { GaodeMap, Map } from '@antv/l7-maps';
import { requestPostBi } from '@/js/dai/request-bipass';
export default {
name: 'eventdetail',
props: {
detailId: {
type: String,
default: ''
},
detailType: {
type: String,
default: ''
}
},
components: { popup },
created() {},
data() {
return {
progress: [],
info: {},
title: '事件',
currentTabIndex: 0,
startTabIndex: 0,
currentTabIndex2: 0,
startTabIndex2: 0,
BaseTabList: ['教育信息', '兴趣爱好', '宗教', '健康', '工作', '经济状况', '居住', '家庭'],
tabList: [],
tabList2: [],
userArray: [],
userList: {}
};
},
mounted() {
this.getApiData();
},
computed: {},
methods: {
handleClose() {
this.$emit('close');
},
async getApiData() {
this.getInfo();
},
// 根据房屋id获取详情
async getInfo() {
const url = 'common_service_intro';
const { data, code, msg } = await requestPostBi(
url,
{
service_record_id: this.detailId
},
{
// mockId: 60235478,
}
);
if (code === 0) {
this.info = { ...this.info, ...data[0] };
console.log('this.info', this.info);
} else {
this.$message.error(msg);
}
}
}
};
</script>
<style scoped>
.m-info .row .item .field {
width: 120px !important;
}
</style>
<style lang="scss" src="@/assets/scss/dataBoard/popup-info.scss" scoped></style>