Commit 88a79d49f05bb79512527239a76847a8e9f589a3
Merge branch 'ft' into 'main_dev'
feat: 消息配置 新增查看配置信息权限控制 See merge request yunteng/thingskit-front!835
Showing
2 changed files
with
2 additions
and
2 deletions
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | </Authority> | 17 | </Authority> |
18 | </template> | 18 | </template> |
19 | <template #config="{ record }"> | 19 | <template #config="{ record }"> |
20 | - <Authority value="api:yt:message:get"> | 20 | + <Authority value="api:yt:message:get:config"> |
21 | <a-button type="link" class="ml-2" @click="showData(record)"> 查看配置 </a-button> | 21 | <a-button type="link" class="ml-2" @click="showData(record)"> 查看配置 </a-button> |
22 | </Authority> | 22 | </Authority> |
23 | </template> | 23 | </template> |
@@ -749,7 +749,7 @@ export const actionSchema: FormSchema[] = [ | @@ -749,7 +749,7 @@ export const actionSchema: FormSchema[] = [ | ||
749 | placeholder: '请选择告警等级', | 749 | placeholder: '请选择告警等级', |
750 | options: [ | 750 | options: [ |
751 | { | 751 | { |
752 | - label: '紧急', | 752 | + label: '危险', |
753 | value: 'CRITICAL', | 753 | value: 'CRITICAL', |
754 | }, | 754 | }, |
755 | { | 755 | { |