From b42c3ca7c9c9348b702040f110938a96bd2d255a Mon Sep 17 00:00:00 2001 From: tiezx Date: Thu, 17 Jul 2025 15:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 + package.json | 14 +- src/api/system/project.js | 44 +++++ src/api/system/user.js | 8 + src/views/business/operatorRecord/index.vue | 2 +- src/views/business/project/index.vue | 2 +- src/views/business/supplier/index.vue | 178 +++++++++++++++++++- src/views/workflow/work/all.vue | 48 ++++-- src/views/workflow/work/claim.vue | 30 +++- src/views/workflow/work/copy.vue | 35 +++- src/views/workflow/work/finished.vue | 34 +++- src/views/workflow/work/own.vue | 32 +++- src/views/workflow/work/todo.vue | 31 +++- 13 files changed, 420 insertions(+), 40 deletions(-) create mode 100644 src/api/system/project.js diff --git a/.gitignore b/.gitignore index 78a752d..962b057 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ selenium-debug.log package-lock.json yarn.lock +src/views/system/project/index.vue +src/views/business/supplier/index.vue diff --git a/package.json b/package.json index 4817a4f..f6b2aea 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,8 @@ "dependencies": { "@babel/parser": "7.7.4", "@riophae/vue-treeselect": "0.4.0", - "axios": "0.24.0", + "axios": "^1.10.0", + "bpmn-js-token-simulation": "0.10.0", "clipboard": "2.0.8", "core-js": "3.25.3", "echarts": "5.4.0", @@ -57,22 +58,21 @@ "quill": "1.3.7", "screenfull": "5.0.2", "sortablejs": "1.10.2", - "vue": "2.6.12", + "vue": "^3.5.17", "vue-count-to": "1.0.13", "vue-cropper": "0.5.5", "vue-meta": "2.4.0", "vue-router": "3.4.9", "vuedraggable": "2.24.3", "vuex": "3.6.0", - "xml-js": "1.6.11", - "bpmn-js-token-simulation": "0.10.0" + "xml-js": "1.6.11" }, "devDependencies": { "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", - "@vue/cli-plugin-babel": "4.4.6", - "@vue/cli-plugin-eslint": "4.4.6", - "@vue/cli-service": "4.4.6", + "@vue/cli-plugin-babel": "^5.0.8", + "@vue/cli-plugin-eslint": "^5.0.8", + "@vue/cli-service": "^5.0.8", "babel-eslint": "10.1.0", "babel-plugin-dynamic-import-node": "2.3.3", "bpmn-js": "7.5.0", diff --git a/src/api/system/project.js b/src/api/system/project.js new file mode 100644 index 0000000..2588420 --- /dev/null +++ b/src/api/system/project.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询模板信息列表 +export function listProject(query) { + return request({ + url: '/system/project/list', + method: 'get', + params: query + }) +} + +// 查询模板信息详细 +export function getProject(id) { + return request({ + url: '/system/project/' + id, + method: 'get' + }) +} + +// 新增模板信息 +export function addProject(data) { + return request({ + url: '/system/project', + method: 'post', + data: data + }) +} + +// 修改模板信息 +export function updateProject(data) { + return request({ + url: '/system/project', + method: 'put', + data: data + }) +} + +// 删除模板信息 +export function delProject(id) { + return request({ + url: '/system/project/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/user.js b/src/api/system/user.js index 9f10002..8b51753 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -142,3 +142,11 @@ export function deptTreeSelect() { method: 'get' }) } + +// 查询用户列表 +export function listAllUser() { + return request({ + url: '/system/user/listAll', + method: 'get' + }) +} diff --git a/src/views/business/operatorRecord/index.vue b/src/views/business/operatorRecord/index.vue index bc8a50f..07b887c 100644 --- a/src/views/business/operatorRecord/index.vue +++ b/src/views/business/operatorRecord/index.vue @@ -133,7 +133,7 @@ diff --git a/src/views/workflow/work/all.vue b/src/views/workflow/work/all.vue index d02b8d9..10de4d4 100644 --- a/src/views/workflow/work/all.vue +++ b/src/views/workflow/work/all.vue @@ -1,19 +1,43 @@