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() {