| | |
| | | <text class="notice-title f-28">{{item.title}}</text> |
| | | <view class="flex j-c-s-b a-i-c"> |
| | | <view class="flex a-i-c"> |
| | | <tag-cell :text="item.dictValue" /> |
| | | <tag-cell v-if="item.dictValue" :text="item.dictValue" /> |
| | | <view class="flex a-i-c"> |
| | | <u-icon name="eye-fill" size="14" color="#CECECE"></u-icon> |
| | | <text class="f-24 c-99 ml-5">{{item.viewNumber}}</text> |
| | |
| | | } from "@/common/setting"
|
| | | import noticeList from "@/components/noticeList/noticeList";
|
| | | import captionRow from "@/components/caption/caption.vue"
|
| | | |
| | | import { getPublicSecurityDetail } from "@/api/grid/grid.js"
|
| | | |
| | | export default {
|
| | | components: {
|
| | | noticeList,
|
| | |
| | | {
|
| | | title: "公共收益",
|
| | | icon: "/static/icon/nav-15.png",
|
| | | path: ""
|
| | | path: "/subPackage/article/list?type=1"
|
| | |
|
| | | }
|
| | | ]
|
| | |
| | | console.log(obj)
|
| | | if (obj.stdId == "3C77B40EFC5F4C899AA74BEE747D9DF1") {
|
| | | eventType = 1;
|
| | | }
|
| | | if (obj.stdId == "CDF5528D617342228F3C84EF5C3C8780") {
|
| | | eventType = 2;
|
| | | }
|
| | | if (eventType) {
|
| | | that.$u.func.globalNavigator(
|
| | | `/subPackage/house/houseNumber/index?stdId=${obj.stdId}&eventType=${eventType}`,
|
| | | "navTo")
|
| | | } else {
|
| | | }else if (obj.stdId == "CDF5528D617342228F3C84EF5C3C8780"){
|
| | | eventType = 2;
|
| | | that.$u.func.globalNavigator(
|
| | | `/subPackage/house/houseNumber/index?stdId=${obj.stdId}`, "navTo")
|
| | | `/subPackage/house/houseNumber/index?stdId=${obj.stdId}&eventType=${eventType}`,
|
| | | "navTo")
|
| | | }else {
|
| | | that.getHouseType(obj.stdId);
|
| | | }
|
| | |
|
| | | |
| | | //"3C77B40EFC5F4C899AA74BEE747D9DF1"
|
| | | // let url = "/subPackage/workbench/views/cscj?stdId=" + obj.stdId
|
| | | // let url = "/subPackage/workbench/views/cscj?houseCode=" + obj.stdId
|
| | |
|
| | | // let url = `/subPackage/house/houseNumber/index?stdId=${obj.stdId}`
|
| | | // that.$u.func.globalNavigator(url, "navTo")
|
| | | }
|
| | |
| | | }
|
| | | return obj
|
| | | },
|
| | | |
| | | getHouseType(code){
|
| | | getPublicSecurityDetail({
|
| | | addressCode:code
|
| | | }).then(res=>{
|
| | | console.log(res)
|
| | | if(res.data.doorplateType == "户室牌"){
|
| | | this.$u.func.globalNavigator(`/subPackage/house/roomDetails/index?id=${code}`,"navTo")
|
| | | }else if (res.data.addressLevel == 4){
|
| | | this.$u.func.globalNavigator(
|
| | | `/subPackage/house/houseNumber/index?stdId=${code}`, "navTo")
|
| | | }
|
| | | })
|
| | | }
|
| | | }
|
| | | }
|
| | | </script>
|
| | |
| | | margin: 18rpx; |
| | | |
| | | .icon { |
| | | width: 50rpx; |
| | | height: 50rpx; |
| | | width: 52rpx; |
| | | height: 52rpx; |
| | | margin-right: 22rpx; |
| | | } |
| | | } |
| | | |
| | | /deep/ .u-cell__title-text{ |
| | | font-size:26rpx !important; |
| | | font-size:28rpx !important; |
| | | font-family: PingFang SC; |
| | | font-weight: 500; |
| | | color: #585b61; |
| | | } |
| | | </style> |
| | |
| | | <text class="f-22 ml-10">120</text> |
| | | </view> --> |
| | | <view class="flex a-i-c"> |
| | | <tag-cell :text="detailInfo.dictValue"></tag-cell> |
| | | <tag-cell v-if="detailInfo.dictValue" :text="detailInfo.dictValue"></tag-cell> |
| | | <view class="flex a-i-c ml-20"> |
| | | <u-icon name="eye-fill" color="#CECECE"></u-icon> |
| | | <text class="f-22 ml-10">{{detailInfo.viewNumber}}</text> |
| | |
| | | <template> |
| | | <view class=""> |
| | | <z-paging ref="paging" v-model="list" :auto="false" @query="queryList" @onRefresh="refreshList" loading-more-no-more-text="没有更多了"> |
| | | <view class="tab" slot="top"> |
| | | <view class="tab" slot="top" v-show="tabList.length"> |
| | | <u-tabs :list="tabList" :current="tabIndex" keyName="dictValue" @change="changeTab" |
| | | :inactiveStyle="{color:'#999999'}" :activeStyle="{color:'#017BFC'}"></u-tabs> |
| | | </view> |
| | |
| | | list: [], |
| | | currentPage: 1, |
| | | loadingStatus: 'nomore', |
| | | eventType: "" |
| | | eventType: "", |
| | | type:"" |
| | | } |
| | | }, |
| | | onLoad(option) { |
| | | console.log(option); |
| | | if (option.type) { |
| | | this.eventType = option.type; |
| | | if (option.type == 0) { |
| | | this.tabList = [{ |
| | | dictKey: "", |
| | | dictValue: "公益报名" |
| | | }] |
| | | } else { |
| | | this.tabList = [{ |
| | | dictKey: "", |
| | | dictValue: "选举调查" |
| | | }] |
| | | } |
| | | // this.eventType = option.type; |
| | | // if (option.type == 0) { |
| | | // this.tabList = [{ |
| | | // dictKey: "", |
| | | // dictValue: "公益报名" |
| | | // }] |
| | | // } else { |
| | | // this.tabList = [{ |
| | | // dictKey: "", |
| | | // dictValue: "选举调查" |
| | | // }] |
| | | // } |
| | | // this.getNoticeList() |
| | | uni.setNavigationBarTitle({ |
| | | title:"公共收益" |
| | | }) |
| | | this.type = option.type; |
| | | this.$refs.paging.reload(); |
| | | |
| | | } else { |
| | | this.getCateList() |
| | | } |
| | |
| | | dictKey: "", |
| | | dictValue: "全部" |
| | | }) |
| | | |
| | | this.tabList = data; |
| | | // this.tabId = data[0].dictKey; |
| | | // this.getNoticeList() |
| | |
| | | current: pageNo, |
| | | size: pageSize, |
| | | articleType: this.tabId, |
| | | eventType: this.eventType |
| | | eventType: this.eventType, |
| | | type:this.type |
| | | }).then(res => { |
| | | this.$refs.paging.complete(res.data.records); |
| | | }) |
| | |
| | | box-sizing: border-box;
|
| | | // background-color: #FAFBFE;
|
| | | // background-color: rgb(236, 244, 255);
|
| | | background-color: #F4F4F4;
|
| | | background-color: #F8F8F8;
|
| | | margin: 6rpx;
|
| | |
|
| | | &>view {
|
| | |
| | | addressType:2,
|
| | | placeId:"",
|
| | | eventType:0 ,//历史事件类型 1邻里纠纷 2噪音扰民
|
| | | neiName:"" //社区名称
|
| | | neiName:"" ,//社区名称
|
| | | placeName:"" //场所名称
|
| | | }
|
| | | },
|
| | | onLoad(option) {
|
| | | this.stdId = option.stdId
|
| | | this.addressType = option.addressType
|
| | | if(option.addressType){
|
| | | this.addressType = option.addressType
|
| | | }
|
| | | if(this.addressType ==4){
|
| | | this.placeId = this.stdId
|
| | | }
|
| | |
| | | return
|
| | | }
|
| | | if(data){
|
| | | this.placeName = data.placeName;
|
| | | const doorplateAddressEntity = data?.doorplateAddressEntity || {}
|
| | | const placePoiLabelVOList = data?.placePoiLabelVOList || {}
|
| | |
|
| | |
| | | this.$u.func.globalNavigator(`/subPackage/workbench/views/cscj?houseCode=${this.stdId}&addressType=${this.addressType}`)
|
| | | },
|
| | | csjlClick() {
|
| | | this.$u.func.globalNavigator('/subPackage/workbench/views/csjl?stdId=' + this.stdId)
|
| | | let url = `/subPackage/workbench/views/csjl?stdId=${this.stdId}&name=${this.placeName}&from=place`
|
| | | // this.$u.func.globalNavigator('/subPackage/workbench/views/csjl?stdId=' + this.stdId)
|
| | | this.$u.func.globalNavigator(url)
|
| | | },
|
| | |
|
| | | navToEventDetail(){
|
| | |
| | | imageUrls: "",
|
| | | placeName: "",
|
| | | username: '',
|
| | | phone: ''
|
| | | phone: '',
|
| | | lat:'',
|
| | | lng:''
|
| | | },
|
| | | rules: {
|
| | | // 'buildingCode': {
|
| | |
| | | },
|
| | | onShow() {
|
| | | this.getLabel()
|
| | | this.getLocation()
|
| | | // this.getLocation()
|
| | | },
|
| | | methods: {
|
| | |
|
| | |
| | | }
|
| | | }
|
| | | })
|
| | | |
| | | |
| | | this.form.jwd = `${Number(data.lat).toFixed(6)},${Number(data.lng).toFixed(6)}`
|
| | |
|
| | | this.form.building = arr.join("")
|
| | | setTimeout(() => {
|
| | |
| | | <template>
|
| | | <view class="container">
|
| | | <u-sticky>
|
| | | <u-sticky v-if="from == 'home'">
|
| | | <view class="tabsAndSearch">
|
| | | <view class="tabs">
|
| | | <u-tabs :list="tabsList" @click="tabClick" :inactiveStyle="{color:'#999999'}"
|
| | |
| | | },
|
| | | tabsType: 0,
|
| | | status: 'nomore',
|
| | | currentRole: {}
|
| | | currentRole: {},
|
| | | from:"home" //页面跳入来源
|
| | | }
|
| | | },
|
| | | onLoad(option){
|
| | | if(option.from){
|
| | | this.from = option.from;
|
| | | this.iptContext = option.name;
|
| | | // this.getrRecordList(option.name);
|
| | | }
|
| | | },
|
| | | |
| | | onShow() {
|
| | | this.recordsData = []
|
| | | this.currentRole = uni.getStorageSync('activeRole')
|