Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3732f19d
authored
Feb 22, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改引流码相关权限配置
1 parent
5d988f0e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
11 deletions
linkwe-ui/src/views/drainageCode/staff/list.vue
linkwe-ui/src/views/drainageCode/welcome/components/Tab.vue
linkwe-ui/src/views/drainageCode/staff/list.vue
View file @
3732f19
...
@@ -231,7 +231,12 @@ export default {
...
@@ -231,7 +231,12 @@ export default {
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
" "
>
<el-form-item
label=
" "
>
<el-button
type=
"cyan"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
v-hasPermi=
"['wecom:code:list']"
type=
"cyan"
@
click=
"getList(1)"
>
查询
</el-button
>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
<!--
<el-button
@
click=
"resetQuery"
>
导出
</el-button>
-->
<!--
<el-button
@
click=
"resetQuery"
>
导出
</el-button>
-->
</el-form-item>
</el-form-item>
...
@@ -245,14 +250,32 @@ export default {
...
@@ -245,14 +250,32 @@ export default {
<span
class=
"num"
>
{{
total
}}
</span>
个
<span
class=
"num"
>
{{
total
}}
</span>
个
</div>
</div>
<div>
<div>
<el-button
type=
"primary"
size=
"mini"
@
click=
"goRoute('staffAdd')"
<el-button
v-hasPermi=
"['wecom:code:add']"
type=
"primary"
size=
"mini"
@
click=
"goRoute('staffAdd')"
>
新建员工活码
</el-button
>
新建员工活码
</el-button
>
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"dialogVisible = true"
<el-button
v-hasPermi=
"['wecom:code:batchAdd']"
type=
"primary"
size=
"mini"
@
click=
"dialogVisible = true"
>
批量新建
</el-button
>
批量新建
</el-button
>
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"remove"
>
删除
</el-button>
<el-button
<el-button
type=
"primary"
size=
"mini"
@
click=
"downloadBatch()"
v-hasPermi=
"['wecom:code:remove']"
type=
"primary"
size=
"mini"
@
click=
"remove"
>
删除
</el-button
>
<el-button
v-hasPermi=
"['wecom:code:downloadBatch']"
type=
"primary"
size=
"mini"
@
click=
"downloadBatch()"
>
批量下载
</el-button
>
批量下载
</el-button
>
>
</div>
</div>
...
@@ -310,7 +333,7 @@ export default {
...
@@ -310,7 +333,7 @@ export default {
<el-button
<el-button
type=
"text"
type=
"text"
@
click=
"download(row.id, row.useUserName, row.activityScene)"
@
click=
"download(row.id, row.useUserName, row.activityScene)"
v-hasPermi=
"['
monitor:operlog:query
']"
v-hasPermi=
"['
wecom:code:download
']"
>
下载
</el-button
>
下载
</el-button
>
>
<el-button
<el-button
...
@@ -323,19 +346,19 @@ export default {
...
@@ -323,19 +346,19 @@ export default {
<el-button
<el-button
type=
"text"
type=
"text"
@
click=
"goRoute('staffDetail', row.id)"
@
click=
"goRoute('staffDetail', row.id)"
v-hasPermi=
"['
monitor:operlog:query
']"
v-hasPermi=
"['
drainageCode:staff:detail
']"
>
查看详情
</el-button
>
查看详情
</el-button
>
>
<el-button
<el-button
type=
"text"
type=
"text"
@
click=
"goRoute('staffAdd', row.id)"
@
click=
"goRoute('staffAdd', row.id)"
v-hasPermi=
"['
monitor:operlog:query
']"
v-hasPermi=
"['
wecom:code:edit
']"
>
编辑
</el-button
>
编辑
</el-button
>
>
<el-button
<el-button
type=
"text"
type=
"text"
@
click=
"remove(row.id)"
@
click=
"remove(row.id)"
v-hasPermi=
"['
monitor:operlog:query
']"
v-hasPermi=
"['
wecom:code:remove
']"
>
删除
</el-button
>
删除
</el-button
>
>
</
template
>
</
template
>
...
...
linkwe-ui/src/views/drainageCode/welcome/components/Tab.vue
View file @
3732f19
...
@@ -86,6 +86,7 @@ export default {
...
@@ -86,6 +86,7 @@ export default {
<div
class=
"total"
></div>
<div
class=
"total"
></div>
<div>
<div>
<el-button
<el-button
v-hasPermi=
"['wecom:tlp:add']"
type=
"primary"
type=
"primary"
size=
"mini"
size=
"mini"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
...
@@ -116,14 +117,14 @@ export default {
...
@@ -116,14 +117,14 @@ export default {
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
@
click=
"goRoute(scope.row)"
@
click=
"goRoute(scope.row)"
v-hasPermi=
"['
monitor:operlog:query
']"
v-hasPermi=
"['
wecom:tlp:edit
']"
>
编辑
</el-button
>
编辑
</el-button
>
>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
@
click=
"remove(scope.row.id)"
@
click=
"remove(scope.row.id)"
v-hasPermi=
"['
monitor:operlog:query
']"
v-hasPermi=
"['
wecom:tlp:remove
']"
>
删除
</el-button
>
删除
</el-button
>
>
</
template
>
</
template
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment