| | |
| | | <fks-button |
| | | style="margin-left: 10px" |
| | | type="primary" |
| | | icon="fks-icon-search" |
| | | @click="query" |
| | | >搜索</fks-button |
| | | > |
| | |
| | | <fks-button |
| | | style="margin-left: 10px" |
| | | type="primary" |
| | | icon="fks-icon-search" |
| | | @click="query" |
| | | >搜索</fks-button |
| | | > |
| | |
| | | <div class="dialogBottomLeft"> |
| | | <titleBoxVue style="background-color: #fff" title="历史数据图"> |
| | | </titleBoxVue> |
| | | <div id="chartLeft1" style="height: calc(100% - 40px)"></div> |
| | | <div id="chartLeftOnLineModel" style="height: calc(100% - 40px)"></div> |
| | | </div> |
| | | <div class="dialogBottomRight"> |
| | | <titleBoxVue style="background-color: #fff" title="趋势预警图"> |
| | | </titleBoxVue> |
| | | <div id="chartRight33" style="height: calc(100% - 40px)"></div> |
| | | <div id="chartRightOnLineModel" style="height: calc(100% - 40px)"></div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | nextName |
| | | }}</fks-button> |
| | | </div> |
| | | |
| | | |
| | | |
| | | <fks-dialog |
| | | title="生成预警记录" |
| | | width="400px" |
| | | :visible.sync="finishTreadVisible" |
| | | > |
| | | <fks-form :model="finishTreadForm" label-width="80px"> |
| | | <fks-form-item label="说明"> |
| | | <fks-input |
| | | type="textarea" |
| | | :rows="4" |
| | | autocomplete="off" |
| | | v-model="finishTreadForm.note" |
| | | > |
| | | </fks-input> |
| | | </fks-form-item> |
| | | </fks-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <fks-button @click="finishTreadVisible = false">取 消</fks-button> |
| | | <fks-button type="primary" @click="finishTreadRecord">确 定</fks-button> |
| | | </div> |
| | | </fks-dialog> |
| | | |
| | | |
| | | </div> |
| | |
| | | treeData1: treeData1, |
| | | currentNodeKey: "s1", |
| | | defaultExpandedKeys: ["s1"], |
| | | |
| | | FaultReportForm: { |
| | | name: "测试01", |
| | | station: "测试01", |
| | | product: "1#泵", |
| | | fault: "水泵无法启动", |
| | | model: "模型01", |
| | | username: "管理员", |
| | | date: "2023-1-1", |
| | | note: "", |
| | | }, |
| | | fangxiang: [ |
| | | { |
| | | value: "1", |
| | |
| | | fangxiang: "正向", |
| | | userName: "专家", |
| | | }, |
| | | finishTreadForm:{ |
| | | note:'' |
| | | }, |
| | | finishTreadVisible:false, |
| | | }; |
| | | }, |
| | | created() {}, |
| | |
| | | if (m_chartMain1) { |
| | | m_chartMain1.clear(); |
| | | } |
| | | m_chartMain1 = echarts.init(document.getElementById("chartLeft1")); |
| | | m_chartMain1 = echarts.init(document.getElementById("chartLeftOnLineModel")); |
| | | |
| | | let m_unitName = "MPa"; |
| | | let m_recordName = "压力"; |
| | |
| | | if (m_chartQH1) { |
| | | m_chartQH1.clear(); |
| | | } |
| | | m_chartQH1 = echarts.init(document.getElementById("chartRight33")); |
| | | m_chartQH1 = echarts.init(document.getElementById("chartRightOnLineModel")); |
| | | |
| | | let QH = []; |
| | | let data = [ |
| | |
| | | gobackActiveIndex() { |
| | | this.activeIndex = 0; |
| | | }, |
| | | |
| | | finishTreadRecord(){ |
| | | this.finishTreadVisible=false; |
| | | this.activeIndex = 3 |
| | | setTimeout(() => { |
| | | this.initChartLeft1(testData.recordData.Data); |
| | | this.initChartRight1(); |
| | | }, 300); |
| | | }, |
| | | next() { |
| | | if(this.activeIndex===2){ |
| | | this.finishTreadVisible=true; |
| | | return |
| | | } |
| | | this.activeIndex++; |
| | | if(this.activeIndex===2){ |
| | | setTimeout(() => { |
| | |
| | | this.initChartRight(); |
| | | }, 300); |
| | | } |
| | | if(this.activeIndex===3){ |
| | | setTimeout(() => { |
| | | this.initChartLeft1(testData.recordData.Data); |
| | | this.initChartRight1(); |
| | | }, 300); |
| | | } |
| | | |
| | | }, |
| | | query() { |
| | | console.log(this.searchWord, 105); |