| | |
| | | // devUrl: 'http://192.168.1.156:9528', |
| | | // devUrl:'http://192.168.1.50:9528', |
| | | devUrl: 'http://192.168.0.101:9528', |
| | | // devUrl: 'http://192.168.0.102:9528', |
| | | // devUrl: 'https://srgdjczzxtpt.com:2080/api', |
| | | // minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/", |
| | | minioBaseUrl: 'https://srgdjczzxtpt.com:2080/', |
| | | minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/", |
| | | // minioBaseUrl: 'https://srgdjczzxtpt.com:2080/', |
| | | // 数据中台接口url |
| | | // dataCenterUrl: 'http://10.10.2.192/services', |
| | | dataCenterUrl: 'https://sk.hubeishuiyi.cn/services', |
| | |
| | | getPlaceDetail
|
| | | } from '@/api/place/place.js'
|
| | | import boxTitle from '../components/boxTitle/index2.vue'
|
| | | import { minioBaseUrl } from "../../../common/setting";
|
| | | export default {
|
| | | components: {
|
| | | lineItem,
|
| | |
| | | },
|
| | | methods: {
|
| | | async getBuildingDetail() {
|
| | | this.$refs.uToast.show({
|
| | | type: 'loading',
|
| | | message: '正在加载', |
| | | duration: 9999999
|
| | | })
|
| | | // const {
|
| | | // code,
|
| | | // data
|
| | | // } = await getDoorplateAddressDetail({
|
| | | // stdId: this.stdId
|
| | | // this.$nextTick(() => {
|
| | | // this.$refs.uToast.show({
|
| | | // type: 'loading',
|
| | | // message: '正在加载',
|
| | | // duration: 9999999
|
| | | // })
|
| | | // })
|
| | | const {
|
| | | code,
|
| | |
| | | } = await getPlaceDetail({
|
| | | houseCode: this.stdId
|
| | | })
|
| | | console.log(data);
|
| | | if (code !== 200) {
|
| | | uni.showToast({
|
| | | title: "数据请求失败",
|
| | |
| | | })
|
| | | return
|
| | | }
|
| | | const doorplateAddressEntity = data?.doorplateAddressEntity || {}
|
| | | const placePoiLabelVOList = data?.placePoiLabelVOList || {}
|
| | | this.houseNumberData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | if(data){
|
| | | const doorplateAddressEntity = data?.doorplateAddressEntity || {}
|
| | | const placePoiLabelVOList = data?.placePoiLabelVOList || {}
|
| | | this.houseNumberData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | |
| | | if (item.name == 'label') {
|
| | | |
| | | let labelArr = []
|
| | | placePoiLabelVOList.forEach(item => {
|
| | | labelArr.push(item.labelName)
|
| | | })
|
| | | |
| | | item.value = labelArr.join('、')
|
| | | }
|
| | | })
|
| | | |
| | | this.gridData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.grid[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | | |
| | | this.collectData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | if(item.name == "imageUrls" ){
|
| | | item.value = minioBaseUrl + data[item.name] || '未完善'
|
| | | }
|
| | | }
|
| | | })
|
| | | |
| | | this.policeData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | | |
| | | const {
|
| | | lat,
|
| | | lng
|
| | | } = data
|
| | | this.lngLat = {
|
| | | lat,
|
| | | lng
|
| | | }
|
| | |
|
| | | if (item.name == 'label') {
|
| | |
|
| | | let labelArr = []
|
| | | placePoiLabelVOList.forEach(item => {
|
| | | labelArr.push(item.labelName)
|
| | | })
|
| | |
|
| | | item.value = labelArr.join('、')
|
| | | }
|
| | | })
|
| | |
|
| | | this.gridData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.grid[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | |
|
| | | this.collectData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | |
|
| | |
|
| | | this.policeData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | |
|
| | | const {
|
| | | lat,
|
| | | lng
|
| | | } = data
|
| | | this.lngLat = {
|
| | | lat,
|
| | | lng
|
| | | this.marker = [{
|
| | | id: 1,
|
| | | width: 30,
|
| | | height: 40,
|
| | | latitude: lat,
|
| | | longitude: lng,
|
| | | }]
|
| | | }
|
| | | this.marker = [{
|
| | | id: 1,
|
| | | width: 30,
|
| | | height: 40,
|
| | | latitude: lat,
|
| | | longitude: lng,
|
| | | }] |
| | | this.$nextTick(() => { |
| | | this.$refs.uToast.isShow = false |
| | | })
|
| | | },
|
| | | imgPreview(value) {
|
| | | uni.previewImage({
|
| | |
| | | created() {},
|
| | | mounted() {
|
| | | this.getDoorPlateAddressDetail()
|
| | | this.$nextTick(() => {
|
| | | if (this.labelBtnList.length === 0) {
|
| | | this.getLabelList()
|
| | | }
|
| | | })
|
| | | // this.$nextTick(() => {
|
| | | // if (this.labelBtnList.length === 0) {
|
| | | // this.getLabelList()
|
| | | // }
|
| | | // })
|
| | | },
|
| | | onLoad(option) {
|
| | | const data = JSON.parse(option.data);
|
| | |
| | | imageUrls,
|
| | | houseLabelVOList
|
| | | } = res.data
|
| | | if (imageUrls.length > 0) {
|
| | | if (imageUrls && imageUrls.length > 0) {
|
| | | const urls = imageUrls.split(',')
|
| | | // 遍历
|
| | | urls.forEach(e => {
|
| | |
| | | householdList,
|
| | | subAoi
|
| | | } = res.data
|
| | | console.log(res.data);
|
| | | this.houseCode = addressCode
|
| | | this.rentOutList = houseRentalList
|
| | | this.ownerInfoList = householdList
|
| | |
| | | format
|
| | | } from "echarts";
|
| | | import boxTitle from '../components/boxTitle/index.vue'
|
| | | import { minioBaseUrl } from "../../../common/setting"; |
| | | export default {
|
| | | mixins: [uploadMixin],
|
| | | components: {
|
| | |
| | | },
|
| | | "form.buildingCode": {
|
| | | handler(newVal) {
|
| | | console.log(newVal)
|
| | | }
|
| | | },
|
| | | showLabelList(newVal) {
|
| | | console.log(newVal);
|
| | | }
|
| | |
|
| | | },
|
| | |
| | | item.value = gridEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | if(item.name == "imageUrls" ){
|
| | | item.value = minioBaseUrl + data[item.name] || '未完善'
|
| | | }
|
| | | }
|
| | | })
|
| | | this.publicData[key].forEach(item => {
|
| | |
| | | },
|
| | | imgPreview(value) {
|
| | | uni.previewImage({
|
| | | urls: [value],
|
| | | urls: minioBaseUrl + [value],
|
| | | })
|
| | | },
|
| | | }
|
| | |
| | | },
|
| | | methods: {
|
| | | async getSiteList() {
|
| | | this.$refs.uToast.show({
|
| | | type: 'loading',
|
| | | message: '正在加载',
|
| | | duration: 9999999
|
| | | this.$nextTick(() => {
|
| | | this.$refs.uToast.show({
|
| | | type: 'loading',
|
| | | message: '正在加载',
|
| | | duration: 9999999
|
| | | })
|
| | | this.loadingStatus = 'loadingmore'
|
| | | })
|
| | | this.loadingStatus = 'loadingmore'
|
| | | |
| | | const params = {
|
| | | placeName: this.keyWord,
|
| | | confirmFlag: this.tabStatus
|
| | |
| | | onShow() {
|
| | | this.recordsData = []
|
| | | this.currentRole = uni.getStorageSync('activeRole')
|
| | | |
| | | this.getrRecordList()
|
| | | },
|
| | | onReachBottom() {
|
| | |
| | | },
|
| | | methods: {
|
| | | async getrRecordList(placeName = this.iptContext, isPerfect = this.tabsType) {
|
| | | this.$refs.uToast.show({
|
| | | type: 'loading',
|
| | | message: '正在加载',
|
| | | duration: 9999999
|
| | | this.$nextTick(() => {
|
| | | this.$refs.uToast.show({
|
| | | type: 'loading',
|
| | | message: '正在加载',
|
| | | duration: 9999999
|
| | | })
|
| | | this.status = 'loadmore'
|
| | | })
|
| | | this.status = 'loadmore'
|
| | | const {
|
| | | roleName
|
| | | } = this.currentRole
|
| | | console.log(this.currentRole);
|
| | | const {
|
| | | code,
|
| | | data: {
|
| | |
| | | }
|
| | | }
|
| | | getStatistics(params).then(res => {
|
| | | console.log(res, "+------------")
|
| | | this.statistics = res.data
|
| | | })
|
| | | },
|
| | |
| | | return res.name
|
| | | },
|
| | | async getRentalHouseInfo(params = {}) {
|
| | | this.loadingStatus = 'loadmore'
|
| | | this.$refs.uToast.show({
|
| | | type: 'loading',
|
| | | message: '正在加载',
|
| | | duration: 9999999
|
| | | this.$nextTick(() => {
|
| | | this.loadingStatus = 'loadmore'
|
| | | this.$refs.uToast.show({
|
| | | type: 'loading',
|
| | | message: '正在加载',
|
| | | duration: 9999999
|
| | | })
|
| | | })
|
| | | const {
|
| | | roleName
|