From 60e8a48be23de65098bc8bec55c5516e5d6774f1 Mon Sep 17 00:00:00 2001
From: Esacpe <1113279529@qq.com>
Date: Wed, 14 Jan 2026 17:19:18 +0800
Subject: [PATCH 1/3] =?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/components/ChooseList/index.vue | 3 +
src/components/GdMap/mapUtil.js | 4 -
.../securityNjgl/components/detailForm.vue | 6 +-
src/views/Training/securityNjgl/index.vue | 2 +-
src/views/Training/securityNjsp/index.vue | 4 +-
.../components/detailForm.vue | 14 +-
.../trainingCompanyNjgl/components/steps.vue | 41 +++-
.../Training/trainingCompanyNjgl/index.vue | 32 +--
.../components/addForm.vue | 129 ++++++++---
.../components/detailForm.vue | 201 ------------------
.../trainingCompanyNjsp/components/steps.vue | 105 ++-------
.../Training/trainingCompanyNjsp/index.vue | 60 +++---
12 files changed, 211 insertions(+), 390 deletions(-)
delete mode 100644 src/views/Training/trainingCompanyNjsp/components/detailForm.vue
diff --git a/src/components/ChooseList/index.vue b/src/components/ChooseList/index.vue
index 09262dd..1dc7025 100644
--- a/src/components/ChooseList/index.vue
+++ b/src/components/ChooseList/index.vue
@@ -7,6 +7,8 @@
+
+
-
-
diff --git a/src/views/Training/trainingCompanyNjsp/components/steps.vue b/src/views/Training/trainingCompanyNjsp/components/steps.vue
index da5e4f7..d1b30e1 100644
--- a/src/views/Training/trainingCompanyNjsp/components/steps.vue
+++ b/src/views/Training/trainingCompanyNjsp/components/steps.vue
@@ -1,105 +1,40 @@
-
-
-
-
-
-
+
+
+
+
+
+
+ 取消
+ 上报
+
+
-
diff --git a/src/views/Training/trainingCompanyNjsp/index.vue b/src/views/Training/trainingCompanyNjsp/index.vue
index 6eaebe6..946538f 100644
--- a/src/views/Training/trainingCompanyNjsp/index.vue
+++ b/src/views/Training/trainingCompanyNjsp/index.vue
@@ -2,7 +2,7 @@
@@ -19,8 +19,8 @@
- 审核流程
- 详情
+ 上报分局
+ 详情
-
-
-
+
@@ -43,15 +41,13 @@ import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue";
import AddForm from "./components/addForm.vue";
-import DetailForm from "./components/detailForm.vue";
import Steps from "./components/steps.vue";
import {getItem} from '@/utils/storage.js'
import { qcckPost } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
import { ElMessage } from "element-plus";
const { proxy } = getCurrentInstance();
-const { D_BA_SHZT,D_BA_SPZT } = proxy.$dict("D_BA_SHZT",'D_BA_SPZT');
-const detailDiloag = ref();
+const { D_BZ_WHCD,D_BA_SPZT } = proxy.$dict("D_BZ_WHCD",'D_BA_SPZT');
const RefSteap = ref();
const addFormRef = ref();
const shForm = ref();
@@ -60,7 +56,7 @@ const selectedRows = ref([]);
const searchConfiger = ref([
{
label: "培训项目名称",
- prop: "pxxm",
+ prop: "pxxmmc",
showType: "input"
},
{
@@ -85,25 +81,27 @@ const pageData = reactive({
},
controlsWidth: 180,
tableColumn: [
- { label: "培训项目名称", prop: "ssbakk",showOverflowTooltip: true },
- { label: "培训地址", prop: "sptzCompanyName", showOverflowTooltip: true },
- { label: "培训开始时间", prop: "njnf"},
- { label: "培训结束时间", prop: "xm" },
- { label: "组织单位", prop: "sfzhm",showOverflowTooltip: true },
- { label: "培训内容", prop: "dh" },
- { label: "培训人员", prop: "whcd" },
- { label: "已签到人员", prop: "zsbh", showOverflowTooltip: true },
- { label: "未签到人员", prop: "fwxymc" },
+ { label: "培训项目名称", prop: "pxxmmc",showOverflowTooltip: true },
+ { label: "培训地址", prop: "zzdw", showOverflowTooltip: true },
+ { label: "培训开始时间", prop: "pxkssj"},
+ { label: "培训结束时间", prop: "pxjssj" },
+ { label: "组织单位", prop: "zzdw",showOverflowTooltip: true },
+ { label: "培训内容", prop: "pxnr" },
+ { label: "培训人员", prop: "totalPersonCount" },
+ { label: "已签到人员", prop: "checkedInPersonCount", showOverflowTooltip: true },
+ { label: "未签到人员", prop: "notCheckedInPersonCount" },
{ label: "是否上报分县局", prop: "rzsj" },
]
});
onMounted(() => {
- // getList();
+ getList();
tabHeightFn();
});
// 搜索
const onSearch = (val) => {
queryFrom.value = { ...val };
+ queryFrom.value.pxkssjStart = val.pxsj ? val.pxsj[0]:'';
+ queryFrom.value.pxkssjEnd = val.pxsj ? val.pxsj[1]:'';
pageData.pageConfiger.pageNum = 1;
getList();
};
@@ -122,10 +120,11 @@ const getList = () => {
...pageData.pageConfiger,
...queryFrom.value,
}
- qcckPost(promes,'/mosty-base/bans/njxx/listForSendTraining').then((res) => {
+ delete promes.pxsj;
+ qcckPost(promes,'/mosty-base/bans/pxqd-item/page').then((res) => {
pageData.tableData = res.records || []
pageData.total = res.total;
- pageData.tableConfiger.loading = false;
+ pageData.tableConfiger.loading = false;
}).catch((err) => {
pageData.tableConfiger.loading = false;
})
@@ -135,23 +134,14 @@ const chooseData = (rows) => {
selectedRows.value = Array.isArray(rows) ? rows : [];
};
-const onBatchAudit = () => {
- addFormRef.value.init();
+const onBatchAudit = (type, row) => {
+ addFormRef.value.init(type, row);
};
// 详情
-const addEdit = (type, row) => {
- nextTick(() => {
- if(type == 'RefSteap'){
- RefSteap.value.init(row);
- }else if(type == 'shForm'){
- shForm.value.init(row);
- }
- else{
- detailDiloag.value.init(type, row);
- }
- })
+const dendDep = (row) => {
+ RefSteap.value.init(row);
};
From 6994b666926539de61706444055616b11dc33727 Mon Sep 17 00:00:00 2001
From: Esacpe <1113279529@qq.com>
Date: Wed, 14 Jan 2026 17:36:37 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ChooseList/ChooseNJBAY/index.vue | 210 ++++++++++++++++++
.../trainingCompanyNjgl/components/shForm.vue | 138 ++++++++++++
.../trainingCompanyNjsp/components/steps.vue | 40 ----
.../Training/trainingCompanyNjsp/index.vue | 11 -
4 files changed, 348 insertions(+), 51 deletions(-)
create mode 100644 src/components/ChooseList/ChooseNJBAY/index.vue
create mode 100644 src/views/Training/trainingCompanyNjgl/components/shForm.vue
delete mode 100644 src/views/Training/trainingCompanyNjsp/components/steps.vue
diff --git a/src/components/ChooseList/ChooseNJBAY/index.vue b/src/components/ChooseList/ChooseNJBAY/index.vue
new file mode 100644
index 0000000..64e4ac7
--- /dev/null
+++ b/src/components/ChooseList/ChooseNJBAY/index.vue
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Training/trainingCompanyNjgl/components/shForm.vue b/src/views/Training/trainingCompanyNjgl/components/shForm.vue
new file mode 100644
index 0000000..1057af9
--- /dev/null
+++ b/src/views/Training/trainingCompanyNjgl/components/shForm.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+ 通过
+ 不通过
+
+
+
+
+
+
+ 取消
+ 提交
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Training/trainingCompanyNjsp/components/steps.vue b/src/views/Training/trainingCompanyNjsp/components/steps.vue
deleted file mode 100644
index d1b30e1..0000000
--- a/src/views/Training/trainingCompanyNjsp/components/steps.vue
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
- 取消
- 上报
-
-
-
-
-
-
-
-
diff --git a/src/views/Training/trainingCompanyNjsp/index.vue b/src/views/Training/trainingCompanyNjsp/index.vue
index 946538f..b3ca47d 100644
--- a/src/views/Training/trainingCompanyNjsp/index.vue
+++ b/src/views/Training/trainingCompanyNjsp/index.vue
@@ -19,7 +19,6 @@
- 上报分局
详情
@@ -30,8 +29,6 @@
-
-
@@ -41,16 +38,13 @@ import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue";
import AddForm from "./components/addForm.vue";
-import Steps from "./components/steps.vue";
import {getItem} from '@/utils/storage.js'
import { qcckPost } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
import { ElMessage } from "element-plus";
const { proxy } = getCurrentInstance();
const { D_BZ_WHCD,D_BA_SPZT } = proxy.$dict("D_BZ_WHCD",'D_BA_SPZT');
-const RefSteap = ref();
const addFormRef = ref();
-const shForm = ref();
const searchBox = ref(); //搜索框
const selectedRows = ref([]);
const searchConfiger = ref([
@@ -90,7 +84,6 @@ const pageData = reactive({
{ label: "培训人员", prop: "totalPersonCount" },
{ label: "已签到人员", prop: "checkedInPersonCount", showOverflowTooltip: true },
{ label: "未签到人员", prop: "notCheckedInPersonCount" },
- { label: "是否上报分县局", prop: "rzsj" },
]
});
onMounted(() => {
@@ -139,10 +132,6 @@ const onBatchAudit = (type, row) => {
};
-// 详情
-const dendDep = (row) => {
- RefSteap.value.init(row);
-};
// 表格高度计算
From 50835f8a9c91e42e4175c40900b6e8427a88aea9 Mon Sep 17 00:00:00 2001
From: Esacpe <1113279529@qq.com>
Date: Wed, 14 Jan 2026 17:37:48 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../trainingCompanyNjsp/components/steps.vue | 40 +++++++++++++++++++
.../Training/trainingCompanyNjsp/index.vue | 10 +++++
2 files changed, 50 insertions(+)
create mode 100644 src/views/Training/trainingCompanyNjsp/components/steps.vue
diff --git a/src/views/Training/trainingCompanyNjsp/components/steps.vue b/src/views/Training/trainingCompanyNjsp/components/steps.vue
new file mode 100644
index 0000000..d1b30e1
--- /dev/null
+++ b/src/views/Training/trainingCompanyNjsp/components/steps.vue
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+ 取消
+ 上报
+
+
+
+
+
+
+
+
diff --git a/src/views/Training/trainingCompanyNjsp/index.vue b/src/views/Training/trainingCompanyNjsp/index.vue
index b3ca47d..e13ddda 100644
--- a/src/views/Training/trainingCompanyNjsp/index.vue
+++ b/src/views/Training/trainingCompanyNjsp/index.vue
@@ -19,6 +19,7 @@
+ 上报分局
详情
@@ -29,6 +30,8 @@
+
+
@@ -38,13 +41,16 @@ import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue";
import AddForm from "./components/addForm.vue";
+import Steps from "./components/steps.vue";
import {getItem} from '@/utils/storage.js'
import { qcckPost } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
import { ElMessage } from "element-plus";
const { proxy } = getCurrentInstance();
const { D_BZ_WHCD,D_BA_SPZT } = proxy.$dict("D_BZ_WHCD",'D_BA_SPZT');
+const RefSteap = ref();
const addFormRef = ref();
+const shForm = ref();
const searchBox = ref(); //搜索框
const selectedRows = ref([]);
const searchConfiger = ref([
@@ -132,6 +138,10 @@ const onBatchAudit = (type, row) => {
};
+// 详情
+const dendDep = (row) => {
+ RefSteap.value.init(row);
+};
// 表格高度计算