Commit 2fc7518e authored by renjintao's avatar renjintao

account/sync portal

parent d892fcc8
......@@ -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) {
......
......@@ -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) {
......
......@@ -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 => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment