From 8e4ff951902c832902f31ce406e57882b0bc5678 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Sat, 19 Aug 2023 11:55:27 +0800 Subject: [PATCH] =?UTF-8?q?ota=E7=BB=9F=E8=AE=A1=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 6 + jero-web/src/common/lang/zh-cn.js | 6 + .../otaAuthentication/components/detil.vue | 22 +- .../components/otastatus.vue | 483 ++++++++++++++++++ .../components/projectStatus.vue | 7 +- 5 files changed, 511 insertions(+), 13 deletions(-) create mode 100644 jero-web/src/views/projectManagement/components/otastatus.vue diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 0fe6b72b5..3dd09b104 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1942,4 +1942,10 @@ module.exports = { VDRDetails:'VDR Details', applicationprojectversion:'Application project version', selectlocked:'You can select only the data whose matching status is locked', + otastatus:'OTA status', + Matchingstatestatistics:'Matching state statistics', + OTaauthenticationprogressstatistics:'OTA authentication progress statistics', + tobematched:'To be matched', + Pendingapproval:'Pending approval', + lock:'lock', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 469fdcf69..32bd5a8e0 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -3898,4 +3898,10 @@ module.exports = { VDRDetails:'VDR详情', applicationprojectversion:'应用项目版本', selectlocked:'只能选择匹配状态为锁定的数据', + otastatus:'OTA状态', + Matchingstatestatistics:'匹配状态统计', + OTaauthenticationprogressstatistics:'OTA认证进度统计', + tobematched:'待匹配', + Pendingapproval:'待审批', + lock:'锁定', } \ No newline at end of file diff --git a/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue b/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue index 99dd80a76..293accb11 100644 --- a/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue +++ b/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue @@ -958,18 +958,16 @@ export default { this.$confirm({ content: _this.$t('notificationsent'), onOk() { - // let query = { - // configDataList: configDataList, - // paramsManifestId: _this.paramsManifest.id - // } - // postAction(_this.url.add, query).then((res) => { - // if (res.success) { - // _this.$message.success(_this.$t('OperationSuccessful')) - // _this.GetgetTableList() - // } else { - // _this.$message.warning(_this.$t('operationFailed')) - // } - // }) + let query = { + id: this.$route.query.plannedBpLaunchBatch + } + postAction('/ota/otaManageApplyEO/issueNotice', query).then((res) => { + if (res.success) { + _this.$message.success(_this.$t('OperationSuccessful')) + } else { + _this.$message.warning(_this.$t('operationFailed')) + } + }) } }) }, diff --git a/jero-web/src/views/projectManagement/components/otastatus.vue b/jero-web/src/views/projectManagement/components/otastatus.vue new file mode 100644 index 000000000..95ac9dfcb --- /dev/null +++ b/jero-web/src/views/projectManagement/components/otastatus.vue @@ -0,0 +1,483 @@ + + + + + \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/projectStatus.vue b/jero-web/src/views/projectManagement/components/projectStatus.vue index 0ebef98b0..c71874cfe 100644 --- a/jero-web/src/views/projectManagement/components/projectStatus.vue +++ b/jero-web/src/views/projectManagement/components/projectStatus.vue @@ -28,6 +28,9 @@ + + + @@ -37,6 +40,7 @@ import certificationActivity from './certificationActivity' import parameterCollectionProgress from './parameterCollectionProgress' import nonConformance from './nonConformance' + import otastatus from './otastatus' import { getAction, postAction } from '@/api/manage' export default { @@ -45,7 +49,8 @@ parameterCollectionProgress, regulatoryCompliance, certificationActivity, - nonConformance + nonConformance, + otastatus }, data() { return {