ll
liukangdong
2025-02-12 9375dfbf2ea9c082d78f82abe072a4ef9521728e
ll
已修改6个文件
27 ■■■■ 文件已修改
h5/pages/operation/device.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/polling/detail.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/polling/point.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/polling/task.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/workOrder/edit.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/workOrder/problemEdit.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/operation/device.vue
@@ -132,6 +132,7 @@
                    dealDate: dayjs().format('YYYY-MM-DD HH:mm:ss'),
                    multifileList: fileList
                }).then(res => {
                    if (res && res.code == 200) {
                    if (param.status != 0) {
                        uni.showModal({
                            title: '温馨提示',
@@ -150,6 +151,8 @@
                        this.showToast('提交成功')
                        uni.navigateBack()
                    }
                    }
                })
            },
            getDevice() {
h5/pages/polling/detail.vue
@@ -84,6 +84,7 @@
                info: {},
                list: [],
                flag: false,
                userInfo: uni.getStorageSync('userInfo') || {},
                statusM: [{
                        color: '#4593f7',
                        name: '待开始'
@@ -181,7 +182,9 @@
                    this.info = res.data
                    let time = new Date(res.data.startDate).getTime()
                    console.log('res.data.startDate', new Date().getTime());
                    if(res.data.userIds.indexOf(this.userInfo.id) > -1){
                    this.flag = new Date().getTime() > time && (this.info.status == 0 || this.info.status == 1 || this.info.status == 2)
                    }
                })
                ywPatrolTaskRecord({
                    capacity: 999,
h5/pages/polling/point.vue
@@ -8,7 +8,8 @@
            <template v-if="info.status == 1">
                <view class="line">
                    <div class="la">巡检结果:</div>
                    <div class="val primaryColor" :class="{red: info.dealStatus == 1}">{{ info.dealStatus == 0 ? '正常' : info.dealStatus == 1 ? '异常' : '-' }}
                    <div class="val primaryColor" :class="{red: info.dealStatus == 1}">
                        {{ info.dealStatus == 0 ? '正常' : info.dealStatus == 1 ? '异常' : '-' }}
                    </div>
                </view>
                <view class="line">
@@ -170,6 +171,7 @@
                    multifileList: fileList,
                    id,
                }).then(res => {
                    if (res.code == 200) {
                    if (handleParam.dealStatus == 1) {
                        return uni.showModal({
                            title: '温馨提示',
@@ -196,6 +198,8 @@
                            uni.navigateBack()
                        }, 300)
                    }
                    }
                })
            },
            getDetail() {
@@ -506,10 +510,12 @@
            width: 100%;
            height: 100%;
        }
        video {
            width: 100%;
            height: 100%;
        }
        .video_wrap {
            position: relative;
            border: 1px solid;
h5/pages/polling/task.vue
@@ -195,7 +195,8 @@
                    this.list = [...this.list, ...res.data.records]
                    this.list.forEach(item => {
                    let time = new Date(item.startDate).getTime()
                    item.flag = new Date().getTime() > time
                    let userInfo = uni.getStorageSync('userInfo') || {}
                    item.flag = new Date().getTime() > time && item.userIds.indexOf(userInfo.id) > -1
                    })
                    this.total = res.data.total
                })
h5/pages/workOrder/edit.vue
@@ -22,7 +22,8 @@
                <view class="la"><text class="red">*</text>工单分类</view>
                <view class="line sel_wrap" @click="showCate1 = true">
                    <view class="left" :class="param.cateName ? '' : 'placeholder9'">
                        {{ param.cateName ? param.cateName : '请选择' }}</view>
                        {{ param.cateName ? param.cateName : '请选择' }}
                    </view>
                    <u-icon name="arrow-right" color="#999999" size="15"></u-icon>
                </view>
            </view>
@@ -51,7 +52,8 @@
                        <u-icon class="close" size="20" name="close-circle-fill" color="red"
                            @click="fileDel('fileList', i)"></u-icon>
                        <image v-if="item.type == 0" :src="item.fileurlFull" mode="widthFix"></image>
                        <video v-if="item.type == 1" :show-center-play-btn="false" :src="item.fileurlFull" :controls="false"></video>
                        <video v-if="item.type == 1" :show-center-play-btn="false" :src="item.fileurlFull"
                            :controls="false"></video>
                    </view>
                </view>
            </view>
@@ -152,10 +154,12 @@
                    // roomId: '',
                    fileList
                }).then(res => {
                    if (res && res.code == 200) {
                    this.showToast('提交成功')
                    uni.redirectTo({
                        url: '/pages/workOrder/list'
                    })
                    }
                })
            },
            changeHandler(e) {
h5/pages/workOrder/problemEdit.vue
@@ -84,11 +84,13 @@
                    ...param,
                    fileList
                }).then(res => {
                    if(res && res.code == 200){
                    this.showToast('提交成功')
                    this.param = {}
                    uni.navigateTo({
                        url: '/pages/workOrder/result'
                    })
                    }
                })
            },
            fileDel(str, i) {