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