From aa7a821297c522983d81c841b67c387b7d102d09 Mon Sep 17 00:00:00 2001 From: sunzehua Date: Mon, 17 Jul 2023 16:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modular/system/appManage.js | 40 +++++ src/components/index.js | 4 +- src/components/manyModel/index.vue | 68 +++++++++ src/views/system/ServiceFlow/addForm.vue | 93 +++++++++--- src/views/system/ServiceFlow/editForm.vue | 12 +- src/views/system/ServiceFlow/index.vue | 154 +++++++++++++------- src/views/system/ServiceItems/editForm.vue | 12 +- src/views/system/ServiceItems/index.vue | 43 +++--- src/views/system/ServiceStatus/editForm.vue | 12 +- src/views/system/ServiceStatus/index.vue | 45 +++--- 10 files changed, 354 insertions(+), 129 deletions(-) create mode 100644 src/components/manyModel/index.vue diff --git a/src/api/modular/system/appManage.js b/src/api/modular/system/appManage.js index c0ca52a..fe955a8 100644 --- a/src/api/modular/system/appManage.js +++ b/src/api/modular/system/appManage.js @@ -290,3 +290,43 @@ export function workFlowGetInfo (parameter) { params: parameter }) } + +export function workFlowSetEnable (parameter) { + return axios({ + url: '/ServiceWorkFlowBase/SetEnable', + method: 'post', + data: parameter + }) +} + +export function workFlowSetUnEnable (parameter) { + return axios({ + url: '/ServiceWorkFlowBase/SetUnEnable', + method: 'post', + data: parameter + }) +} + +export function workFlowSetUnDelete (parameter) { + return axios({ + url: '/ServiceWorkFlowBase/Delete', + method: 'post', + data: parameter + }) +} + +export function workFlowSetUnPublishRelease (parameter) { + return axios({ + url: '/ServiceWorkFlowBase/PublishRelease', + method: 'post', + data: parameter + }) +} + +export function workFlowSaveAndEnable (parameter) { + return axios({ + url: '/ServiceWorkFlowBase/SaveAndEnable', + method: 'post', + data: parameter + }) +} diff --git a/src/components/index.js b/src/components/index.js index f6aac88..5d87d48 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -30,11 +30,11 @@ import StandardFormRow from '@/components/StandardFormRow' import ArticleListContent from '@/components/ArticleListContent' import AntdEditor from '@/components/Editor/WangEditor' import Dialog from '@/components/Dialog' +import manyModel from '@/components/manyModel' // xn components import XCard from '@/components/xnComponents/XCard' import setFormModel from '@/components/setFormModel' -import setFormModelTest from '@/components/setFormModelTest' // import vfd from '@/components/flow/FlowDesigner' export { @@ -71,6 +71,6 @@ export { Dialog, XCard, setFormModel, - setFormModelTest + manyModel // vfd } diff --git a/src/components/manyModel/index.vue b/src/components/manyModel/index.vue new file mode 100644 index 0000000..52b47f7 --- /dev/null +++ b/src/components/manyModel/index.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/views/system/ServiceFlow/addForm.vue b/src/views/system/ServiceFlow/addForm.vue index 1cf40a7..baa2961 100644 --- a/src/views/system/ServiceFlow/addForm.vue +++ b/src/views/system/ServiceFlow/addForm.vue @@ -37,44 +37,41 @@ - + - 123 + {{ form.releaseVersion }} - 123 - 123 - + - 123 + {{ form.createdUserName }} - 123 + {{ form.createdTime }} - + - 123 - 123 + {{ form.updatedUserName }} - 123 + {{ form.updatedTime }}
@@ -93,7 +90,7 @@ 状态 添加
-
+
{{ item.sortNo }} {{ item.showName }} @@ -110,12 +107,18 @@ 关闭 - - 保存 + + 删除 + + + 取消启用 保存并启用 + + 发布 + @@ -185,7 +188,7 @@ 添加子状态

说明:包含子状态,可指定多个子状态,启用一个状态触发后,当前状态触发

-
+
{{ item.sortNo }} {{ item.showName }} @@ -299,7 +302,7 @@
-