From 9ea5ff67655241271bdf04bb50ca3a8d60c4e22a Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 11 八月 2026 15:07:02 +0800
Subject: [PATCH] fix: 用河南鹤壁代码覆盖山西长治
---
src/views/safeProduction/safetyTrainingAssessment/index.vue | 25 +------------------------
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/src/views/safeProduction/safetyTrainingAssessment/index.vue b/src/views/safeProduction/safetyTrainingAssessment/index.vue
index 38c2172..2c98308 100644
--- a/src/views/safeProduction/safetyTrainingAssessment/index.vue
+++ b/src/views/safeProduction/safetyTrainingAssessment/index.vue
@@ -76,21 +76,7 @@
prop="courseCode">
<el-input v-model="form.courseCode"
disabled
- placeholder="淇濆瓨鍚庤嚜鍔ㄧ敓鎴�" />
- </el-form-item>
- </el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col :span="12">
- <el-form-item label="鍒涘缓鏃堕棿"
- prop="createTime">
- <el-date-picker style="width: 100%"
- v-model="formCreateTimeDate"
- value-format="YYYY-MM-DD"
- format="YYYY-MM-DD"
- type="date"
- placeholder="璇烽�夋嫨"
- clearable />
+ placeholder="鑷姩鐢熸垚" />
</el-form-item>
</el-col>
</el-row>
@@ -459,19 +445,12 @@
trainingMode: "", // 鍩硅鏂瑰紡
placeTraining: "", // 鍩硅鍦扮偣
classHour: "", // 璇炬椂
- createTime: "", // 鍒涘缓鏃堕棿
},
dialogVisible: false,
dialogTitle: "",
dialogType: "add",
viewDialogVisible: false,
currentKnowledge: {},
- });
- const formCreateTimeDate = computed({
- get: () => (form.value.createTime ? String(form.value.createTime).split(" ")[0] : ""),
- set: (value) => {
- form.value.createTime = value ? `${value} ${dayjs().format("HH:mm:ss")}` : "";
- },
});
const {
@@ -1046,7 +1025,6 @@
trainingMode: "", // 鍩硅鏂瑰紡
placeTraining: "", // 鍩硅鍦扮偣
classHour: "", // 璇炬椂
- createTime: dayjs().format("YYYY-MM-DD HH:mm:ss"), // 鍒涘缓鏃堕棿
});
} else if (type === "edit" && row) {
dialogTitle.value = "缂栬緫鍩硅";
@@ -1064,7 +1042,6 @@
trainingMode: row.trainingMode, // 鍩硅鏂瑰紡
placeTraining: row.placeTraining, // 鍩硅鍦扮偣
classHour: row.classHour, // 璇炬椂
- createTime: row.createTime || "", // 鍒涘缓鏃堕棿
});
}
dialogVisible.value = true;
--
Gitblit v1.9.3