|
@@ -3,6 +3,7 @@
|
|
<div>
|
|
<div>
|
|
<span style="font-weight: bold;font-size: 14px">文件生成日期:</span>
|
|
<span style="font-weight: bold;font-size: 14px">文件生成日期:</span>
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
|
+ style="width:150px"
|
|
v-model="dataTime"
|
|
v-model="dataTime"
|
|
type="date"
|
|
type="date"
|
|
placeholder="选择日期"
|
|
placeholder="选择日期"
|
|
@@ -10,12 +11,12 @@
|
|
@change="seachLogInfo"
|
|
@change="seachLogInfo"
|
|
/>
|
|
/>
|
|
<span style="font-weight: bold;font-size: 14px">场站名称:</span>
|
|
<span style="font-weight: bold;font-size: 14px">场站名称:</span>
|
|
- <el-select v-model="stationCode" size="small">
|
|
|
|
|
|
+ <el-select style="width:250px" v-model="stationCode" size="small">
|
|
<el-option
|
|
<el-option
|
|
v-for="item in stationList"
|
|
v-for="item in stationList"
|
|
:key="item.stationCode"
|
|
:key="item.stationCode"
|
|
:label="item.name"
|
|
:label="item.name"
|
|
- :value="item.id"
|
|
|
|
|
|
+ :value="item.stationCode"
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
<span style="font-weight: bold;font-size: 14px">上报对象:</span>
|
|
<span style="font-weight: bold;font-size: 14px">上报对象:</span>
|
|
@@ -260,6 +261,7 @@ export default {
|
|
this.uploadProtocolEnum = res[3]
|
|
this.uploadProtocolEnum = res[3]
|
|
this.fileTypeEnum = res[4]
|
|
this.fileTypeEnum = res[4]
|
|
this.stationList = res[5]
|
|
this.stationList = res[5]
|
|
|
|
+ console.log(res[5])
|
|
this.updateFilterEvent()
|
|
this.updateFilterEvent()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -340,10 +342,11 @@ export default {
|
|
getStationList() {
|
|
getStationList() {
|
|
const a = this.$axios
|
|
const a = this.$axios
|
|
return new Promise(function(resolve, reject) {
|
|
return new Promise(function(resolve, reject) {
|
|
- a.get('/uploadObject/getFileType').then(res => {
|
|
|
|
|
|
+ a.get('/electricField/getElectricField').then(res => {
|
|
resolve(res.data)
|
|
resolve(res.data)
|
|
}).catch((error) => {
|
|
}).catch((error) => {
|
|
- this.$message.error('获取上报文件类型出错' + error)
|
|
|
|
|
|
+ alert(error)
|
|
|
|
+ this.$message.error('获取场站下拉框出错' + error)
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|