{"id":20987464,"url":"https://github.com/yevin-yu/element-table-plus","last_synced_at":"2025-03-13T11:25:40.265Z","repository":{"id":239940471,"uuid":"800474948","full_name":"Yevin-Yu/element-table-plus","owner":"Yevin-Yu","description":"一个基于Vue与Element-UI的Table","archived":false,"fork":false,"pushed_at":"2024-05-17T08:16:30.000Z","size":204,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T07:43:05.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yevin-Yu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-14T12:03:39.000Z","updated_at":"2024-05-17T08:29:38.000Z","dependencies_parsed_at":"2024-05-16T03:03:08.048Z","dependency_job_id":"7abc652e-2494-4175-8ad2-0614000c6167","html_url":"https://github.com/Yevin-Yu/element-table-plus","commit_stats":null,"previous_names":["iyuwb/element-table-plus","yevin-yu/element-table-plus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevin-Yu%2Felement-table-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevin-Yu%2Felement-table-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevin-Yu%2Felement-table-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevin-Yu%2Felement-table-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yevin-Yu","download_url":"https://codeload.github.com/Yevin-Yu/element-table-plus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243394473,"owners_count":20283964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T06:17:02.158Z","updated_at":"2025-03-13T11:25:40.241Z","avatar_url":"https://github.com/Yevin-Yu.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# element-table-plus-demo\n\n## 下载\n```shell\nnpm i element-table-plus-demo\n```\n\n## 使用\n\n`main.js`\n\n```js\nimport elementTablePlus from 'element-table-plus-demo';\nimport 'element-table-plus-demo/elementTablePlusDemo.css';\nVue.use(elementTablePlus)\n```\n\n`App.vue`\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv id=\"app\"\u003e\n    \u003celementTablePlus :option=\"option\"\u003e\u003c/elementTablePlus\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nexport default {\n  data() {\n    return {\n      option: {},\n    };\n  },\n  created() {\n    this.option = require(\"./package/data.json\");\n  },\n\u003c/script\u003e\n\n```\n`data.json`\n\n```json\n{\n    \"headerData\": [\n        {\n            \"label\": \"日期\", \n            \"prop\": \"date\",\n            \"showOverflowTooltip\":true\n        },\n        {\n            \"label\": \"名字\",\n            \"prop\": \"name\"\n        },\n        {\n            \"label\": \"成绩\",\n            \"children\": [\n                {\n                    \"label\": \"语文\",\n                    \"prop\": \"score1\"\n                },\n                {\n                    \"label\": \"数学\",\n                    \"prop\": \"score2\"\n                },\n                {\n                    \"label\": \"英语\",\n                    \"prop\": \"score3\"\n                },\n                {\n                    \"label\": \"理综\",\n                    \"children\": [\n                        {\n                            \"label\": \"物理\",\n                            \"prop\": \"score4\"\n                        },\n                        {\n                            \"label\": \"化学\",\n                            \"prop\": \"score5\"\n                        },\n                        {\n                            \"label\": \"生物\",\n                            \"prop\": \"score6\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"tableData\": [\n        {\n            \"date\": \"2016-05-02\",\n            \"name\": \"王小虎\",\n            \"score1\": 150,\n            \"score2\": 150,\n            \"score3\": 150,\n            \"score4\": 110,\n            \"score5\": 100,\n            \"score6\": 90\n        },\n        {\n            \"date\": \"2016-05-04\",\n            \"name\": \"王小明\",\n            \"score1\": 150,\n            \"score2\": 150,\n            \"score3\": 150,\n            \"score4\": 110,\n            \"score5\": 100,\n            \"score6\": 90\n        },\n        {\n            \"date\": \"2016-05-01\",\n            \"name\": \"王小丽\",\n            \"score1\": 150,\n            \"score2\": 150,\n            \"score3\": 150,\n            \"score4\": 110,\n            \"score5\": 100,\n            \"score6\": 90\n        },\n        {\n            \"date\": \"2016-05-03\",\n            \"name\": \"王小飞\",\n            \"score1\": 150,\n            \"score2\": 150,\n            \"score3\": 150,\n            \"score4\": 110,\n            \"score5\": 100,\n            \"score6\": 90\n        }\n    ]\n}\n```\n![alt text](image.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyevin-yu%2Felement-table-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyevin-yu%2Felement-table-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyevin-yu%2Felement-table-plus/lists"}