办学质量监测教学评价系统
shenrongliang
2025-06-13 11d86cc6c26bb4f709e407acadf4805c2024e79f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script setup lang="ts">
 
import { homeStore } from '@/store';
import {  computed ,ref } from 'vue'
import aiSetServer from './aiSetServer.vue';
import { NTag,NModal } from 'naive-ui'
const isHideServer= computed( ()=>homeStore.myData.session.isHideServer )
const st= ref({show:false})
</script>
<template>
<div class="whitespace-pre-wrap pb-10" v-if="!isHideServer"> 
<span class=" text-red-400">{{ $t('mj.setTextInfo') }} </span> <NTag type="primary"  effect="dark" @click="st.show=true" size="small" round style="cursor: pointer; ">{{ $t('setting.setting') }}</NTag>
</div>
<NModal v-model:show="st.show" :title="$t('mjset.server')" preset="card"  style="width: 95%; max-width: 640px">
    <aiSetServer v-if="st.show" @close="st.show=false"/>
</NModal>
</template>