Commit 5f674a4a authored by 徐一鸣's avatar 徐一鸣

表格组件增加筛选条件

parent 25afbaa9
This diff is collapsed.
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
:emptyText="emptyText" :emptyText="emptyText"
:stripe="true" :stripe="true"
:pageSizeShow="true" :pageSizeShow="true"
:filterList="filterList"
></ces-table> ></ces-table>
<h3>可编辑表格,供服务测试用</h3> <h3>可编辑表格,供服务测试用</h3>
<ces-table <ces-table
...@@ -114,7 +115,29 @@ export default { ...@@ -114,7 +115,29 @@ export default {
}, },
emptyText: "暂时没数据", emptyText: "暂时没数据",
emptyText1: "可输入表格暂时没数据", emptyText1: "可输入表格暂时没数据",
emptyText2: "树结构暂时没数据" emptyText2: "树结构暂时没数据",
filterList: [
{
name: "服务类型",
prop: "fwlx",
data: ["数据服务", "时空服务", "视频服务", "感知服务", "综合服务"]
},
{
name: "服务领域",
prop: "fwly",
data: ["数据服务", "时空服务", "视频服务", "感知服务", "综合服务"]
},
{
name: "开放程度",
prop: "kfcd",
data: ["数据服务", "时空服务", "视频服务", "感知服务", "综合服务"]
},
{
name: "服务状态",
prop: "fwzt",
data: ["数据服务", "时空服务", "视频服务", "感知服务", "综合服务"]
},
]
}), }),
components: { components: {
cesTable cesTable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment