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> </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;

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

Loading…
Cancel
Save