From 6d35edee98da87879f127003652c913a93abb173 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 26 May 2022 19:00:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=83=A8=E7=BD=B2=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/oms/apps/AppDeploy/AppDeploy.vue | 35 ++++++++---------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/project/oms/apps/AppDeploy/AppDeploy.vue b/project/oms/apps/AppDeploy/AppDeploy.vue index 89524868..0792da1e 100644 --- a/project/oms/apps/AppDeploy/AppDeploy.vue +++ b/project/oms/apps/AppDeploy/AppDeploy.vue @@ -24,24 +24,23 @@ - - + + - - + + - - + + @@ -72,9 +71,9 @@ export default { tableData: [], colConfigs: [ {label: "项目/系统名称", prop: "name", width: 200}, - {label: "git", render: (h, {row}) => h('p', {class: "textRight"}, row.git)}, - {label: "git分支", prop: "branch", width: 140}, - {label: "开发环境nginx", prop: "target"}, + {label: "打包脚本", prop: "libShell"}, + {label: "更新脚本", prop: "updateShell"}, + {label: "nginx地址", prop: "target"}, {slot: "process"}, {slot: "options"} ], @@ -82,8 +81,8 @@ export default { form: {}, rules: { name: {required: true, message: "请输入项目/系统名称"}, - git: {required: true, message: "请输入git"}, - branch: {required: true, message: "请输入 git分支"}, + libShell: {required: true, message: "请输入 打包脚本"}, + updateShell: {required: true, message: "请输入 更新脚本"}, } } }, @@ -145,16 +144,6 @@ export default { } }) }, - handleUpdateSystem(row) { - let {id} = row - return this.instance.post("/node/autodeploy/updateSystem", null, { - params: {id} - }).then(res => { - if (res?.code == 0) { - - } - }) - }, handleEdit(row) { this.form = JSON.parse(JSON.stringify(row)) this.dialog = true