diff --git a/src/views/statistics/detail.vue b/src/views/statistics/detail.vue index fa155db..c832163 100644 --- a/src/views/statistics/detail.vue +++ b/src/views/statistics/detail.vue @@ -867,6 +867,7 @@ export default { padding: 0 12px; margin-left: 20px; background-color: #1397a3; + cursor: pointer; .icon-download{ width: 16px; height: 19px; diff --git a/src/views/statistics/fileDetail.vue b/src/views/statistics/fileDetail.vue index deb8101..f995916 100644 --- a/src/views/statistics/fileDetail.vue +++ b/src/views/statistics/fileDetail.vue @@ -143,6 +143,7 @@ export default { padding: 0 12px; margin-left: 20px; background-color: #1397a3; + cursor: pointer; .icon-download{ width: 16px; height: 19px; diff --git a/src/views/statistics/imsData/met/index.vue b/src/views/statistics/imsData/met/index.vue index 38577eb..6a27925 100644 --- a/src/views/statistics/imsData/met/index.vue +++ b/src/views/statistics/imsData/met/index.vue @@ -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 { diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/calibphd.vue b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/calibphd.vue index e47091f..247ff4c 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/calibphd.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/calibphd.vue @@ -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) } + }) }, }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/detbkphd.vue b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/detbkphd.vue index 4d9519e..083b424 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/detbkphd.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/detbkphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/qcphd.vue b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/qcphd.vue index 2fde8e7..c4c4387 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/qcphd.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/qcphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/sphdf.vue b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/sphdf.vue index c213a9d..65892a7 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/sphdf.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/sphdf.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/sphdp.vue b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/sphdp.vue index 7b07e9f..0133433 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/sphdp.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/betaGamma/sphdp.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/calibphd.vue b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/calibphd.vue index b0d44ba..07e5a41 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/calibphd.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/calibphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/detbkphd.vue b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/detbkphd.vue index dda6423..3d39f54 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/detbkphd.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/detbkphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/qcphd.vue b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/qcphd.vue index 0ec933c..60d1dad 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/qcphd.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/qcphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/sphdf.vue b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/sphdf.vue index ca91a9f..14612da 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/sphdf.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/sphdf.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/sphdp.vue b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/sphdp.vue index e683ab2..8aae34c 100644 --- a/src/views/statistics/imsData/radionuclide/nobleGas/hpge/sphdp.vue +++ b/src/views/statistics/imsData/radionuclide/nobleGas/hpge/sphdp.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/particulate/blankphd.vue b/src/views/statistics/imsData/radionuclide/particulate/blankphd.vue index 7445939..0a5f8cf 100644 --- a/src/views/statistics/imsData/radionuclide/particulate/blankphd.vue +++ b/src/views/statistics/imsData/radionuclide/particulate/blankphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/particulate/calibphd.vue b/src/views/statistics/imsData/radionuclide/particulate/calibphd.vue index c82c691..35471ba 100644 --- a/src/views/statistics/imsData/radionuclide/particulate/calibphd.vue +++ b/src/views/statistics/imsData/radionuclide/particulate/calibphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/particulate/detbkphd.vue b/src/views/statistics/imsData/radionuclide/particulate/detbkphd.vue index 30c7ccd..fd5981e 100644 --- a/src/views/statistics/imsData/radionuclide/particulate/detbkphd.vue +++ b/src/views/statistics/imsData/radionuclide/particulate/detbkphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/particulate/qcphd.vue b/src/views/statistics/imsData/radionuclide/particulate/qcphd.vue index 85f1d30..fba0385 100644 --- a/src/views/statistics/imsData/radionuclide/particulate/qcphd.vue +++ b/src/views/statistics/imsData/radionuclide/particulate/qcphd.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/particulate/sphdf.vue b/src/views/statistics/imsData/radionuclide/particulate/sphdf.vue index cd536c8..0e7ae9b 100644 --- a/src/views/statistics/imsData/radionuclide/particulate/sphdf.vue +++ b/src/views/statistics/imsData/radionuclide/particulate/sphdf.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/radionuclide/particulate/sphdp.vue b/src/views/statistics/imsData/radionuclide/particulate/sphdp.vue index fc278a1..475e19c 100644 --- a/src/views/statistics/imsData/radionuclide/particulate/sphdp.vue +++ b/src/views/statistics/imsData/radionuclide/particulate/sphdp.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/stateOfHealth/alerts.vue b/src/views/statistics/imsData/stateOfHealth/alerts.vue index bf38ece..bb0f62a 100644 --- a/src/views/statistics/imsData/stateOfHealth/alerts.vue +++ b/src/views/statistics/imsData/stateOfHealth/alerts.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsData/stateOfHealth/rmssoh.vue b/src/views/statistics/imsData/stateOfHealth/rmssoh.vue index 8b848e8..f79c00b 100644 --- a/src/views/statistics/imsData/stateOfHealth/rmssoh.vue +++ b/src/views/statistics/imsData/stateOfHealth/rmssoh.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsProducts/arr/index.vue b/src/views/statistics/imsProducts/arr/index.vue index c848852..09c399f 100644 --- a/src/views/statistics/imsProducts/arr/index.vue +++ b/src/views/statistics/imsProducts/arr/index.vue @@ -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) } }) }, diff --git a/src/views/statistics/imsProducts/rrr/index.vue b/src/views/statistics/imsProducts/rrr/index.vue index d0182d7..5c15a01 100644 --- a/src/views/statistics/imsProducts/rrr/index.vue +++ b/src/views/statistics/imsProducts/rrr/index.vue @@ -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) } }) }, diff --git a/src/views/statistics/list.vue b/src/views/statistics/list.vue index 168183f..a884535 100644 --- a/src/views/statistics/list.vue +++ b/src/views/statistics/list.vue @@ -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) } }) },