Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
folacin-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ynby
folacin-front
Commits
fe759723
Commit
fe759723
authored
Jun 11, 2025
by
罗成兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取用户信息
parent
5d2a9635
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
32 deletions
+12
-32
canvas.vue
folacin-app/src/views/canvas/canvas.vue
+1
-1
index.vue
folacin-app/src/views/index/index.vue
+1
-1
receiveApply.vue
folacin-app/src/views/receiveApply/receiveApply.vue
+0
-0
.env.dev
folacin-pc/.env.dev
+2
-2
Home.vue
folacin-pc/src/views/Home.vue
+1
-1
addFolviteDistribution.vue
...folviteDistribution/components/addFolviteDistribution.vue
+0
-0
folviteDistributionDetail.vue
...viteDistribution/components/folviteDistributionDetail.vue
+0
-0
folviteDistribution.vue
...ndexComponent/folviteDistribution/folviteDistribution.vue
+0
-0
common.js
folacin-pc/src/views/utils/common.js
+7
-27
No files found.
folacin-app/src/views/canvas/canvas.vue
View file @
fe759723
...
...
@@ -6,7 +6,7 @@
</
template
>
</van-nav-bar>
<div
class=
"height_44"
></div>
<vue-esign
ref=
"esign"
:isCrop=
"false"
:width=
"400"
:height=
"
7
00"
/>
<vue-esign
ref=
"esign"
:isCrop=
"false"
:width=
"400"
:height=
"
6
00"
/>
<div
class=
"btn"
>
<div
class=
"btn_right"
@
click=
"handleReset"
>
<img
src=
"../../assets/images/abrase.png"
alt=
""
>
...
...
folacin-app/src/views/index/index.vue
View file @
fe759723
...
...
@@ -31,7 +31,7 @@ export default {
scrollPosition
:
0
,
userInfo
:
{
account
:
null
,
token
:
"
52d30e396dff44eca2f51f614e42a8c0
"
,
token
:
"
44c1ef4e-de9e-4d32-9af4-3c0196e1ec83
"
,
userId
:
null
,
residentId
:
null
,
nickName
:
null
,
...
...
folacin-app/src/views/receiveApply/receiveApply.vue
View file @
fe759723
This diff is collapsed.
Click to expand it.
folacin-pc/.env.dev
View file @
fe759723
...
...
@@ -3,8 +3,8 @@ NODE_ENV = dev
VUE_APP_BASE_URL2222= https://beta-ysservice.yiboshi.com
VUE_APP_BASE_URL22 = https://ys-service.yiboshi.com
VUE_APP_BASE_URL4 = http://59.230.237.90:8115
VUE_APP_BASE_URL
2
= http://127.0.0.1:8083
VUE_APP_BASE_URL = https://beta-cqbp-yesuan.yiboshi.com:86/service-api
VUE_APP_BASE_URL = http://127.0.0.1:8083
VUE_APP_BASE_URL
33
= https://beta-cqbp-yesuan.yiboshi.com:86/service-api
VUE_APP_BASE_PATH = https://beta-yac.yiboshi.com
VUE_APP_KEY_WORD = 'XwKsGlMcdPMEhR1B'
...
...
folacin-pc/src/views/Home.vue
View file @
fe759723
...
...
@@ -47,7 +47,7 @@ export default {
},
created
()
{
//获取妇幼权限和登录基本信息
let
cookieToken
=
"
dd21a4cd-844a-47df-8627-d0dff82482c1
"
;
let
cookieToken
=
"
44c1ef4e-de9e-4d32-9af4-3c0196e1ec83
"
;
if
(
process
.
env
.
NODE_ENV
!=
"dev"
)
{
cookieToken
=
getCookie
(
'bGNnd3lwdF9hdA'
);
}
...
...
folacin-pc/src/views/indexComponent/folviteDistribution/components/addFolviteDistribution.vue
View file @
fe759723
This diff is collapsed.
Click to expand it.
folacin-pc/src/views/indexComponent/folviteDistribution/components/folviteDistributionDetail.vue
View file @
fe759723
This diff is collapsed.
Click to expand it.
folacin-pc/src/views/indexComponent/folviteDistribution/folviteDistribution.vue
View file @
fe759723
This diff is collapsed.
Click to expand it.
folacin-pc/src/views/utils/common.js
View file @
fe759723
...
...
@@ -105,30 +105,6 @@ export const timeFormat = (time, format = 'YYYY-MM-DD') => {
return
atime
}
/**
* 非空判断 已挂载到原型上$isNot
* 解决Vue Template模板中无法使用可选链的问题
* eg:
* let ces = {
data: {
data1: {
name: '测试'
}
}
}
let b = this.$isNot(ces, 'data', 'data1', 'name') //测试
{{$isNot(ces, 'data', 'data1', 'name')}} //测试
*/
// export const optionalChaining = (obj, ...rest) => {
// let tmp = obj;
// for (let key in rest) {
// let name = rest[key];
// tmp = tmp?.[name]; //es11可选链
// }
// return tmp ?? "未知";
// };
// 校验手机号
export
const
checkPhone
=
(
rule
,
value
,
callback
)
=>
{
if
(
value
==
''
||
value
==
undefined
)
{
...
...
@@ -231,18 +207,22 @@ export function areCodeTrans(areaCode) {
//末尾填充0实现
return
areCodeTrans2
(
areaCode
);
}
areaCode
=
areaCode
.
replaceAll
(
"0000000000"
,
""
);
areaCode
=
areaCode
.
replaceAll
(
"00000000"
,
""
);
areaCode
=
areaCode
.
replaceAll
(
"000000"
,
""
);
areaCode
=
areaCode
.
replaceAll
(
"000"
,
""
);
//末尾不填充0实现
if
(
areaCode
.
length
>=
2
)
{
areaCodeList
.
push
(
areaCode
.
substring
(
0
,
2
))
}
if
(
areaCode
.
length
>=
4
)
{
areaCodeList
.
push
(
areaCode
.
substring
(
0
,
4
))
areaCodeList
.
push
(
areaCode
.
substring
(
0
,
4
)
+
"00000000"
)
}
if
(
areaCode
.
length
>=
6
)
{
areaCodeList
.
push
(
areaCode
.
substring
(
0
,
6
))
areaCodeList
.
push
(
areaCode
.
substring
(
0
,
6
)
+
"000000"
)
}
if
(
areaCode
.
length
>=
9
)
{
areaCodeList
.
push
(
areaCode
.
substring
(
0
,
9
))
areaCodeList
.
push
(
areaCode
.
substring
(
0
,
9
)
+
"000"
)
}
if
(
areaCode
.
length
>=
12
)
{
areaCodeList
.
push
(
areaCode
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment