| | |
| | | </div> |
| | | <div class="page-right"> |
| | | <span>{{$store.state.login.username}} </span>| |
| | | <span>修改密码 </span>| |
| | | <!-- <span>修改密码 </span>| --> |
| | | <router-link tag="span" to="/login">退出登录</router-link> |
| | | </div> |
| | | </div> |
| | |
| | | <template> |
| | | <div class="chart-container" :style="getStyle"> |
| | | <div class="chart-content-container" :class="{'chart-content-fixed':isFull}"> |
| | | <div class="chart-container" :style="getStyle" > |
| | | <div class="chart-content-container" |
| | | @mouseenter="mouseEnter" |
| | | @mouseleave="mouseLeave" |
| | | :class="{'chart-content-fixed':isFull}"> |
| | | <div class="chart-content" :id="id"></div> |
| | | <!-- <div class="chart-tools"> |
| | | <i class="iconfont icon-biaoge"></i> |
| | |
| | | this.$nextTick(()=>{ |
| | | this.chart.resize(); |
| | | }); |
| | | } |
| | | }, |
| | | mouseEnter() { |
| | | console.log(123); |
| | | }, |
| | | mouseLeave() { |
| | | console.log(456); |
| | | }, |
| | | }, |
| | | computed: { |
| | | getStyle(){ |
| | |
| | | <input type="hidden" name="PageName" value="history"/> |
| | | <input type="hidden" name="echart" v-model="base64" /> |
| | | <input type="hidden" name="dev_name" v-model="dev_name" /> |
| | | <input type="hidden" name="table_name" v-model="table_name"> |
| | | <input type="hidden" name="table_name" v-model="getTableName"> |
| | | <input type="hidden" name="state" v-model="getState" /> |
| | | <input type="hidden" name="dis" v-model="allData"> |
| | | </form> |
| | |
| | | }, |
| | | base64: '', |
| | | dev_name: '', |
| | | table_name: '', |
| | | allData: [], |
| | | action: action, |
| | | } |
| | |
| | | let checkFormResult = this.checkFromData(); |
| | | if(checkFormResult.code == 1) { |
| | | let chart = ''; |
| | | this.table_name = checkFormResult.data.table_name; |
| | | // 设置配置项 |
| | | for(let key in this.options) { |
| | | if(this.options[key].show) { |
| | |
| | | getState() { |
| | | return this.showChartTitle.join(','); |
| | | }, |
| | | getTableName() { |
| | | return new Date(this.record_time).format("yyyy-MM-dd")+'-' |
| | | +new Date(this.record_time1).format("yyyy-MM-dd"); |
| | | }, |
| | | }, |
| | | mounted() { |
| | | let self = this; |
| | |
| | | result[index].children.push(_data); |
| | | } |
| | | } |
| | | console.log(result[0].children); |
| | | this.treeData = result; |
| | | }, |
| | | checkDataInTree(list, data) { |
| | |
| | | @focus="focus"> |
| | | </el-input> |
| | | </div> |
| | | <div class="input-item"> |
| | | <!-- <div class="input-item"> |
| | | <el-input |
| | | v-model="user.password" |
| | | type="password" |
| | | placeholder="请输入密码" |
| | | prefix-icon="el-icon-lock" |
| | | clearable |
| | | :disabled="true" |
| | | @focus="focus"> |
| | | </el-input> |
| | | </div> |
| | | </div> --> |
| | | <!-- <div class="flex-row"> |
| | | <div class="input-item"> |
| | | <el-input |