-
![]()
+
+
@@ -16,10 +16,22 @@ const props = defineProps({
required: true,
default: "",
},
+ width: {
+ type: Number,
+ default: 200,
+ },
+ height: {
+ type: Number,
+ default: 200,
+ },
+ margin: {
+ type: Boolean,
+ default: true,
+ },
});
const src = useQRCode(() => props.src, {
- width: 200,
- height: 200,
+ width: props.width,
+ height: props.height,
margin: 1,
correctLevel: "H",
});
diff --git a/src/layout/header/index.vue b/src/layout/header/index.vue
index d376b91..ba7d5c5 100644
--- a/src/layout/header/index.vue
+++ b/src/layout/header/index.vue
@@ -4,9 +4,9 @@
diff --git a/src/views/enterprise_management/user_practitioner/edit.vue b/src/views/enterprise_management/user_practitioner/edit.vue
index 452f5fc..f86b599 100644
--- a/src/views/enterprise_management/user_practitioner/edit.vue
+++ b/src/views/enterprise_management/user_practitioner/edit.vue
@@ -12,7 +12,7 @@
-
+
-
+
@@ -389,7 +386,15 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -835,7 +887,7 @@ const data = reactive({
POLITICAL_OUTLOOK: "",
DATE_OF_BIRTH: "",
DEGREE_OF_EDUCATION: "",
- PERSONNEL_TYPE: "",
+ PERSONNEL_TYPE: [],
DUTIES: "",
TITLE: "",
ENTRY_DATE: "",
@@ -918,7 +970,7 @@ const fnGetData = async () => {
data.oldPostId = form.POST_ID;
data.oldDepartId = form.DEPARTMENT_ID;
form.userCerFile = addingPrefixToFile(resData.userCerList);
-
+ form.PERSONNEL_TYPE = form.PERSONNEL_TYPE.split(",");
resData.certificateList.forEach((item) => {
if (item.CERTIFICATE_CATEGORY === "1") {
data.fileForm.ID_CARD_FRONT = addingPrefixFile(item.ID_PHOTO_FRONT);
@@ -937,7 +989,10 @@ const fnGetData = async () => {
form.DRIVER_LICENSE_NO = item.ID_NO;
form.DRIVING_NATIONALITY = item.ID_NATIONALITY;
form.DRIVER_LICENSE_ISSUE_DATE = item.ID_ISSUE_DATE;
- form.DRIVER_LICENSE_VALIDITY = [item.ID_VALIDITY_START, item.ID_VALIDITY_END];
+ form.DRIVER_LICENSE_VALIDITY = [
+ item.ID_VALIDITY_START,
+ item.ID_VALIDITY_END,
+ ];
form.DRIVER_LICENSE_VALIDITY_START = item.ID_VALIDITY_START;
form.DRIVER_LICENSE_VALIDITY_END = item.ID_VALIDITY_END;
form.DRIVER_LICENSE_ORGAN = item.ID_ORGAN;
@@ -945,12 +1000,17 @@ const fnGetData = async () => {
? item.ALLOW_QUALIFICATION.split(",")
: [];
} else if (item.CERTIFICATE_CATEGORY === "3") {
- data.fileForm.QUALIFICATION_CERTIFICATE = addingPrefixFile(item.ID_PHOTO_FRONT);
+ data.fileForm.QUALIFICATION_CERTIFICATE = addingPrefixFile(
+ item.ID_PHOTO_FRONT
+ );
form.QUALIFICATION_CERTIFICATE = item.ID_PHOTO_FRONT;
form.QUALIFICATION_CERTIFICATE_NO = item.ID_NO;
form.QUALIFICATION_CERTIFICATE_NATIONALITY = item.ID_NATIONALITY;
form.QUALIFICATION_CERTIFICATE_ISSUE_DATE = item.ID_ISSUE_DATE;
- form.QUALIFICATION_CERTIFICATE_VALIDITY = [item.ID_VALIDITY_START, item.ID_VALIDITY_END];
+ form.QUALIFICATION_CERTIFICATE_VALIDITY = [
+ item.ID_VALIDITY_START,
+ item.ID_VALIDITY_END,
+ ];
form.QUALIFICATION_CERTIFICATE_VALIDITY_START = item.ID_VALIDITY_START;
form.QUALIFICATION_CERTIFICATE_VALIDITY_END = item.ID_VALIDITY_END;
form.QUALIFICATION_CERTIFICATE_ORGAN = item.ID_ORGAN;
@@ -1146,6 +1206,7 @@ const fnSubmit = debounce(
Object.keys(data.form).forEach((key) => {
formData.append(key, data.form[key]);
});
+ formData.PERSONNEL_TYPE = data.form.PERSONNEL_TYPE.join(",");
formData.delete("ID_CARD_VALIDITY");
formData.delete("DRIVING_MODEL_ARR");
formData.delete("DRIVER_LICENSE_VALIDITY");
@@ -1156,9 +1217,15 @@ const fnSubmit = debounce(
data.fileForm.ID_CARD_BACK?.[0]?.raw &&
formData.append("idCardBackFiles", data.fileForm.ID_CARD_BACK[0].raw);
data.fileForm.DRIVER_LICENSE?.[0]?.raw &&
- formData.append("driverLicenseFiles", data.fileForm.DRIVER_LICENSE[0].raw);
+ formData.append(
+ "driverLicenseFiles",
+ data.fileForm.DRIVER_LICENSE[0].raw
+ );
data.fileForm.QUALIFICATION_CERTIFICATE?.[0]?.raw &&
- formData.append("qualificationCertificateFiles", data.fileForm.QUALIFICATION_CERTIFICATE[0].raw);
+ formData.append(
+ "qualificationCertificateFiles",
+ data.fileForm.QUALIFICATION_CERTIFICATE[0].raw
+ );
if (!USER_ID) {
// if (data.allUser > data.USERS_NUM) {
// ElMessage.error("已超过可创建用户数量");
diff --git a/src/views/enterprise_management/user_practitioner/index.vue b/src/views/enterprise_management/user_practitioner/index.vue
index 6a41399..67cf8a7 100644
--- a/src/views/enterprise_management/user_practitioner/index.vue
+++ b/src/views/enterprise_management/user_practitioner/index.vue
@@ -38,6 +38,7 @@
重置
+
@@ -231,6 +232,11 @@ const reviewItem = async (row) => {
data.reviewDialog.form = row;
};
+/* const fnWindow = async () => {
+ window.open(
+ "https://yqag.lfjinantai.com:9001/#/middlePage?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd2QiOiJMZmtmcUAxMjM0NTYiLCJleHAiOjE3MTQxMzQ4NjUsInVzZXIiOiJsZnlqemhkcCIsInRhcmdldCI6Imh0dHBzOi8veXFhZy5sZmppbmFudGFpLmNvbTo5MDAxLyMvbWlkZGxlUGFnZSJ9.Lj_8JAplLOQigNX5UzGXQY1X4YmQUu8rd8whZnQNOWU"
+ );
+}; */
// 页面下拉选项字典获取
const fnGetLevels = async () => {
const { value: personnelTypeList } = await layoutFnGetPersonnelTypeTraffic({
diff --git a/src/views/hazard_investigation/checklist_inspection_status/inspection_record.vue b/src/views/hazard_investigation/checklist_inspection_status/inspection_record.vue
index 7a5a302..dd705f7 100644
--- a/src/views/hazard_investigation/checklist_inspection_status/inspection_record.vue
+++ b/src/views/hazard_investigation/checklist_inspection_status/inspection_record.vue
@@ -95,7 +95,7 @@
-
-
搜索
@@ -114,7 +112,7 @@
选择其他存在风险
@@ -219,9 +219,9 @@
@get-data="fnAddRiskSubmit"
/>
{
data.listAll.push(item);
fnTableSelection();
};
-const fnSelectPersonSubmit = (listData) => {
+const fnSelectRiskSubmit = (listData) => {
data.list.push(...listData);
data.listAll.push(...listData);
fnTableSelection();
diff --git a/src/views/hazard_investigation/inventory_management/components/inspection_route.vue b/src/views/hazard_investigation/inventory_management/components/inspection_route.vue
index 13e6b5d..6e97211 100644
--- a/src/views/hazard_investigation/inventory_management/components/inspection_route.vue
+++ b/src/views/hazard_investigation/inventory_management/components/inspection_route.vue
@@ -57,6 +57,7 @@ import { useVModels } from "@vueuse/core";
import { ElMessage } from "element-plus";
import { debounce } from "throttle-debounce";
import { setInventoryManagementRoute } from "@/request/hazard_investigation.js";
+import { VueDraggable } from "vue-draggable-plus";
const props = defineProps({
visible: {
diff --git a/src/views/hazard_investigation/inventory_troubleshooting/inspect.vue b/src/views/hazard_investigation/inventory_troubleshooting/inspect.vue
index 85c4d3b..63cd567 100644
--- a/src/views/hazard_investigation/inventory_troubleshooting/inspect.vue
+++ b/src/views/hazard_investigation/inventory_troubleshooting/inspect.vue
@@ -110,7 +110,7 @@
修改
-
-
-
-
- {{ item.SYNOPSIS }}
-
-
-
-
-
-
- {{ item.SYNOPSIS }}
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/index/components/annualTraining.vue b/src/views/index/components/annualTraining.vue
new file mode 100644
index 0000000..1df6b04
--- /dev/null
+++ b/src/views/index/components/annualTraining.vue
@@ -0,0 +1,132 @@
+
+
+
+
年度培训情况统计
+
+ 培训班级数: 8965 参与培训人员数: 8965
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/index/components/calendar.vue b/src/views/index/components/calendar.vue
deleted file mode 100644
index d55042d..0000000
--- a/src/views/index/components/calendar.vue
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
-
-
-
- {{ day.split("-").slice(2).join() }}
-
-
-
-
-
本日工作提醒
-
-
- 需进行 {{ wjcNum }} 项隐患排查
-
-
已进行 {{ yjcNum }} 项隐患排查
-
-
-
-
{{ currentDate }}日程安排
-
- -
- {{ item.desc }}
-
- - 暂无工作安排
-
-
-
-
-
-
-
-
-
diff --git a/src/views/index/components/checklist_check.vue b/src/views/index/components/checklist_check.vue
deleted file mode 100644
index e02390c..0000000
--- a/src/views/index/components/checklist_check.vue
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
- 搜索
-
-
-
-
-
-
-
-
-
diff --git a/src/views/index/components/count.vue b/src/views/index/components/count.vue
index 3163d35..95113d5 100644
--- a/src/views/index/components/count.vue
+++ b/src/views/index/components/count.vue
@@ -1,140 +1,77 @@
-
-
-
-
-

-
-
- 已验收
-
-
-
- 已超期
-
-
-
- 待整改
-
-
-
-
-
-
-
-
-
-

-
-
- 存在风险
-
-
-
- 辨识部位
-
-
-
- 风险点(单元)
-
-
-
-
-
-
-
-
-
-

-
-
- 已使用存储
-
-
-
-
+
+
+
{{ item.num }}
+
{{ item.title }}
+
diff --git a/src/views/index/components/doublePrevention.vue b/src/views/index/components/doublePrevention.vue
new file mode 100644
index 0000000..ab58944
--- /dev/null
+++ b/src/views/index/components/doublePrevention.vue
@@ -0,0 +1,54 @@
+
+
+ 双重预防运行情况统计
+
+
+
+
+
+
+
+ >
+
+
+
+
diff --git a/src/views/index/components/doublePreventionCheck.vue b/src/views/index/components/doublePreventionCheck.vue
new file mode 100644
index 0000000..d3b534d
--- /dev/null
+++ b/src/views/index/components/doublePreventionCheck.vue
@@ -0,0 +1,135 @@
+
+
+
+
+
+
diff --git a/src/views/index/components/info.vue b/src/views/index/components/info.vue
new file mode 100644
index 0000000..52eac25
--- /dev/null
+++ b/src/views/index/components/info.vue
@@ -0,0 +1,94 @@
+
+
+
+
+
+

+
+
+
+ 公司名称:
+ XXX公司
+
+
+ 组织机构代码证:
+
455555
+
+
+
+
+
驾驶员数:234
+
押运员数:234
+
装卸员数:234
+
+
+
+
+
主要负责人: 张三岁
+
主要负责人电话: 13833550548
+
+
+
法定代表人: 李四折
+
法人手机号: 13833550547
+
+
+
占地面积(㎡): 10000
+
职工人数(人): 22
+
+
+
+
+
+
+
+
+
diff --git a/src/views/index/components/rectificationOfHiddenDangers.vue b/src/views/index/components/rectificationOfHiddenDangers.vue
new file mode 100644
index 0000000..747a8d9
--- /dev/null
+++ b/src/views/index/components/rectificationOfHiddenDangers.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
diff --git a/src/views/index/components/risk_classification.vue b/src/views/index/components/risk_classification.vue
deleted file mode 100644
index 89e49d4..0000000
--- a/src/views/index/components/risk_classification.vue
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/views/index/components/statistics.vue b/src/views/index/components/statistics.vue
new file mode 100644
index 0000000..fa3cd9c
--- /dev/null
+++ b/src/views/index/components/statistics.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
diff --git a/src/views/index/components/trainingStatistics.vue b/src/views/index/components/trainingStatistics.vue
new file mode 100644
index 0000000..1693945
--- /dev/null
+++ b/src/views/index/components/trainingStatistics.vue
@@ -0,0 +1,52 @@
+
+
+ 培训情况统计
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/index/components/waybill.vue b/src/views/index/components/waybill.vue
new file mode 100644
index 0000000..a0d11bc
--- /dev/null
+++ b/src/views/index/components/waybill.vue
@@ -0,0 +1,53 @@
+
+
+ 运单情况统计
+
+
+
+
+
+
+ >
+
+
+
+
diff --git a/src/views/index/index.vue b/src/views/index/index.vue
index 7e93c5f..3281f42 100644
--- a/src/views/index/index.vue
+++ b/src/views/index/index.vue
@@ -3,25 +3,29 @@
-
-
-
-
-
-
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
@@ -29,11 +33,14 @@
diff --git a/src/views/management_staffing/components/add.vue b/src/views/management_staffing/components/add.vue
index 3215ef2..27f31be 100644
--- a/src/views/management_staffing/components/add.vue
+++ b/src/views/management_staffing/components/add.vue
@@ -12,13 +12,13 @@
style="width: 300px"
>
-