|
@@ -11,10 +11,9 @@
|
|
<view class="back" @click="backDataMonitoringList">
|
|
<view class="back" @click="backDataMonitoringList">
|
|
<u-icon name="arrow-left" color="#fff" size="36"></u-icon>
|
|
<u-icon name="arrow-left" color="#fff" size="36"></u-icon>
|
|
</view>
|
|
</view>
|
|
- <view class="title" @click="titleCk">
|
|
|
|
|
|
+ <view class="title">
|
|
{{tabsFrom.title}}
|
|
{{tabsFrom.title}}
|
|
- <u-icon name="arrow-down" v-if="tabsFrom.selector1.length"
|
|
|
|
- color="#fff" size="24"></u-icon>
|
|
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -328,7 +327,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="item-value">
|
|
<view class="item-value">
|
|
<span>{{meterDetail.installationAddress}}</span>
|
|
<span>{{meterDetail.installationAddress}}</span>
|
|
- <image class="img" src="@/assets/img/riFill-navigation-fill 1.svg"></image>
|
|
|
|
|
|
+ <image class="img" v-if="0"
|
|
|
|
+ src="@/assets/img/riFill-navigation-fill 1.svg"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="item">
|
|
@@ -504,9 +504,9 @@
|
|
this.ref=op.ref;
|
|
this.ref=op.ref;
|
|
this.FormData.meterId = op.id;
|
|
this.FormData.meterId = op.id;
|
|
this.FormData2.meterId = op.id;
|
|
this.FormData2.meterId = op.id;
|
|
- this.tabsFrom.title = op.name;
|
|
|
|
|
|
+ this.tabsFrom.title = this.replaceLastTwoWords(op.name);
|
|
this.meterId = op.id;
|
|
this.meterId = op.id;
|
|
- this.titleName = op.name;
|
|
|
|
|
|
+ this.titleName = this.replaceLastTwoWords(op.name);
|
|
this.companyId = op.companyId;
|
|
this.companyId = op.companyId;
|
|
}
|
|
}
|
|
this.endYear = new Date().getFullYear();
|
|
this.endYear = new Date().getFullYear();
|
|
@@ -545,7 +545,7 @@
|
|
uni.showModal({
|
|
uni.showModal({
|
|
confirmColor:`${key?'#3CC51F':'red'}`,
|
|
confirmColor:`${key?'#3CC51F':'red'}`,
|
|
confirmText:`${key?'开启':'关闭'}`,
|
|
confirmText:`${key?'开启':'关闭'}`,
|
|
- content: `确认是否要"${key?'开启':'关闭'}"${node.name}`,
|
|
|
|
|
|
+ content: `确认是否要"${key?'开启':'关闭'}"${this.replaceLastTwoWords(node.name)}`,
|
|
title: "提示",
|
|
title: "提示",
|
|
success:res=> {
|
|
success:res=> {
|
|
if(res.confirm){
|
|
if(res.confirm){
|
|
@@ -581,7 +581,8 @@
|
|
meterId: meterId
|
|
meterId: meterId
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
- this.meterDetail = res.data.meter;
|
|
|
|
|
|
+ this.meterDetail = res.data.meter;
|
|
|
|
+ this.meterDetail.name=this.replaceLastTwoWords(this.meterDetail.name)
|
|
this.codes =this.carhelp.getPersonInfo().codes;
|
|
this.codes =this.carhelp.getPersonInfo().codes;
|
|
|
|
|
|
}).catch(error => {
|
|
}).catch(error => {
|