|
|
@@ -180,12 +180,7 @@ export default {
|
|
|
roleSelData: this.roleSelData
|
|
|
};
|
|
|
uni.setStorageSync("addStaffData", data);
|
|
|
- this.$util.pageTo({
|
|
|
- url: "/admin/staff/sel-member",
|
|
|
- query: {
|
|
|
- ...this.option
|
|
|
- }
|
|
|
- });
|
|
|
+ this.$util.pageTo(1);
|
|
|
},
|
|
|
changeRoleFn(e) {
|
|
|
this.roleSelData = this.roleList[e.detail.value];
|
|
|
@@ -216,10 +211,7 @@ export default {
|
|
|
let promptText = this.option.id ? "修改成功!" : "添加成功!";
|
|
|
this.$msg(promptText);
|
|
|
setTimeout(() => {
|
|
|
- this.$util.pageTo({
|
|
|
- url: "/admin/staff/list",
|
|
|
- type: 2
|
|
|
- });
|
|
|
+ this.$util.pageTo(1);
|
|
|
}, 1000);
|
|
|
}
|
|
|
|