2323 step-strictly
2424 />
2525 <span class =" ml-4" >{{
26- $t('views.applicationOverview.appInfo.LimitDialog.timesDays')
27- }}</span >
26+ $t('views.applicationOverview.appInfo.LimitDialog.timesDays')
27+ }}</span >
2828 </el-form-item >
2929 <!-- 身份验证 -->
3030 <el-form-item
7474 style =" margin : 0 4px 0 0 !important "
7575 >
7676 <el-icon >
77- <RefreshRight />
77+ <RefreshRight />
7878 </el-icon >
7979 </el-button >
8080 </el-tooltip >
8888 :class =" form.authentication_value.type === 'login' ? 'active' : ''"
8989 >
9090 <el-radio value =" login" size =" large" >
91- <p class =" mb-16 lighter" >
91+ <p class =" mb-16 lighter flex align-center " >
9292 {{ $t('views.system.authentication.title') }}
93+ <el-tooltip
94+ popper-class =" max-w-350"
95+ effect =" dark"
96+ :content =" $t('views.applicationOverview.appInfo.LimitDialog.authenticationTooltip')"
97+ >
98+ <AppIcon iconName =" app-warning" class =" app-warning-icon" ></AppIcon >
99+ </el-tooltip >
100+
93101 <el-button type =" primary" link @click =" router.push({ name: 'applicationChatUser' })" >
94102 {{ $t('views.applicationOverview.appInfo.LimitDialog.toSettingChatUser') }}
95103 </el-button >
111119 >
112120 <el-checkbox-group v-model =" form.authentication_value.login_value" >
113121 <template v-for =" t in auth_list " :key =" t .value " >
114- <el-checkbox :label =" t.label" :value =" t.value" />
122+ <el-checkbox :label =" t.label" :value =" t.value" />
115123 </template >
116124 </el-checkbox-group >
117125 </el-form-item >
178186 </el-drawer >
179187</template >
180188<script setup lang="ts">
181- import {ref , watch , computed } from ' vue'
182- import {useRoute , useRouter } from ' vue-router'
183- import type {FormInstance , FormRules } from ' element-plus'
184- import {MsgSuccess } from ' @/utils/message'
185- import {t } from ' @/locales'
186- import {copyClick } from ' @/utils/clipboard'
187- import {loadSharedApi } from ' @/utils/dynamics-api/shared-api'
189+ import { ref , watch , computed } from ' vue'
190+ import { useRoute , useRouter } from ' vue-router'
191+ import type { FormInstance , FormRules } from ' element-plus'
192+ import { MsgSuccess } from ' @/utils/message'
193+ import { t } from ' @/locales'
194+ import { copyClick } from ' @/utils/clipboard'
195+ import { loadSharedApi } from ' @/utils/dynamics-api/shared-api'
188196
189197const router = useRouter ()
190198const route = useRoute ()
191199const {
192- params : {id },
200+ params : { id },
193201} = route
194202
195203const apiType = computed (() => {
@@ -243,7 +251,7 @@ const open = (data: any) => {
243251 }
244252 form .value .authentication = data .authentication
245253 dialogVisible .value = true
246- loadSharedApi ({type: ' application' , systemType: apiType .value })
254+ loadSharedApi ({ type: ' application' , systemType: apiType .value })
247255 .getChatUserAuthType ()
248256 .then ((ok : any ) => {
249257 auth_list .value = ok .data
@@ -261,7 +269,7 @@ const submit = async (formEl: FormInstance | undefined) => {
261269 authentication: form .value .authentication ,
262270 authentication_value: form .value .authentication_value ,
263271 }
264- loadSharedApi ({type: ' application' , systemType: apiType .value })
272+ loadSharedApi ({ type: ' application' , systemType: apiType .value })
265273 .putAccessToken (id as string , obj , loading )
266274 .then (() => {
267275 emit (' refresh' )
@@ -297,7 +305,7 @@ function firstGeneration() {
297305 }
298306}
299307
300- defineExpose ({open })
308+ defineExpose ({ open })
301309 </script >
302310<style lang="scss" scoped>
303311.authentication-append-input {
0 commit comments