代码格式
This commit is contained in:
parent
04ad7eb6ed
commit
6a6d1fc473
|
@ -354,7 +354,7 @@ export default {
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.$http.get('/sys/dept/all').then(res => {
|
this.$http.get('/sys/dept/all').then(res => {
|
||||||
console.log('获取部门=========>', res)
|
// console.log('获取部门=========>', res)
|
||||||
this.departmentSelects = []
|
this.departmentSelects = []
|
||||||
res.data.data.map(val => {
|
res.data.data.map(val => {
|
||||||
this.departmentSelects.push({ label: val.name, value: val.id })
|
this.departmentSelects.push({ label: val.name, value: val.id })
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-29 15:59:51
|
* @Date: 2022-06-29 15:59:51
|
||||||
* @LastEditors: Light
|
* @LastEditors: Light
|
||||||
* @LastEditTime: 2022-10-20 14:39:06
|
* @LastEditTime: 2022-10-20 14:52:27
|
||||||
* @Description: 告诉大家这是什么
|
* @Description: 告诉大家这是什么
|
||||||
-->
|
-->
|
||||||
<!-- 流程业务表单 -->
|
<!-- 流程业务表单 -->
|
||||||
|
@ -165,7 +165,6 @@ export default {
|
||||||
this.$http.get('/sys/user/info').then(({ data: res }) => {
|
this.$http.get('/sys/user/info').then(({ data: res }) => {
|
||||||
res.data.roleIdList.map(val => {
|
res.data.roleIdList.map(val => {
|
||||||
this.$http.get('/sys/role/' + val).then(role => {
|
this.$http.get('/sys/role/' + val).then(role => {
|
||||||
console.log('depid', role.data.data)
|
|
||||||
if (role.data.data.name === '申请流转员') {
|
if (role.data.data.name === '申请流转员') {
|
||||||
this.taskEntrustFlag = true
|
this.taskEntrustFlag = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue