From db6c8388b3493c5f5a7d2582480f9c1d2cb1a59a Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 4 Jul 2024 10:11:38 +0800 Subject: [PATCH] add --- package-lock.json | 98 ++++++++ src/components/generateTable/genBtn.vue | 39 +++ src/components/generateTable/index.vue | 236 ++++++++++++++++++ .../components/header/user-drop-down.vue | 2 +- src/views/workbench/{index.vue => index..vue} | 0 src/views/workbench/index2.vue | 25 ++ src/views/workbench/index3.vue | 220 ++++++++++++++++ 7 files changed, 619 insertions(+), 1 deletion(-) create mode 100644 src/components/generateTable/genBtn.vue create mode 100644 src/components/generateTable/index.vue rename src/views/workbench/{index.vue => index..vue} (100%) create mode 100644 src/views/workbench/index2.vue create mode 100644 src/views/workbench/index3.vue diff --git a/package-lock.json b/package-lock.json index c7558e2..ef8d5fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "MIT", "dependencies": { "@element-plus/icons-vue": "^2.0.6", + "@form-create/element-ui": "^3.2.0", "@highlightjs/vue-plugin": "^2.1.0", "@wangeditor/editor": "^5.1.12", "@wangeditor/editor-for-vue": "^5.1.12", @@ -704,6 +705,103 @@ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.1.tgz", "integrity": "sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q==" }, + "node_modules/@form-create/component-elm-checkbox": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/component-elm-checkbox/-/component-elm-checkbox-3.2.0.tgz", + "integrity": "sha512-6F6iWzTf0+km4cGKTS8GGe8vXl7Goao2GdmwZWBOG0tsMrx52m/ZGgcWCYHqKx3zkibPpXdqyxuMnLYvb1epfw==", + "dependencies": { + "@form-create/utils": "^3.2.0" + } + }, + "node_modules/@form-create/component-elm-frame": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/component-elm-frame/-/component-elm-frame-3.2.0.tgz", + "integrity": "sha512-XJnYRwZBaViqSF4oQpPucmQiMctG9mAPeNpggUJG8rYZv/IxPb4qNovWaZsqfiCY8wyKtRTkWqqZFe9r9ubGUg==", + "dependencies": { + "@form-create/utils": "^3.2.0" + } + }, + "node_modules/@form-create/component-elm-group": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/component-elm-group/-/component-elm-group-3.2.0.tgz", + "integrity": "sha512-3Vjdi/zro0HCOnsb2LgQQy7V+vcJxJNrDMn0npYjqARN/ragovHrdSAUqIZ4Ixelo/q3+6vr488tW/SCQjFUSg==", + "dependencies": { + "@form-create/utils": "^3.2.0" + } + }, + "node_modules/@form-create/component-elm-radio": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/component-elm-radio/-/component-elm-radio-3.2.0.tgz", + "integrity": "sha512-oIdkRxFQmwcN2fZDZul0qgIPHjb/0RvrmnZsDU2PYG7aJjxfGY1ZTdtyW21q3Un1ug7FircwqZK7zlbrVXMOWw==", + "dependencies": { + "@form-create/utils": "^3.2.0" + } + }, + "node_modules/@form-create/component-elm-select": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/component-elm-select/-/component-elm-select-3.2.0.tgz", + "integrity": "sha512-jzrrUyLSVDRZHTap3MYVqNub/A00X+hpLn2DCiFj6hNPZC63fuScHhIKWjkQSF4KBDGPYNfi69kFI7SCYPhhjQ==", + "dependencies": { + "@form-create/utils": "^3.2.0" + } + }, + "node_modules/@form-create/component-elm-tree": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/component-elm-tree/-/component-elm-tree-3.2.0.tgz", + "integrity": "sha512-7Cc6XaRcIc88XuOVs8pVHg9uuoByGqa56f8bQy05GsyQTBESV7tIXY78qWXCuDvc+MzE9BtTD7EEdK1YONqYmQ==", + "dependencies": { + "@form-create/utils": "^3.2.0" + } + }, + "node_modules/@form-create/component-elm-upload": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/component-elm-upload/-/component-elm-upload-3.2.0.tgz", + "integrity": "sha512-gg/195vj5PDi1U+0KBOXArTzYnwW63fxlRHyNpb8uolD+Bf9mGwAyLu9V1IfjFSyR33zw6ftQ7K8Q5W2HvN6CA==", + "dependencies": { + "@form-create/utils": "^3.2.0" + } + }, + "node_modules/@form-create/component-subform": { + "version": "3.1.34", + "resolved": "https://registry.npmmirror.com/@form-create/component-subform/-/component-subform-3.1.34.tgz", + "integrity": "sha512-OJcFH/7MTHx7JLEjDK/weS27qfuFWAI+OK+gXTJ2jIt9aZkGWF/EWkjetiJLt5a0KMw4Z15wOS2XCY9pVK9vlA==" + }, + "node_modules/@form-create/core": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/core/-/core-3.2.0.tgz", + "integrity": "sha512-Mp/rxbbvBN1SXfIgpmJeRAgzhlNebCjUnzOzmUg9BvpZeKoxCiBkqDnqRfohMoBNTjDjUtg37WoiyDuzi4L0DQ==", + "dependencies": { + "@form-create/utils": "^3.2.0" + }, + "peerDependencies": { + "vue": "^3.1.0" + } + }, + "node_modules/@form-create/element-ui": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/element-ui/-/element-ui-3.2.0.tgz", + "integrity": "sha512-r722YiMbSog6yN9rJxA6BdutExEj4ukHyTMAISnEDuwgCgy90oDXp4fSUHUscA6AqLh1+SKK5Rl3RMbp6jLzaA==", + "dependencies": { + "@form-create/component-elm-checkbox": "^3.2.0", + "@form-create/component-elm-frame": "^3.2.0", + "@form-create/component-elm-group": "^3.2.0", + "@form-create/component-elm-radio": "^3.2.0", + "@form-create/component-elm-select": "^3.2.0", + "@form-create/component-elm-tree": "^3.2.0", + "@form-create/component-elm-upload": "^3.2.0", + "@form-create/component-subform": "^3.1.34", + "@form-create/core": "^3.2.0", + "@form-create/utils": "^3.2.0" + }, + "peerDependencies": { + "vue": "^3.1.0" + } + }, + "node_modules/@form-create/utils": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/@form-create/utils/-/utils-3.2.0.tgz", + "integrity": "sha512-fqc7/l+US76NhloxMF3xE7UafYgxA8jU+t5WrAhmjaIAJ0vUNp6ScL/kdwN4nfOvjByZ/Q8BFQT0wqrp4lcgtw==" + }, "node_modules/@highlightjs/vue-plugin": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@highlightjs/vue-plugin/-/vue-plugin-2.1.0.tgz", diff --git a/src/components/generateTable/genBtn.vue b/src/components/generateTable/genBtn.vue new file mode 100644 index 0000000..86e1321 --- /dev/null +++ b/src/components/generateTable/genBtn.vue @@ -0,0 +1,39 @@ + + \ No newline at end of file diff --git a/src/components/generateTable/index.vue b/src/components/generateTable/index.vue new file mode 100644 index 0000000..312a0ed --- /dev/null +++ b/src/components/generateTable/index.vue @@ -0,0 +1,236 @@ + + + + + + diff --git a/src/layout/default/components/header/user-drop-down.vue b/src/layout/default/components/header/user-drop-down.vue index 371bfda..2077ede 100644 --- a/src/layout/default/components/header/user-drop-down.vue +++ b/src/layout/default/components/header/user-drop-down.vue @@ -2,7 +2,7 @@
-
{{ userInfo.name }}
+
{{ userInfo.staff_name }}
diff --git a/src/views/workbench/index.vue b/src/views/workbench/index..vue similarity index 100% rename from src/views/workbench/index.vue rename to src/views/workbench/index..vue diff --git a/src/views/workbench/index2.vue b/src/views/workbench/index2.vue new file mode 100644 index 0000000..57e05ed --- /dev/null +++ b/src/views/workbench/index2.vue @@ -0,0 +1,25 @@ + + + diff --git a/src/views/workbench/index3.vue b/src/views/workbench/index3.vue new file mode 100644 index 0000000..c51341f --- /dev/null +++ b/src/views/workbench/index3.vue @@ -0,0 +1,220 @@ + + + + + +