Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
GaoQuYingJiH5-ASD
Commits
e4e4cc5e
Commit
e4e4cc5e
authored
Aug 29, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:商户信息明文加密处理;特种工作也报备详情明文加密处理
parent
bc731524
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
516 additions
and
491 deletions
+516
-491
includeHead.js
sdk/includeHead.js
+1
-1
_shanghu_detail-edit.css
src/_shanghu_detail-edit.css
+8
-1
_shanghu_detail-edit.html
src/_shanghu_detail-edit.html
+420
-485
_shanghu_detail-edit.js
src/_shanghu_detail-edit.js
+33
-0
_tezhongzuoye_detail.css
src/_tezhongzuoye_detail.css
+8
-1
_tezhongzuoye_detail.html
src/_tezhongzuoye_detail.html
+20
-2
_tezhongzuoye_detail.js
src/_tezhongzuoye_detail.js
+26
-1
No files found.
sdk/includeHead.js
View file @
e4e4cc5e
...
@@ -67,7 +67,7 @@ if (window.env == 'dev') {
...
@@ -67,7 +67,7 @@ if (window.env == 'dev') {
// 管理员 线上
// 管理员 线上
// 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImxvZ2luX3VzZXJfa2V5IjoiZGFiZWMwMTAtYzM1MS00NGUzLTk5OTAtZGJjMmRhMzgyNGU5In0.SgeTLyYLDbJyvPxvPSpX6rRg2anfR12_40x9cK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s3XnlqR6QgDRWDfXkOpdLYhFdqEaTxvE8GxLAgU8vcsHPEKdhQ4VvOwsiNAtIaUpMDXirOb-FrHVNvZo4g'
...
...
src/_shanghu_detail-edit.css
View file @
e4e4cc5e
...
@@ -237,3 +237,10 @@ select:disabled {
...
@@ -237,3 +237,10 @@ select:disabled {
height: 0.88rem;
height: 0.88rem;
line-height: 0.88rem;
line-height: 0.88rem;
} */
} */
/* 图标样式优化 */
.van-icon-closed-eye
,
.van-icon-eye-o
{
font-size
:
16px
;
transition
:
color
0.2s
;
}
src/_shanghu_detail-edit.html
View file @
e4e4cc5e
This diff is collapsed.
Click to expand it.
src/_shanghu_detail-edit.js
View file @
e4e4cc5e
...
@@ -57,6 +57,19 @@ window.addEventListener('load', function () {
...
@@ -57,6 +57,19 @@ window.addEventListener('load', function () {
dict4community
:
[],
dict4community
:
[],
dict4industryType
:
[],
dict4industryType
:
[],
consumerSuggestList
:
[],
consumerSuggestList
:
[],
// 添加显示状态管理对象
showOriginal
:
{
merchantName
:
false
,
merchantPhone
:
false
,
businessAddress
:
false
,
owner
:
false
,
ownerPhone
:
false
,
operator
:
false
,
operatorPhone
:
false
,
landlordName
:
false
,
landlordContact
:
false
}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -93,6 +106,26 @@ window.addEventListener('load', function () {
...
@@ -93,6 +106,26 @@ window.addEventListener('load', function () {
}
}
},
},
methods
:
{
methods
:
{
// 添加脱敏处理函数
desensitize
(
value
,
type
)
{
if
(
!
value
)
return
''
;
switch
(
type
)
{
case
'
name
'
:
// 姓名脱敏:保留姓氏
return
value
.
length
>
1
?
value
.
charAt
(
0
)
+
'
*
'
.
repeat
(
value
.
length
-
1
)
:
value
;
case
'
phone
'
:
// 手机号脱敏:保留前3后4
return
value
.
replace
(
/^
(\d{3})\d{4}(\d{4})
$/
,
'
$1****$2
'
);
case
'
address
'
:
// 地址脱敏:保留前5后5
if
(
value
.
length
<=
10
)
return
value
;
return
value
.
substring
(
0
,
5
)
+
'
*****
'
+
value
.
substring
(
value
.
length
-
5
);
default
:
// 默认脱敏:保留前3后3
if
(
value
.
length
<=
6
)
return
value
;
return
value
.
substring
(
0
,
3
)
+
'
*****
'
+
value
.
substring
(
value
.
length
-
3
);
}
},
// 切换显示状态方法
toggleShow
(
field
)
{
this
.
$set
(
this
.
showOriginal
,
field
,
!
this
.
showOriginal
[
field
]);
},
reset
(){
reset
(){
this
.
page
=
1
this
.
page
=
1
this
.
size
=
9999
this
.
size
=
9999
...
...
src/_tezhongzuoye_detail.css
View file @
e4e4cc5e
...
@@ -397,3 +397,10 @@ iframe{
...
@@ -397,3 +397,10 @@ iframe{
color
:
#FFFFFF
;
/* 文字颜色 */
color
:
#FFFFFF
;
/* 文字颜色 */
line-height
:
1.2
;
/* 行高 */
line-height
:
1.2
;
/* 行高 */
}
}
/* 图标样式优化 */
.van-icon-closed-eye
,
.van-icon-eye-o
{
font-size
:
16px
;
transition
:
color
0.2s
;
}
\ No newline at end of file
src/_tezhongzuoye_detail.html
View file @
e4e4cc5e
...
@@ -30,14 +30,32 @@
...
@@ -30,14 +30,32 @@
<div
class=
"form-item"
>
<div
class=
"form-item"
>
<span
class=
"form-label title_require"
>
联系人
</span>
<span
class=
"form-label title_require"
>
联系人
</span>
<div
class=
"form-input-wrap"
style=
"font-size: 15px;color: #737373;"
>
<div
class=
"form-input-wrap"
style=
"font-size: 15px;color: #737373;"
>
{{ formData.merchantName }}
<template>
<span
:class=
"'form-input'"
style=
"line-height: .7rem;"
>
{{ showOriginal.merchantName ? formData.merchantName : desensitize(formData.merchantName, 'name') }}
</span>
<van-icon
:name=
"showOriginal.merchantName ? 'eye-o' : 'closed-eye'"
@
click=
"toggleShow('merchantName')"
style=
"margin-left: 8px; color: #1989fa; cursor: pointer;"
/>
</template>
</div>
</div>
</div>
</div>
<div
class=
"form-item"
>
<div
class=
"form-item"
>
<span
class=
"form-label title_require"
>
电话
</span>
<span
class=
"form-label title_require"
>
电话
</span>
<div
class=
"form-input-wrap"
style=
"font-size: 15px;color: #737373;"
>
<div
class=
"form-input-wrap"
style=
"font-size: 15px;color: #737373;"
>
{{ formData.merchantPhone }}
<template>
<!-- 详情模式 -->
<span
class=
"form-input"
style=
"line-height: .7rem;"
>
{{ showOriginal.merchantPhone ? formData.merchantPhone : desensitize(formData.merchantPhone, 'phone') }}
</span>
<van-icon
:name=
"showOriginal.merchantPhone ? 'eye-o' : 'closed-eye'"
@
click=
"toggleShow('merchantPhone')"
style=
"margin-left: 8px; color: #1989fa; cursor: pointer;"
/>
</template>
</div>
</div>
</div>
</div>
<div
class=
"form-item"
>
<div
class=
"form-item"
>
...
...
src/_tezhongzuoye_detail.js
View file @
e4e4cc5e
...
@@ -38,7 +38,12 @@ window.addEventListener("load", function () {
...
@@ -38,7 +38,12 @@ window.addEventListener("load", function () {
},
},
id
:
''
,
id
:
''
,
errorReqCount
:
0
,
errorReqCount
:
0
,
iosFlag
:
gemhoUtil
.
isIOSStrict
()
iosFlag
:
gemhoUtil
.
isIOSStrict
(),
// 添加显示状态管理对象
showOriginal
:
{
merchantName
:
false
,
merchantPhone
:
false
,
}
}
}
},
},
created
()
{
created
()
{
...
@@ -56,6 +61,26 @@ window.addEventListener("load", function () {
...
@@ -56,6 +61,26 @@ window.addEventListener("load", function () {
this
.
getDict4tab1
()
this
.
getDict4tab1
()
},
},
methods
:
{
methods
:
{
// 添加脱敏处理函数
desensitize
(
value
,
type
)
{
if
(
!
value
)
return
''
;
switch
(
type
)
{
case
'
name
'
:
// 姓名脱敏:保留姓氏
return
value
.
length
>
1
?
value
.
charAt
(
0
)
+
'
*
'
.
repeat
(
value
.
length
-
1
)
:
value
;
case
'
phone
'
:
// 手机号脱敏:保留前3后4
return
value
.
replace
(
/^
(\d{3})\d{4}(\d{4})
$/
,
'
$1****$2
'
);
case
'
address
'
:
// 地址脱敏:保留前5后5
if
(
value
.
length
<=
10
)
return
value
;
return
value
.
substring
(
0
,
5
)
+
'
*****
'
+
value
.
substring
(
value
.
length
-
5
);
default
:
// 默认脱敏:保留前3后3
if
(
value
.
length
<=
6
)
return
value
;
return
value
.
substring
(
0
,
3
)
+
'
*****
'
+
value
.
substring
(
value
.
length
-
3
);
}
},
// 切换显示状态方法
toggleShow
(
field
)
{
this
.
$set
(
this
.
showOriginal
,
field
,
!
this
.
showOriginal
[
field
]);
},
goback4ios
()
{
// 全部标记为已读
goback4ios
()
{
// 全部标记为已读
let
params
=
{
let
params
=
{
merId
:
gemhoUtil
.
getCookie
(
'
merId
'
)
||
''
,
merId
:
gemhoUtil
.
getCookie
(
'
merId
'
)
||
''
,
...
...
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