assetsPublicPath: '/', | assetsPublicPath: '/', | ||||
proxyTable: { | proxyTable: { | ||||
'/api': { | '/api': { | ||||
target: 'http://nanjing.yunhengwang.net/api', | |||||
target: 'http://nanjing.yunhengwang.com/api', | |||||
changeOrigin: true, | changeOrigin: true, | ||||
secure: false, | secure: false, | ||||
pathRewrite: { | pathRewrite: { |
}, | }, | ||||
detail(row) { | detail(row) { | ||||
this.id=row.id | this.id=row.id | ||||
this.detailVisible=true | |||||
this.detailVisible=true | |||||
}, | }, | ||||
indexMethod(index) { | indexMethod(index) { | ||||
return index + 1 + (this.currentPage - 1) * this.pageSize; | return index + 1 + (this.currentPage - 1) * this.pageSize; |
<template> | <template> | ||||
<el-dialog :close-on-press-escape="false" :close-on-click-modal="false" center :visible.sync="visible" | |||||
<el-dialog center :visible.sync="visible" | |||||
title="趋势图"> | title="趋势图"> | ||||
<div class="line" id="line"></div> | <div class="line" id="line"></div> | ||||
<span slot="footer" class="dialog-footer"> | <span slot="footer" class="dialog-footer"> |