lcw
This commit is contained in:
@ -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;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user