From 400008f32557f57b5d28f37dcd0ffb44f07345b1 Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Mon, 22 Sep 2025 17:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/element-plus.scss | 2 +- src/assets/css/layout.scss | 3 +- src/components/aboutTable/PageTitle.vue | 20 ++- src/router/index.js | 9 - src/styles/index.scss | 2 +- .../components/detailForm.vue | 61 +++++++ .../AnnualInspection/components/pxgs.vue | 55 ++++++ src/views/Training/AnnualInspection/index.vue | 157 +++++++++++++++++- .../components/detailForm.vue | 93 +++++++++++ .../components/pxApllication.vue | 133 +++++++++++++++ .../AnnualInspectionApplicants/index.vue | 155 ++++++++++++++++- .../components/detailForm.vue | 111 +++++++++++++ .../AnnualInspectionTraining/index.vue | 129 +++++++++++++- .../Training/SecurityExamManagement/index.vue | 11 -- .../components/detailForm.vue | 90 ++++++++++ .../Training/SecurityQuestionBank/index.vue | 155 ++++++++++++++++- .../components/detailForm.vue | 78 +++++++++ .../SecurityTrainingSyllabus/index.vue | 149 ++++++++++++++++- .../components/detailForm.vue | 83 ++------- .../Training/SecurityTrainingVideo/index.vue | 5 - 20 files changed, 1370 insertions(+), 131 deletions(-) create mode 100644 src/views/Training/AnnualInspection/components/detailForm.vue create mode 100644 src/views/Training/AnnualInspection/components/pxgs.vue create mode 100644 src/views/Training/AnnualInspectionApplicants/components/detailForm.vue create mode 100644 src/views/Training/AnnualInspectionApplicants/components/pxApllication.vue create mode 100644 src/views/Training/AnnualInspectionTraining/components/detailForm.vue delete mode 100644 src/views/Training/SecurityExamManagement/index.vue create mode 100644 src/views/Training/SecurityQuestionBank/components/detailForm.vue create mode 100644 src/views/Training/SecurityTrainingSyllabus/components/detailForm.vue diff --git a/src/assets/css/element-plus.scss b/src/assets/css/element-plus.scss index 2461d1a..19ca9db 100644 --- a/src/assets/css/element-plus.scss +++ b/src/assets/css/element-plus.scss @@ -14,7 +14,7 @@ ::v-deep .el-input__inner { background-color: #fff; - border: 1px solid #e9e9e9; + border: 1px solid #e9e9e9 !important; &:hover { border: 1px solid #0065d8; diff --git a/src/assets/css/layout.scss b/src/assets/css/layout.scss index a0d6132..1a8fa7f 100644 --- a/src/assets/css/layout.scss +++ b/src/assets/css/layout.scss @@ -98,7 +98,7 @@ header { height: calc(100vh - 137px); overflow: auto; border: 1px solid #ccc; - top: 10px; + top: 4px; right: 10px; left: 10px; background-color: #fff; @@ -262,6 +262,7 @@ header { position: absolute; right: 0px; left: 0px; + background: #fff; } } } diff --git a/src/components/aboutTable/PageTitle.vue b/src/components/aboutTable/PageTitle.vue index 208dd59..099c805 100644 --- a/src/components/aboutTable/PageTitle.vue +++ b/src/components/aboutTable/PageTitle.vue @@ -1,7 +1,10 @@ \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 823ba1b..0cc2a94 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -437,15 +437,6 @@ export const publicRoutes = [ icon: "personnel" } }, - { - path: "/training/securityExamManagement", - name: "securityExamManagement", - component: () => import("@/views/Training/SecurityExamManagement/index"), - meta: { - title: "保安考试管理", - icon: "personnel" - } - } ] } // { diff --git a/src/styles/index.scss b/src/styles/index.scss index d2d6193..a41b505 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -99,7 +99,7 @@ div:focus { ::v-deep { .el-input__inner, .el-input__inner:hover, .el-input__inner:focus { - border: none; + // border: none; box-shadow: none; } } diff --git a/src/views/Training/AnnualInspection/components/detailForm.vue b/src/views/Training/AnnualInspection/components/detailForm.vue new file mode 100644 index 0000000..4ae86f4 --- /dev/null +++ b/src/views/Training/AnnualInspection/components/detailForm.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/src/views/Training/AnnualInspection/components/pxgs.vue b/src/views/Training/AnnualInspection/components/pxgs.vue new file mode 100644 index 0000000..eb91adb --- /dev/null +++ b/src/views/Training/AnnualInspection/components/pxgs.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/src/views/Training/AnnualInspection/index.vue b/src/views/Training/AnnualInspection/index.vue index da408e2..9cd6f96 100644 --- a/src/views/Training/AnnualInspection/index.vue +++ b/src/views/Training/AnnualInspection/index.vue @@ -1,11 +1,156 @@ - \ No newline at end of file + +const changeNo = (val) => { + pageData.pageConfiger.pageNum = val; + getList(); +}; +const changeSize = (val) => { + pageData.pageConfiger.pageSize = val; + getList(); +}; + +// 获取列表 +const getList = () => { + // pageData.tableConfiger.loading = true; + // let data = { ...pageData.pageConfiger, ...queryFrom.value }; + // qcckGet(data, "/mosty-jbld/jbldzsd/selectPage").then((res) => { + // pageData.tableData = res.records || []; + // pageData.total = res.total; + // pageData.tableConfiger.loading = false; + // }).catch(() => { + // pageData.tableConfiger.loading = false; + // }); +}; + + +// 详情 +const addEdit = (type, id) => { + nextTick(() => { + if(type == 'pxgs'){ + pxgs.value.init(id); + }else{ + detailDiloag.value.init(type, id); + } + }) +}; + + +// 表格高度计算 +const tabHeightFn = () => { + pageData.tableHeight = window.innerHeight - searchBox.value.offsetHeight - 250; + window.onresize = function () { + tabHeightFn(); + }; +}; + + + \ No newline at end of file diff --git a/src/views/Training/AnnualInspectionApplicants/components/detailForm.vue b/src/views/Training/AnnualInspectionApplicants/components/detailForm.vue new file mode 100644 index 0000000..d58a2f9 --- /dev/null +++ b/src/views/Training/AnnualInspectionApplicants/components/detailForm.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/src/views/Training/AnnualInspectionApplicants/components/pxApllication.vue b/src/views/Training/AnnualInspectionApplicants/components/pxApllication.vue new file mode 100644 index 0000000..d54ee80 --- /dev/null +++ b/src/views/Training/AnnualInspectionApplicants/components/pxApllication.vue @@ -0,0 +1,133 @@ + + + + + diff --git a/src/views/Training/AnnualInspectionApplicants/index.vue b/src/views/Training/AnnualInspectionApplicants/index.vue index 9032046..25d8e79 100644 --- a/src/views/Training/AnnualInspectionApplicants/index.vue +++ b/src/views/Training/AnnualInspectionApplicants/index.vue @@ -1,11 +1,154 @@ - \ No newline at end of file + +const changeNo = (val) => { + pageData.pageConfiger.pageNum = val; + getList(); +}; +const changeSize = (val) => { + pageData.pageConfiger.pageSize = val; + getList(); +}; + +// 获取列表 +const getList = () => { + // pageData.tableConfiger.loading = true; + // let data = { ...pageData.pageConfiger, ...queryFrom.value }; + // qcckGet(data, "/mosty-jbld/jbldzsd/selectPage").then((res) => { + // pageData.tableData = res.records || []; + // pageData.total = res.total; + // pageData.tableConfiger.loading = false; + // }).catch(() => { + // pageData.tableConfiger.loading = false; + // }); +}; + + + +// 详情 +const addEdit = (type, id) => { + nextTick(() => { + if(type == 'pxsq'){ + pxApllication.value.init(type, id); + }else{ + detailDiloag.value.init(type, id); + } + }) +}; + + +// 表格高度计算 +const tabHeightFn = () => { + pageData.tableHeight = window.innerHeight - searchBox.value.offsetHeight - 250; + window.onresize = function () { + tabHeightFn(); + }; +}; + + + \ No newline at end of file diff --git a/src/views/Training/AnnualInspectionTraining/components/detailForm.vue b/src/views/Training/AnnualInspectionTraining/components/detailForm.vue new file mode 100644 index 0000000..f9b4721 --- /dev/null +++ b/src/views/Training/AnnualInspectionTraining/components/detailForm.vue @@ -0,0 +1,111 @@ + + + + + diff --git a/src/views/Training/AnnualInspectionTraining/index.vue b/src/views/Training/AnnualInspectionTraining/index.vue index ef8dce2..11c7e48 100644 --- a/src/views/Training/AnnualInspectionTraining/index.vue +++ b/src/views/Training/AnnualInspectionTraining/index.vue @@ -1,11 +1,128 @@ - \ No newline at end of file + +const changeNo = (val) => { + pageData.pageConfiger.pageNum = val; + getList(); +}; +const changeSize = (val) => { + pageData.pageConfiger.pageSize = val; + getList(); +}; + +// 获取列表 +const getList = () => { + // pageData.tableConfiger.loading = true; + // let data = { ...pageData.pageConfiger, ...queryFrom.value }; + // qcckGet(data, "/mosty-jbld/jbldzsd/selectPage").then((res) => { + // pageData.tableData = res.records || []; + // pageData.total = res.total; + // pageData.tableConfiger.loading = false; + // }).catch(() => { + // pageData.tableConfiger.loading = false; + // }); +}; + + +// 详情 +const addEdit = (type, id) => { + nextTick(() => { + detailDiloag.value.init(type, id); + }) +}; + + +// 表格高度计算 +const tabHeightFn = () => { + pageData.tableHeight = window.innerHeight - searchBox.value.offsetHeight - 250; + window.onresize = function () { + tabHeightFn(); + }; +}; + + + \ No newline at end of file diff --git a/src/views/Training/SecurityExamManagement/index.vue b/src/views/Training/SecurityExamManagement/index.vue deleted file mode 100644 index 2cb8559..0000000 --- a/src/views/Training/SecurityExamManagement/index.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/Training/SecurityQuestionBank/components/detailForm.vue b/src/views/Training/SecurityQuestionBank/components/detailForm.vue new file mode 100644 index 0000000..d5fba40 --- /dev/null +++ b/src/views/Training/SecurityQuestionBank/components/detailForm.vue @@ -0,0 +1,90 @@ + + + + + diff --git a/src/views/Training/SecurityQuestionBank/index.vue b/src/views/Training/SecurityQuestionBank/index.vue index 90a9e68..e8854f5 100644 --- a/src/views/Training/SecurityQuestionBank/index.vue +++ b/src/views/Training/SecurityQuestionBank/index.vue @@ -1,11 +1,154 @@ - \ No newline at end of file + +const changeNo = (val) => { + pageData.pageConfiger.pageNum = val; + getList(); +}; +const changeSize = (val) => { + pageData.pageConfiger.pageSize = val; + getList(); +}; + +// 获取列表 +const getList = () => { + // pageData.tableConfiger.loading = true; + // let data = { ...pageData.pageConfiger, ...queryFrom.value }; + // qcckGet(data, "/mosty-jbld/jbldzsd/selectPage").then((res) => { + // pageData.tableData = res.records || []; + // pageData.total = res.total; + // pageData.tableConfiger.loading = false; + // }).catch(() => { + // pageData.tableConfiger.loading = false; + // }); +}; + + +// 删除 +const handleDelete = (id) => { + // proxy.$modal.confirm("是否确认删除该值守点?").then(() => { + // qcckPost({ id }, "/mosty-jbld/jbldzsd/delete").then(() => { + // proxy.$modal.msgSuccess("删除成功"); + // getList(); + // }); + // }); +}; + +// 详情 +const addEdit = (type, id) => { + nextTick(() => { + detailDiloag.value.init(type, id); + }) +}; + + +// 表格高度计算 +const tabHeightFn = () => { + pageData.tableHeight = window.innerHeight - searchBox.value.offsetHeight - 250; + window.onresize = function () { + tabHeightFn(); + }; +}; + + + \ No newline at end of file diff --git a/src/views/Training/SecurityTrainingSyllabus/components/detailForm.vue b/src/views/Training/SecurityTrainingSyllabus/components/detailForm.vue new file mode 100644 index 0000000..8619984 --- /dev/null +++ b/src/views/Training/SecurityTrainingSyllabus/components/detailForm.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/views/Training/SecurityTrainingSyllabus/index.vue b/src/views/Training/SecurityTrainingSyllabus/index.vue index 9992207..16e767c 100644 --- a/src/views/Training/SecurityTrainingSyllabus/index.vue +++ b/src/views/Training/SecurityTrainingSyllabus/index.vue @@ -1,11 +1,148 @@ - \ No newline at end of file + +const changeNo = (val) => { + pageData.pageConfiger.pageNum = val; + getList(); +}; +const changeSize = (val) => { + pageData.pageConfiger.pageSize = val; + getList(); +}; + +// 获取列表 +const getList = () => { + // pageData.tableConfiger.loading = true; + // let data = { ...pageData.pageConfiger, ...queryFrom.value }; + // qcckGet(data, "/mosty-jbld/jbldzsd/selectPage").then((res) => { + // pageData.tableData = res.records || []; + // pageData.total = res.total; + // pageData.tableConfiger.loading = false; + // }).catch(() => { + // pageData.tableConfiger.loading = false; + // }); +}; + + +// 删除 +const handleDelete = (id) => { + // proxy.$modal.confirm("是否确认删除该值守点?").then(() => { + // qcckPost({ id }, "/mosty-jbld/jbldzsd/delete").then(() => { + // proxy.$modal.msgSuccess("删除成功"); + // getList(); + // }); + // }); +}; + +// 详情 +const addEdit = (type, id) => { + nextTick(() => { + detailDiloag.value.init(type, id); + }) +}; + + +// 表格高度计算 +const tabHeightFn = () => { + pageData.tableHeight = window.innerHeight - searchBox.value.offsetHeight - 250; + window.onresize = function () { + tabHeightFn(); + }; +}; + + + \ No newline at end of file diff --git a/src/views/Training/SecurityTrainingVideo/components/detailForm.vue b/src/views/Training/SecurityTrainingVideo/components/detailForm.vue index ef32672..c967e3e 100644 --- a/src/views/Training/SecurityTrainingVideo/components/detailForm.vue +++ b/src/views/Training/SecurityTrainingVideo/components/detailForm.vue @@ -1,7 +1,7 @@