whychdw
2020-07-13 94d8dfaedf379b922a58f482144273e8bedd916b
修改文件管理无法下载全部
5个文件已修改
24 ■■■■■ 已修改文件
src/components/chart/LineChart.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/batt-list/history-page.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/batt-list/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/batt-list/real-time-page.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/file/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/chart/LineChart.vue
@@ -149,6 +149,7 @@
                        realtime: false,
                        left: '0',
                        right: '8px',
                        fillerColor: 'rgba(167,183,204,0.1)',
                        dataBackground: {
                            lineStyle: {
                                color: '#15E3F3'
src/pages/batt-list/history-page.vue
@@ -170,6 +170,7 @@
                    if(isSetOption(config.title, pattern, match_type)) {
                        self.$set(self.options, config.id, {
                            num: value,
                            type: config.type,
                            title: config.title,
                            unit: config.unit,
                            height: "100%",
@@ -185,6 +186,7 @@
                                    smooth: true,
                                    symbolSize: 0,
                                    sampling: 'average',
                                    step: config.type == 1?'':'end',
                                    data: []
                                }]
                            }
@@ -300,6 +302,7 @@
                    smooth: true,
                    symbolSize: 0,
                    sampling: 'average',
                    step: option.type==1?'':'end',
                    data: []
                }];
            }
src/pages/batt-list/index.vue
@@ -109,7 +109,7 @@
                let tmp= {
                    id: 'chart'+index,
                    title: values[0],
                    type: values[1] == undefined?values[1]:0,
                    type: values[1] != undefined?values[1]:1,
                    unit: values[2]?values[2]:'',
                };
                result.push(tmp);
src/pages/batt-list/real-time-page.vue
@@ -84,9 +84,10 @@
        },
        changeOptions: function() {
            let self = this;
            let configs  = this.$store.state.batt.configs;
            let pattern = this.$store.state.batt.pattern;
            let match_type = this.$store.state.batt.match_type;
            let batt = this.$store.state.batt;
            let configs  = batt.configs;
            let pattern = batt.pattern;
            let match_type = batt.match_type;
            // 清空配置项
            this.clearOptions();
            this.$nextTick(function() {
@@ -96,6 +97,7 @@
                    if(isSetOption(config.title, pattern, match_type)) {
                        self.$set(self.options, config.id, {
                            num: value,
                            type: config.type,
                            title: config.title,
                            unit: config.unit,
                            height: '100%',
@@ -110,6 +112,7 @@
                                    type: 'line',
                                    smooth: true,
                                    symbolSize: 0,
                                    step: config.type==1?'':'end',
                                    sampling: 'average',
                                    data: []
                                }]
@@ -201,6 +204,7 @@
                    smooth: true,
                    symbolSize: 0,
                    sampling: 'average',
                    step: option.type==1?'': 'end',
                    data: []
                }];
            }
src/pages/file/index.vue
@@ -17,8 +17,8 @@
                <div class="pages-file">
                    <flex-layout>
                        <div class="btn_grp" slot="header">
                            <el-button type="primary" size="small"
                            icon="el-icon-plus" @click="downloadMult">下载</el-button>
                            <!-- <el-button type="primary" size="small"
                            icon="el-icon-plus" @click="downloadMult">下载</el-button> -->
                        </div>
                        <el-table
                        class="el-green"
@@ -27,11 +27,11 @@
                        border
                        @selection-change="selectChange"
                        size="mini">
                            <el-table-column
                            <!-- <el-table-column
                            align="center"
                            type="selection"
                            width="55">
                            </el-table-column>
                            </el-table-column> -->
                            <el-table-column
                            type="index"
                            label="编号"