Merge remote-tracking branch 'origin/master'

ywj_dev
郑明梁 2 years ago
commit 6fa06ff4a9

@ -213,7 +213,6 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<!-- 添加或修改角色配置对话框 --> <!-- 添加或修改角色配置对话框 -->
@ -623,7 +622,6 @@ export default {
this.reset(); this.reset();
this.getMenuTreeselect(); this.getMenuTreeselect();
this.open = true; this.open = true;
this.form.isCustomer=0;
this.title = "角色管理-新增"; this.title = "角色管理-新增";
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
@ -680,11 +678,13 @@ export default {
// return // return
// } // }
debugger debugger
if(this.form.isCustomer == null){
if (this.userStatus == 0) { if (this.userStatus == 0) {
this.form.isCustomer = 0; this.form.isCustomer = 0;
} else { } else {
this.form.isCustomer = 1; this.form.isCustomer = 1;
} }
}
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
if (this.form.roleId != undefined) { if (this.form.roleId != undefined) {

Loading…
Cancel
Save