提交 77692b52 authored 作者: 刘旭's avatar 刘旭

修改报名身份证漏掉的校验条件

上级 ca2efb2e
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
var coverSupport = var coverSupport =
"CSS" in window && "CSS" in window &&
typeof CSS.supports === "function" && typeof CSS.supports === "function" &&
(CSS.supports("top: env(a)") || CSS.supports("top: constant(a)")) (CSS.supports("top: env(a)") || CSS.supports("top: constant(a)"));
document.write( document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ", viewport-fit=cover" : "") + (coverSupport ? ", viewport-fit=cover" : "") +
'" />' '" />'
) );
</script> </script>
</head> </head>
<page> <page>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
></script> ></script>
<script <script
charset="utf-8" charset="utf-8"
src="https://map.qq.com/api/js?v=2.exp&key=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77&libraries=geometry" src="https://map.qq.com/api/js?v=2.exp&key=DUMBZ-TYPCT-G4UX7-LCDNY-UOKY3-IZFXH&libraries=geometry"
></script> ></script>
</page> </page>
</html> </html>
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
"sdkConfigs": { "sdkConfigs": {
"maps": { "maps": {
"qqmap": { "qqmap": {
"key": "3M5BZ-SFCRJ-AHSF7-XRA5Q-Y6NIJ-DXBH4" "key": "DUMBZ-TYPCT-G4UX7-LCDNY-UOKY3-IZFXH"
} }
} }
} }
......
...@@ -282,11 +282,20 @@ const application = async () => { ...@@ -282,11 +282,20 @@ const application = async () => {
) )
return toast("请选择个人信息"); return toast("请选择个人信息");
if (isFText.value && !FText) return toast("请填写个人信息自定义内容"); if (isFText.value && !FText) return toast("请填写个人信息自定义内容");
if (!form.value.idCard) return toast("请选择证件类型"); if (!form.value.idCard && props.trainItem.FIdCardCheckBox === "true")
if (!FIdcard && form.value.idCard) return toast("证件号不能为空"); return toast("请选择证件类型");
if (!uniA.$u.test.idCard(FIdcard) && form.value.idCard === "居民身份证") if (
!FIdcard &&
form.value.idCard &&
props.trainItem.FIdCardCheckBox === "true"
)
return toast("证件号不能为空");
if (
!uniA.$u.test.idCard(FIdcard) &&
form.value.idCard === "居民身份证" &&
props.trainItem.FIdCardCheckBox === "true"
)
return toast("居民身份证格式不正确"); return toast("居民身份证格式不正确");
console.log(saveData.value.parmeters.Model.F_LQKJ_Entity[0]);
const { data: res }: any = await signUp(saveData.value); const { data: res }: any = await signUp(saveData.value);
if (res.code == 200) { if (res.code == 200) {
......
...@@ -19,7 +19,7 @@ import positionPopup from "./components/positionPopup.vue"; ...@@ -19,7 +19,7 @@ import positionPopup from "./components/positionPopup.vue";
const mapStore = useMapStore(); const mapStore = useMapStore();
const state = reactive({ const state = reactive({
key: "3M5BZ-SFCRJ-AHSF7-XRA5Q-Y6NIJ-DXBH4", key: "FXRBZ-3ERKW-TIFRE-YSDPX-PWXAF-7WBEE",
coord: "", coord: "",
}); });
......
...@@ -10,7 +10,7 @@ const windows: any = window; ...@@ -10,7 +10,7 @@ const windows: any = window;
const useQqMaps = () => { const useQqMaps = () => {
const geolocation = new windows.qq.maps.Geolocation( const geolocation = new windows.qq.maps.Geolocation(
"3M5BZ-SFCRJ-AHSF7-XRA5Q-Y6NIJ-DXBH4", "DUMBZ-TYPCT-G4UX7-LCDNY-UOKY3-IZFXH",
"XBRLPX" "XBRLPX"
); );
...@@ -37,7 +37,7 @@ const useQqMaps = () => { ...@@ -37,7 +37,7 @@ const useQqMaps = () => {
mapsInfo.lat = position.lat; mapsInfo.lat = position.lat;
mapsInfo.lng = position.lng; mapsInfo.lng = position.lng;
jsonp(url, { jsonp(url, {
key: "3M5BZ-SFCRJ-AHSF7-XRA5Q-Y6NIJ-DXBH4", key: "DUMBZ-TYPCT-G4UX7-LCDNY-UOKY3-IZFXH",
output: "jsonp", output: "jsonp",
// 需要传入的参数 // 需要传入的参数
location: position.lat + "," + position.lng, location: position.lat + "," + position.lng,
......
...@@ -3,7 +3,7 @@ const CONFIG: any = { ...@@ -3,7 +3,7 @@ const CONFIG: any = {
development: { development: {
assetsPath: "http://192.168.1.12", // 静态资源路径 assetsPath: "http://192.168.1.12", // 静态资源路径
// baseUrl: "http://192.168.1.12", // 后台接口请求地址 // baseUrl: "http://192.168.1.12", // 后台接口请求地址
baseUrl: 'http://192.168.1.168', // 后台接口请求地址 baseUrl: "http://192.168.1.168", // 后台接口请求地址
hostUrl: "http://192.168.1.12", // H5地址(前端运行地址) hostUrl: "http://192.168.1.12", // H5地址(前端运行地址)
websocketUrl: "", // websocket服务端地址 websocketUrl: "", // websocket服务端地址
}, },
...@@ -15,5 +15,5 @@ const CONFIG: any = { ...@@ -15,5 +15,5 @@ const CONFIG: any = {
hostUrl: "", // H5地址(前端运行地址) hostUrl: "", // H5地址(前端运行地址)
websocketUrl: "", // websocket服务端地址 websocketUrl: "", // websocket服务端地址
}, },
} };
export default CONFIG[process.env.NODE_ENV] export default CONFIG[process.env.NODE_ENV];
...@@ -64,8 +64,8 @@ export default defineConfig({ ...@@ -64,8 +64,8 @@ export default defineConfig({
"/k3cloud": { "/k3cloud": {
// target: 'https://weixin.lingqingkeji.com:86/', // target: 'https://weixin.lingqingkeji.com:86/',
// target: "http://192.168.1.66/", // target: "http://192.168.1.66/",
// target: "http://14.29.230.199:81/", target: "http://14.29.230.199:81/",
target: "http://192.168.1.61/", // target: "http://192.168.1.61/",
secure: false, secure: false,
}, },
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论