From 8a830a53d96893099c21a0cd1a72bc4ba8f16c60 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 28 Dec 2022 17:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BE=A4=E6=9C=BA=E5=99=A8?= =?UTF-8?q?=E4=BA=BA=E9=80=9A=E7=9F=A5=E7=AD=89=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oms/apps/develop/AppDeployCustom/add.vue | 4 ++-- .../oms/apps/develop/AppDeployCustom/list.vue | 21 +++++++++++++------ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/project/oms/apps/develop/AppDeployCustom/add.vue b/project/oms/apps/develop/AppDeployCustom/add.vue index 4513bbb1..5b6799f6 100644 --- a/project/oms/apps/develop/AppDeployCustom/add.vue +++ b/project/oms/apps/develop/AppDeployCustom/add.vue @@ -236,11 +236,11 @@ export default { }, data() { return { - form: {apps: [], type: null, sysInfo: {}}, + form: {apps: [], type: null, sysInfo: {}, customPath: ""}, rules: { name: {required: true, message: "请输入"}, type: {required: true, message: "请选择"}, - customPath: {required: true, message: "请输入"}, + // customPath: {required: true, message: "请输入"}, }, colConfigs: [ {prop: 'text', label: "名称"}, diff --git a/project/oms/apps/develop/AppDeployCustom/list.vue b/project/oms/apps/develop/AppDeployCustom/list.vue index 72f9797a..4c75628c 100644 --- a/project/oms/apps/develop/AppDeployCustom/list.vue +++ b/project/oms/apps/develop/AppDeployCustom/list.vue @@ -6,6 +6,7 @@ - + @@ -164,6 +164,15 @@ export default { }).then(res => { if (res?.data) return res.data }) + }, + handleNotice(id) { + this.instance.post("/node/custom/webhook", null, { + params: {id} + }).then(res => { + if (res?.code == 0) { + this.$message.success("消息发送成功!") + } + }) } }, created() {