New file |
| | |
| | | export default { |
| | | http:process.env.NODE_ENV == 'dev'? |
| | | 'http://localhost:8919/Equip_System/':'', |
| | | }; |
| | |
| | | import "echarts/lib/component/title"; |
| | | //引入图例标志 |
| | | import "echarts/lib/component/legend"; |
| | | //区域缩放 |
| | | import "echarts/lib/component/dataZoom"; |
| | | // 引入自定义主题 |
| | | import "./theme/transparent" |
| | | |
| | |
| | | { |
| | | type: 'inside', |
| | | xAxisIndex: [0], |
| | | zoomLock: true, |
| | | start: 0, |
| | | end: 35 |
| | | end: 10 |
| | | }, |
| | | ], |
| | | series: [] |
| | |
| | | import App from './App.vue' |
| | | import router from './router' |
| | | import store from './store' |
| | | import config from './assets/js/config' |
| | | import './api' |
| | | import ElementUI from 'element-ui' |
| | | import 'element-ui/lib/theme-chalk/index.css' |
| | |
| | | ("00"+ o[k]).substr((""+ o[k]).length)); |
| | | return format; |
| | | }; |
| | | // 挂载配置 |
| | | Vue.prototype.$config = config; |
| | | |
| | | new Vue({ |
| | | router, |
| | |
| | | </el-drawer> |
| | | <form |
| | | ref="export" |
| | | action="http://localhost:8919/Equip_System/ExportTable.servlet" |
| | | :action="action" |
| | | method="post" |
| | | enctype="multipart/form-data"> |
| | | <input type="hidden" name="PageName" value="history"/> |
| | |
| | | ChartConfigs, |
| | | }, |
| | | data() { |
| | | // 配置导出的action |
| | | let action = this.$config.http+'ExportTable.servlet'; |
| | | |
| | | return { |
| | | form: { |
| | | test_type: '', |
| | |
| | | base64: '', |
| | | dev_name: '', |
| | | allData: [], |
| | | action: action, |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | </div> |
| | | <form |
| | | ref="export" |
| | | action="http://localhost:8919/Equip_System/ExportTable.servlet" |
| | | :action="action" |
| | | method="post" |
| | | enctype="multipart/form-data"> |
| | | <input type="hidden" name="PageName" value="fileout"/> |
| | |
| | | MyTree |
| | | }, |
| | | data() { |
| | | // 配置导出的action |
| | | let action = this.$config.http+'ExportTable.servlet'; |
| | | |
| | | return { |
| | | curDevId: '', |
| | | curDevName: '', |
| | | tableName: '', |
| | | states: '', |
| | | treeData: [], |
| | | tableData: [] |
| | | tableData: [], |
| | | action: action, |
| | | } |
| | | }, |
| | | mounted () { |