douzhuo vor 1 Jahr
Ursprung
Commit
3d6dbf38f4
3 geänderte Dateien mit 35 neuen und 3 gelöschten Zeilen
  1. +1
    -1
      env/sh.js
  2. +33
    -1
      pages/mine/details2.vue
  3. +1
    -1
      pages/mine/equipmentLog.vue

+ 1
- 1
env/sh.js Datei anzeigen

@@ -1,5 +1,5 @@
const ENV_PATH = { const ENV_PATH = {
baseUrl: 'http://192.168.31.149:9999', // 胜浩
baseUrl: 'http://192.168.31.85:9999', // 胜浩
} }


module.exports = ENV_PATH module.exports = ENV_PATH

+ 33
- 1
pages/mine/details2.vue Datei anzeigen

@@ -127,6 +127,15 @@
src="https://static.quhouse.com/4a977a0ecb594f2ebfd5f020b29dcc79.png" mode=""></image> src="https://static.quhouse.com/4a977a0ecb594f2ebfd5f020b29dcc79.png" mode=""></image>
</view> </view>
<view class="more-btn"> <view class="more-btn">
<view class="btn-item" @click.stop="showTemplate = !showTemplate; Thetapeidisshow=false">
<!-- <image class="icon" v-if="userlistobj.validInvalidName"
src="https://static.quhouse.com/868b0eba0f7c44eca63e3b4fa782f14d.png" mode=""></image>
<image class="icon" v-else src="https://static.quhouse.com/480e572bf43c48558ad9febe5426f439.png"
mode=""></image> -->
更换销讲业务
</view>
<view class="btn-item" @click.stop="alllogo"> <view class="btn-item" @click.stop="alllogo">
<image class="icon" v-if="userlistobj.validInvalidName" <image class="icon" v-if="userlistobj.validInvalidName"
src="https://static.quhouse.com/868b0eba0f7c44eca63e3b4fa782f14d.png" mode=""></image> src="https://static.quhouse.com/868b0eba0f7c44eca63e3b4fa782f14d.png" mode=""></image>
@@ -458,6 +467,9 @@
</view> </view>
<u-toast ref="uToast" /> <u-toast ref="uToast" />


<!-- 销讲业务 -->
<u-select :mask-close-able="false" label-name="templateName" value-name="id" v-model="showTemplate"
mode="single-column" :list="templateList" @cancel="templateCancel" @confirm="templateConfirm"></u-select>


<!-- 加载组件 --> <!-- 加载组件 -->
<u-loadings v-model="LOADING"></u-loadings> <u-loadings v-model="LOADING"></u-loadings>
@@ -587,6 +599,11 @@
refined: false, // 多选加精; refined: false, // 多选加精;
nowPlaying: 0, // 当前播放位置 nowPlaying: 0, // 当前播放位置
stepPosition: 0, // 需要跳转的播放位置 stepPosition: 0, // 需要跳转的播放位置
templateList: [], // 销讲业务
showTemplate: false, // 展示选择销讲业务弹窗
templateName: '', // 销讲业务类型文字
}; };
}, },
computed: { computed: {
@@ -617,7 +634,7 @@
this.nowPlaying = obj.current_value this.nowPlaying = obj.current_value
this.TimeUpdate(this.TIMEEVENT(obj.current)) this.TimeUpdate(this.TIMEEVENT(obj.current))
}) })
// 获取销讲业务
this.$zaudio.on('ended', this.ACTION, e => { this.$zaudio.on('ended', this.ACTION, e => {
console.log('音频播放结束') console.log('音频播放结束')
this.$zaudio.stop() this.$zaudio.stop()
@@ -665,6 +682,8 @@
if (this.stateisshow == 2) { if (this.stateisshow == 2) {
var info = this.itemobj; var info = this.itemobj;
}!this.isPageHide && this.init(info); }!this.isPageHide && this.init(info);
this.getMarketingBusiness()
}, },


onHide() { onHide() {
@@ -682,6 +701,17 @@
}, },


methods: { methods: {
// 获取销讲业务
getMarketingBusiness() {
this.$u.get('/customer/marketingBusiness', {
houseId: this.buildingID,
status: 0,
}).then(res => {
this.templateList = res
})
},
// 跳转设备日志页面 // 跳转设备日志页面
eqLogClick() { eqLogClick() {
uni.navigateTo({ uni.navigateTo({
@@ -2087,11 +2117,13 @@


.more-btn { .more-btn {
display: flex; display: flex;
flex-wrap: wrap;
margin-top: 30rpx; margin-top: 30rpx;
padding-bottom: 30rpx; padding-bottom: 30rpx;


// border-bottom: 1rpx solid #e0e0e0; // border-bottom: 1rpx solid #e0e0e0;
.btn-item { .btn-item {
margin-bottom: 10rpx;
width: 284rpx; width: 284rpx;
height: 72rpx; height: 72rpx;
display: flex; display: flex;


+ 1
- 1
pages/mine/equipmentLog.vue Datei anzeigen

@@ -30,7 +30,7 @@
<view class="items"> <view class="items">
<text>录音开启用时</text> <text>录音开启用时</text>
<text class="font" <text class="font"
:style="{color: info.recording==1?'red':'#333'}">{{info.startActionTime || ''}}min</text>
:style="{color: info.recording==1?'red':'#333'}">{{info.startActionTime || 0}}min</text>
</view> </view>
<view class="line"></view> <view class="line"></view>
<view class="items"> <view class="items">


Laden…
Abbrechen
Speichern