Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 1390d065
authored
Feb 21, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改为权限按钮控制
1 parent
00c63cc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
src/views/ghPreSale/equityList.vue
src/views/ghPreSale/equityList.vue
View file @
1390d06
...
...
@@ -2,7 +2,8 @@
<
template
>
<div
class=
"before-sale"
>
<div
class=
"add-benefit"
>
<el-button
fn=
"新增权益"
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增权益
</el-button>
<!--
<el-button
fn=
"新增权益"
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增权益
</el-button>
-->
<GLButton
:size=
"size"
fn=
"新增权益"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增权益
</GLButton>
<div
class=
"top-tips"
><span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
{{
countNoData
}}
单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。
</div>
</div>
<div
class=
"container"
>
...
...
@@ -19,13 +20,18 @@
<!-- 表格区域 开始 -->
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
<GLButton
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<!--
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
-->
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
style=
"position: relative;"
type=
"text"
@
click=
"handleUpload(scope.scope)"
>
上传资料
<span
v-show=
"scope.scope.dataPerfection == 0"
class=
"circule-tips"
></span></el-button>
<el-button
v-if=
"[0].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</el-button>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</el-button>
<!--
<el-button
v-if=
"[0].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</el-button>
-->
<!--
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</el-button>
-->
<GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
v-if=
"[2].includes(scope.scope.orderStatus)"
fn=
"修改"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</GLButton>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<el-button
v-if=
"[3, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</el-button>
<GLButton
v-if=
"[3, 4, 5].includes(scope.scope.orderStatus)"
fn=
"重新提单"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</GLButton>
<!--
<el-button
v-if=
"[3, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</el-button>
-->
</div>
</GLTable>
<!-- 表格区域 end -->
...
...
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