From ee5a28836cda8367b0496486c49efc1b00659d04 Mon Sep 17 00:00:00 2001 From: xiao12feng Date: Tue, 18 Nov 2025 18:16:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=85=A5=E9=87=8F?= =?UTF-8?q?=E8=A1=A8=E4=BB=85=E6=98=BE=E7=A4=BA=E5=8D=81=E4=B8=AA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xinli-ui/src/views/psychology/permission/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xinli-ui/src/views/psychology/permission/index.vue b/xinli-ui/src/views/psychology/permission/index.vue index 356667b6..294ea473 100644 --- a/xinli-ui/src/views/psychology/permission/index.vue +++ b/xinli-ui/src/views/psychology/permission/index.vue @@ -209,9 +209,10 @@ export default { this.loading = false; }); }, - /** 加载量表列表(只显示量表,不包含问卷) */ + /** 加载量表列表(显示所有量表,不包含问卷) */ loadScales() { - listScale({ status: '0', includeQuestionnaire: false }).then(response => { + // 不按状态过滤,并一次性拉取足够数量,确保所有量表都能配置权限 + listScale({ includeQuestionnaire: false, pageNum: 1, pageSize: 1000 }).then(response => { // 过滤掉问卷,只保留量表 this.scaleList = (response.rows || []) .filter(scale => !scale.sourceType || scale.sourceType === 'scale');