From 4cdfdcb88b3c976e9fa00298dbf4d1db8d32f072 Mon Sep 17 00:00:00 2001 From: danshihao Date: Tue, 26 Mar 2024 13:54:58 +0800 Subject: [PATCH] =?UTF-8?q?[fix=2083059]=20=E8=B7=B3=E8=BD=AC=E4=BC=81?= =?UTF-8?q?=E6=A0=87=E5=BA=93=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standard/EnterpriseStandardList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue b/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue index 061b986e..e45b4f16 100644 --- a/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue +++ b/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue @@ -342,11 +342,11 @@ export default { return userRoleList.some(tt => adminRoleList.includes(tt)) } }, - created () { + mounted () { // 从消息跳转进来带企业编号 const { standard_number } = this.$route.query - this.$set(this.defaultSearchParams, 'standard_number', standard_number) - this.searchParams = Object.assign({}, this.defaultSearchParams) + this.$set(this.$refs.searchRef.queryParam, 'standard_number', standard_number) + this.searchParams = Object.assign({}, this.$refs.searchRef.queryParam) this.getTableHeader() this.loadData() // 过滤没有权限的按钮