diff --git a/src/request/mechanical_files.js b/src/request/mechanical_files.js
index ddfcb89..80acaf5 100644
--- a/src/request/mechanical_files.js
+++ b/src/request/mechanical_files.js
@@ -55,15 +55,26 @@ export const setBeidouEdit2 = (params) => post("/beidou/edit2", params); // 维
export const getTrailerListCompass = (params) =>
post("/beidou/vehicleList", params);
-export const getTankTruckInspectionList = (params) => post("/tankTruckInspection/list", params); // 罐检项配置列表
-export const getTankTruckInspectionListAll = (params) => post("/tankTruckInspection/tankTruckInspectionListAll", params); // 罐检项配置不分页列表
-export const getTankTruckInspectionView = (params) => post("/tankTruckInspection/goEdit", params); // 罐检项配置查看
-export const setTankTruckInspectionAdd = (params) => post("/tankTruckInspection/add", params); // 罐检项配置新增
-export const setTankTruckInspectionEdit = (params) => post("/tankTruckInspection/edit", params); // 罐检项配置修改
-export const setTankTruckInspectionDelete = (params) => post("/tankTruckInspection/delete", params); // 罐检项配置删除
+export const getTankTruckInspectionList = (params) =>
+ post("/tankTruckInspection/list", params); // 罐检项配置列表
+export const getTankTruckInspectionListAll = (params) =>
+ post("/tankTruckInspection/tankTruckInspectionListAll", params); // 罐检项配置不分页列表
+export const getTankTruckInspectionView = (params) =>
+ post("/tankTruckInspection/goEdit", params); // 罐检项配置查看
+export const setTankTruckInspectionAdd = (params) =>
+ post("/tankTruckInspection/add", params); // 罐检项配置新增
+export const setTankTruckInspectionEdit = (params) =>
+ post("/tankTruckInspection/edit", params); // 罐检项配置修改
+export const setTankTruckInspectionDelete = (params) =>
+ post("/tankTruckInspection/delete", params); // 罐检项配置删除
-export const getTankTruckInspectionRecordList = (params) => post("/tankTruckInspectionRecord/list", params); // 罐检项检查列表
-export const getTankTruckInspectionRecordView = (params) => post("/tankTruckInspectionRecord/goEdit", params); // 罐检项检查查看
-export const setTankTruckInspectionRecordAdd = (params) => post("/tankTruckInspectionRecord/add", params); // 罐检项检查新增
-export const setTankTruckInspectionRecordEdit = (params) => post("/tankTruckInspectionRecord/edit", params); // 罐检项检查修改
-export const setTankTruckInspectionRecordDelete = (params) => post("/tankTruckInspectionRecord/delete", params); // 罐检项检查删除
\ No newline at end of file
+export const getTankTruckInspectionRecordList = (params) =>
+ post("/tankTruckInspectionRecord/list", params); // 罐检项检查列表
+export const getTankTruckInspectionRecordView = (params) =>
+ post("/tankTruckInspectionRecord/goEdit", params); // 罐检项检查查看
+export const setTankTruckInspectionRecordAdd = (params) =>
+ post("/tankTruckInspectionRecord/add", params); // 罐检项检查新增
+export const setTankTruckInspectionRecordEdit = (params) =>
+ post("/tankTruckInspectionRecord/edit", params); // 罐检项检查修改
+export const setTankTruckInspectionRecordDelete = (params) =>
+ post("/tankTruckInspectionRecord/delete", params); // 罐检项检查删除
diff --git a/src/views/driving_inspections/driving_type/index.vue b/src/views/driving_inspections/driving_type/index.vue
index 46ef296..71aefe9 100644
--- a/src/views/driving_inspections/driving_type/index.vue
+++ b/src/views/driving_inspections/driving_type/index.vue
@@ -55,8 +55,8 @@
row.CHECKTYPE_NAME
}}
{{
- row.CHECKTYPE_NAME
- }}
+ row.CHECKTYPE_NAME
+ }}
diff --git a/src/views/electronic_waybill_management/waybill_registration/view.vue b/src/views/electronic_waybill_management/waybill_registration/view.vue
index eae60dd..7fc5939 100644
--- a/src/views/electronic_waybill_management/waybill_registration/view.vue
+++ b/src/views/electronic_waybill_management/waybill_registration/view.vue
@@ -53,7 +53,7 @@
{{ data.info.ORIGIN_NAME }}
- {{ data.info.SHIPPING_ADDR}}
+ {{ data.info.SHIPPING_ADDR }}
{{ data.info.DEPARTURE_ADDR }}
diff --git a/src/views/mechanical_files/insure/add.vue b/src/views/mechanical_files/insure/add.vue
index 3d69d60..0bd4a45 100644
--- a/src/views/mechanical_files/insure/add.vue
+++ b/src/views/mechanical_files/insure/add.vue
@@ -298,13 +298,13 @@ import {
setInsureEdit,
getTrailerList,
getTrailerList2,
- getInsureList
+ getInsureList,
} from "@/request/mechanical_files.js";
import {
INSURANCE_TYPE,
INSURANCEMENU,
OPERATING_VEHICLE_TYPE_LIST,
- REMIND_DAYS
+ REMIND_DAYS,
} from "@/assets/js/constant.js";
import { setUploadImg } from "@/request/api.js";
import { ElMessage } from "element-plus";
@@ -352,16 +352,16 @@ const data = reactive({
INITIAL_REGISTRATION_DATE: "",
COMPANY_AREA: "",
},
- info: {}
+ info: {},
});
const insureType = async (rule, insureType, callback) => {
- if(!INSURE_ID) {
+ if (!INSURE_ID) {
if (insureType) {
data.info = await getInsureList();
data.info.varList.forEach((item) => {
- if(item.VEHICLE === data.busInfo.ID) {
- if(insureType === item.INSURANCE_COVERAGE) {
+ if (item.VEHICLE === data.busInfo.ID) {
+ if (insureType === item.INSURANCE_COVERAGE) {
callback(new Error("该保险已被此车辆重复选择"));
}
}
@@ -369,16 +369,16 @@ const insureType = async (rule, insureType, callback) => {
} else {
callback();
}
- }else{
+ } else {
if (insureType) {
- const resData = await getInsureView({ INSURE_ID })
- if(insureType === resData.pd.INSURANCE_COVERAGE) {
+ const resData = await getInsureView({ INSURE_ID });
+ if (insureType === resData.pd.INSURANCE_COVERAGE) {
callback();
- }else{
+ } else {
data.info = await getInsureList();
data.info.varList.forEach((item) => {
- if(item.VEHICLE === data.busInfo.ID) {
- if(insureType === item.INSURANCE_COVERAGE) {
+ if (item.VEHICLE === data.busInfo.ID) {
+ if (insureType === item.INSURANCE_COVERAGE) {
callback(new Error("该保险已被此车辆重复选择"));
}
}
diff --git a/src/views/mechanical_files/insure/index.vue b/src/views/mechanical_files/insure/index.vue
index 054c13d..0cd9233 100644
--- a/src/views/mechanical_files/insure/index.vue
+++ b/src/views/mechanical_files/insure/index.vue
@@ -139,8 +139,12 @@
-
-
+
+
{{ row.INSURANCE_COVERAGE === "0" ? "承运人责任险" : "" }}
{{ row.INSURANCE_COVERAGE === "1" ? "强制险" : "" }}
diff --git a/src/views/mechanical_files/tank_truck/tank_truck_inspection/components/add.vue b/src/views/mechanical_files/tank_truck/tank_truck_inspection/components/add.vue
index 0fbdce2..5e178d4 100644
--- a/src/views/mechanical_files/tank_truck/tank_truck_inspection/components/add.vue
+++ b/src/views/mechanical_files/tank_truck/tank_truck_inspection/components/add.vue
@@ -16,13 +16,12 @@
-
取消
@@ -36,8 +35,8 @@ import { ref, toRaw } from "vue";
import { useVModels } from "@vueuse/core";
import { ElMessage } from "element-plus";
import {
- setTankTruckInspectionAdd,
- setTankTruckInspectionEdit,
+ setTankTruckInspectionAdd,
+ setTankTruckInspectionEdit,
} from "@/request/mechanical_files.js";
const props = defineProps({
@@ -70,8 +69,8 @@ const props = defineProps({
const emits = defineEmits(["update:visible", "update:form", "get-data"]);
const { visible, form } = useVModels(props, emits);
const rules = {
- INSPECTION_SITE: [{ required: true, message: "请输入", trigger: "blur" },],
- REGULATORY_STATUS: [{ required: true, message: "请输入", trigger: "blur" },],
+ INSPECTION_SITE: [{ required: true, message: "请输入", trigger: "blur" }],
+ REGULATORY_STATUS: [{ required: true, message: "请输入", trigger: "blur" }],
};
const formRef = ref(null);
@@ -88,9 +87,8 @@ const fnSubmit = async () => {
const formData = new FormData();
Object.keys(rawFormValue).forEach((key) => {
- formData.append(key, rawFormValue[key]);
+ formData.append(key, rawFormValue[key]);
});
- console.log(rawFormValue,formData)
// 执行添加或编辑操作
if (props.type === "add") {
await setTankTruckInspectionAdd(rawFormValue);
diff --git a/src/views/mechanical_files/tank_truck/tank_truck_inspection/components/view.vue b/src/views/mechanical_files/tank_truck/tank_truck_inspection/components/view.vue
index 358f0b4..cee9ef9 100644
--- a/src/views/mechanical_files/tank_truck/tank_truck_inspection/components/view.vue
+++ b/src/views/mechanical_files/tank_truck/tank_truck_inspection/components/view.vue
@@ -17,7 +17,6 @@
diff --git a/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/add.vue b/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/add.vue
index afff9d9..d31ec62 100644
--- a/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/add.vue
+++ b/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/add.vue
@@ -1,450 +1,463 @@
-
-
-
-
- 车辆选择
-
-
-
-
-
-
-
-
-
- 基本信息
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 罐检信息
-
-
-
-
-
-
-
-
-
- 合格
- 不合格
- 不涉及
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ 车辆选择
+
+
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 罐检信息
+
+
+
+
+
+
+
+
+
+ 合格
+ 不合格
+ 不涉及
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
diff --git a/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/edit.vue b/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/edit.vue
index 334810f..9d0b239 100644
--- a/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/edit.vue
+++ b/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/edit.vue
@@ -7,15 +7,12 @@
-
+
@@ -26,53 +23,53 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -80,9 +77,9 @@
-
-
-
+
+
+
@@ -97,11 +94,11 @@
@@ -109,10 +106,10 @@
@@ -120,22 +117,22 @@
@@ -144,10 +141,10 @@
@@ -155,55 +152,55 @@
@@ -216,233 +213,249 @@
diff --git a/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/index.vue b/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/index.vue
index e09f50e..38304b8 100644
--- a/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/index.vue
+++ b/src/views/mechanical_files/tank_truck_record/tank_truck_inspection_record/index.vue
@@ -11,10 +11,10 @@
@@ -32,12 +32,12 @@
-
+
@@ -85,7 +85,10 @@
@click="
router.push({
path: '/mechanical_files/tank_truck_record/tank_truck_inspection_record/view',
- query: { TANKTRUCKINSPECTIONRECORD_ID: row.TANKTRUCKINSPECTIONRECORD_ID },
+ query: {
+ TANKTRUCKINSPECTIONRECORD_ID:
+ row.TANKTRUCKINSPECTIONRECORD_ID,
+ },
})
"
>
@@ -98,13 +101,21 @@
@click="
router.push({
path: '/mechanical_files/tank_truck_record/tank_truck_inspection_record/edit',
- query: { TANKTRUCKINSPECTIONRECORD_ID: row.TANKTRUCKINSPECTIONRECORD_ID },
+ query: {
+ TANKTRUCKINSPECTIONRECORD_ID:
+ row.TANKTRUCKINSPECTIONRECORD_ID,
+ },
})
"
>
编辑
-
+
删除
@@ -112,7 +123,11 @@
新增
@@ -123,31 +138,31 @@