| | |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"> |
| | | |
| | | <el-form-item label="家庭名称" prop="roleKey"> |
| | | <el-form-item label="家庭名称" prop="name"> |
| | | <el-input |
| | | v-model="queryParams.roleKey" |
| | | v-model="queryParams.name" |
| | | placeholder="请输入权限字符" |
| | | clearable |
| | | style="width: 240px" |
| | |
| | | /** 查询角色列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | let clanId = this.$store.state.user.clanId |
| | | alert(clanId) |
| | | listFamily().then(response => { |
| | | this.roleList = response.data; |
| | | // this.total = response.total; |
| | |
| | | /** 新增按钮操作 */ |
| | | handleAdd() { |
| | | this.reset(); |
| | | this.ts = false; |
| | | this.ts = false; |
| | | // this.getMenuTreeselect(); |
| | | this.open = true; |
| | | this.title = "添加家庭号"; |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | |
| | | this.reset(); |
| | | // alert(row.fid) |
| | | this.ts = true |
| | | // this.ts = true |
| | | this.$set(this.form, "fid", row.fid); |
| | | this.$set(this.form, "id", row.id); |
| | | this.$set(this.form, "name", row.name); |