Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-09-04 09:18:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fb097cd9d953d7bc0ece5d326d0bb03eefaeb48d
fb097cd9
1 parent
a2e362d7
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
62 deletions
src/views/et86Config/et86RuleConfig/edit/tableConfig.js
src/views/et86Config/et86RuleConfig/edit/tableConfig.js
View file @
fb097cd
...
...
@@ -18,65 +18,3 @@ export const tableAttr = {
],
},
};
export
const
columnHeader
=
(
deleteRow
)
=>
[
{
label
:
"航班号"
,
prop
:
"flightNo"
,
align
:
"center"
,
minWidth
:
100
,
},
{
label
:
"航班日期"
,
prop
:
"calculateDay"
,
align
:
"center"
,
minWidth
:
100
,
// sortable: true,
// "sort-method": (a, b) => b.updateTime - a.updateTime,
},
{
label
:
"航线"
,
prop
:
"flightRoute"
,
align
:
"center"
,
minWidth
:
100
,
},
{
label
:
"爆仓是否继续配舱"
,
prop
:
"permitOverweight"
,
align
:
"center"
,
minWidth
:
100
,
render
:
(
h
,
params
)
=>
{
const
{
row
}
=
params
;
console
.
log
(
345678
,
row
);
// return h("div", `状态-${row.id}`);
},
},
{
label
:
"操作"
,
align
:
"center"
,
minWidth
:
120
,
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
[
h
(
"el-button"
,
{
style
:
{
color
:
"#ff4949"
,
},
props
:
{
type
:
"text"
,
size
:
"mini"
,
icon
:
"el-icon-delete"
,
},
on
:
{
click
()
{
deleteRow
(
params
);
},
},
},
"删除"
),
]);
},
},
];
...
...
Please
register
or
login
to post a comment