1
lzhe
2024-11-24 ba70879e87a8377fe8a7f3dffad9e2b119bd695a
1
已修改3个文件
27 ■■■■ 文件已修改
src/views/mdc/components/process-charts.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/first-workpiece-detail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/first-workpiece.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/components/process-charts.vue
@@ -21,14 +21,31 @@
                //     }
                // },
                grid: {
                    left: 20,
                    left: 0,
                    right: 0,
                    width: "100%"
                },
                xAxis: {
                    type: 'value',
                    min: 0,
                    max: 24, // 根据需要调整最大值
                    boundaryGap: [0, 0.01], // 留出一点空间
                    axisLabel: {
                        show: false,
                        margin: 0
                    },
                    splitLine: {
                        show: false
                    },
                    minorSplitLine: {
                        show: false
                    },
                    splitArea: {
                        show: false
                    },
                    axisTick: {
                        show: false
                    },
                    boundaryGap: false, // 留出一点空间
                },
                yAxis: {
                    type: 'category',
@@ -49,7 +66,7 @@
        // ]
        var arr = [];
        for(var i=0;i<24;i++) {
            var obj = {name: '空闲时间',type: 'bar',stack: 'total',itemStyle: {color: '#fdff85'},data: [1]};
            var obj = {name: '空闲时间',type: 'bar',stack: 'total',barCategoryGap: '0',barGap: '-100%',itemStyle: {color: '#fdff85'},data: [1]};
            if(Math.random() >= 0.5) {
                obj.itemStyle.color = "#fdff85";
            }else {
src/views/mdc/first-workpiece-detail.vue
@@ -102,7 +102,7 @@
        width: 80px;
    }
    .detailModel > div > div:nth-child(2) {
        flex: 1;
        flex:1;
    }
    .detailModel {
        padding-left: 16px;
src/views/mdc/first-workpiece.vue
@@ -47,7 +47,7 @@
                            <el-date-picker v-model="searchInfo.time" type="date" placeholder="选择日期"></el-date-picker>
                          </el-form-item>
                        </el-form>
                        <div style="text-align: center;"><el-button type="primary">主要按钮</el-button></div>
                        <div style="text-align: center;"><el-button type="primary">查询</el-button></div>
                    </el-main>
                    <el-main>
                        <el-radio-group v-model="tabPosition" style="margin-bottom: 12px;">