mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-11 03:18:56 +08:00
feat: ✨ 新增多标签Tab页内嵌模式
This commit is contained in:
@@ -451,9 +451,9 @@ export default {
|
||||
},
|
||||
checkClerks() {
|
||||
this.open = this.form.mobile.length;
|
||||
console.log(this.open)
|
||||
|
||||
if(this.open == 11 ){
|
||||
this.checkClerk();
|
||||
this.checkClerk();
|
||||
}
|
||||
if(this.open < 11){
|
||||
this.checkAgainClerk()
|
||||
@@ -576,7 +576,7 @@ export default {
|
||||
ids += e.id + ",";
|
||||
});
|
||||
ids = ids.substring(0, ids.length - 1);
|
||||
console.warn(ids)
|
||||
|
||||
resetPassword(ids).then(res => {
|
||||
this.$Modal.remove();
|
||||
if (res.success) {
|
||||
@@ -590,7 +590,7 @@ export default {
|
||||
},
|
||||
updateSubmit(){
|
||||
this.submitLoading = true;
|
||||
console.warn(this.editForm)
|
||||
|
||||
editOtherUser(this.editForm.id,this.editForm).then(res => {
|
||||
this.submitLoading = false;
|
||||
if (res.success) {
|
||||
@@ -606,7 +606,6 @@ export default {
|
||||
if (valid) {
|
||||
// 添加用户 避免编辑后传入id
|
||||
const params = JSON.parse(JSON.stringify(this.form))
|
||||
console.warn(params)
|
||||
delete params.id;
|
||||
delete params.status;
|
||||
if (this.newMember) {
|
||||
@@ -655,9 +654,9 @@ export default {
|
||||
},
|
||||
// 编辑用户
|
||||
edit(v) {
|
||||
console.warn(v)
|
||||
|
||||
getClerk(v.id).then(res => {
|
||||
console.warn(res)
|
||||
|
||||
this.mobile = res.result.mobile
|
||||
this.clerkName = res.result.clerkName
|
||||
this.editForm.isSuper = 0
|
||||
|
||||
@@ -201,7 +201,7 @@ export default {
|
||||
loadDepartment(item.id).then((res) => {
|
||||
this.loadingEdit = false;
|
||||
if (res.success) {
|
||||
console.log(res.result);
|
||||
|
||||
callback(res.result);
|
||||
}
|
||||
});
|
||||
@@ -303,7 +303,7 @@ export default {
|
||||
editDepartment(this.form.id, this.form),
|
||||
updateDepartmentRole(this.form.id, roleWay)
|
||||
]).then((res) => {
|
||||
console.warn(res)
|
||||
|
||||
this.submitLoading = false;
|
||||
if (res[0].success) {
|
||||
this.$Message.success("编辑成功");
|
||||
@@ -359,7 +359,7 @@ export default {
|
||||
},
|
||||
// 选中回调
|
||||
changeSelect(v) {
|
||||
console.log(v);
|
||||
|
||||
this.selectCount = v.length;
|
||||
this.selectList = v;
|
||||
},
|
||||
|
||||
@@ -586,7 +586,7 @@ export default {
|
||||
let selectedNodes = this.$refs.tree.getCheckedAndIndeterminateNodes();
|
||||
let way = [];
|
||||
selectedNodes.forEach((e) => {
|
||||
console.log(e)
|
||||
|
||||
let perm = {
|
||||
title: e.title,
|
||||
isSuper: e.isSuper ? e.isSuper = 1 : e.isSuper = 0 || 0,
|
||||
@@ -597,7 +597,7 @@ export default {
|
||||
this.$set(this,'saveRoleWay',way)
|
||||
|
||||
});
|
||||
console.log(this.saveRoleWay)
|
||||
|
||||
},
|
||||
|
||||
/**保存权限 */
|
||||
|
||||
Reference in New Issue
Block a user