Merge branch 'dev' into test
3 files modified
4 files added
| New file |
| | |
| | | |
| | | NODE_ENV = 'jiangwu' |
| | | |
| | | #生产环境配置 |
| | | VITE_APP_ENV = 'jiangwu' |
| | | |
| | | #接口地址 |
| | | #填写前缀 [/api] 需要用nginx进行反向代理 |
| | | #填写地址 [https://api.bladex.cn] 只需要保证接口支持跨域即可, 无需再做代理 |
| | | VITE_APP_API=/api |
| | | |
| | | #页面基础路径 |
| | | VITE_APP_BASE=/manage |
| | | |
| | | # 服务地址 |
| | | VITE_APP_URL = http://192.168.253.121:8080/api |
| | | |
| | | # 域名 |
| | | VITE_APP_AREA_NAME = http://192.168.253.121:8080/ |
| | | |
| | | #新大屏地址 |
| | | VITE_APP_DASHBOARD_URL = 'http://192.168.253.121:8080/command-center-dashboard/' |
| | | |
| | | # ws地址 |
| | | VITE_APP_WS_API_URL = ws://192.168.253.121:8080 |
| | | |
| | | # 航线文件地址 |
| | | VITE_APP_AIRLINE_URL = http://192.168.253.121:9000/cloud-bucket |
| | | |
| | | # 算法仓库图片地址 |
| | | VITE_APP_PICTURE_URL = http://192.168.253.121:9000/aiskyminio/cloud-bucket |
| | | |
| | | # 是否在打包时开启压缩,支持 gzip 和 brotli |
| | | VITE_BUILD_COMPRESS = gzip |
| | | |
| | | VITE_APP_OFFLINE_MAP_URL = http://192.168.253.121:9000/cloud-bucket/offline_map |
| | | |
| | | # 地形存放地址 |
| | | VITE_APP_TERRAIN_URL = http://192.168.253.121:9000/cloud-bucket/ztzf_terrain |
| | | |
| | | # 图片资源存放地址 |
| | | VITE_APP_IMAGESOURCE_URL = http://192.168.253.121:9000/cloud-bucket |
| | |
| | | "prod": "vite --mode production", |
| | | "build:test": "vite build --mode development", |
| | | "build:prod": "vite build --mode production", |
| | | "build:jiangwu": "vite build --mode jiangwu", |
| | | "serve": "vite preview --host" |
| | | }, |
| | | "dependencies": { |
| | |
| | | "vite-plugin-compression": "^0.5.1", |
| | | "vite-plugin-vue-setup-extend": "^0.4.0" |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | export default function getBaseConfig () { |
| | | return { |
| | | loginTitle: '中图智飞低空智能感知网平台', //登陆页面标题 |
| | | } |
| | | } |
| New file |
| | |
| | | export default function getBaseConfig () { |
| | | return { |
| | | userLoginTitle (key) { |
| | | return '大吉山钨业无人机安防监测平台' |
| | | }, |
| | | |
| | | loginTitle: '大吉山钨业无人机安防监测平台', |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| New file |
| | |
| | | |
| | | // 直接导入所有配置文件 |
| | | import jiangwuConfig from '@/buildConfig/buildConfig/config.jiangwu.js' |
| | | import defaultConfig from '@/buildConfig/buildConfig/config.default.js' |
| | | |
| | | // 根据环境变量选择配置 |
| | | const env = import.meta.env.VITE_APP_ENV || 'default' |
| | | const configMap = { |
| | | jiangwu: jiangwuConfig, |
| | | default: defaultConfig |
| | | } |
| | | |
| | | // 导出配置函数 |
| | | export default configMap[env] || configMap.default |
| | |
| | | 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: { |
| | |
| | | data() { |
| | | return { |
| | | login:{ |
| | | info: '中图智绘低空无人机监测网平台' |
| | | info: loginTitle |
| | | }, |
| | | website: website, |
| | | time: '', |
| | |
| | | created() { |
| | | this.handleLogin(); |
| | | this.getTime(); |
| | | if(!loginTitle) { |
| | | this.getSysConfigInfo(); |
| | | } |
| | | |
| | | }, |
| | | mounted() {}, |
| | | computed: { |
| | |
| | | let sysConfigId = this.$route.query?.id || 1; |
| | | getDetail(sysConfigId).then(res=>{ |
| | | this.login.info = res.data.data.name |
| | | |
| | | }) |
| | | }, |
| | | getTime() { |
| | |
| | | <el-button type="text" icon="el-icon-view" @click="handleViewDetail(row)">详情</el-button> |
| | | </template> |
| | | |
| | | <el-button v-if="row.status === 4 && row.isReview !== 1" type="text" icon="el-icon-check" |
| | | @click="reCheck(row)">复核</el-button> |
| | | <template v-if="permission.tickets_repeat_review"> |
| | | <el-button v-if="row.status === 4 && row.isReview !== 1" type="text" icon="el-icon-check" |
| | | @click="reCheck(row)">复核</el-button> |
| | | </template> |
| | | |
| | | </template> |
| | | <template #status="{ row }"> |
| | | <span :style="getStatusTagType(row.status) ? 'color:' + getStatusTagType(row.status) : ''"> |
| | |
| | | |
| | | mounted () { |
| | | const href = this.$route.href |
| | | if (this.$route?.query?.status !== undefined && this.$route?.query?.status !== null){ |
| | | this.filters.status = this.$route?.query?.status + '' |
| | | this.$router.replace({}) |
| | | } |
| | | |
| | | let curQueryParams = {} |
| | | |
| | | if (href.indexOf('?') != -1 && href.split('?').length > 0) { |