From f041847b6809e00fa3dddb9ad52847008844e60c Mon Sep 17 00:00:00 2001 From: shenhan000 Date: Fri, 13 Jun 2025 14:46:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6=E6=A8=A1=E5=9E=8B=E7=9A=84?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pluginVersion/index.js | 33 +++ src/views/comfyuiVersion/index.vue | 2 +- src/views/pluginVersion/index.vue | 352 +++++++++++++++++++++++++++++ vue.config.js | 6 +- 4 files changed, 388 insertions(+), 5 deletions(-) create mode 100644 src/api/pluginVersion/index.js create mode 100644 src/views/pluginVersion/index.vue diff --git a/src/api/pluginVersion/index.js b/src/api/pluginVersion/index.js new file mode 100644 index 0000000..f05ca70 --- /dev/null +++ b/src/api/pluginVersion/index.js @@ -0,0 +1,33 @@ +import request from '@/utils/request' + + +export function getVersionList(data) { + return request({ + url: '/ComfyUi/selectList', + method: 'get', + data: data + }) +} + +export function addVersion(data) { + return request({ + url: '/ComfyUi/selectInsert', + method: 'post', + data: data + }) + } + export function deleteVersion(data) { + return request({ + url: '/ComfyUi/selectDelete', + method: 'get', + params: data + }) + } + + export function updateVersion(data) { + return request({ + url: '/ComfyUi/selectUpdate', + method: 'post', + data: data + }) + } diff --git a/src/views/comfyuiVersion/index.vue b/src/views/comfyuiVersion/index.vue index bbf4543..3df5c29 100644 --- a/src/views/comfyuiVersion/index.vue +++ b/src/views/comfyuiVersion/index.vue @@ -397,7 +397,7 @@ export default { }); }, shwoEdite(row) { - this.editForm = row; + this.editForm = JSON.parse(JSON.stringify(row)) this.$nextTick(()=>{ this.editOpen = true; }) diff --git a/src/views/pluginVersion/index.vue b/src/views/pluginVersion/index.vue new file mode 100644 index 0000000..7b363d7 --- /dev/null +++ b/src/views/pluginVersion/index.vue @@ -0,0 +1,352 @@ + + + + diff --git a/vue.config.js b/vue.config.js index 59f4f48..4e5a43f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,10 +38,8 @@ module.exports = { [process.env.VUE_APP_BASE_API]: { // target: `http://1.13.246.108:8080`, // target: 'http://113.45.190.154:8080', // 线上 - // target: 'http://192.168.2.34:8080', // 代 - target: 'http://192.168.2.21:8080', // 嗨 - // target:'https://1e312ae8.r27.cpolar.top', // 嗨 - // target: 'https://2d1a399f.r27.cpolar.top', // 嗨 + target: 'http://192.168.2.34:8080', // 代 + // target: 'http://192.168.2.21:8080', // 嗨 changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''