forked from integrated_whb/integrated_whb_vue
代码格式化
parent
057d019e4e
commit
bf3311254e
|
@ -250,7 +250,7 @@ const fnGetData = async () => {
|
|||
if (!EMERGENCYPLAN_ID) return;
|
||||
const resData = await getEmergencyPlanManagementView({ EMERGENCYPLAN_ID });
|
||||
form.value = resData.pd;
|
||||
if(form.value.PLAN_ATTACH_NAME) {
|
||||
if (form.value.PLAN_ATTACH_NAME) {
|
||||
form.value.file = [
|
||||
{
|
||||
url: VITE_FILE_URL + resData.pd.PLAN_ATTACH_IDS,
|
||||
|
|
|
@ -290,7 +290,7 @@ import {
|
|||
getFreightTrailerView,
|
||||
setFreightTrailerAdd,
|
||||
setFreightTrailerEdit,
|
||||
findTrailerByPlateNumber
|
||||
findTrailerByPlateNumber,
|
||||
} from "@/request/enterprise_management.js";
|
||||
import { setUploadImg } from "@/request/api.js";
|
||||
import { ElMessage } from "element-plus";
|
||||
|
|
|
@ -204,8 +204,6 @@ const data = reactive({
|
|||
|
||||
const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } =
|
||||
useListData(getOperationVehicleList, {});
|
||||
const varList = await getOperationVehicleList();
|
||||
console.log(varList);
|
||||
const troubleshootingCycleList = await layoutFnGetVehicleColor();
|
||||
const fnGetDataTransfer = () => {
|
||||
fnGetData({
|
||||
|
|
|
@ -464,7 +464,6 @@ const fnGetVehicleInfo = async () => {
|
|||
form.value.FREIGHTVEHICLELIST[i].FREIGHTTRAILER_ID;
|
||||
const resData = await getFreightTrailerView({ FREIGHTTRAILER_ID });
|
||||
info.value = resData.pd;
|
||||
console.log(info.value);
|
||||
form.value.VEHICLE.PLATE_NUMBER = info.value.PLATE_NUMBER;
|
||||
form.value.VEHICLE.RAW_OWNERS = info.value.CONTACTS;
|
||||
form.value.VEHICLE.RAW_OWNERS_NUMBER = info.value.CONTACT_PHONE;
|
||||
|
|
|
@ -121,7 +121,6 @@ const info = ref({});
|
|||
const getData = async () => {
|
||||
const resData = await findByIdAssignedManageInfo({ ASSIGNED_ID });
|
||||
info.value = resData.pd;
|
||||
console.log(info.value);
|
||||
info.value.NOW_VEHICLE_OPERATION_CERTIFICATE = addingPrefixToFile(
|
||||
resData.nowVehicleOperationCertificateImgs
|
||||
);
|
||||
|
|
|
@ -351,7 +351,6 @@ const fnBusChange = async (event) => {
|
|||
}
|
||||
const resData = await getTrailerListCompass({ ID: event });
|
||||
data.busInfo = resData.list[0];
|
||||
console.log(data.busInfo);
|
||||
if (form.value.TELEPHONE === "") {
|
||||
form.value.TELEPHONE = data.busInfo.CONTACT_NUMBER;
|
||||
}
|
||||
|
|
|
@ -374,7 +374,6 @@ const fnBusChange = async (event) => {
|
|||
}
|
||||
const resData = await getOperationTrailerList({ ID: event });
|
||||
data.busInfo = resData.list[0];
|
||||
console.log(data.busInfo);
|
||||
if (form.value.TELEPHONE === "") {
|
||||
form.value.TELEPHONE = data.busInfo.CONTACT_NUMBER;
|
||||
}
|
||||
|
|
|
@ -287,7 +287,6 @@ const fnEditVehicleModel = async () => {
|
|||
form.value.OPERATIONVEHICLELIST = form.value.ALLVEHICLE;
|
||||
} else if (form.value.SCRAP_VEHICLEMODEL === "货运挂车") {
|
||||
form.value.ALLVEHICLE = getAllFrailerList.varList;
|
||||
console.log(form.value.ALLVEHICLE);
|
||||
form.value.FREIGHTVEHICLELIST = form.value.ALLVEHICLE;
|
||||
}
|
||||
};
|
||||
|
@ -303,7 +302,6 @@ const fnGetVehicleInfo = async () => {
|
|||
await setOperationsScrapStatus({ OPERATING_ID });
|
||||
const resData = await getOperationVehicleInfo({ OPERATING_ID });
|
||||
info.value = resData.pd;
|
||||
console.log(info.value);
|
||||
form.value.VEHICLE.VEHICLEOWNER = info.value.CONTACT;
|
||||
form.value.VEHICLE.VEHICLEOWNER_NUMBER = info.value.CONTACT_NUMBER;
|
||||
form.value.VEHICLE.PLATE_NUMBER = info.value.PLATE_NUMBER;
|
||||
|
|
|
@ -161,7 +161,6 @@ const router = useRouter();
|
|||
|
||||
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
||||
useListData(getScrapManageList, {});
|
||||
console.log(await getScrapManageList());
|
||||
|
||||
const relatedClassificationList = ref(null);
|
||||
onMounted(async () => {
|
||||
|
|
|
@ -383,7 +383,6 @@ const fnGetTrailerInfo = async () => {
|
|||
const FREIGHTTRAILER_ID = form.value.FREIGHTTRAILER_ID;
|
||||
form.value.FREIGHTTRAILER_ID = FREIGHTTRAILER_ID;
|
||||
const resData = await getFreightTrailerView({ FREIGHTTRAILER_ID });
|
||||
console.log(resData.pd);
|
||||
form.value.PROVINCE = resData.pd.PROVINCE;
|
||||
form.value.CITY = resData.pd.CITY;
|
||||
form.value.COUNTY = resData.pd.COUNTY;
|
||||
|
|
Loading…
Reference in New Issue