diff --git a/klp-ui/src/components/KLPService/CheckItemSelect/index.vue b/klp-ui/src/components/KLPService/CheckItemSelect/index.vue index 1292a080..673262fc 100644 --- a/klp-ui/src/components/KLPService/CheckItemSelect/index.vue +++ b/klp-ui/src/components/KLPService/CheckItemSelect/index.vue @@ -12,23 +12,25 @@ + - 选择模版 - - - - - - + + + + + @@ -57,6 +59,7 @@ export default { key: "itemId", // 唯一标识字段 label: "itemName" // 显示文本字段 }, + total: 0, // 数据加载状态 loading: false, templateList: [], @@ -135,9 +138,10 @@ export default { this.open = true; const response = await listInspectionItemTemplate(this.queryParams); this.inspectionItemTemplateList = response.rows || []; + this.total = response.total || 0; } catch (error) { if (this.$modal) { - this.$message.error("加载待检项方案列表失败"); + this.$modal.msgError("加载待检项方案列表失败"); } else if (this.$message) { this.$message.error("加载待检项方案列表失败"); }