95ac9029c648194c35dda58daaa17b9160bcb69d..ecd70ca58c325f9ca93b26cc957512f790a556d2
6 小时以前 董国庆
修改文档bug
ecd70c 对比 | 目录
6 小时以前 董国庆
Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide
b913c1 对比 | 目录
6 小时以前 董国庆
修改
a15b9c 对比 | 目录
23 小时以前 hejianhao
修改bug
137bb0 对比 | 目录
6个文件已修改
57 ■■■■ 已修改文件
H5/pages/Appeal/Appeal.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/dispatchWorkOrder/dispatchWorkOrder.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/problemReporting/problemReporting.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/result-entry/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/work-detail/work-detail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/static/tell.png 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/Appeal/Appeal.vue
@@ -72,7 +72,8 @@
                            <text class="fs-27 font-bold">语音文件{{ index + 1 }}</text>
                        </view>
                        <view class="flex j-between a-center">
                            <image src="/static/Appeal/delete.png" class="w-27 h-27 mr-38" mode=""></image>
                            <image src="/static/Appeal/delete.png" class="w-27 h-27 mr-38" mode=""
                                @click.stop="deleteVoice(index)"></image>
                            <image src="/static/Appeal/open.png" class="w-27 h-27" mode="" v-if="!item.playing"
                                @click.stop="onPlayRecording(index)"></image>
@@ -125,7 +126,7 @@
            </view>
        </view>
        <view class="footer">
            <view class="cancel" @click="submit(1)">
            <view class="cancel" @click="submit(1)" v-if="userInfo.levelId > 1">
                问题上报
            </view>
            <view class="cancel" @click="submit(2)">
@@ -178,9 +179,9 @@
                descriptionTitle: '',
                descriptionContent: '',
                videoContent: [],
                latitude: '',
                longitude: '',
                location: '',
                latitude: '30.5061493',
                longitude: '105.574542',
                location: '测试地址',
                images: [],
                videos: [],
                voiceFile: '', //语音文件多个逗号拼接
@@ -214,6 +215,9 @@
            onPausePlaying(index) {
                this.videoContent[index].playing = false;
                this.pausePlaying(this.videoContent[index].url);
            },
            deleteVoice(ind) {
                this.videoContent = this.videoContent.filter((item, index) => index != ind)
            },
            voiceInput() {
                this.voiceInputShow = true;
@@ -305,7 +309,7 @@
                                name: 'file',
                                header: {
                                    // 'Content-Type': 'multipart/form-data',
                                'Authorization': uni.getStorageSync('token')
                                    'Authorization': uni.getStorageSync('token')
                                },
                                success: (uploadFileRes) => {
                                    const response = JSON.parse(uploadFileRes.data);
@@ -377,6 +381,12 @@
                } else if (!this.detailedAddress) {
                    uni.showToast({
                        title: '请输入详细地址',
                        icon: 'none'
                    })
                    return
                } else if (!this.descriptionContent) {
                    uni.showToast({
                        title: '请输入问题描述',
                        icon: 'none'
                    })
                    return
@@ -604,6 +614,7 @@
        display: flex;
        gap: 27rpx;
        padding: 33rpx 10rpx;
        justify-content: space-between;
        .cancel {
            width: 331rpx;
H5/pages/dispatchWorkOrder/dispatchWorkOrder.vue
@@ -77,7 +77,7 @@
            };
        },
        onShow() {
            this.accountLevel = uni.getStorageSync('userInfo').accountLevel || 1
            this.accountLevel = uni.getStorageSync('userInfo').levelId || 1
        },
        onLoad(option) {
            // option.id = 1
@@ -135,11 +135,11 @@
                            icon: 'none',
                            title: '下派成功'
                        })
                        setTimeout(()=>{
                        setTimeout(() => {
                            uni.navigateBack({
                                delta: 2
                            })
                        },1500)
                        }, 1500)
                    }
                })
            }
H5/pages/problemReporting/problemReporting.vue
@@ -25,7 +25,11 @@
                        </view>
                    </view>
                    <view class="person-item flex1">{{detail.name}}</view>
                    <view class="phone-item flex1">{{detail.contactNumber}}</view>
                    <view class="flex a-center">
                        <view class="phone-item flex1">{{detail.contactNumber}}</view>
                        <image @click.stop="callPhone(detail.contactNumber)" src="../../static/tell.png"
                            class="w-58 h-58 shrink0 " />
                    </view>
                </view>
            </view>
@@ -85,6 +89,11 @@
            }
        },
        methods: {
            callPhone(phoneNumber) {
                uni.makePhoneCall({
                    phoneNumber
                });
            },
            problemReports() {
                // 述求录入并上报
                if (Object.keys(this.appealData).length != 0) {
H5/pages/result-entry/index.vue
@@ -23,8 +23,14 @@
                        <view class="fs-27 lh-38 mt-10">{{ info.name }}</view>
                    </view>
                    <view class="flex-column a-center">
                        <view class="fs-27 lh-38 font-bold">联系电话</view>
                        <view class="fs-27 lh-38 mt-10">{{ info.contactNumber }}</view>
                        <view class="flex a-center">
                            <view>
                                <view class="fs-27 lh-38 font-bold">联系电话</view>
                                <view class="fs-27 lh-38 mt-10">{{ info.contactNumber }}</view>
                            </view>
                            <image @click.stop="callPhone(info.contactNumber)" src="../../static/tell.png"
                                class="w-58 h-58 shrink0 " />
                        </view>
                    </view>
                </view>
                <view v-else class="mt-33">
@@ -226,6 +232,11 @@
            }
        },
        methods: {
            callPhone(phoneNumber) {
                uni.makePhoneCall({
                    phoneNumber
                });
            },
            comfirm() {
                this.appealData = {}
                uni.navigateBack()
H5/pages/work-detail/work-detail.vue
@@ -167,7 +167,7 @@
                <view class="title">问题描述</view>
                <view v-for="(item,index) in getVoiceFile(orderInfo.voiceFile)" :key="index"
                    class="flex a-center j-between py-17 px-19 br-8 bgcolor1 mb-19">
                    <view class="fs-27 lh-38">语音名字{{(index + 1) | numToWords}}</view>
                    <view class="fs-27 lh-38">语音文件{{(index + 1) | numToWords}}</view>
                    <image v-if="!playFlag" @click.stop="playRecording(item)" src="../../static/24gf-playCircle@2x.png"
                        class="w-27 h-27 shrink0" />
                    <image v-else @click.stop="pausePlaying" src="../../static/pausePlaying.png"
H5/static/tell.png