4.24下午第2次提交

main
zz 7 months ago
parent 4941ca2d6e
commit bfd2c3795b

File diff suppressed because it is too large Load Diff

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

@ -30,7 +30,7 @@ import {
// return request(Battery_Maintain_Log, METHOD.GET, data)
// }
export async function index(data) {
export async function indexone(data) {
return request(Battery_Details + '?sn=' + data, METHOD.GET)
}
export async function alarmone(data) {
@ -127,7 +127,7 @@ export async function handle_BatteryCellTempInfo(data) {
// }
export default {
index,
indexone,
alarmone,
alarmtwo,
Relaystatus,

Loading…
Cancel
Save