|
|
@@ -123,7 +123,11 @@
|
|
|
} else {
|
|
|
this.form.menuCheckStrictly = '20'
|
|
|
}
|
|
|
-
|
|
|
+ if (this.form.deptCheckStrictly) {
|
|
|
+ this.form.deptCheckStrictly = '10'
|
|
|
+ } else {
|
|
|
+ this.form.deptCheckStrictly = '20'
|
|
|
+ }
|
|
|
this.form.menuIds = this.getMenuAllCheckedKeys()
|
|
|
if (this.form.id) {
|
|
|
const { msg } = await roleApi.doEdit(this.form)
|