Commit 07c2d5d7 authored by 王飞龙's avatar 王飞龙

bug修改

parent 39f981c3
......@@ -399,6 +399,8 @@ export default {
title: '',
// 查询检查项目下拉框传递的字段
itemType: '',
// 部门等级
deptLevel: '',
// 是否显示弹出层
open: false,
// 查询参数
......@@ -508,13 +510,15 @@ export default {
getUserInfo() {
getInfo().then(res => {
console.log('-------------------', res)
this.deptLevel = res.user.dept.level
console.log('部门等级', this.deptLevel)
// this.userType = res.user.userType
// console.log('this.userTyep', this.userType)
if (this.userType === '3') {
console.log('this.userTyep', this.userType)
if (this.deptLevel === '2') {
this.orderShow = false
this.itemType = 0
}
if (this.userType === '00') {
if (this.deptLevel === '1') {
this.serviceShow = false
this.itemType = 2
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment