按钮增加手型样式,请求增加错误提示代码
This commit is contained in:
parent
33cd3ff58d
commit
98179100dd
|
@ -867,6 +867,7 @@ export default {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
background-color: #1397a3;
|
background-color: #1397a3;
|
||||||
|
cursor: pointer;
|
||||||
.icon-download{
|
.icon-download{
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
|
|
|
@ -143,6 +143,7 @@ export default {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
background-color: #1397a3;
|
background-color: #1397a3;
|
||||||
|
cursor: pointer;
|
||||||
.icon-download{
|
.icon-download{
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
|
|
|
@ -137,6 +137,8 @@ export default {
|
||||||
this.ipagination.pageSize = res.result.size
|
this.ipagination.pageSize = res.result.size
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -82,11 +82,16 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -77,11 +77,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -77,11 +77,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -78,11 +78,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -78,11 +78,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas Beta-Gamma' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -82,11 +82,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -77,11 +77,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -77,11 +77,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -78,11 +78,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -78,11 +78,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Noble Gas HPGe' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -102,9 +102,7 @@ export default {
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
list: '/webStatistics/findParticulatePage',
|
list: '/webStatistics/findParticulatePage',
|
||||||
delete: '/gardsSampleData/deleteById',
|
|
||||||
findStationList: '/webStatistics/findStationList',
|
findStationList: '/webStatistics/findStationList',
|
||||||
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
|
|
||||||
},
|
},
|
||||||
stationList: [],
|
stationList: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
|
@ -153,6 +151,8 @@ export default {
|
||||||
this.ipagination.pageSize = res.result.size
|
this.ipagination.pageSize = res.result.size
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -173,11 +173,15 @@ export default {
|
||||||
},
|
},
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSelectChange(val) {
|
handleSelectChange(val) {
|
||||||
|
|
|
@ -82,11 +82,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -77,11 +77,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -77,11 +77,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -78,11 +78,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -78,11 +78,15 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: 'Particulate' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -126,6 +126,8 @@ export default {
|
||||||
this.ipagination.pageSize = res.result.size
|
this.ipagination.pageSize = res.result.size
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
@ -134,11 +136,15 @@ export default {
|
||||||
},
|
},
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: '' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: '' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSelectChange(val) {
|
handleSelectChange(val) {
|
||||||
|
|
|
@ -137,6 +137,8 @@ export default {
|
||||||
this.ipagination.pageSize = res.result.size
|
this.ipagination.pageSize = res.result.size
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
@ -145,11 +147,15 @@ export default {
|
||||||
},
|
},
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: '' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: '' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSelectChange(val) {
|
handleSelectChange(val) {
|
||||||
|
|
|
@ -137,6 +137,8 @@ export default {
|
||||||
this.ipagination.pageSize = res.result.size
|
this.ipagination.pageSize = res.result.size
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
@ -145,6 +147,7 @@ export default {
|
||||||
},
|
},
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: '' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: '' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
// 进入页面自动查询
|
// 进入页面自动查询
|
||||||
|
@ -154,6 +157,9 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSelectChange(val) {
|
handleSelectChange(val) {
|
||||||
|
|
|
@ -137,6 +137,8 @@ export default {
|
||||||
this.ipagination.pageSize = res.result.size
|
this.ipagination.pageSize = res.result.size
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
@ -145,6 +147,7 @@ export default {
|
||||||
},
|
},
|
||||||
findStationList() {
|
findStationList() {
|
||||||
getAction(this.url.findStationList, { menuName: '' }).then((res) => {
|
getAction(this.url.findStationList, { menuName: '' }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
if (res.result.length>0) {
|
if (res.result.length>0) {
|
||||||
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId }))
|
||||||
// 进入页面自动查询
|
// 进入页面自动查询
|
||||||
|
@ -154,6 +157,9 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.stationList=[]
|
this.stationList=[]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSelectChange(val) {
|
handleSelectChange(val) {
|
||||||
|
|
|
@ -107,6 +107,8 @@ export default {
|
||||||
this.ipagination.pageSize = res.result.size
|
this.ipagination.pageSize = res.result.size
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user