#
zjj
2024-09-02 8edd23458c23880ca8b19d54f05e0afa35579ca4
#
1个文件已修改
25 ■■■■ 已修改文件
Monitor-APP/pages/home/home.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages/home/home.vue
@@ -262,7 +262,8 @@
                                    <swiper class="swiper-body-main" vertical="true" 
                                    display-multiple-items="8"
                                    circular="true" :autoplay="true" :interval="3000" :duration="1000">
                                        <swiper-item class="swiper-item" v-for="(item,i) in locs" :key="i">
                                        <swiper-item class="swiper-item" v-for="(item,i) in locs" :key="i"
                                        :style="item.color">
                                            <view style="width: 10%;">No:{{i+1}}</view>
                                            <view style="width: 12%;">{{item.orderNo ? item.orderNo : '--'}}</view>
                                            <view style="width: 12%;">{{item.wrkNo ? item.wrkNo : '--'}}</view>
@@ -473,10 +474,10 @@
            getVisualizedTest() {
                let that = this
                var result = ycqdata.dataInfo3
                console.log(result);
                // console.log(result);
                let res = result.data
                if (res.code === 200) {
                    console.log(res.data.agvWaitPakins);
                    // console.log(res.data.agvWaitPakins);
                    if (res.data.agvWrkDetls != null) {
                        that.locs = res.data.agvWrkDetls
                        if (res.data.agvWrkMast) {
@@ -520,15 +521,19 @@
                    success(res) {
                        res = res.data
                        that.result = res
                        if (res.code === 200) {
                            console.log(res.data.agvWaitPakins);
                        if (res.code === 200) {
                            if (res.data.agvWrkDetls != null) {
                                that.locs = res.data.agvWrkDetls
                                if (res.data.agvWrkMast) {
                                    if (res.data.agvWrkMast.ioType == 107) {
                                        that.infoText.title = '盘点出库'
                                    } else if (res.data.agvWrkMast.ioType == 103) {
                                        that.infoText.title = '拣料出库'
                                        that.infoText.title = '拣料出库'
                                        for (let k in that.locs) {
                                            if (that.locs[k].anfme == 0 || that.locs[k].anfme == null) {
                                                that.locs[k]['color'] = 'color: #df741c'
                                            }
                                        }
                                    } else if (res.data.agvWrkMast.ioType == 57) {
                                        that.infoText.title = '盘点再入库'
                                    } else if (res.data.agvWrkMast.ioType == 53) {
@@ -536,6 +541,8 @@
                                    } else if (res.data.agvWrkMast.ioType == 101) {
                                        that.infoText.title = '全板出库'
                                    } 
                                } else{
                                    that.infoText.title = '入库作业'
                                }
@@ -846,7 +853,7 @@
                    success(result) {
                        var res = result.data
                        if (res.code === 200) {
                            console.log(res.data.pie);
                            // console.log(res.data.pie);
                            that.chartsData.Pie.series[0].data = res.data.pie
                            that.baseInfo.longAllLoc = res.data.longAllLoc
                            that.baseInfo.shortAllLoc = res.data.shortAllLoc
@@ -904,6 +911,10 @@
        flex-direction: row;
    }
    
    .red {
            color: red
        }
    .container{
        width: 100vw;
        min-height: 100vh;