Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
XBRL-PX
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
刘旭
XBRL-PX
Commits
77692b52
提交
77692b52
authored
3月 05, 2024
作者:
刘旭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改报名身份证漏掉的校验条件
上级
ca2efb2e
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
25 行增加
和
16 行删除
+25
-16
index.html
index.html
+3
-3
manifest.json
src/manifest.json
+1
-1
applicationPopup.vue
src/pages/trainRegistration/components/applicationPopup.vue
+13
-4
map.vue
src/pagesTeach/setPositioning/map.vue
+1
-1
QqMaps.ts
src/utils/QqMaps.ts
+2
-2
config.ts
src/utils/config.ts
+3
-3
vite.config.ts
vite.config.ts
+2
-2
没有找到文件。
index.html
浏览文件 @
77692b52
...
@@ -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>
src/manifest.json
浏览文件 @
77692b52
...
@@ -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
"
}
}
}
}
}
}
...
...
src/pages/trainRegistration/components/applicationPopup.vue
浏览文件 @
77692b52
...
@@ -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
)
{
...
...
src/pagesTeach/setPositioning/map.vue
浏览文件 @
77692b52
...
@@ -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
:
""
,
});
});
...
...
src/utils/QqMaps.ts
浏览文件 @
77692b52
...
@@ -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
,
...
...
src/utils/config.ts
浏览文件 @
77692b52
...
@@ -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
]
;
vite.config.ts
浏览文件 @
77692b52
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论