| | |
| | | } |
| | | /* 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); |
| | |
| | | realTimeData['chart'+index] = value; |
| | | }); |
| | | return realTimeData; |
| | | }).reverse(); |
| | | }).reverse().slice(0,21); |
| | | |
| | | // 开始查询实时数据 |
| | | this.startSearchRealData(); |
| | |
| | | |
| | | // 添加表格数据 |
| | | 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); |
| | |
| | | <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> |
| | |
| | | </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" |
| | |
| | | action: action, |
| | | // 当前选择行的数据 对象数组 |
| | | selection: [], |
| | | updateParams: { |
| | | show: false, |
| | | }, |
| | | } |
| | | }, |
| | | mounted () { |
| | |
| | | // 行勾选状态变化 |
| | | selectChange (selection) { |
| | | this.selection = selection; |
| | | } |
| | | }, |
| | | updateParamsClosed() { |
| | | |
| | | }, |
| | | } |
| | | } |
| | | </script> |