Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
a409ccc5
Commit
a409ccc5
authored
Jun 13, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 管理员列表提示
parent
92c9b03d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
27 deletions
+45
-27
contacts.vue
src/views/business/contacts.vue
+4
-24
not-manager.vue
src/views/business/not-manager.vue
+33
-0
adminList.vue
src/views/enterprise/adminList.vue
+8
-3
No files found.
src/views/business/contacts.vue
View file @
a409ccc5
...
@@ -42,12 +42,7 @@
...
@@ -42,12 +42,7 @@
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<div
class=
"not-manager"
v-else
>
<not-manager
v-else
></not-manager>
<svg
class=
"not-manager-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconno-permission"
></use>
</svg>
<p
class=
"not-manager-tip"
>
您尚不是企微管理员或不具备企微通讯录权限,无法查看!可联系企微超级管理员开通~
</p>
</div>
<sync-dialog
v-if=
"syncStatusData.syncStatus == 1 || syncStatusData.syncStatus == 2 || syncStatusData.syncStatus == 3"
:syncData=
"syncStatusData"
></sync-dialog>
<sync-dialog
v-if=
"syncStatusData.syncStatus == 1 || syncStatusData.syncStatus == 2 || syncStatusData.syncStatus == 3"
:syncData=
"syncStatusData"
></sync-dialog>
</div>
</div>
</template>
</template>
...
@@ -55,6 +50,7 @@
...
@@ -55,6 +50,7 @@
import
contactTree
from
'@/components/company/contact-tree.vue'
;
import
contactTree
from
'@/components/company/contact-tree.vue'
;
import
newDepartMember
from
'@/components/company/new-depart-member.vue'
;
import
newDepartMember
from
'@/components/company/new-depart-member.vue'
;
import
syncDialog
from
'@/components/company/sync-dialog.vue'
;
import
syncDialog
from
'@/components/company/sync-dialog.vue'
;
import
NotManager
from
'./not-manager.vue'
;
import
{
getRequest
}
from
'@/api/api'
;
import
{
getRequest
}
from
'@/api/api'
;
import
errMsg
from
'@/common/js/error'
;
import
errMsg
from
'@/common/js/error'
;
import
{
_debounce
}
from
'@/common/js/public'
;
import
{
_debounce
}
from
'@/common/js/public'
;
...
@@ -63,7 +59,8 @@ export default {
...
@@ -63,7 +59,8 @@ export default {
components
:
{
components
:
{
contactTree
,
contactTree
,
newDepartMember
,
newDepartMember
,
syncDialog
syncDialog
,
NotManager
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -509,23 +506,6 @@ export default {
...
@@ -509,23 +506,6 @@ export default {
background
:
#fff
;
background
:
#fff
;
}
}
}
}
.not-manager
{
padding-top
:
22vh
;
margin
:
0
auto
;
text-align
:
center
;
.not-manager-icon
{
width
:
106px
;
height
:
106px
;
}
.not-manager-tip
{
margin-top
:
20px
;
height
:
20px
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#303133
;
line-height
:
20px
;
}
}
}
}
.li-cell
{
.li-cell
{
min-height
:
26px
;
min-height
:
26px
;
...
...
src/views/business/not-manager.vue
0 → 100644
View file @
a409ccc5
<
template
>
<div
class=
"not-manager"
>
<svg
class=
"not-manager-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconno-permission"
></use>
</svg>
<p
class=
"not-manager-tip"
>
您尚不是企微管理员或不具备企微通讯录权限,无法查看!可联系企微超级管理员开通~
</p>
</div>
</
template
>
<
script
>
export
default
{
name
:
'NotManager'
};
</
script
>
<
style
lang=
"scss"
scoped
>
.not-manager
{
padding-top
:
22vh
;
margin
:
0
auto
;
text-align
:
center
;
.not-manager-icon
{
width
:
106px
;
height
:
106px
;
}
.not-manager-tip
{
margin-top
:
20px
;
height
:
20px
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#303133
;
line-height
:
20px
;
}
}
</
style
>
src/views/enterprise/adminList.vue
View file @
a409ccc5
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
-->
-->
<
template
>
<
template
>
<div
class=
"daily-set-wrap "
>
<div
class=
"daily-set-wrap "
>
<div
class=
"daily-set-content border-box"
>
<div
class=
"daily-set-content border-box"
v-if=
"isManager"
>
<div
class=
"company-title m-b-20 m-t-26 flex flex-space-between flex-align-center"
>
<div
class=
"company-title m-b-20 m-t-26 flex flex-space-between flex-align-center"
>
<div
role=
"alert"
class=
"el-alert el-alert--info"
>
<div
role=
"alert"
class=
"el-alert el-alert--info"
>
<i
class=
"el-alert__icon el-icon-info"
></i>
<i
class=
"el-alert__icon el-icon-info"
></i>
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
<el-table-column
prop=
"departmentName"
label=
"部门"
>
</el-table-column>
<el-table-column
prop=
"departmentName"
label=
"部门"
>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<not-manager
v-else
></not-manager>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -35,13 +36,16 @@ import { getRequest } from '@/api/api';
...
@@ -35,13 +36,16 @@ import { getRequest } from '@/api/api';
// import { _debounce } from '@/common/js/public';
// import { _debounce } from '@/common/js/public';
import
showMsg
from
'@/common/js/showmsg'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
errMsg
from
'@/common/js/error'
;
import
errMsg
from
'@/common/js/error'
;
import
NotManager
from
'../business/not-manager.vue'
;
export
default
{
export
default
{
props
:
{},
props
:
{},
comments
:
{
NotManager
},
data
()
{
data
()
{
return
{
return
{
wxEnterpriseId
:
sessionStorage
.
getItem
(
'userInfos'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)).
wxEnterpriseId
:
''
,
wxEnterpriseId
:
sessionStorage
.
getItem
(
'userInfos'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)).
wxEnterpriseId
:
''
,
roleList
:
[]
roleList
:
[],
isManager
:
false
};
};
},
},
methods
:
{
methods
:
{
...
@@ -83,6 +87,7 @@ export default {
...
@@ -83,6 +87,7 @@ export default {
}
}
});
});
}
}
this
.
isManager
=
resData
.
errorCode
!=
10030
;
errMsg
.
errorMsg
(
resData
);
errMsg
.
errorMsg
(
resData
);
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
...
@@ -104,7 +109,7 @@ export default {
...
@@ -104,7 +109,7 @@ export default {
const
that
=
this
;
const
that
=
this
;
that
.
getData
();
that
.
getData
();
},
},
components
:
{}
components
:
{
NotManager
}
};
};
</
script
>
</
script
>
<
style
type=
"text/scss"
lang=
"scss"
scoped
>
<
style
type=
"text/scss"
lang=
"scss"
scoped
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment