8/25 dev 权限,sse,账单
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
|
||||
<script setup name="Car" lang="ts">
|
||||
import Pageheader from '@/components/Pageheader/index.vue';
|
||||
import { listCar, delCar } from '@/api/system/cars/index';
|
||||
import { listCar, delCar } from '@/api/system/cars';
|
||||
import { CarVO, CarQuery, CarForm } from '@/api/system/cars/type';
|
||||
import { checkPermi } from '@/utils/permission';
|
||||
|
||||
@@ -73,7 +73,6 @@ const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
const router = useRouter();
|
||||
|
||||
const carList = ref<CarVO[]>([]);
|
||||
const buttonLoading = ref(false);
|
||||
const loading = ref(true);
|
||||
const showSearch = ref(true);
|
||||
const ids = ref<Array<string | number>>([]);
|
||||
@@ -82,7 +81,6 @@ const multiple = ref(true);
|
||||
const total = ref(0);
|
||||
|
||||
const queryFormRef = ref<ElFormInstance>();
|
||||
const carFormRef = ref<ElFormInstance>();
|
||||
|
||||
const initFormData: CarForm = {
|
||||
id: undefined,
|
||||
@@ -161,7 +159,7 @@ const handleAdd = () => {
|
||||
};
|
||||
|
||||
/** 修改按钮操作 */
|
||||
const handleUpdate = async (row?: CarVO) => {
|
||||
const handleUpdate = (row?: CarVO) => {
|
||||
const id = row?.id || ids.value[0];
|
||||
router.push({
|
||||
path: '/carArea/editCars',
|
||||
|
||||
Reference in New Issue
Block a user