|
@@ -118,7 +118,16 @@ export default {
|
|
|
fileStatus: '',
|
|
|
fileDescribe: '',
|
|
|
dataSources: '',
|
|
|
- dataSourcesList: [],
|
|
|
+ dataSourcesList: [
|
|
|
+ {
|
|
|
+ value: 'E1',
|
|
|
+ label: '场站端'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 'E2',
|
|
|
+ label: '中心端'
|
|
|
+ },
|
|
|
+ ],
|
|
|
fileDescribeList: [
|
|
|
{
|
|
|
value: 'null',
|
|
@@ -160,7 +169,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- this.getDataSourcesEnum()
|
|
|
+ // this.getDataSourcesEnum()
|
|
|
this.getAllFileType()
|
|
|
this.getFileTypeInfo()
|
|
|
|
|
@@ -195,11 +204,11 @@ export default {
|
|
|
const s = (date.getSeconds() < 10 ? '0' : '') + date.getSeconds()
|
|
|
return Y + M + D + h + m + s
|
|
|
},
|
|
|
- getDataSourcesEnum() {
|
|
|
- this.$axios.get("/enumSelect/dataSourcesEnum").then(response => {
|
|
|
- this.dataSourcesList = response.data
|
|
|
- })
|
|
|
- },
|
|
|
+ // getDataSourcesEnum() {
|
|
|
+ // this.$axios.get("/enumSelect/dataSourcesEnum").then(response => {
|
|
|
+ // this.dataSourcesList = response.data
|
|
|
+ // })
|
|
|
+ // },
|
|
|
getStationCode() {
|
|
|
this.$axios({url: '/electricfield/all', method: 'get'}).then(response => {
|
|
|
this.stationList = response.data
|