调整样式
This commit is contained in:
@@ -103,7 +103,9 @@ Component({
|
||||
this.handleCancel();
|
||||
},
|
||||
onUpdatePhoneConfirm() {
|
||||
this.setData({ parentPhone: "", phone: "", type: "", title: "" })
|
||||
this.getTenementInfo();
|
||||
this.initUserList()
|
||||
},
|
||||
async getTenementInfo() {
|
||||
const { tenement, park } = this.data;
|
||||
@@ -135,18 +137,12 @@ Component({
|
||||
})
|
||||
},
|
||||
handleChangeMain() {
|
||||
// const { list = [] } = this.data;
|
||||
// const main = list?.find(item => item.Permissions)
|
||||
// if (!main) {
|
||||
// alertInfo("没有主账号")
|
||||
// return
|
||||
// }
|
||||
// console.log("main", main)
|
||||
const { tenementInfo = {} } = this.data;
|
||||
this.setData({
|
||||
updatePhoneVisible: true,
|
||||
type: "update",
|
||||
title: "编辑管理员",
|
||||
// phone: main.WechatPhone,
|
||||
parentPhone: tenementInfo.phone,
|
||||
// name: main.WechatUserName,
|
||||
// id: main.WechatUserID,
|
||||
})
|
||||
@@ -156,6 +152,7 @@ Component({
|
||||
updatePhoneVisible: false,
|
||||
type: "",
|
||||
phone: "",
|
||||
parentPhone: "",
|
||||
name: "",
|
||||
id: "",
|
||||
})
|
||||
|
Reference in New Issue
Block a user