Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
2fc7518e
Commit
2fc7518e
authored
Jul 23, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
account/sync portal
parent
d892fcc8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
add.vue
pages/basicData/user/add.vue
+2
-1
edit.vue
pages/basicData/user/edit.vue
+4
-2
index.vue
pages/basicData/user/index.vue
+3
-1
No files found.
pages/basicData/user/add.vue
View file @
2fc7518e
...
...
@@ -165,7 +165,8 @@ export default {
userId
:
r
.
result
.
id
,
loginName
:
this
.
entity
.
phone
,
//用户电话
status
:
this
.
entity
.
status
,
//状态
tanantCode
:
this
.
$store
.
state
.
userInfo
.
tanantCode
//商户号
tanantCode
:
this
.
$store
.
state
.
userInfo
.
tanantCode
,
//商户号
name
:
this
.
entity
.
userName
};
Api
.
authAccount
(
parms
).
then
(
res
=>
{
if
(
res
.
success
)
{
...
...
pages/basicData/user/edit.vue
View file @
2fc7518e
...
...
@@ -158,7 +158,8 @@ export default {
userId
:
this
.
entity
.
id
,
loginName
:
this
.
entity
.
phone
,
//用户电话
status
:
this
.
entity
.
status
,
tanantCode
:
this
.
$store
.
state
.
userInfo
.
tanantCode
//商户号
tanantCode
:
this
.
$store
.
state
.
userInfo
.
tanantCode
,
//商户号
name
:
this
.
entity
.
userName
};
Api
.
authAccount
(
parms2
).
then
(
res
=>
{
//同步电话信息等
...
...
@@ -174,7 +175,8 @@ export default {
userId
:
this
.
entity
.
id
,
loginName
:
this
.
entity
.
phone
,
//用户电话
status
:
this
.
entity
.
status
,
tanantCode
:
this
.
$store
.
state
.
userInfo
.
tanantCode
//商户号
tanantCode
:
this
.
$store
.
state
.
userInfo
.
tanantCode
,
//商户号
name
:
this
.
entity
.
userName
};
Api
.
authAccount
(
parms
).
then
(
res1
=>
{
if
(
res1
.
success
)
{
...
...
pages/basicData/user/index.vue
View file @
2fc7518e
...
...
@@ -453,7 +453,8 @@ export default {
userId
:
this
.
curId
,
accountId
:
this
.
selectRow
.
accountId
,
tanantCode
:
util
.
cookies
.
get
(
'tanantCode'
),
isDeleted
:
true
isDeleted
:
true
,
name
:
this
.
selectRow
.
userName
};
Api
.
authAccount
(
parms
).
then
(
res
=>
{
if
(
res
.
success
)
{
...
...
@@ -604,6 +605,7 @@ export default {
loginName
:
this
.
selectRow
.
phone
,
status
:
this
.
selectRow
.
status
,
tanantCode
:
util
.
cookies
.
get
(
'tanantCode'
),
name
:
this
.
selectRow
.
userName
};
if
(
this
.
selectRow
.
phone
&&
this
.
selectRow
.
phone
!=
""
)
{
Api
.
authAccount
(
parms
).
then
(
res
=>
{
...
...
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