|
@@ -343,7 +343,11 @@
|
|
|
Save
|
|
Save
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- <audit-view :audit="addForm.audit"/>
|
|
|
|
|
|
|
+ <audit-view
|
|
|
|
|
+ v-if="chargeBoxPk"
|
|
|
|
|
+ url="dawn/api/v1/charge-box/audit-pages"
|
|
|
|
|
+ :params="{chargeBoxPk}"
|
|
|
|
|
+ :audit="addForm.audit"/>
|
|
|
</div>
|
|
</div>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</div>
|
|
</div>
|
|
@@ -480,6 +484,7 @@
|
|
|
connectorPk: '',
|
|
connectorPk: '',
|
|
|
chargeTypePk: ''
|
|
chargeTypePk: ''
|
|
|
},
|
|
},
|
|
|
|
|
+ chargeBoxPk: "",
|
|
|
isEdit: false,
|
|
isEdit: false,
|
|
|
enableEVCPID: settings.enableEVCPID
|
|
enableEVCPID: settings.enableEVCPID
|
|
|
}
|
|
}
|
|
@@ -487,6 +492,7 @@
|
|
|
created() {
|
|
created() {
|
|
|
this.getRegisterOptions()
|
|
this.getRegisterOptions()
|
|
|
if (this.$route.params.id) {
|
|
if (this.$route.params.id) {
|
|
|
|
|
+ this.chargeBoxPk = this.$route.params.id;
|
|
|
this.isEdit = true;
|
|
this.isEdit = true;
|
|
|
this.getChargeTypes();
|
|
this.getChargeTypes();
|
|
|
this.getStationInfo();
|
|
this.getStationInfo();
|