Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5103be21
authored
Mar 30, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
密码正则;邀请销售
1 parent
b6d0a5fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
api/mineApi/mineCustomer.js
packageMine/pages/serviceManage/editService/constant/data.js
api/mineApi/mineCustomer.js
View file @
5103be2
...
@@ -52,21 +52,10 @@ const getInviteCode = data => {
...
@@ -52,21 +52,10 @@ const getInviteCode = data => {
)
)
}
}
// 查询商户详情
const
getMerchantId
=
data
=>
{
return
api
.
post
(
{
method
:
'scrm.api.busassistant.merchant.getMerchantIdByMerchantNo'
,
...
data
}
)
}
export
default
{
export
default
{
getCustomerList
,
getCustomerList
,
saveCustomer
,
saveCustomer
,
updateCustomer
,
updateCustomer
,
getEmployeeList
,
getEmployeeList
,
getInviteCode
,
getInviteCode
getMerchantId
}
}
\ No newline at end of file
\ No newline at end of file
packageMine/pages/serviceManage/editService/constant/data.js
View file @
5103be2
...
@@ -14,7 +14,7 @@ const formRule = {
...
@@ -14,7 +14,7 @@ const formRule = {
{
required
:
true
,
message
:
'登录密码不能为空'
},
{
required
:
true
,
message
:
'登录密码不能为空'
},
{
{
validator
:
(
rule
,
value
)
=>
{
validator
:
(
rule
,
value
)
=>
{
return
/^
[
a-zA-Z0-9
]{6,20
}
$/
.
test
(
value
)
?
null
:
{
message
:
'登陆密码请输入6-20位数字和字母组合'
}
return
/^
(?![
0-9
]
+$
)(?![
a-zA-Z
]
+$
)[
0-9A-Za-z
]{6,12
}
$/
.
test
(
value
)
?
null
:
{
message
:
'登陆密码请输入6-20位数字和字母组合'
}
}
}
}
}
],
],
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment