| | |
| | | |
| | | <el-table-column label="操作"> |
| | | <template slot-scope="scope"> |
| | | <!-- 编辑 --> |
| | | <span class="iconfont option" @click="editUser(scope.row)" |
| | | >编辑</span |
| | | > |
| | | <!-- 解绑 --> |
| | | <!-- <span class="iconfont option" @click="Untying(scope.row)" |
| | | >解绑</span |
| | | > --> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | this.ruleForm.isChangePwd = row.isChangePwd; |
| | | this.ruleForm.industryId = row.industryId; |
| | | this.ruleForm.areaId = row.areaId; |
| | | debugger; |
| | | this.ruleForm.address = [row.provinceId, row.areaId]; |
| | | this.ruleForm.provinceId = row.provinceId; |
| | | this.ruleForm.authDuration = row.authDuration; |
| | |
| | | menuIds: this.ruleForm.menuIds, |
| | | dataIds: this.ruleForm.dataIds, |
| | | }; |
| | | debugger; |
| | | saveSubUser(json).then((res) => { |
| | | debugger; |
| | | if (res.success) { |
| | | this.isShowAdd = false; |
| | | this.isEditing = false; |
| | | this.findUserList(); |
| | | } |
| | | }); |
| | | }, |
| | | findUserList() { |
| | |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | this.dataList = res.data.dataList; |
| | | this.total = res.data.total |
| | | }else{ |
| | | this.$notify.error("加载子账户列表失败") |
| | | } |
| | | }).catch((e) => { |
| | | this.$notify.error(e.msg) |
| | | }); |
| | | }, |
| | | goback() { |