提交代码
parent
5e7e2b8d4f
commit
f1f3baf502
|
@ -192,7 +192,7 @@ export default {
|
||||||
this.isTypeBuser = false;
|
this.isTypeBuser = false;
|
||||||
this.$api.dept.list().then(d => {
|
this.$api.dept.list().then(d => {
|
||||||
this.$root.hasInitHeader = true;
|
this.$root.hasInitHeader = true;
|
||||||
if (roleId < 3) {
|
if (roleId < 4) {
|
||||||
this.depts = [{ text: '产发集团', id: 0 }, ...(d?.data || []).map(it => {
|
this.depts = [{ text: '产发集团', id: 0 }, ...(d?.data || []).map(it => {
|
||||||
it.text = it.deptName;
|
it.text = it.deptName;
|
||||||
it.id = it.deptId;
|
it.id = it.deptId;
|
||||||
|
|
Loading…
Reference in New Issue