| | |
| | | <view class="bgc-ff"> |
| | | <view class="item-row flex j-c-s-b a-i-c"> |
| | | <text>公安局</text> |
| | | <text></text> |
| | | <text>{{detailInfo.branchName}}</text> |
| | | </view> |
| | | <view class="item-row flex j-c-s-b a-i-c"> |
| | | <text>派出所</text> |
| | | <text></text> |
| | | <text>{{detailInfo.localPoliceStationName}}</text> |
| | | </view> |
| | | <view class="item-row flex j-c-s-b a-i-c"> |
| | | <text>社区民警</text> |
| | | <text></text> |
| | | <text>{{detailInfo.policeman}}</text> |
| | | </view> |
| | | <view class="item-row flex j-c-s-b a-i-c"> |
| | | <text>联系方式</text> |
| | | <text></text> |
| | | <text>{{detailInfo.policemanPhone}}</text> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getPublicSecurityDetail } from "@/api/grid/grid.js" |
| | | export default { |
| | | data(){ |
| | | return { |
| | | detailInfo:{} |
| | | } |
| | | }, |
| | | onLoad() { |
| | | this.getDetail() |
| | | }, |
| | | methods:{ |
| | | getDetail(){ |
| | | getPublicSecurityDetail({ |
| | | addressCode:uni.getStorageSync("siteInfo").houseCode |
| | | }).then(res=>{ |
| | | console.log(res) |
| | | this.detailInfo = res.data; |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |