无人机管理后台前端(已迁走)
张含笑
2025-07-03 ad0ef43e3a7b7a3dac4b4b6181a8d4834b8a4c06
feat:江钨配置
3 files modified
30 ■■■■ changed files
src/buildConfig/buildConfig/config.default.js 14 ●●●●● patch | view | raw | blame | history
src/buildConfig/buildConfig/config.jiangwu.js 5 ●●●●● patch | view | raw | blame | history
src/page/login/index.vue 11 ●●●●● patch | view | raw | blame | history
src/buildConfig/buildConfig/config.default.js
@@ -1,19 +1,5 @@
export default function getBaseConfig () {
    const store = useStore()
    const loginUserInfo = computed(() => store?.state?.user?.userInfo?.detail)
    return {
        userLoginTitle (key) {
            return (systemNameEnum[key] || '中图智飞') + '低空感知网平台'
        },
        userLoginPageClass: '',
        loginTitle: '中图智飞低空智能感知网平台',  //登陆页面标题
        headerTitle: `${loginUserInfo.value?.areaName || ''}低空感知网指挥调度平台`,//首页标题
        gateTitle: '中图智飞低空感知网平台',
        gateTitleEn: 'AISKY Low-altitude Perception Network Platform',
    }
}
src/buildConfig/buildConfig/config.jiangwu.js
@@ -4,13 +4,8 @@
            return '大吉山钨业无人机安防监测平台'
        },
        userLoginPageClass: 'jw-user-login-page',
        loginTitle: '大吉山钨业无人机安防监测平台',
        headerTitle: '大吉山钨业无人机安防监测平台',
        gateTitle: '大吉山钨业无人机安防监测平台',
        gateTitleEn: 'Dajishan Tungsten Industry UAV Security Monitoring Platform',
    
    }
src/page/login/index.vue
@@ -39,7 +39,8 @@
import { getQueryString, getTopUrl } from '@/utils/util';
import { getDetail } from '@/api/system/sysConfig'
import website from '@/config/website';
import getBaseConfig from '@/buildConfig/config'
const { loginTitle} = getBaseConfig()
export default {
  name: 'login',
  components: {
@@ -51,7 +52,7 @@
  data() {
    return {
      login:{
        info: '中图智绘低空无人机监测网平台'
        info: loginTitle
      },
      website: website,
      time: '',
@@ -72,7 +73,10 @@
  created() {
    this.handleLogin();
    this.getTime();
   if(!loginTitle) {
    this.getSysConfigInfo();
  }
  },
  mounted() {},
  computed: {
@@ -85,8 +89,7 @@
      let sysConfigId = this.$route.query?.id || 1;
      getDetail(sysConfigId).then(res=>{
        this.login.info = res.data.data.name
        console.log('mmmm', this.login.info);
      })
    },
    getTime() {