Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
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 d7eeaaeb
authored
Dec 29, 2021
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
2db571b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
src/views/account/detailAccount.vue
src/views/employee/index.vue
src/views/role/index.vue
src/views/account/detailAccount.vue
View file @
d7eeaae
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
</span>
</span>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<
!-- <
el-row>
<el-col :span="14" class="flexCol">
<el-col :span="14" class="flexCol">
<span class="itemName">商户类型:</span>
<span class="itemName">商户类型:</span>
<span class="itemValue">{{ firstPageObj.merchantTypeName || '-' }}</span>
<span class="itemValue">{{ firstPageObj.merchantTypeName || '-' }}</span>
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<span class="itemValue">{{ firstPageObj.merchantOrgcode || '-' }}</span>
<span class="itemValue">{{ firstPageObj.merchantOrgcode || '-' }}</span>
</el-col>
</el-col>
</el-row>
</el-row>
-->
<el-row>
<el-row>
<el-col
:span=
"14"
class=
"flexCol"
>
<el-col
:span=
"14"
class=
"flexCol"
>
<span
class=
"itemName"
>
地址:
</span>
<span
class=
"itemName"
>
地址:
</span>
...
...
src/views/employee/index.vue
View file @
d7eeaae
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<
template
>
<
template
>
<div
class=
"config-employee employee-list"
>
<div
class=
"config-employee employee-list"
>
<div
style=
"margin-bottom: 20px"
>
<div
style=
"margin-bottom: 20px"
>
<GLButton
@
click=
"handleEdit(1)"
:size=
"size"
class=
"el-icon-plus"
fn=
"创建员工"
type=
"primary"
display=
"disabled"
mode=
"el-button"
>
创建员工
</GLButton>
<GLButton
@
click=
"handleEdit(1)"
:size=
"size"
class=
"el-icon-plus"
fn=
"创建员工"
type=
"primary"
mode=
"el-button"
>
创建员工
</GLButton>
<!--
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
>
创建员工
</el-button>
-->
<!--
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
>
创建员工
</el-button>
-->
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData2"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData2"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<GLButton
@
click=
"handleExport"
fn=
"导出"
:size=
"size"
type=
"primary"
display=
"disabled"
mode=
"el-button"
>
导出
</GLButton>
<GLButton
@
click=
"handleExport"
fn=
"导出"
:size=
"size"
type=
"primary"
mode=
"el-button"
>
导出
</GLButton>
<!--
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleExport"
>
导出
</el-button>
-->
<!--
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleExport"
>
导出
</el-button>
-->
</span>
</span>
</glsx-combi-form>
</glsx-combi-form>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<!--
<el-button
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
修改
</el-button>
<!--
<el-button
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
修改
</el-button>
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
-->
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
-->
<GLButton
type=
"text"
@
click=
"handleDetail(scope.scope)"
fn=
"查看"
mode=
"el-button"
>
查看
</GLButton>
<GLButton
type=
"text"
@
click=
"handleDetail(scope.scope)"
fn=
"查看"
mode=
"el-button"
>
查看
</GLButton>
<GLButton
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
fn=
"修改"
display=
"disabled"
mode=
"el-button"
>
修改
</GLButton>
<GLButton
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
fn=
"修改"
mode=
"el-button"
>
修改
</GLButton>
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
</div>
</div>
...
@@ -33,16 +33,16 @@
...
@@ -33,16 +33,16 @@
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
1. 角色管理-创建角色
</p>
<p>
1. 角色管理-创建角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
<GLButton
mode=
"el-switch"
fn=
"开关"
display=
"disabled"
:size=
"size"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
<GLButton
mode=
"el-switch"
fn=
"开关"
:size=
"size"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
</el-popover>
-->
</el-popover>
-->
<GLButton
mode=
"div"
fn=
"开关"
display=
"disabled"
>
<GLButton
mode=
"div"
fn=
"开关"
>
<el-popover
v-if=
"scope.scope.statusName == '禁用'"
placement=
"top"
width=
"180"
trigger=
"hover"
>
<el-popover
v-if=
"scope.scope.statusName == '禁用'"
placement=
"top"
width=
"180"
trigger=
"hover"
>
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
1. 角色管理-创建角色
</p>
<p>
1. 角色管理-创建角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
<GLButton
mode=
"el-switch"
fn=
"开关"
display=
"disabled"
:size=
"size"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
<GLButton
mode=
"el-switch"
fn=
"开关"
:size=
"size"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
</el-popover>
</el-popover>
<GLButton
mode=
"el-switch"
fn=
"开关"
display=
"disabled"
v-else
:size=
"size"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
<GLButton
mode=
"el-switch"
fn=
"开关"
v-else
:size=
"size"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
</GLButton>
</GLButton>
</
template
>
</
template
>
</GLTable>
</GLTable>
...
...
src/views/role/index.vue
View file @
d7eeaae
<
template
>
<
template
>
<div
class=
"role-home-page"
>
<div
class=
"role-home-page"
>
<div
class=
"top_widget"
>
<div
class=
"top_widget"
>
<GLButton
size=
"small"
fn=
"创建角色"
icon=
"el-icon-plus"
type=
"primary"
display=
"disabled"
@
click=
"toCreatePage"
>
创建角色
</GLButton>
<GLButton
size=
"small"
fn=
"创建角色"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage"
>
创建角色
</GLButton>
<!--
<el-button
size=
"small"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage"
>
创建角色
</el-button>
-->
<!--
<el-button
size=
"small"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage"
>
创建角色
</el-button>
-->
</div>
</div>
<div
class=
"table_widget"
>
<div
class=
"table_widget"
>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<GLTable
v-if=
"distoryTable"
ref=
"table"
:layout=
"layout"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
@
refreshTable=
"getTableData"
>
<GLTable
v-if=
"distoryTable"
ref=
"table"
:layout=
"layout"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
@
refreshTable=
"getTableData"
>
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<GLButton
type=
"text"
@
click=
"toLookPage(scope.scope)"
fn=
"查看"
>
查看
</GLButton>
<GLButton
type=
"text"
@
click=
"toLookPage(scope.scope)"
fn=
"查看"
>
查看
</GLButton>
<GLButton
v-if=
"!scope.scope.defalutRole"
fn=
"修改"
type=
"text"
display=
"disabled"
@
click=
"toEditPage(scope.scope)"
>
修改
</GLButton>
<GLButton
v-if=
"!scope.scope.defalutRole"
fn=
"修改"
type=
"text"
@
click=
"toEditPage(scope.scope)"
>
修改
</GLButton>
<!--
<el-button
type=
"text"
@
click=
"toLookPage(scope.scope)"
>
查看
</el-button>
<!--
<el-button
type=
"text"
@
click=
"toLookPage(scope.scope)"
>
查看
</el-button>
<el-button
v-if=
"scope.scope.roleName!='超级管理员'"
type=
"text"
@
click=
"toEditPage(scope.scope)"
>
修改
</el-button>
-->
<el-button
v-if=
"scope.scope.roleName!='超级管理员'"
type=
"text"
@
click=
"toEditPage(scope.scope)"
>
修改
</el-button>
-->
<el-button
v-if=
"scope.scope.delFlag"
type=
"text"
@
click=
"todelete(scope.scope)"
>
删除
</el-button>
<el-button
v-if=
"scope.scope.delFlag"
type=
"text"
@
click=
"todelete(scope.scope)"
>
删除
</el-button>
...
...
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