From 02529b62d47b15a01af4e8652c0afeaea3781d63 Mon Sep 17 00:00:00 2001 From: "DESKTOP-CUI7KST\\HXGK" <1501216501@qq.com> Date: Fri, 19 Apr 2024 14:33:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=BA=94=E7=94=A8=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- node_modules/.package-lock.json | 5 +- package-lock.json | 5 +- src/router/index.ts | 8 +- src/types/components.d.ts | 11 + src/views/sysworkflow/codepage/createpage.vue | 594 ++++++++++++++++++ src/views/sysworkflow/codepage/editpage.vue | 106 ++++ src/views/sysworkflow/codepage/page.vue | 400 ++++++------ src/views/sysworkflow/codepage/page0318.vue | 213 +++++++ 8 files changed, 1158 insertions(+), 184 deletions(-) create mode 100644 src/views/sysworkflow/codepage/createpage.vue create mode 100644 src/views/sysworkflow/codepage/editpage.vue create mode 100644 src/views/sysworkflow/codepage/page0318.vue diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 1340bf38a..f5bcc84ed 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -9747,7 +9747,7 @@ }, "node_modules/unplugin-vue-components": { "version": "0.24.1", - "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-0.24.1.tgz", + "resolved": "https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.24.1.tgz", "integrity": "sha512-T3A8HkZoIE1Cja95xNqolwza0yD5IVlgZZ1PVAGvVCx8xthmjsv38xWRCtHtwl+rvZyL9uif42SRkDGw9aCfMA==", "dev": true, "dependencies": { @@ -9765,6 +9765,9 @@ "engines": { "node": ">=14" }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, "peerDependencies": { "@babel/parser": "^7.15.8", "@nuxt/kit": "^3.2.2", diff --git a/package-lock.json b/package-lock.json index 6c3a3cfbb..254bc1390 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10156,7 +10156,7 @@ }, "node_modules/unplugin-vue-components": { "version": "0.24.1", - "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-0.24.1.tgz", + "resolved": "https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.24.1.tgz", "integrity": "sha512-T3A8HkZoIE1Cja95xNqolwza0yD5IVlgZZ1PVAGvVCx8xthmjsv38xWRCtHtwl+rvZyL9uif42SRkDGw9aCfMA==", "dev": true, "dependencies": { @@ -10174,6 +10174,9 @@ "engines": { "node": ">=14" }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, "peerDependencies": { "@babel/parser": "^7.15.8", "@nuxt/kit": "^3.2.2", diff --git a/src/router/index.ts b/src/router/index.ts index b4448abdb..d068ba1f8 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,5 +1,5 @@ import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router"; - +import CreatePage from "@/views/sysworkflow/codepage/createpage.vue"; export const Layout = () => import("@/layout/index.vue"); // 静态路由 @@ -13,6 +13,11 @@ export const constantRoutes: RouteRecordRaw[] = [ path: "/redirect/:path(.*)", component: () => import("@/views/redirect/index.vue"), }, + { + path:"/create", + name: "create", + component: () => import('@/views/sysworkflow/codepage/createpage.vue'), + } ], }, @@ -51,6 +56,7 @@ export const constantRoutes: RouteRecordRaw[] = [ }, ], }, + // 外部链接 /*{ diff --git a/src/types/components.d.ts b/src/types/components.d.ts index 09cd0b0a6..fc5e96e92 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -26,6 +26,7 @@ declare module '@vue/runtime-core' { ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb'] ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem'] ElButton: typeof import('element-plus/es')['ElButton'] + ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup'] ElCard: typeof import('element-plus/es')['ElCard'] ElCarousel: typeof import('element-plus/es')['ElCarousel'] ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem'] @@ -48,7 +49,10 @@ declare module '@vue/runtime-core' { ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] ElForm: typeof import('element-plus/es')['ElForm'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] + ElHeader: typeof import('element-plus/es')['ElHeader'] ElIcon: typeof import('element-plus/es')['ElIcon'] + ElIconExpand: typeof import('@element-plus/icons-vue')['Expand'] + ElIconFold: typeof import('@element-plus/icons-vue')['Fold'] ElImage: typeof import('element-plus/es')['ElImage'] ElImageViewer: typeof import('element-plus/es')['ElImageViewer'] ElInput: typeof import('element-plus/es')['ElInput'] @@ -57,9 +61,11 @@ declare module '@vue/runtime-core' { ElMain: typeof import('element-plus/es')['ElMain'] ElMenu: typeof import('element-plus/es')['ElMenu'] ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] + ElMenuItemGroup: typeof import('element-plus/es')['ElMenuItemGroup'] ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] ElPopover: typeof import('element-plus/es')['ElPopover'] + ElProgress: typeof import('element-plus/es')['ElProgress'] ElRadio: typeof import('element-plus/es')['ElRadio'] ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] @@ -103,15 +109,20 @@ declare module '@vue/runtime-core' { IEpCaretBottom: typeof import('~icons/ep/caret-bottom')['default'] IEpCaretTop: typeof import('~icons/ep/caret-top')['default'] IEpClose: typeof import('~icons/ep/close')['default'] + IEpCollection: typeof import('~icons/ep/collection')['default'] IEpDelete: typeof import('~icons/ep/delete')['default'] IEpEdit: typeof import('~icons/ep/edit')['default'] IEpMessageBox: typeof import('~icons/ep/message-box')['default'] + IEpMoreFilled: typeof import('~icons/ep/more-filled')['default'] IEpOperation: typeof import('~icons/ep/operation')['default'] IEpPicture: typeof import('~icons/ep/picture')['default'] IEpPlus: typeof import('~icons/ep/plus')['default'] IEpRefresh: typeof import('~icons/ep/refresh')['default'] IEpSearch: typeof import('~icons/ep/search')['default'] IEpSetting: typeof import('~icons/ep/setting')['default'] + IEpStar: typeof import('~icons/ep/star')['default'] + IEpUser: typeof import('~icons/ep/user')['default'] + IEpView: typeof import('~icons/ep/view')['default'] LangSelect: typeof import('./../components/LangSelect/index.vue')['default'] LayoutPage: typeof import('./../components/DesignForm/layoutPage/index.vue')['default'] List: typeof import('./../components/DesignForm/public/form/components/list.vue')['default'] diff --git a/src/views/sysworkflow/codepage/createpage.vue b/src/views/sysworkflow/codepage/createpage.vue new file mode 100644 index 000000000..c29609219 --- /dev/null +++ b/src/views/sysworkflow/codepage/createpage.vue @@ -0,0 +1,594 @@ + + + + diff --git a/src/views/sysworkflow/codepage/editpage.vue b/src/views/sysworkflow/codepage/editpage.vue new file mode 100644 index 000000000..6f4a37aa2 --- /dev/null +++ b/src/views/sysworkflow/codepage/editpage.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/src/views/sysworkflow/codepage/page.vue b/src/views/sysworkflow/codepage/page.vue index 7284b0f41..c72206166 100644 --- a/src/views/sysworkflow/codepage/page.vue +++ b/src/views/sysworkflow/codepage/page.vue @@ -1,213 +1,251 @@ - diff --git a/src/views/sysworkflow/codepage/page0318.vue b/src/views/sysworkflow/codepage/page0318.vue new file mode 100644 index 000000000..7284b0f41 --- /dev/null +++ b/src/views/sysworkflow/codepage/page0318.vue @@ -0,0 +1,213 @@ + + + +