From 72e67c6618aa3dfcffa05e5d64eebef25a1d8cbd Mon Sep 17 00:00:00 2001
From: 18650502300 <18650502300@163.com>
Date: Tue, 3 Dec 2024 16:02:44 +0800
Subject: [PATCH] =?UTF-8?q?=E8=81=94=E8=B0=83=20=E6=94=B9=E5=90=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/FormCol/index.vue | 31 +++++++++++++++++++++++++++++++
src/main.js | 3 +++
src/views/system/model/index.vue | 27 ++++++++++++++++++++-------
3 files changed, 54 insertions(+), 7 deletions(-)
create mode 100644 src/components/FormCol/index.vue
diff --git a/src/components/FormCol/index.vue b/src/components/FormCol/index.vue
new file mode 100644
index 0000000..2543509
--- /dev/null
+++ b/src/components/FormCol/index.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/main.js b/src/main.js
index 6bf9ef7..12e5fb4 100644
--- a/src/main.js
+++ b/src/main.js
@@ -37,6 +37,8 @@ import DictTag from '@/components/DictTag'
import VueMeta from 'vue-meta'
// 字典数据组件
import DictData from '@/components/DictData'
+// 行内表单组件
+import FormCol from '@/components/FormCol/index.vue'
// 全局方法挂载
Vue.prototype.getDicts = getDicts
@@ -57,6 +59,7 @@ Vue.component('Editor', Editor)
Vue.component('FileUpload', FileUpload)
Vue.component('ImageUpload', ImageUpload)
Vue.component('ImagePreview', ImagePreview)
+Vue.component('FormCol', FormCol)
Vue.use(directive)
Vue.use(plugins)
diff --git a/src/views/system/model/index.vue b/src/views/system/model/index.vue
index 55e44c6..471cc7d 100644
--- a/src/views/system/model/index.vue
+++ b/src/views/system/model/index.vue
@@ -76,14 +76,13 @@
-
-
-
+
+
- {{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+