From 4259508889a9e5965a13fb0cc339223fc5bc1513 Mon Sep 17 00:00:00 2001 From: x_z Date: Thu, 13 Oct 2022 18:22:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=BB=BA=E5=9E=9B=E8=A7=84?= =?UTF-8?q?=E5=88=99=E6=B7=BB=E5=8A=A0=E5=AE=A2=E6=88=B7ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sys/stackRules.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/sys/stackRules.vue b/src/views/sys/stackRules.vue index 73c1d99..ab2f25a 100644 --- a/src/views/sys/stackRules.vue +++ b/src/views/sys/stackRules.vue @@ -188,7 +188,8 @@ export default { step: 1, serialNum: null, status: 1, - remark: null + remark: null, + customerId: this.$store.getters.customerId }, multipleSelection: [], statusMap: { @@ -225,6 +226,7 @@ export default { }); }, search() { + console.log(this.$store.getters.customerId); this.query.page = 1; this.getList(); }, @@ -258,11 +260,14 @@ export default { }, //新建规则 submit() { + console.log(this.$store.getters.customerId); saveStackRules(this.formName, this.formData).then((res) => { if (res.code === 20000) { this.editRulesVisible = false; this.$message.success(res.message); this.getList(); + } else { + this.$message.error(res.message); } }); },