From 78b2ba87500ba0b91f6a702da11d86c4f9874c5e Mon Sep 17 00:00:00 2001 From: haha Date: Sun, 21 Jan 2024 21:33:26 +0800 Subject: [PATCH] update code --- src/pages/projectSafety.vue | 10 +++++----- src/pages/safe/workTrainListDlg.vue | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pages/projectSafety.vue b/src/pages/projectSafety.vue index 095d11d..ca88240 100644 --- a/src/pages/projectSafety.vue +++ b/src/pages/projectSafety.vue @@ -72,7 +72,7 @@ - + @@ -344,7 +344,7 @@ export default { //培训图表2 WorkTrainCnt2:0, WorkTrainChart2:[], - // 专项培训数据 + // 教育培训数据 workTrainList: [], // 应急演练数据 emergencyDrillList: [], @@ -492,7 +492,7 @@ export default { }, doShowDlgTrain(it, type) { if (type == "0") { - it.title = "专项培训"; + it.title = "教育培训"; it.typeTitle = "培训"; } else { it.title = "应急演练"; @@ -595,13 +595,13 @@ export default { this.$refs.chart4.init(opt2); }); }, - // 获取专项培训列表 + // 获取教育培训列表 getWorkTrainList() { this.$api.workTrain.getWorkTrainList(0, this.dept?.id||0,this.projectInfo?.id||0).then(d => { this.workTrainList = d.rows; }); }, - // 获取专项培训列表 + // 获取教育培训列表 getEmergencyDrillList() { this.$api.workTrain.getWorkTrainList(1, this.dept?.id||0,this.projectInfo?.id||0).then(d => { this.emergencyDrillList = d.rows; diff --git a/src/pages/safe/workTrainListDlg.vue b/src/pages/safe/workTrainListDlg.vue index 04808bf..7c3be51 100644 --- a/src/pages/safe/workTrainListDlg.vue +++ b/src/pages/safe/workTrainListDlg.vue @@ -1,6 +1,6 @@