whychdw
2020-07-17 37610f15c701ca6db1f0cc0ebbaf00ce3178d4fe
提交内容
3个文件已修改
37 ■■■■ 已修改文件
src/assets/css/m-element-ui.css 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/batt-list/real-time-page.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/file/index.vue 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/m-element-ui.css
@@ -207,6 +207,7 @@
}
/* el dialog */
.el-dialog__header {
    font-size: 0.16rem;
    border-bottom: 0.01rem solid #EBEEF5;
    padding: 10px 20px;
    background-image: linear-gradient(#62b0fa, #3497f3, #1660B9);
src/pages/batt-list/real-time-page.vue
@@ -240,7 +240,7 @@
                    realTimeData['chart'+index] = value;
                });
                return realTimeData;
            }).reverse();
            }).reverse().slice(0,21);
            // 开始查询实时数据
            this.startSearchRealData();
@@ -350,7 +350,7 @@
            // 添加表格数据
            if(this.tbl.tbData[0].record_time != realTimeData.record_time) {
                if(this.tbl.tbData >= 100) {
                if(this.tbl.tbData >= 20) {
                    this.tbl.tbData.pop();
                }
                this.tbl.tbData.unshift(realTimeData);
src/pages/file/index.vue
@@ -12,7 +12,23 @@
            <content-box class="content-box"
            :title-left=true>
                <div class="whyc-breadcrumb" slot="title">
                    当前位置:文件管理
                    <flex-layout direction="row">
                        当前位置:文件管理
                        <div slot="footer">
                            <el-popover
                            placement="bottom"
                            :width="180"
                            trigger="click">
                                <div class="center">
                                    <el-button type="primary" size="mini">查看文件</el-button>
                                    <el-button type="primary" size="mini"
                                    v-if="$store.state.login.username == 'superuser'"
                                    @click="updateParams.show=true">参数设置</el-button>
                                </div>
                                <el-button slot="reference" type="success" size="mini">FTP管理</el-button>
                            </el-popover>
                        </div>
                    </flex-layout>
                </div>
                <div class="pages-file">
                    <flex-layout>
@@ -63,6 +79,12 @@
                </div>
            </content-box>
        </div>
        <el-dialog class="el-dialog-center" top="0vh" v-cloak title='FTP参数设置'
        :visible.sync="updateParams.show" width="5.2rem"
        :close-on-click-modal=false
        @closed="updateParamsClosed">
        </el-dialog>
        <form
        ref="export" 
        :action="action" 
@@ -103,6 +125,9 @@
            action: action,
            // 当前选择行的数据 对象数组
            selection: [],
            updateParams: {
                show: false,
            },
        }
    },
    mounted () {
@@ -239,7 +264,10 @@
        // 行勾选状态变化
        selectChange (selection) {
            this.selection = selection;
        }
        },
        updateParamsClosed() {
        },
    }
}
</script>