car.js
791 字节
"use strict";
const uni_modules_uviewPlus_index = require("../uni_modules/uview-plus/index.js");
const getCarNatureApi = (data) => uni_modules_uviewPlus_index.http.get(`/system/vehicle/nature/getList`, { params: data, custom: { auth: true } });
const getNeedApi = (data) => uni_modules_uviewPlus_index.http.get(`/system/requirements/getList`, { params: data, custom: { auth: true } });
const getListDeptApi = (data) => uni_modules_uviewPlus_index.http.get(`/system/dept/list`, { params: data, custom: { auth: true } });
const getCarDetail = (id) => uni_modules_uviewPlus_index.http.get(`registration/${id}`, { custom: { auth: true } });
exports.getCarDetail = getCarDetail;
exports.getCarNatureApi = getCarNatureApi;
exports.getListDeptApi = getListDeptApi;
exports.getNeedApi = getNeedApi;