| | |
| | | NODE_ENV=production |
| | | |
| | | # 线上环境项目打包路径 |
| | | VITE_PUBLIC_PATH = /front/ |
| | | VITE_PUBLIC_PATH = / |
| | | |
| | | # 线上环境路由历史模式 |
| | | VITE_ROUTER_HISTORY = "h5" |
| | | |
| | | # 线上环境后端地址 |
| | | # VITE_PROXY_DOMAIN_REAL = "https://testrlywx.boleyuma.com/" |
| | | # VITE_PROXY_DOMAIN_REAL = "https://jygbapi.jx818.com/" |
| | | VITE_PROXY_DOMAIN_REAL = "https://ecss.hhbxjj.com/" |
| | | VITE_PROXY_DOMAIN_REAL = "https://jygbapi.jx818.com/" |
| | | |
| | | # 是否为打包后的文件提供传统浏览器兼容性支持 支持 true 不支持 false |
| | | VITE_LEGACY = true |
New file |
| | |
| | | NODE_ENV=production |
| | | |
| | | # 线上环境项目打包路径 |
| | | VITE_PUBLIC_PATH = /front/ |
| | | |
| | | # 线上环境路由历史模式 |
| | | VITE_ROUTER_HISTORY = "h5" |
| | | |
| | | # 线上环境后端地址 |
| | | # VITE_PROXY_DOMAIN_REAL = "https://testrlywx.boleyuma.com/" |
| | | # VITE_PROXY_DOMAIN_REAL = "https://jygbapi.jx818.com/" |
| | | VITE_PROXY_DOMAIN_REAL = "https://ecss.hhbxjj.com/" |
| | | |
| | | # 是否为打包后的文件提供传统浏览器兼容性支持 支持 true 不支持 false |
| | | VITE_LEGACY = true |
| | | |
| | | VITE_COMPRESSION = "none" |
| | | |
| | | # OSS上传地址 |
| | | VITE_OSS_URL = "https://parkmanagement.oss-cn-hangzhou.aliyuncs.com/" |
| | | VITE_OSS_URL_BUCKET = "parkmanagement" |
| | | VITE_WEMAP_KEY = "DYRBZ-ZGPCF-X3OJN-N2AA3-JWUCE-HEBXJ" |
| | | |
| | | VITE_CLIENT_ORIGIN = "http://118.178.252.28:8740" |
| | |
| | | loginFormTitle: '乐遇保云服务', |
| | | }); |
| | | |
| | | type AppType = 'one' | 'rz' | 'jx' | 'jy' | 'other' | 'backup'; |
| | | //tp:太平 |
| | | type AppType = 'one' | 'rz' | 'jx' | 'jy' | 'other' | 'backup' | 'tp'; |
| | | |
| | | const AppSettingMap = { |
| | | one: { |
| | |
| | | loginFormTitle: '江佑保备用', |
| | | MenuTitle: '江佑保备用', |
| | | }, |
| | | tp: { |
| | | title: '江佑共保后台管理系统', |
| | | loginFormTitle: '江佑共保后台管理系统', |
| | | MenuTitle: '江佑共保', |
| | | }, |
| | | }; |
| | | |
| | | export function getAppSetting(appType: AppType) { |
| | |
| | | "build": "cross-env NODE_OPTIONS=--max_old_space_size=16000 vite build", |
| | | "build:rz": "cross-env NODE_OPTIONS=--max_old_space_size=16000 VITE_AppType=rz vite build --mode rz", |
| | | "build:jx": "cross-env NODE_OPTIONS=--max_old_space_size=16000 VITE_AppType=jx vite build --mode jx", |
| | | "build:tp": "cross-env NODE_OPTIONS=--max_old_space_size=16000 VITE_AppType=tp vite build --mode tp", |
| | | "build:jy": "cross-env NODE_OPTIONS=--max_old_space_size=16000 VITE_AppType=jy vite build --mode jy", |
| | | "build:other": "cross-env NODE_OPTIONS=--max_old_space_size=16000 VITE_AppType=other vite build --mode other", |
| | | "build:backup": "cross-env NODE_OPTIONS=--max_old_space_size=16000 VITE_AppType=backup vite build --mode backup", |
New file |
| | |
| | | <template> |
| | | <el-dialog v-model="visible" @close="onDialogClose" destroy-on-close draggable> |
| | | <div>dasfdsfsfs</div> |
| | | <!-- <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button @click="emit('onCancel')">取 消</el-button> |
| | | </span> |
| | | </template> --> |
| | | </el-dialog> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { FormInstance } from 'element-plus'; |
| | | import { |
| | | ProDialog, |
| | | ProForm, |
| | | ProFormItemV2, |
| | | ProFormText, |
| | | UploadUserFile, |
| | | } from '@bole-core/components'; |
| | | |
| | | defineOptions({ |
| | | name: 'InsureInstructions', |
| | | }); |
| | | |
| | | // type Props = {}; |
| | | |
| | | // const props = withDefaults(defineProps<Props>(), {}); |
| | | |
| | | const visible = defineModel({ type: Boolean }); |
| | | |
| | | type Form = { |
| | | title: string; |
| | | name: string; |
| | | }; |
| | | |
| | | const form = defineModel<Form>('form'); |
| | | |
| | | const emit = defineEmits<{ |
| | | (e: 'onConfirm'): void; |
| | | (e: 'onCancel'): void; |
| | | }>(); |
| | | |
| | | const dialogForm = ref<FormInstance>(); |
| | | |
| | | function onDialogClose() { |
| | | if (!dialogForm.value) return; |
| | | dialogForm.value.resetFields(); |
| | | } |
| | | |
| | | function handleConfirm() { |
| | | if (!dialogForm.value) return; |
| | | dialogForm.value.validate((valid) => { |
| | | if (valid) { |
| | | emit('onConfirm'); |
| | | } else { |
| | | return; |
| | | } |
| | | }); |
| | | } |
| | | </script> |
| | |
| | | VITE_COMPRESSION: ViteCompression; |
| | | VITE_WEMAP_KEY:string; |
| | | VITE_CLIENT_ORIGIN:string; |
| | | VITE_AppType: 'one' | 'rz'| 'jx' | 'jy' | 'other' | 'backup'; |
| | | VITE_AppType: 'one' | 'rz' | 'jx' | 'jy' | 'other' | 'backup' | 'tp'; |
| | | } |
| | | |
| | | interface AppConfig { |