| | |
| | | }, |
| | | setData(sendData) { |
| | | this.$options.chartData = sendData; |
| | | var count = 70; |
| | | var count = sendData.count || 70; |
| | | var baseTop = 70; |
| | | var gridHeight = sendData.gridHeight || 80; |
| | | |
| | |
| | | </div> |
| | | </page-panel> |
| | | <page-panel title="数据列表" class="flex-page-content"> |
| | | <template slot="btnGrp"> |
| | | <!-- <template slot="btnGrp"> |
| | | <el-button type="primary" @click="resetParams" size="mini" icon="el-icon-download">导入</el-button> |
| | | <el-button type="danger" size="mini" icon="el-icon-delete">清空</el-button> |
| | | </template> |
| | | </template> --> |
| | | <el-table stripe size="mini" header-row-class-name="header-primary" height="100%" :data="table.datas" |
| | | v-loading="table.loading" element-loading-background="rgba(0, 0, 0, 0.8)"> |
| | | <el-table-column :prop="item.prop" :label="item.label" :width="item.width" :resizable="false" align="center" |
| | |
| | | 查询观察点 |
| | | <el-input type="text" v-model.trim="keyword" size="small" style="width:60px"></el-input> |
| | | 分钟内数据 |
| | | <el-button type="primary" size="mini" style="margin-left:20px;">查询</el-button> |
| | | <el-button type="primary" size="mini" style="margin-left:20px;" @click="search">查询</el-button> |
| | | </div> |
| | | </template> |
| | | <multiple-line id="MultipleLine" ref="MultipleLine"></multiple-line> |
| | |
| | | ThreeBtn, |
| | | MultipleLine |
| | | }, |
| | | methods: {}, |
| | | methods: { |
| | | search() { |
| | | let gridHeight = this.$refs.MultipleLine.$refs.chart.clientHeight / 7.7375; |
| | | this.$refs.MultipleLine.setData({ |
| | | gridHeight: gridHeight, |
| | | count: this.keyword * 60 |
| | | }) |
| | | } |
| | | }, |
| | | mounted() { |
| | | let gridHeight = this.$refs.MultipleLine.$refs.chart.clientHeight / 7.7375; |
| | | this.$refs.MultipleLine.setData({ |
| | | gridHeight: gridHeight |
| | | gridHeight: gridHeight, |
| | | count: 60 |
| | | }) |
| | | }, |
| | | beforeDestroy() { |
| | |
| | | <template> |
| | | <div class="params-container"> |
| | | <el-tree :data="data" show-checkbox default-expand-all node-key="id" ref="tree" highlight-current |
| | | :props="defaultProps" :check-strictly="true" :default-checked-keys="select" @check="checkeTree"> |
| | | :props="defaultProps" :default-checked-keys="select"> |
| | | </el-tree> |
| | | <div class="form-footer"> |
| | | <three-btn @click="undateMenu">完成</three-btn> |