|
|
@ -124,6 +124,9 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
<detail
|
|
|
|
|
|
|
|
ref="details"
|
|
|
|
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
@ -132,8 +135,12 @@ import {
|
|
|
|
handleGetChargMonitorChargBmsData,
|
|
|
|
handleGetChargMonitorChargBmsData,
|
|
|
|
handle_TCgRealTimeDisplay,
|
|
|
|
handle_TCgRealTimeDisplay,
|
|
|
|
} from "@/services/swapping";
|
|
|
|
} from "@/services/swapping";
|
|
|
|
|
|
|
|
import detail from "@/pages/battery_details/index";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
|
|
|
|
components: {
|
|
|
|
|
|
|
|
detail,
|
|
|
|
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
cont_list: [
|
|
|
|
cont_list: [
|
|
|
@ -272,6 +279,8 @@ export default {
|
|
|
|
expectePower: [{ required: true, message: "请输入", trigger: "blur" }],
|
|
|
|
expectePower: [{ required: true, message: "请输入", trigger: "blur" }],
|
|
|
|
sn: [{ required: true, message: "请选择", trigger: "change" }],
|
|
|
|
sn: [{ required: true, message: "请选择", trigger: "change" }],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
main_visible: false,
|
|
|
|
|
|
|
|
check_fid: 0,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {},
|
|
|
|
created() {},
|
|
|
@ -281,16 +290,19 @@ export default {
|
|
|
|
this.handleGetChargMonitorChargBmsData()
|
|
|
|
this.handleGetChargMonitorChargBmsData()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
// handle_push(data) {
|
|
|
|
|
|
|
|
// this.$router.push({
|
|
|
|
|
|
|
|
// path: 'charge_battery/battery_details',
|
|
|
|
|
|
|
|
// query: {
|
|
|
|
|
|
|
|
// id: data
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
// },
|
|
|
|
handle_push(data) {
|
|
|
|
handle_push(data) {
|
|
|
|
// this.$router.push({name:"charge_battery/battery_details",query:{id:data}});//跳转页面带id
|
|
|
|
this.$refs.details.visibleClick(data)
|
|
|
|
// this.$router.push("charge_battery/battery_details");
|
|
|
|
|
|
|
|
this.$router.push({
|
|
|
|
|
|
|
|
path: 'charge_battery/battery_details',
|
|
|
|
|
|
|
|
query: {
|
|
|
|
|
|
|
|
id: data
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
resetForm() {
|
|
|
|
resetForm() {
|
|
|
|
this.$refs["battr_form"].resetFields();
|
|
|
|
this.$refs["battr_form"].resetFields();
|
|
|
|
this.dialogFormVisible = false;
|
|
|
|
this.dialogFormVisible = false;
|
|
|
|