wjt
2024-06-26 59f4dc012a2c42eebd31301444e0f8df9af088e0
Merge branch 'master' of http://218.28.192.34:9999/r/sqys/sqys_xcx
10个文件已修改
735 ■■■■ 已修改文件
common/config.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/hqzc/details.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/registerCompany/registerCompany.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
policy/dataLook/dataLook.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
policy/judgeApply/judgeApply.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
qiye/complaint/complaint.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
qiye/complaint/details.vue 351 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
qiye/qiyeIndex/qiyeIndex.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
qiye/record/details.vue 322 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
common/config.js
@@ -3,14 +3,14 @@
    hasHead: true,
    authCallBackUrl: 'https://wxbank.hnnx.com/mer/payOut/getAuthCode.do?authCallBackUrl=',
    webURL: 'https://jmy.jinmingyuan.com/ecosphere-user',
    serverTempl:"http://172.16.61.31:8089",
    serverTempl:"http://172.16.61.11:8089",
    socketTempl:"wss://yqzx.jinmingyuan.com/wsPerCode",
    h5Temp:"https://yqzx.jinmingyuan.com/ecosphere-h5",
    serverUrl: 'http://172.16.61.31:8089',
    h5Url: 'http://172.16.61.31:8089/service-merchant',
    serverUrl: 'http://172.16.61.11:8089',
    h5Url: 'http://172.16.61.11:8089/service-merchant',
    ftpUrl: 'https://yqzx.jinmingyuan.com/file',
    // ftpUrl: 'https://echftp.jinmingyuan.com',
    baseUrl: 'http://172.16.61.31:8089',
    baseUrl: 'http://172.16.61.11:8089',
    wx_appid: 'wxad8cc511da676bd4',
    ali_appid: '2021003199690698'
}
@@ -33,7 +33,7 @@
module.exports = {
    kefuTel: '15824668510',
    config: test,
    config: prod,
    ACCESSTOKEN: "Authorization",
    /* 是否打印请求日志 */
    DEBUG: false,
pages/hqzc/details.vue
@@ -11,7 +11,7 @@
                发布时间:{{msg.createTime}}
            </view>
        </view>
        <view v-html="msg.docContent">
        <view style="margin-top: 20rpx;" v-html="msg.docContent">
            
        </view>
    </view>
@@ -38,6 +38,7 @@
                    this.msg = val.data.data
                    this.msg.createTime = this.msg.createTime.slice(0, 10)
                    this.msg.docContent = decodeURIComponent(this.msg.docContent)
                    this.msg.docContent = this.msg.docContent.replace(/\<img/gi, '<img style="max-width:100%;height:auto;"')
                    console.log(this.msg.docContent)
                    getDicts('doc_type').then(val => {
                        console.log(this.msg.docType)
@@ -55,6 +56,9 @@
</style>
<style scoped lang="scss">
    img{
        width: 100%;
    }
    .box{
        padding: 32rpx;
    }
pages/index/index.vue
@@ -9,7 +9,7 @@
                <!-- <p>海关总署贸易持续发展2024年立法...</p>
                <p>国家医疗保障局办公室关于发布管理... </p> -->
            </view>
            <img src="/static/i06.png" class="more"  alt="" />
            <img src="/static/i06.png" class="more"  alt="" style="width: 46rpx;height: 46rpx;"/>
        </view>
        <view class="btnbox">
            <img src="/static/i01.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/>
pages/registerCompany/registerCompany.vue
@@ -162,6 +162,12 @@
                    success: val => {
                        // console.log(val.tempFilePaths[0])
                        this.uploadImage(val.tempFilePaths[0])
                    },
                    fail: err => {
                        uni.showToast({
                            title: "上传出错",
                            icon: 'none'
                        })
                    }
                })
            },
policy/dataLook/dataLook.vue
@@ -26,7 +26,7 @@
                    </view>
                    <view class="grid-item">
                        <view class="label">执法申请</view>
                        <view>{{infoData.enforceorderNum || 0}}</view>
                        <view>{{infoData.enforceOrderNum || 0}}</view>
                    </view>
                    <view class="grid-item">
                        <view class="label">已审批</view>
policy/judgeApply/judgeApply.vue
@@ -2,7 +2,7 @@
    <view>
        <u-navbar placeholder bgColor="#1171E0FF" leftIconColor="white" :autoBack="true">
            <template slot="center">
                <view style="color: white;">申请详情</view>
                <view style="color: white;">审批详情</view>
            </template>
        </u-navbar>
        <view class="top-content"></view>
qiye/complaint/complaint.vue
@@ -15,28 +15,33 @@
                        {{item.companyName}}
                    </view>
                    <template v-if="item.complaintStatus==0">
                        <view class="r color3">
                        <view class="r color2">
                            待响应
                        </view>
                    </template>
                    <template v-if="item.complaintStatus==1">
                        <view class="r color2">
                        <view class="r color1">
                            处理中
                        </view>
                    </template>
                    <template v-if="item.complaintStatus==2">
                        <view class="r color1">
                        <view class="r color3">
                            已办结
                        </view>
                    </template>
                    <!-- <view class="r color1">
                        待评价
                    </view> -->
                    <template v-if="item.complaintStatus==-1">
                        <view class="r color4">
                            已驳回
                        </view>
                    </template>
                </view>
                <view class="box">
                    <view class="l">
                        <p>执法单位:{{item.executeDeptName}}</p>
                        <p>执法时间:{{item.executeTime}}</p>
                        <p>投诉时间:{{item.complaintTime}}</p>
                    </view>
                    <view class="r" @click="chakan(item.id, item.orderId)">
                        去查看
@@ -136,14 +141,14 @@
            this.getList()
        },
        methods: {
            chakan(id, orderId){
            chakan(id,orderId){
                uni.navigateTo({
                    url: `/qiye/complaint/details?id=${id}&orderId=${orderId}`
                })
            },
            getList() {
                let data = uni.getStorageSync("qiyedata")
                //this.queryParams.companyId = data.companyId
                this.queryParams.companyId = data.companyId
                logList({...this.queryParams}).then(val => {
                    console.log(val.data)
                    this.total = val.data.total
@@ -245,4 +250,7 @@
        color: #3EB47A;
        
    }
    .color4{
        color: gray;
    }
</style>
qiye/complaint/details.vue
@@ -8,7 +8,9 @@
        <view class="donw-box"></view>
        <view class="page-main">
            <view class="title">
                已评价
                <template v-if="msg.orderStatus>2&&msg.isEva==0">已执法待评价</template>
                <template v-if="msg.orderStatus>2&&msg.isEva==1">已评价</template>
                <template v-if="msg.orderStatus==2">待执法</template>
            </view>
            <view class="wbox">
                <view class="item">
@@ -45,53 +47,53 @@
                </view>
            </view>
            <view style="height: 20rpx;"></view>
            <template v-if="orderId">
                <view class="wbox">
                    <view class="item">
                        <view class="k">
                            执法主题
                        </view>
                        <view class="v">
                            {{details.enforceReason}}
                        </view>
                    </view>
                    <view class="item">
                        <view class="k">
                            执法过程
                        </view>
                    </view>
                    <view class="imgbox">
                        <img :src="baseUrl+item" v-for="(item,index) in orderDetailsMsg.regionImgs" :key="index" class="more" @click="imgclick(item)" alt="" />
                    </view>
                    <view class="item">
                        <view class="k">
                            执法结果
                        </view>
                        <view class="v" style="color: #EB4746;">
                            <!-- {{details.regionStatus == 0? "正常" : "停业整顿" }} -->
                            {{orderDetailsMsg.regionReason}}
                        </view>
                    </view>
                    <view class="item">
                        <view class="k">
                            执法时间
                        </view>
                        <view class="v">
                            {{details.executeTime}}
                        </view>
                    </view>
                </view>
                <view style="height: 20rpx;"></view>
            <template v-if="orderId">
                <view class="wbox">
                    <view class="item">
                        <view class="k">
                            执法主题
                        </view>
                        <view class="v">
                            {{details.enforceReason}}
                        </view>
                    </view>
                    <view class="item">
                        <view class="k">
                            执法过程
                        </view>
                    </view>
                    <view class="imgbox">
                        <img :src="baseUrl+item" v-for="(item,index) in orderDetailsMsg.regionImgs" :key="index" class="more" @click="imgclick(item)" alt="" />
                    </view>
                    <view class="item">
                        <view class="k">
                            执法结果
                        </view>
                        <view class="v" style="color: #EB4746;">
                            <!-- {{details.regionStatus == 0? "正常" : "停业整顿" }} -->
                            {{orderDetailsMsg.regionReason}}
                        </view>
                    </view>
                    <view class="item">
                        <view class="k">
                            执法时间
                        </view>
                        <view class="v">
                            {{details.executeTime}}
                        </view>
                    </view>
                </view>
                <view style="height: 20rpx;"></view>
            </template>
            <view class="wbox2">
                <view class="t">
                    投诉记录
                </view>
                <view class="jilu" :class="{start: item.nodeName == '发起投诉' || item.nodeName == '已办结', handler: item.nodeName == '处理中', nonde: index == nodeList.length - 1}" v-for="(item,index) in nodeList" :key="index">
                    <image src="/static/policy/icon.png" class="img" alt="" mode="widthFix" v-if="item.nodeName == '发起投诉'"/>
                    <image src="/static/guocheng.png" class="img" alt=""  mode="widthFix"  v-if="item.nodeName == '处理中'"/>
                    <image src="/static/policy/refject.png" class="img"  mode="widthFix" alt="" v-if="item.nodeName == '已驳回'"/>
                    <image src="/static/policy/icon.png" class="img" alt="" mode="widthFix" v-if="item.nodeName == '发起投诉'"/>
                    <image src="/static/guocheng.png" class="img" alt=""  mode="widthFix"  v-if="item.nodeName == '处理中'"/>
                    <image src="/static/policy/refject.png" class="img"  mode="widthFix" alt="" v-if="item.nodeName == '已驳回'"/>
                    <image src="/static/policy/icon.png" class="img" alt=""  mode="widthFix" v-if="item.nodeName == '已办结'"/>
                    <view class="font" style="width: calc(100% - 50rpx);">
                        <view class="h" >
@@ -110,12 +112,16 @@
                                <span>申诉主题:</span>
                                {{dictLabel1}}
                            </view>
                            <view class="p">
                            <view class="p" style="margin-bottom: 18rpx;">
                                <span>申诉内容:</span>
                                {{details.complaintReason}}
                            </view>
                            <view class="p"  v-if="item.nodeName == '已驳回'">
                                <span>驳回原因:</span>
                                {{item.nodeReason}}
                            </view>
                            <view class="p"  v-if="item.nodeName == '已驳回'">
                                <span>申诉内容:</span>
                            <view class="p"  v-if="item.nodeName == '已办结' && item.nodeReason">
                                <span>办结结果:</span>
                                {{item.nodeReason}}
                            </view>
                        </view>
@@ -126,7 +132,33 @@
                    <view class="font">
                        <view class="h">
                            <view class="s">
                                已驳回
                                {{item.nodeName}}
                            </view>
                            <view class="time">
                                {{item.nodeTime}}
                            </view>
                        </view>
                        <view class="b">
                            <view class="name">
                                {{details.companyUser}}
                            </view>
                            <view class="p">
                                <span>申诉主题:</span>
                                {{dictLabel1}}
                            </view>
                            <view class="p">
                                <span>申诉内容:</span>
                                {{details.complaintReason}}
                            </view>
                        </view>
                    </view>
                </view>
                <view class="jilu">
                    <image src="/static/guocheng.png" class="img" alt=""  />
                    <view class="font">
                        <view class="h">
                            <view class="s">
                                处理中
                            </view>
                            <view class="time">
                                2024-06-07 12:14
@@ -146,123 +178,97 @@
                            </view>
                        </view>
                    </view>
                </view>
                <view class="jilu">
                    <image src="/static/guocheng.png" class="img" alt=""  />
                    <view class="font">
                        <view class="h">
                            <view class="s">
                                处理中
                            </view>
                            <view class="time">
                                2024-06-07 12:14
                            </view>
                        </view>
                        <view class="b">
                            <view class="name">
                                {{details.companyUser}}
                            </view>
                            <view class="p">
                                <span>申诉主题:</span>
                                {{dictLabel1}}
                            </view>
                            <view class="p">
                                <span>申诉内容:</span>
                                {{details.complaintReason}}
                            </view>
                        </view>
                    </view>
                </view>
             -->
             -->
            </view>
        </view>
        
    </view>
</template>
<script>
    import { complaintDetails, orderNodeList, orderComplaintNodeList } from '@/api/qiye.js'
    import { orderDetails } from '@/api/policy.js'
    import { config } from '@/common/config.js'
<script>
    import { complaintDetails, orderNodeList, orderComplaintNodeList } from '@/api/qiye.js'
    import { orderDetails } from '@/api/policy.js'
    import { config } from '@/common/config.js'
    import { getDicts } from '@/api/data.js'
    export default {
        data() {
            return {
                details: {},
                orderId: "",
                orderDetailsMsg: {},
                baseUrl: config.baseUrl,
                dictLabel: "",
                dictLabel1: "",
                details: {},
                orderId: "",
                orderDetailsMsg: {},
                baseUrl: config.baseUrl,
                dictLabel: "",
                dictLabel1: "",
                nodeList: []
            }
        },
        onLoad(options) {
            this.complaint(options.id)
            if(options.orderId) {
                this.orderId = options.orderId
                this.orderDetails()
            } else {
                this.orderNodeList(options.id)
            }
        },
        methods: {
            orderNodeList(id) {
                orderNodeList({id}).then(val => {
                    // console.log(val)
                    this.nodeList = val.data.data
                })
            },
            // 获取投诉类型
            getComtype() {
                getDicts('complaint_type').then(val => {
                    console.log(val)
                    this.dictLabel1 = val.data.data.find(item => item.dictCode == this.details.complaintType).dictLabel
                })
            },
            enforceType() {
                getDicts('enforce_type').then(val => {
                    console.log(val)
                    this.dictLabel = val.data.data.find(item => item.dictCode == this.orderDetailsMsg.enforceType).dictLabel
                })
        onLoad(options) {
            this.complaint(options.id)
            if(options.orderId) {
                this.orderId = options.orderId
                this.orderDetails()
            } else {
                this.orderNodeList(options.id)
            }
        },
        methods: {
            orderNodeList(id) {
                orderNodeList({id}).then(val => {
                    // console.log(val)
                    this.nodeList = val.data.data
                })
            },
            imgclick(url) {
            // 获取投诉类型
            getComtype() {
                getDicts('complaint_type').then(val => {
                    console.log(val)
                    this.dictLabel1 = val.data.data.find(item => item.dictCode == this.details.complaintType).dictLabel
                })
            },
            enforceType() {
                getDicts('enforce_type').then(val => {
                    console.log(val)
                    this.dictLabel = val.data.data.find(item => item.dictCode == this.orderDetailsMsg.enforceType).dictLabel
                })
            },
            imgclick(url) {
                url = this.baseUrl + url
                uni.previewImage({
                    urls: [url]
                })
            },
            complaint(details) {
                complaintDetails(details).then(val => {
                    // console.log(val.data.data)
                    this.details = val.data.data
                    this.getComtype()
                })
            },
            orderDetails() {
                orderDetails({ orderId: this.orderId}).then(val => {
                    // console.log(val.data.data)
                    val.data.data.regionImgs = val.data.data.regionImgs.split(",")
                    this.orderDetailsMsg = val.data.data
                    this.orderComplaintNodeList()
                    this.enforceType()
                })
            },
            orderComplaintNodeList() {
                orderComplaintNodeList({ orderId: this.orderId }).then(val => {
                    console.log(val.data.data, 'val===')
                    this.nodeList = val.data.data
                })
            },
            complaint(details) {
                complaintDetails(details).then(val => {
                    // console.log(val.data.data)
                    this.details = val.data.data
                    this.getComtype()
                })
            },
            orderDetails() {
                orderDetails({ orderId: this.orderId}).then(val => {
                    // console.log(val.data.data)
                    val.data.data.regionImgs = val.data.data.regionImgs.split(",")
                    this.orderDetailsMsg = val.data.data
                    this.orderComplaintNodeList()
                    this.enforceType()
                })
            },
            orderComplaintNodeList() {
                orderComplaintNodeList({ orderId: this.orderId }).then(val => {
                    console.log(val.data.data, 'val===')
                    this.nodeList = val.data.data
                })
            }
        }
    }
</script>
<style>
    page {
        background: #F4F4F4;
    page {
        background: #F4F4F4;
    }
</style>
<style lang="scss" scoped>
@@ -335,7 +341,8 @@
        border-radius: 5px;
        box-sizing: border-box;
        margin: 0 32rpx;
        position: relative;
        z-index: 10;
        .t {
            padding: 24rpx;
            border-bottom: 1px solid #EEEEEE;
@@ -344,33 +351,33 @@
            font-weight: bold;
        }
    
    }
    }
    .jilu{
        display: flex;
        justify-content: space-between;
        padding: 24rpx;
        position: relative;
        &::before{
            content: '';
            display: inline-block;
            width: 2rpx;
            height: 100%;
            background: #eb47460d;
            position: absolute;
            left: 44rpx;
            top: 30rpx;
            z-index: 99;
        }
        padding: 24rpx;
        position: relative;
        &::before{
            content: '';
            display: inline-block;
            width: 2rpx;
            height: 100%;
            background: #eb47460d;
            position: absolute;
            left: 44rpx;
            top: 30rpx;
            z-index: 99;
        }
        
        .img{
            width: 50rpx;
            height: 50rpx;
            margin-right: 24rpx;
            position: relative;
            margin-right: 24rpx;
            position: relative;
            z-index: 100;
        }
        .font{
        .font{
            width: calc(100% - 70rpx);
            .h{
                display: flex;
@@ -406,20 +413,20 @@
                }
            }
        }
    }
    .handler{
        &::before {
            background: #fe7b320d;
        }
    }
    .start{
        &::before{
            background: #E7F8F0;
        }
    }
    .nonde{
        &::before{
            background: none;
        }
    }
    }
    .handler{
        &::before {
            background: #fe7b320d;
        }
    }
    .start{
        &::before{
            background: #E7F8F0;
        }
    }
    .nonde{
        &::before{
            background: none;
        }
    }
</style>
qiye/qiyeIndex/qiyeIndex.vue
@@ -7,7 +7,7 @@
            <view class="font">
                <p v-for="(item,index) in list1" class="u-line-1" :key="index">{{item.docTitle}}</p>
            </view>
            <img src="/static/i06.png" class="more"  alt="" />
            <img src="/static/i06.png" class="more"  alt="" style="width: 46rpx;height: 46rpx;"/>
        </view>
        <view class="wbox">
            <view class="name">
@@ -90,11 +90,13 @@
                    this.companyCode = this.msg.companyCode
                    uni.setStorageSync('qiyedata', this.msg)
                    setTimeout(() => {
                        this.$refs.uqrcode.toTempFilePath({
                          success: res => {
                            this.uqrcodeImage = res.tempFilePath
                          }
                        });
                        this.$nextTick(() => {
                            this.$refs.uqrcode.toTempFilePath({
                              success: res => {
                                this.uqrcodeImage = res.tempFilePath
                              }
                            });
                        })
                    }, 500)
                    // this.msg.createTime = this.msg.createTime.slice(0, 10)
                    // this.msg.docContent = decodeURIComponent(this.msg.docContent)
qiye/record/details.vue
@@ -7,9 +7,9 @@
        </u-navbar>
        <view class="donw-box"></view>
        <view class="page-main">
            <view class="title">
                <template v-if="msg.isEva==0">未评价</template>
                <template v-if="msg.isEva==1">已评价</template>
            <view class="title">
                <template v-if="msg.isEva==0">未评价</template>
                <template v-if="msg.isEva==1">已评价</template>
                <template v-if="msg.orderStatus==2">待执法</template>
            </view>
            <view class="wbox">
@@ -64,10 +64,10 @@
                        {{msg.regionReason || '执法过程待上报'}}
                    </view>
                </view>
                <view class="imgbox"  v-if="img.length">
                <view class="imgbox"  v-if="img.length">
                    <template >
                        <img v-for="(item,index) in img" :key="index" :src="item" class="more" alt="" @click="imgclick(item)" />
                    </template>
                    </template>
                    
                    <!-- <img src="/static/i01.png" class="more" @click="imgclick('/static/i01.png')" alt="" />
                    <img src="/static/i02.png" class="more" alt="" />
@@ -95,66 +95,66 @@
            <view class="wbox2" v-if="msg.isEva==1">
                <view class="t">
                    执法评价
                </view>
                <template v-for="(item,index) in qlist">
                    <view class="sbox" v-if="item.questionType==2">
                        <view class="t2">
                            {{item.questionName}}
                        </view>
                        <view class="xbox">
                            <view>
                                <img src="/static/qiye/xing1.png" alt="" />
                                <view>
                                    很糟糕
                                </view>
                            </view>
                            <view>
                                <img v-if="item.getScore>=2" src="/static/qiye/xing1.png" alt="" />
                                <img v-else src="/static/qiye/xing2.png" alt="" />
                                <view :class="item.getScore==2?'hei':''">
                                    不满意
                                </view>
                            </view>
                            <view>
                                <img v-if="item.getScore>=3" src="/static/qiye/xing1.png" alt="" />
                                <img v-else src="/static/qiye/xing2.png" alt="" />
                                <view :class="item.getScore==3?'hei':''">
                                    一般般
                                </view>
                            </view>
                            <view>
                                <img v-if="item.getScore>=4" src="/static/qiye/xing1.png" alt="" />
                                <img v-else src="/static/qiye/xing2.png" alt="" />
                                <view :class="item.getScore==4?'hei':''">
                                    满意
                                </view>
                            </view>
                            <view>
                                <img v-if="item.getScore>=5" src="/static/qiye/xing1.png" alt="" />
                                <img v-else src="/static/qiye/xing2.png" alt="" />
                                <view :class="item.getScore==5?'hei':''">
                                    非常满意
                                </view>
                            </view>
                        </view>
                        <view class="line"></view>
                    </view>
                    <view class="sbox" v-if="item.questionType==1">
                        <view class="t2">
                            {{item.questionName}}
                        </view>
                        <u-radio-group v-model="item.remark">
                            <u-radio v-for="(aa, ii) in item.answerList" :key="ii" :name="aa.answerId"
                            :disabled="item.remark!=aa.answerId">
                                {{aa.answerName}}
                            </u-radio>
                        </u-radio-group>
                        <!-- <u-radio-group v-model="value">
                            <u-radio name="orange">选中</u-radio>
                            <u-radio name="1" :disabled="true">未选中</u-radio>
                        </u-radio-group> -->
                        <view class="line"></view>
                    </view>
                </view>
                <template v-for="(item,index) in qlist">
                    <view class="sbox" v-if="item.questionType==2">
                        <view class="t2">
                            {{item.questionName}}
                        </view>
                        <view class="xbox">
                            <view>
                                <img src="/static/qiye/xing1.png" alt="" />
                                <view>
                                    很糟糕
                                </view>
                            </view>
                            <view>
                                <img v-if="item.getScore>=2" src="/static/qiye/xing1.png" alt="" />
                                <img v-else src="/static/qiye/xing2.png" alt="" />
                                <view :class="item.getScore==2?'hei':''">
                                    不满意
                                </view>
                            </view>
                            <view>
                                <img v-if="item.getScore>=3" src="/static/qiye/xing1.png" alt="" />
                                <img v-else src="/static/qiye/xing2.png" alt="" />
                                <view :class="item.getScore==3?'hei':''">
                                    一般般
                                </view>
                            </view>
                            <view>
                                <img v-if="item.getScore>=4" src="/static/qiye/xing1.png" alt="" />
                                <img v-else src="/static/qiye/xing2.png" alt="" />
                                <view :class="item.getScore==4?'hei':''">
                                    满意
                                </view>
                            </view>
                            <view>
                                <img v-if="item.getScore>=5" src="/static/qiye/xing1.png" alt="" />
                                <img v-else src="/static/qiye/xing2.png" alt="" />
                                <view :class="item.getScore==5?'hei':''">
                                    非常满意
                                </view>
                            </view>
                        </view>
                        <view class="line"></view>
                    </view>
                    <view class="sbox" v-if="item.questionType==1">
                        <view class="t2">
                            {{item.questionName}}
                        </view>
                        <u-radio-group v-model="item.remark">
                            <u-radio v-for="(aa, ii) in item.answerList" :key="ii" :name="aa.answerId"
                            :disabled="item.remark!=aa.answerId">
                                {{aa.answerName}}
                            </u-radio>
                        </u-radio-group>
                        <!-- <u-radio-group v-model="value">
                            <u-radio name="orange">选中</u-radio>
                            <u-radio name="1" :disabled="true">未选中</u-radio>
                        </u-radio-group> -->
                        <view class="line"></view>
                    </view>
                </template>
                
                
@@ -169,16 +169,21 @@
            </view>
        </view>
        <view class="bottom" v-if="msg.orderStatus==3 || msg.orderStatus== 4">
            <view class="one" v-if="msg.isEva==1">
            <view class="one" v-if="msg.isComplaint != 1 && msg.isEva == 1">
                <view class="b1" @click="open()">
                    投诉
                </view>
            </view>
            <view class="two" v-if="msg.isEva==0">
                <view class="b2" @click="open()">
            <view class="two" v-if="msg.isComplaint != 1 && msg.isEva != 1">
                <view class="b2" @click="open()" >
                    投诉
                </view>
                <view class="b3" @click="pingjia()">
                    我要评价
                </view>
            </view>
            <view class="one" v-if="msg.isComplaint == 1 && msg.isEva != 1">
                <view class="b1" @click="pingjia()">
                    我要评价
                </view>
            </view>
@@ -193,11 +198,11 @@
                    <view class="font">
                        投诉主题
                    </view>
                    <view>
                        <u-radio-group v-model="complaintType">
                                                    <u-radio v-for="(aa, ii) in list" :key="ii" :name="aa.dictCode">
                                                        {{aa.dictLabel}}
                                                    </u-radio>
                    <view>
                        <u-radio-group v-model="complaintType">
                                                    <u-radio v-for="(aa, ii) in list" :key="ii" :name="aa.dictCode">
                                                        {{aa.dictLabel}}
                                                    </u-radio>
                                                </u-radio-group>
                    </view>
                    <view class="font">
@@ -215,65 +220,65 @@
    </view>
</template>
<script>
    import { order } from '@/api/index.js'
    import { getDicts } from '@/api/data.js'
    import { config } from '@/common/config'
<script>
    import { order } from '@/api/index.js'
    import { getDicts } from '@/api/data.js'
    import { config } from '@/common/config'
    import { orderComplaint } from '@/api/qiye.js'
    export default {
        data() {
            return {
                complaintType:'',
                complaintReason:'',
                id:'',
                msg:{},
                type:'',
                img:[],
            return {
                complaintType:'',
                complaintReason:'',
                id:'',
                msg:{},
                type:'',
                img:[],
                baseUrl: config.baseUrl,
                xing: 5,
                value: 'orange',
                //type: 2,
                show: false,
                list: [
                ],
                ],
                qlist:[]
            }
        },
        onLoad(options) {
            this.id = options.id
            //this.getdata(options.id)
            getDicts('complaint_type').then(val => {
                this.list = val.data.data
                console.log(this.list)
                // const value = val.data.data.find(item => item.dictCode == this.msg.enforceType)
                // this.type = value.dictLabel
            })
            this.getdata()
        },
        onShow(options) {
        },
        methods: {
            getdata(){
        onLoad(options) {
            this.id = options.id
            //this.getdata(options.id)
            getDicts('complaint_type').then(val => {
                this.list = val.data.data
                console.log(this.list)
                // const value = val.data.data.find(item => item.dictCode == this.msg.enforceType)
                // this.type = value.dictLabel
            })
            // this.getdata()
        },
        onShow(options) {
            this.getdata()
        },
        methods: {
            getdata(){
                order(this.id).then(val => {
                    this.msg = val.data.data
                    getDicts('enforce_type').then(val => {
                        const value = val.data.data.find(item => item.dictCode == this.msg.enforceType)
                        this.type = value.dictLabel
                    })
                    let arr = this.msg.regionImgs.split(",");
                    for(let i = 0;i<arr.length;i++){
                        this.img.push(this.baseUrl+arr[i])
                    }
                    this.qlist = this.msg.evaluateVo.questionList
                    for(let i = 0;i<this.qlist.length;i++){
                        if(this.qlist[i].questionType==1&&this.qlist[i].remark){
                            this.qlist[i].remark = Number(this.qlist[i].remark)
                        }
                    }
                })
                    })
                    let arr = this.msg.regionImgs.split(",");
                    for(let i = 0;i<arr.length;i++){
                        this.img.push(this.baseUrl+arr[i])
                    }
                    this.qlist = this.msg.evaluateVo.questionList
                    for(let i = 0;i<this.qlist.length;i++){
                        if(this.qlist[i].questionType==1&&this.qlist[i].remark){
                            this.qlist[i].remark = Number(this.qlist[i].remark)
                        }
                    }
                })
            },
            daxing(a) {
                this.xing = a
@@ -282,11 +287,11 @@
                uni.previewImage({
                    urls: [url]
                })
            },
            pingjia(){
                uni.navigateTo({
                    url: `/qiye/record/evaluate?id=${this.msg.orderId}`
                })
            },
            pingjia(){
                uni.navigateTo({
                    url: `/qiye/record/evaluate?id=${this.msg.orderId}`
                })
            },
            open() {
                this.show = true
@@ -296,34 +301,34 @@
                this.$emit('cancel')
            },
            entery() {
                this.$emit('entery')
                if(this.complaintType==''){
                    uni.showToast({
                        title: '请选择投诉主题',
                        icon: 'none'
                    })
                    return
                }
                if(this.complaintReason==''){
                    uni.showToast({
                        title: '请输入投诉内容',
                        icon: 'none'
                    })
                    return
                }
                let data = {
                    orderId:Number(this.id),
                    complaintType:this.complaintType,
                    complaintReason:this.complaintReason
                }
                console.log(data)
                //return;
                orderComplaint(data).then(val => {
                    uni.showToast({
                        title: '提交成功',
                        icon: 'none'
                    })
                    this.show = false
                this.$emit('entery')
                if(this.complaintType==''){
                    uni.showToast({
                        title: '请选择投诉主题',
                        icon: 'none'
                    })
                    return
                }
                if(this.complaintReason==''){
                    uni.showToast({
                        title: '请输入投诉内容',
                        icon: 'none'
                    })
                    return
                }
                let data = {
                    orderId:Number(this.id),
                    complaintType:this.complaintType,
                    complaintReason:this.complaintReason
                }
                console.log(data)
                //return;
                orderComplaint(data).then(val => {
                    uni.showToast({
                        title: '提交成功',
                        icon: 'none'
                    })
                    this.show = false
                })
            },
@@ -379,16 +384,19 @@
        }
        .imgbox {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-gap: 10rpx;
            // display: flex;
            // flex-wrap: wrap;
            // justify-content: space-between;
            border-radius: 10rpx;
            img {
                width: 198rpx;
                height: 198rpx;
                margin-bottom: 20rpx;
                border-radius: 10rpx;
            }
        }
    }
@@ -458,7 +466,7 @@
        margin-top: 20rpx;
        flex-wrap: wrap;
        .u-radio {
            margin-right: 20rpx;
            margin-right: 20rpx;
            margin-bottom: 20rpx;
        }
    }
@@ -521,10 +529,10 @@
    .page-box {
        padding: 24rpx 0;
        .font{
            color: #4a4e60;
            font-size: 32rpx;
            margin-top: 20rpx;
        .font{
            color: #4a4e60;
            font-size: 32rpx;
            margin-top: 20rpx;
        }
        .title1 {
            font-size: 36rpx;