|
|
|
@ -669,12 +669,7 @@ export default { |
|
|
|
this.modalData.site = this.$store.state.user.site |
|
|
|
getResponsibleDepartment(this.modalData).then(({data}) => { |
|
|
|
if (data.code === 0) { |
|
|
|
data.rows.forEach((item) => { |
|
|
|
// 判断roleNo是否为A开头 |
|
|
|
if (item.roleNo.startsWith('R')) { |
|
|
|
this.responsibleDepartmentList.push(item) |
|
|
|
} |
|
|
|
}) |
|
|
|
this.responsibleDepartmentList= data.rows |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|