Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
e32f5bd8
Commit
e32f5bd8
authored
Sep 14, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
47707115
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
PersonalInfoSet.vue
src/components/PersonalInfoSet.vue
+8
-2
No files found.
src/components/PersonalInfoSet.vue
View file @
e32f5bd8
...
@@ -881,8 +881,11 @@
...
@@ -881,8 +881,11 @@
<div
class=
"Shouji_Top"
>
赞羊商城微信绑定
</div>
<div
class=
"Shouji_Top"
>
赞羊商城微信绑定
</div>
<div
class=
"Shouji_Conteng"
>
<div
class=
"Shouji_Conteng"
>
<el-form
label-position=
"right"
label-width=
"100px"
>
<el-form
label-position=
"right"
label-width=
"100px"
>
<el-form-item
label=
"微信"
style=
"margin-bottom:30px;"
>
<el-form-item
label=
"已绑定"
style=
"margin-bottom:30px;"
v-if=
"dataList.WeChatName&&dataList.WeChatName!=''"
>
<el-select
v-model=
"mallUserId"
filterable
remote
reserve-keyword
placeholder=
"请输入微信昵称"
<el-input
:disabled=
"true"
class=
"w210"
v-model=
"dataList.WeChatName"
></el-input>
</el-form-item>
<el-form-item
:label=
"dataList.WeChatName&&dataList.WeChatName!=''?'重新绑定微信':'绑定微信'"
style=
"margin-bottom:30px;"
size=
"small"
>
<el-select
v-model=
"mallUserId"
class=
"w210"
filterable
remote
reserve-keyword
placeholder=
"请输入微信昵称"
:remote-method=
"getWechatData"
@
change=
"weChatChange"
>
:remote-method=
"getWechatData"
@
change=
"weChatChange"
>
<el-option
v-for=
"wItem in weChatData"
:key=
"wItem.Id"
:label=
"wItem.Name"
:value=
"wItem.Id"
>
<el-option
v-for=
"wItem in weChatData"
:key=
"wItem.Id"
:label=
"wItem.Name"
:value=
"wItem.Id"
>
<span
style=
"float: left"
>
{{ wItem.Name }}
<span
style=
"float: left"
>
{{ wItem.Name }}
...
@@ -1051,6 +1054,7 @@
...
@@ -1051,6 +1054,7 @@
weChatMsg
:
{
weChatMsg
:
{
MallUserId
:
0
,
//赞羊商城用户Id
MallUserId
:
0
,
//赞羊商城用户Id
MallSmallShopsId
:
0
,
//赞羊用户商城Id
MallSmallShopsId
:
0
,
//赞羊用户商城Id
WeChatName
:
""
,
//微信昵称
},
},
weChatData
:
[],
weChatData
:
[],
};
};
...
@@ -1440,6 +1444,7 @@
...
@@ -1440,6 +1444,7 @@
if
(
obj
)
{
if
(
obj
)
{
this
.
weChatMsg
.
MallUserId
=
obj
.
Id
;
this
.
weChatMsg
.
MallUserId
=
obj
.
Id
;
this
.
weChatMsg
.
MallSmallShopsId
=
obj
.
ShopId
;
this
.
weChatMsg
.
MallSmallShopsId
=
obj
.
ShopId
;
this
.
weChatMsg
.
WeChatName
=
obj
.
Name
;
}
}
},
},
//保存微信
//保存微信
...
@@ -1449,6 +1454,7 @@
...
@@ -1449,6 +1454,7 @@
var
oldUser
=
this
.
getLocalStorage
();
var
oldUser
=
this
.
getLocalStorage
();
oldUser
.
MallUserId
=
this
.
weChatMsg
.
MallUserId
;
oldUser
.
MallUserId
=
this
.
weChatMsg
.
MallUserId
;
oldUser
.
MallSmallShopsId
=
this
.
weChatMsg
.
MallSmallShopsId
;
oldUser
.
MallSmallShopsId
=
this
.
weChatMsg
.
MallSmallShopsId
;
oldUser
.
WeChatName
=
this
.
weChatMsg
.
WeChatName
;
localStorage
.
userInfo
=
JSON
.
stringify
(
oldUser
);
localStorage
.
userInfo
=
JSON
.
stringify
(
oldUser
);
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
this
.
getList
();
...
...
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