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 57d3f50..161f7a3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -447,15 +447,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 5ab58a9..97d3b34 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; background-color: transparent; } 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 bd0fe38..0152bfc 100644 --- a/src/views/Training/AnnualInspectionApplicants/index.vue +++ b/src/views/Training/AnnualInspectionApplicants/index.vue @@ -1,26 +1,24 @@ - 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 @@