This commit is contained in:
lcw
2026-02-02 00:27:02 +08:00
parent c8de256b2b
commit c7a8eb35b2
10 changed files with 1123 additions and 18 deletions

View File

@ -70,7 +70,9 @@
<script setup>
// 可以在这里添加需要的响应式数据和方法
import { jczCountWay, jczgetcountCrl, jczGzrycountCrl } from "@/api/mosty-jcz";
import { useRoute } from 'vue-router'
import { ref } from "vue";
const route = useRoute()
const personnelData = ref({
rzhy: 0,
sczd: 0,
@ -85,21 +87,21 @@ const carAccess = ref({
rlsl: 0
});
const countWay = () => {
jczCountWay()
jczCountWay({kkId:route.query.id?route.query.id:""})
.then((res) => {
personnelData.value = res;
})
.catch((err) => {});
};
const getcountCrl = () => {
jczgetcountCrl()
jczgetcountCrl({kkId:route.query.id?route.query.id:""})
.then((res) => {
personneAccess.value = res;
})
.catch((err) => {});
};
const GzrycountCrl = () => {
jczGzrycountCrl()
jczGzrycountCrl({kkId:route.query.id?route.query.id:""})
.then((res) => {
carAccess.value = res;
})