diff --git a/package.json b/package.json
index 026050f..51a238e 100644
--- a/package.json
+++ b/package.json
@@ -28,6 +28,7 @@
"js-beautify": "1.14.11",
"js-cookie": "3.0.5",
"jsencrypt": "3.3.2",
+ "moment": "^2.30.1",
"nprogress": "0.2.0",
"pinia": "2.1.7",
"splitpanes": "3.1.5",
diff --git a/src/views/qualification/vehicleTrain/form.vue b/src/views/qualification/vehicleTrain/form.vue
index ab313f6..1e94261 100644
--- a/src/views/qualification/vehicleTrain/form.vue
+++ b/src/views/qualification/vehicleTrain/form.vue
@@ -94,6 +94,7 @@ import { getSysSectionPage } from "@/api/system/section"
import { addVehicleModelTraining, getVehicleModelTraining, updateVehicleModelTraining } from "@/api/qualification/vehicleTrain"
const router = useRouter()
+const route = useRoute()
const levelList = ref([
{ title: '资质管理', path: '/qualification' },
@@ -106,7 +107,7 @@ onMounted(() => {
getBusDependencyData();
getDeptTree();
getSysSectionData();
- const id = router.params && router.params.Id
+ const id = route.params && route.params.Id
if (id) {
ruleForm.value.id = id
getDetailInfo(id)
@@ -195,7 +196,7 @@ const selectChanged = (value) => {
// 获取详情
const getDetailInfo = (id) => {
- getVehicleModelTraining(id).thne(res => {
+ getVehicleModelTraining(id).then(res => {
console.log('详情', res)
if(res.code == 200) ruleForm.value = res.data
})
diff --git a/src/views/qualification/vehicleTrain/index.vue b/src/views/qualification/vehicleTrain/index.vue
index d462bdf..e5ab2a6 100644
--- a/src/views/qualification/vehicleTrain/index.vue
+++ b/src/views/qualification/vehicleTrain/index.vue
@@ -51,7 +51,7 @@
- {{ scope.row.trainingTime }}
+ {{ moment(scope.row.trainingTime).format('YYYY-MM-DD') }}
-
@@ -78,7 +78,9 @@ import importIcon from '@/assets/images/ImportIcon.png'
import addIcon from '@/assets/images/addIcon.png'
import { getVehicleTrainingPageList, deleteVehicleModelTraining } from "@/api/qualification/vehicleTrain"
import { getBusDependencyPage } from "@/api/system/dependency"
+import moment from 'moment'
+const { proxy } = getCurrentInstance()
// 初始化
onMounted(() => {
getList();
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 12ba696..c1abb5e 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -161,22 +161,20 @@
-
-
+
+
-
-
+
+
-
-
+
+
@@ -187,13 +185,46 @@
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -216,15 +247,15 @@
-
+
+