diff --git a/.env b/.env index ab2a573..d2d76c3 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -VITE_BASE_URL=http://192.168.0.42:8099/ +VITE_BASE_URL=http://192.168.0.49:8093/ VITE_PROXY=/api/ VITE_PROXY_QAAQ=/qaaq_api/ VITE_QAAQ_URL=https://gateway.qhdsafety.com/ diff --git a/src/assets/js/constant.js b/src/assets/js/constant.js index 618d584..3d53f6e 100644 --- a/src/assets/js/constant.js +++ b/src/assets/js/constant.js @@ -18,6 +18,71 @@ export const MENU = [ { title: "综合管理", model: MODEL["5"] }, { title: "定位管理", model: MODEL["6"] }, ]; +// 安全生成及电子运单管理 +export const VEHICLEMENU = [ + { title: "鄂A35373", model: MODEL["1"] }, + { title: "渝B73752", model: MODEL["2"] }, + { title: "川C87376", model: MODEL["3"] }, +]; +export const PRACTITIONERMENU = [ + { title: "李某某", model: MODEL["1"] }, + { title: "张某某", model: MODEL["2"] }, + { title: "刘某某", model: MODEL["3"] }, +]; +export const TRUCKMENU = [ + { title: "货AA35373", model: MODEL["1"] }, + { title: "货B73752", model: MODEL["2"] }, + { title: "货C87376", model: MODEL["3"] }, +]; +export const PERSONTYPEMENU = [ + { title: "其他", model: MODEL["1"] }, + { title: "驾驶员", model: MODEL["2"] }, + { title: "监控员", model: MODEL["3"] }, + { title: "押运员", model: MODEL["4"] }, + { title: "安全负责人", model: MODEL["5"] }, +]; +export const CLIENTMENU = [ + { title: "李某某", model: MODEL["1"] }, + { title: "程某某", model: MODEL["2"] }, + { title: "方某某", model: MODEL["3"] }, +]; +export const CONFIRMMENU = [ + { title: "薛某某", model: MODEL["1"] }, + { title: "马某某", model: MODEL["2"] }, + { title: "林某某", model: MODEL["3"] }, +]; +export const STARTINGMENU = [ + { title: "河北", model: MODEL["1"] }, + { title: "河南", model: MODEL["2"] }, + { title: "山东", model: MODEL["3"] }, + { title: "山西", model: MODEL["4"] }, +]; +export const ENDMENU = [ + { title: "广东", model: MODEL["1"] }, + { title: "广西", model: MODEL["2"] }, + { title: "湖南", model: MODEL["3"] }, + { title: "湖北", model: MODEL["4"] }, +]; +export const CUSTOMERTYPEMENU = [ + { title: "委托方", model: MODEL["1"] }, + { title: "确认方", model: MODEL["2"] }, +]; +export const LOCATIONTYPEMENU = [ + { title: "公司", model: MODEL["1"] }, + { title: "仓库", model: MODEL["2"] }, + { title: "中转站", model: MODEL["3"] }, +]; +export const LOCATIONNAMEMENU = [ + { title: "中科", model: MODEL["1"] }, + { title: "中软", model: MODEL["2"] }, + { title: "中天", model: MODEL["3"] }, +]; +export const BOROUGHMENU = [ + { title: "湖北", model: MODEL["1"] }, + { title: "湖南", model: MODEL["2"] }, + { title: "四川", model: MODEL["3"] }, +]; + export const PRINT_STYLE = ' diff --git a/src/views/electronic_waybill_management/customer_management/index.vue b/src/views/electronic_waybill_management/customer_management/index.vue index 03b2890..159881a 100644 --- a/src/views/electronic_waybill_management/customer_management/index.vue +++ b/src/views/electronic_waybill_management/customer_management/index.vue @@ -8,28 +8,25 @@ > - - - - - - - - - - - + + + - - + + @@ -47,86 +44,41 @@ + - - - - - - - - + + + + + - - - - + width="150" + /> + + + { - await ElMessageBox.confirm(`确定要删除吗?`, { - type: "warning", - }); - await dateteSecurityNotice({ NOTIFICATION_ID: value }); - ElMessage.success("删除成功"); - fnGetData(); -}; -const relatedClassificationList = ref(null); - onMounted(async () => { - const data = await layoutFnGetNotificationsClassification(); - relatedClassificationList.value = JSON.parse(data.value.zTreeNodes); + await fnPerson(); }); +const fnPerson = async () => { + const resData = await getSecurityPerson({}); + data.unitsList = [resData.pd]; +}; diff --git a/src/views/electronic_waybill_management/location_managemen/add.vue b/src/views/electronic_waybill_management/location_managemen/add.vue new file mode 100644 index 0000000..9da42b9 --- /dev/null +++ b/src/views/electronic_waybill_management/location_managemen/add.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/views/electronic_waybill_management/location_managemen/index.vue b/src/views/electronic_waybill_management/location_managemen/index.vue new file mode 100644 index 0000000..5893a8b --- /dev/null +++ b/src/views/electronic_waybill_management/location_managemen/index.vue @@ -0,0 +1,118 @@ + + + + + diff --git a/src/views/electronic_waybill_management/waybill_registration/add.vue b/src/views/electronic_waybill_management/waybill_registration/add.vue index e69de29..c29b3ff 100644 --- a/src/views/electronic_waybill_management/waybill_registration/add.vue +++ b/src/views/electronic_waybill_management/waybill_registration/add.vue @@ -0,0 +1,385 @@ + + + + + diff --git a/src/views/electronic_waybill_management/waybill_registration/index.vue b/src/views/electronic_waybill_management/waybill_registration/index.vue index 03b2890..0d69d28 100644 --- a/src/views/electronic_waybill_management/waybill_registration/index.vue +++ b/src/views/electronic_waybill_management/waybill_registration/index.vue @@ -8,29 +8,15 @@ > - - + + - - - - - - - - - - - - - + + + + @@ -47,86 +33,56 @@ + - - + + - + + + - - - + - - + + + + + + + + + diff --git a/src/views/safety_production_related/things_check/index.vue b/src/views/safety_production_related/things_check/index.vue index e69de29..802785d 100644 --- a/src/views/safety_production_related/things_check/index.vue +++ b/src/views/safety_production_related/things_check/index.vue @@ -0,0 +1,272 @@ + + + + + + + +