mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
修改地址不对问题
This commit is contained in:
parent
68dc07466a
commit
d85dba339e
@ -21,6 +21,7 @@
|
||||
import stringUtil from '../../lib/java110/utils/StringUtil.js';
|
||||
import conf from '../../conf/config.js'
|
||||
import {replaceImgSrc} from '../../lib/java110/utils/ImageUtil.js'
|
||||
import url from '../../constant/url.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -62,7 +63,7 @@
|
||||
communityId: this.currentCommunityId
|
||||
};
|
||||
_that.java110Context.request({
|
||||
url: _that.java110Constant.url.listActivitiess,
|
||||
url: url.listActivitiess,
|
||||
header: _that.java110Context.getHeaders(),
|
||||
method: "GET",
|
||||
data: _objData, //动态数据
|
||||
@ -71,7 +72,7 @@
|
||||
if (res.statusCode == 200) {
|
||||
let _activites = res.data.activitiess;
|
||||
_activites.forEach(function (_item) {
|
||||
_item.src = _that.java110Constant.url.filePath + "?fileId=" + _item.headerImg + "&communityId=" + _that.currentCommunityId + "&time=" + new Date();
|
||||
_item.src = url.filePath + "?fileId=" + _item.headerImg + "&communityId=" + _that.currentCommunityId + "&time=" + new Date();
|
||||
let _startTime = _item.startTime.replace(/\-/g, "/")
|
||||
let _tmpStartTime = new Date(_startTime);
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import url from '../../constant/url.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -57,7 +58,7 @@
|
||||
communityId: this.currentCommunityId
|
||||
};
|
||||
_that.java110Context.request({
|
||||
url: _that.java110Constant.url.listActivitiess,
|
||||
url: url.listActivitiess,
|
||||
header: _that.java110Context.getHeaders(),
|
||||
method: "GET",
|
||||
data: _objData, //动态数据
|
||||
@ -68,7 +69,7 @@
|
||||
let _activites = res.data.activitiess;
|
||||
let _acts = [];
|
||||
_activites.forEach(function (_item) {
|
||||
_item.src = _that.java110Constant.url.filePath + "?fileId=" + _item.headerImg + "&communityId=" + _that.currentCommunityId + "&time=" + new Date();
|
||||
_item.src = url.filePath + "?fileId=" + _item.headerImg + "&communityId=" + _that.currentCommunityId + "&time=" + new Date();
|
||||
let _startTime = _item.startTime.replace(/\-/g, "/")
|
||||
let _tmpStartTime = new Date(_startTime);
|
||||
|
||||
|
||||
@ -47,6 +47,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import url from '../../constant/url.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -85,7 +86,7 @@
|
||||
name: this.name
|
||||
};
|
||||
this.java110Context.request({
|
||||
url: _that.java110Constant.url.queryStaffInfos,
|
||||
url: url.queryStaffInfos,
|
||||
header: _that.java110Context.getHeaders(),
|
||||
method: "GET",
|
||||
data: _objData, //动态数据
|
||||
|
||||
@ -290,7 +290,7 @@
|
||||
})
|
||||
} else {
|
||||
this.java110Context.request({
|
||||
url: _that.java110Constant.url.saveComplaint,
|
||||
url: url.saveComplaint,
|
||||
header: _that.java110Context.getHeaders(),
|
||||
method: "POST",
|
||||
data: obj, //动态数据
|
||||
|
||||
@ -85,7 +85,7 @@
|
||||
|
||||
_that.java110Context.request({
|
||||
header: _that.java110Context.getHeaders(),
|
||||
url: _that.java110Constant.url.listInspectionTaskDetails,
|
||||
url: url.listInspectionTaskDetails,
|
||||
method: "GET",
|
||||
data: {
|
||||
communityId: _that.communityId,
|
||||
@ -100,7 +100,7 @@
|
||||
_inspectionTaskDetails.forEach(function(_item) {
|
||||
if (_item.state == '20200407') {
|
||||
_item.photos.forEach(function(_photoTmp) {
|
||||
_photoTmp.url = _that.java110Constant.url.hcBaseUrl + _photoTmp.url;
|
||||
_photoTmp.url = url.hcBaseUrl + _photoTmp.url;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -28,6 +28,7 @@
|
||||
|
||||
<script>
|
||||
import {getCurrentCommunity} from '../../api/community/community.js'
|
||||
import url from '../../constant/url.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -62,7 +63,7 @@
|
||||
|
||||
|
||||
this.java110Context.request({
|
||||
url: _that.java110Constant.url.queryFloors,
|
||||
url: url.queryFloors,
|
||||
header: _that.java110Context.getHeaders(),
|
||||
method: "GET",
|
||||
data: _objData, //动态数据
|
||||
|
||||
@ -25,9 +25,9 @@
|
||||
<swiper class="screen-swiper swiper-height-index" :indicator-dots="true" :circular="true"
|
||||
:autoplay="true" interval="5000" duration="500">
|
||||
<swiper-item v-for="(item,index) in swiperList" :key="index">
|
||||
<image :src="item.url" mode="aspectFill" v-if="item.type=='image'"></image>
|
||||
<video :src="item.url" autoplay loop muted :show-play-btn="false" :controls="false"
|
||||
objectFit="cover" v-if="item.type=='video'"></video>
|
||||
<image :src="item.url" mode="aspectFill"></image>
|
||||
<!-- <video :src="item.url" autoplay loop muted :show-play-btn="false" :controls="false"
|
||||
objectFit="cover" v-if="item.type=='video'"></video> -->
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
@ -89,6 +89,7 @@
|
||||
import {isNull} from '../../lib/java110/utils/StringUtil.js'
|
||||
|
||||
import {getUserInfo} from '../../lib/java110/api/Java110SessionApi.js'
|
||||
import url from '../../constant/url.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -163,7 +164,7 @@
|
||||
let _activites = res.data.activitiess;
|
||||
let _acts = [];
|
||||
_activites.forEach(function(_item) {
|
||||
_item.src = _that.java110Constant.url.filePath + "?fileId=" + _item
|
||||
_item.src = url.filePath + "?fileId=" + _item
|
||||
.headerImg + "&communityId=" + _that.currentCommunityId +
|
||||
"&time=" + new Date();
|
||||
_acts.push(_item);
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
orderImg: this.java110Constant.url.baseUrl + 'img/order.png',
|
||||
orderImg: url.baseUrl + 'img/order.png',
|
||||
meterReads: [],
|
||||
roomNum: '',
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user