6/27更新依赖,更新vite分包打包

This commit is contained in:
Zy
2026-06-27 08:42:02 +08:00
parent 4e2ae414c4
commit dff51dd4d4
6 changed files with 59 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ import TdtMap from './TDT.vue';
const emits = defineEmits<MapEmits>();
const props = defineProps<MapBaseProps>();
const GDorTDT = import.meta.env.VITE_APP_MAP_TYPE !== 'GCJ02';
const GDorTDT = import.meta.env.VITE_APP_MAP_TYPE === 'GCJ02';
// 实例绑定
const GDRef = ref<InstanceType<typeof GDMap>>();

View File

@@ -37,6 +37,21 @@
</el-button>
</el-form-item>
</el-form>
<footer class="footerBox" style="text-align: center; padding: 24px 16px; font-size: 14px; color: #666">
<p>&copy; 2026 山东橙空电子科技有限公司 版权所有</p>
<p style="margin-top: 10px">
<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank" style="color: #666; text-decoration: none">鲁ICP备2024131497号-3</a>
&nbsp;|&nbsp;
<a
href="https://www.beian.gov.cn/"
target="_blank"
style="color: #666; text-decoration: none; display: inline-flex; align-items: center; gap: 4px"
>
<!-- <img src="/static/beian.png" alt="公安备案图标" style="width: 16px; height: 16px" />-->
<!-- 鲁公网安备37110198765432号-->
</a>
</p>
</footer>
</div>
</template>
@@ -187,6 +202,13 @@ onMounted(() => {
</script>
<style lang="scss" scoped>
.footerBox {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
:deep(.el-button.hoverbutn) {
color: #fff;
&:hover {

View File

@@ -73,7 +73,7 @@ const formRef = ref();
const userid = ref(null);
const form = ref({
'userId': null,
'userName': '', // >= 4 && <= 16 账号
'userName': '', // >= 6 && <= 16 账号
'nickName': '', // >= 0 && <= 30 昵称
// 'userType': '', // 用户类型sys_user系统用户
'villageIds': '', // 管理小区id串
@@ -94,17 +94,17 @@ const rules = ref({
// 登录账号:必填,长度限制,通常建议增加唯一性校验(需后端配合或异步校验)
userName: [
{ required: true, message: '请输入登录账号', trigger: 'blur' },
{ min: 4, max: 16, message: '长度在 4 到 16 个字符', trigger: 'blur' }
{ min: 6, max: 16, message: '长度在 6 到 16 个字符', trigger: 'blur' }
],
// 登录密码:必填,新增时必填,编辑时可选(通常逻辑),这里暂按必填处理,建议长度限制
password: [
{ required: true, message: '请输入登录密码', trigger: 'blur' },
{ min: 5, max: 20, message: '长度在 520 个字符', trigger: 'blur' }
{ min: 6, max: 16, message: '长度在 616 个字符', trigger: 'blur' }
],
roleIds: [{ required: true, message: '请选择员工角色', trigger: 'change' }],
phonenumber: [
{
validator: (_, val) => validator(val, 'phone'),
validator: (_: any, val: string | number) => validator(val, 'phone'),
message: '请输入正确的手机号码',
trigger: 'blur',
required: true