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); } }); },