Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 46ff296a
authored
Mar 31, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表格-固定操作栏
1 parent
0ead99fb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
6 deletions
src/components/d2-table/index.vue
src/router/routes.js
src/views/financeManage/financeList.vue
src/views/goods/commodity.vue
src/views/orderManage/orderList.vue
src/components/d2-table/index.vue
View file @
46ff296
...
@@ -76,8 +76,9 @@
...
@@ -76,8 +76,9 @@
<el-table-column
<el-table-column
v-if=
"tableParams.tableOption"
v-if=
"tableParams.tableOption"
label=
"操作"
label=
"操作"
fixed=
"right"
:align=
"tableParams.tableOption.align||'center'"
:align=
"tableParams.tableOption.align||'center'"
:width=
"tableParams.tableOption.width||'
200
'"
:width=
"tableParams.tableOption.width||'
auto
'"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<slot
<slot
...
...
src/router/routes.js
View file @
46ff296
...
@@ -501,7 +501,6 @@ export const resources = {
...
@@ -501,7 +501,6 @@ export const resources = {
authId
:
'9060301'
,
authId
:
'9060301'
,
parentId
:
'90603'
,
parentId
:
'90603'
,
label
:
'财务'
,
label
:
'财务'
,
type
:
'primary'
,
handle
:
'handleDetail'
handle
:
'handleDetail'
}],
}],
component
:
_import
(
'systemConfig/merchantManage'
)
component
:
_import
(
'systemConfig/merchantManage'
)
...
...
src/views/financeManage/financeList.vue
View file @
46ff296
...
@@ -290,7 +290,8 @@
...
@@ -290,7 +290,8 @@
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
label=
"操作"
>
label=
"操作"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<auth-button
<auth-button
:data=
"scope"
:data=
"scope"
...
...
src/views/goods/commodity.vue
View file @
46ff296
...
@@ -73,7 +73,9 @@
...
@@ -73,7 +73,9 @@
style=
"margin-right: 10px;"
style=
"margin-right: 10px;"
@
click=
"handleCommodityDetail(scope.scope)"
@
click=
"handleCommodityDetail(scope.scope)"
>
查看
</el-button>
>
查看
</el-button>
<auth-button
:data=
"scope.scope"
></auth-button>
<auth-button
:data=
"scope.scope"
></auth-button>
</
template
>
</
template
>
</d2-table>
</d2-table>
</div>
</div>
...
@@ -172,7 +174,9 @@ export default {
...
@@ -172,7 +174,9 @@ export default {
mutiSelectUniqueKey
:
'uniqueVal'
,
mutiSelectUniqueKey
:
'uniqueVal'
,
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
true
,
tableOption
:
{
width
:
'170'
},
tableColumns
:
[{
tableColumns
:
[{
label
:
'序号'
,
label
:
'序号'
,
prop
:
'index'
prop
:
'index'
...
...
src/views/orderManage/orderList.vue
View file @
46ff296
...
@@ -138,7 +138,8 @@
...
@@ -138,7 +138,8 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
label
=
"操作"
label
=
"操作"
align
=
"center"
>
align
=
"center"
fixed
=
"right"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
auth
-
button
<
auth
-
button
:
data
=
"scope"
:
data
=
"scope"
...
...
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