From bb106f3f9df4cae051602f7454e1f2e484ba379c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Fri, 20 Oct 2023 15:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E4=BB=B6=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=94=B5=E6=B1=A0=E5=A4=87=E6=A1=88=E8=AE=B0=E5=BD=95=E5=8D=95?= =?UTF-8?q?=E7=8B=AC=E6=89=93=E5=BC=80=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/vdrDetial.vue | 6 +- .../components/ProjectDetails.vue | 34 +- .../components/addModel.vue | 672 +++++++++--------- .../components/editBattery.vue | 587 +++++++++++++++ 4 files changed, 951 insertions(+), 348 deletions(-) create mode 100644 jero-web/src/views/projectManagement/platformItemLibraryDetails/components/editBattery.vue diff --git a/jero-web/src/views/otamanagement/otaAuthentication/components/vdrDetial.vue b/jero-web/src/views/otamanagement/otaAuthentication/components/vdrDetial.vue index 4a0f80e98..96445b1a0 100644 --- a/jero-web/src/views/otamanagement/otaAuthentication/components/vdrDetial.vue +++ b/jero-web/src/views/otamanagement/otaAuthentication/components/vdrDetial.vue @@ -17,7 +17,7 @@
{{'VDR'}} + @click="vdrClick(form.vdr)" :title="form.vdr"> {{form.vdr}}
@@ -198,8 +198,8 @@ isEdit() { this.disabled = false }, - vdrClick() { - window.open('http://jira.nioint.com/browse/issue_key') + vdrClick(row) { + window.open('http://jira.nioint.com/browse/' + row) } } } diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/ProjectDetails.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/ProjectDetails.vue index 814d1e483..0fa5b81cd 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/ProjectDetails.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/ProjectDetails.vue @@ -14,6 +14,12 @@
+
+ {{$t('platformType')}} + {{queryForm.platformType}} +
{{$t('power')}} {{queryForm.producer}}
+
+
{{$t('targetMarket')}} {{queryForm.targetMarket_dictText}}
-
-
{{$t('brand')}} {{queryForm.projectStatus_dictText}}
+
+
{{$t('statisticalNodes')}} {{queryForm.dutyDepart}}
-
-
{{$t('regulatoryEngineer')}} {{queryForm.engineeringInterfacePersonName}}
+
+
- {{$t('platformType')}} + {{$t('Batteryfilingrecord')}} {{queryForm.platformType}} + @click="editBattery" + style="color: #00B3BE;cursor: pointer" + :title="$t('edit')" + >{{$t('edit')}}
@@ -140,6 +150,7 @@ +
@@ -151,6 +162,7 @@ import complianceCertificationForm from './complianceCertificationForm' import settingList from './settingList' import projectStatus from './projectStatus' + import editBattery from './editBattery' import { mapGetters } from 'vuex' export default { @@ -160,7 +172,8 @@ settingList, projectStatus, versionStatistics, - complianceCertificationForm + complianceCertificationForm, + editBattery }, data() { return { @@ -308,7 +321,10 @@ }, projectStatusForm(activeKey) { this.activeKey = activeKey - } + }, + editBattery(){ + this.$refs.editBatteryRef.editModel(this.queryForm) + }, } } diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/addModel.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/addModel.vue index 74623f73a..476598508 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/addModel.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/addModel.vue @@ -16,6 +16,18 @@ {{$t('basicInformationOfParameters')}} + +
+
+ * + {{$t('platformType')}} +
+ + + +
+
@@ -28,6 +40,8 @@
+ +
@@ -40,8 +54,6 @@
- -
@@ -57,6 +69,9 @@
+ + +
@@ -72,8 +87,6 @@
- -
@@ -89,6 +102,8 @@
+ +
@@ -115,8 +130,6 @@
- -
@@ -126,39 +139,29 @@
- -
-
- * - {{$t('engineeringInterfacePerson')}} -
- - - -
-
* - {{$t('platformType')}} + {{$t('engineeringInterfacePerson')}}
- - + +
@@ -211,313 +214,313 @@
-
- {{$t('Batteryfilingrecord')}} -
- -
- {{$t('Modelinformation')}} -
- - -
-
- {{$t('productModel')}} -
- - - -
-
- -
-
- {{$t('Electriccellproductionenterprises')}} -
- - - -
-
-
- - -
-
- {{$t('Assemblymanufacturer')}} -
- - - -
-
- -
-
- {{$t('PartNumberCN')}} -
- - - -
-
-
- - -
-
- {{$t('PartNumberEU')}} -
- - - -
-
-
- -
- {{$t('Batterynationalcode')}} -
- - -
-
- {{$t('bitfilecode')}} -
- - - -
-
- -
-
- {{$t('Vendorcode') + '(1~3)'}} -
- - - -
-
-
- - -
-
- {{$t('Productclasscode') + '(4)'}} -
- - - -
-
- -
-
- {{$t('Batterytypecode') + '(5)'}} -
- - - -
-
-
- - -
-
- {{$t('Specificationcode') + '(6~7)'}} -
- - - -
-
- -
-
- {{$t('Traceinformationcode') + '(8~14)'}} -
- - - -
-
-
- - -
-
- {{$t('Productionyearmonthdateserialnumber') + '(15~20)'}} -
- - - -
-
-
- -
- {{$t('Recordnformation')}} -
- - -
-
- {{$t('dimension')}} -
- - - -
-
- -
-
- {{$t('Ratedcapacity')}} -
- - - -
-
-
- - -
-
- {{$t('Nominalvoltage')}} -
- - - -
-
- -
-
- {{$t('Ratedmass')}} -
- - - -
-
-
- - -
-
- {{$t('Numbercontainedmodules')}} -
- - - -
-
- -
-
- {{$t('Moduleseriesparallelmode')}} -
- - - -
-
-
- - -
-
- {{$t('modulspecificationcodeused')}} -
- - - -
-
- -
-
- {{$t('Coolingmode')}} -
- - - -
-
-
- -
- {{$t('remarks')}} -
- - -
-
- {{$t('Filingcompletiontime')}} -
- - - -
-
-
- - -
-
- {{$t('remarks')}} -
- - - -
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -819,7 +822,6 @@ list.forEach((item => { getAction('sys/common/getFileInfos', { id: item }).then((res) => { if (res.success) { - console.log(res.result) res.result.forEach((item => { file.push({ name: item.fileName, @@ -867,10 +869,8 @@ this.title = this.$t('edit') this.formInline.engineeringInterfacePersonName = value.engineeringInterfacePersonName this.formInline.regulationOwnerIdName = value.regulationOwnerIdName - console.log(this.formInline.engineeringInterfacePersonName, this.formInline.engineeringInterfacePersonName) const token = Vue.ls.get(ACCESS_TOKEN) this.headers = { 'X-Access-Token': token } - console.log(this.headers) this.getNameList(value) this.$nextTick(() => { this.$refs.ruleForm.clearValidate() diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/editBattery.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/editBattery.vue new file mode 100644 index 000000000..a89308eed --- /dev/null +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/editBattery.vue @@ -0,0 +1,587 @@ + + + + + + + \ No newline at end of file