调整样式

This commit is contained in:
2025-02-26 13:41:44 +08:00
parent 71194fbf1c
commit 902b4726c6
15 changed files with 250 additions and 219 deletions

View File

@@ -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: "",
})