Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
9cb6dc5d
Commit
9cb6dc5d
authored
Aug 31, 2020
by
rencs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8.31 公司门店按钮权限
parent
369e5c89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
9 deletions
+29
-9
Settlement.vue
src/views/applyManagements/Settlement.vue
+1
-1
companyManage.vue
src/views/company/companyManage.vue
+8
-3
storeManage.vue
src/views/company/storeManage.vue
+20
-5
No files found.
src/views/applyManagements/Settlement.vue
View file @
9cb6dc5d
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<el-table-column
align=
"center"
label=
"操作"
>
<el-table-column
align=
"center"
label=
"操作"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<span
v-if=
"row.status==0"
>
<span
v-if=
"row.status==0"
>
<el-button
type=
"text"
@
click=
"set_to_readed(row)"
>
设为已读
</el-button>
<el-button
type=
"text"
v-show=
"elements['btn_set']"
@
click=
"set_to_readed(row)"
>
设为已读
</el-button>
</span>
</span>
<span
v-else
>
/
</span>
<span
v-else
>
/
</span>
</
template
>
</
template
>
...
...
src/views/company/companyManage.vue
View file @
9cb6dc5d
...
@@ -3,7 +3,12 @@
...
@@ -3,7 +3,12 @@
<div>
<div>
<div
class=
"filter-container"
ref=
"filter-container"
>
<div
class=
"filter-container"
ref=
"filter-container"
>
<div
class=
"top_btn"
>
<div
class=
"top_btn"
>
<el-button
type=
"primary"
@
click=
"add_item"
icon=
"el-icon-plus"
>
添加公司
</el-button>
<el-button
type=
"primary"
@
click=
"add_item"
icon=
"el-icon-plus"
v-show=
"elements['btn_add_company']"
>
添加公司
</el-button>
</div>
</div>
<el-form
ref=
"queryForm"
:inline=
"inline"
:model=
"listQuery"
label-width=
"80px"
>
<el-form
ref=
"queryForm"
:inline=
"inline"
:model=
"listQuery"
label-width=
"80px"
>
<el-row>
<el-row>
...
@@ -33,8 +38,8 @@
...
@@ -33,8 +38,8 @@
<el-table-column
align=
"center"
label=
"操作"
>
<el-table-column
align=
"center"
label=
"操作"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<el-button
type=
"text"
@
click=
"edit_item(row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"edit_item(row)"
v-show=
"elements['btn_edit_company']"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"edit_del(row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"edit_del(row)"
v-show=
"elements['btn_del_company']"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/company/storeManage.vue
View file @
9cb6dc5d
...
@@ -3,7 +3,12 @@
...
@@ -3,7 +3,12 @@
<div>
<div>
<div
class=
"filter-container"
ref=
"filter-container"
>
<div
class=
"filter-container"
ref=
"filter-container"
>
<div
class=
"top_btn"
>
<div
class=
"top_btn"
>
<el-button
type=
"primary"
@
click=
"add_item"
icon=
"el-icon-plus"
>
添加门店
</el-button>
<el-button
type=
"primary"
@
click=
"add_item"
icon=
"el-icon-plus"
v-show=
"elements['btn_add_stroe']"
>
添加门店
</el-button>
</div>
</div>
<el-form
ref=
"queryForm"
:inline=
"inline"
:model=
"listQuery"
label-width=
"80px"
>
<el-form
ref=
"queryForm"
:inline=
"inline"
:model=
"listQuery"
label-width=
"80px"
>
<el-row>
<el-row>
...
@@ -73,10 +78,20 @@
...
@@ -73,10 +78,20 @@
<el-table-column
align=
"center"
label=
"负责人"
prop=
"leader"
></el-table-column>
<el-table-column
align=
"center"
label=
"负责人"
prop=
"leader"
></el-table-column>
<el-table-column
align=
"center"
label=
"操作"
>
<el-table-column
align=
"center"
label=
"操作"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<el-button
type=
"text"
@
click=
"edit_item(row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"edit_item(row)"
v-show=
"elements['btn_edit_stroe']"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"updateState(row,2)"
v-if=
"row.state==1"
>
下架
</el-button>
<el-button
<el-button
type=
"text"
@
click=
"updateState(row,1)"
v-if=
"row.state==2"
>
上架
</el-button>
type=
"text"
<el-button
type=
"text"
@
click=
"del_item(row)"
>
删除
</el-button>
@
click=
"updateState(row,2)"
v-show=
"elements['btn_up_down_stroe']"
v-if=
"row.state==1"
>
下架
</el-button>
<el-button
type=
"text"
@
click=
"updateState(row,1)"
v-show=
"elements['btn_up_down_stroe']"
v-if=
"row.state==2"
>
上架
</el-button>
<el-button
type=
"text"
@
click=
"del_item(row)"
v-show=
"elements['btn_del_stroe']"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
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