├── static └── .gitkeep ├── config ├── prod.env.js ├── dev.env.js └── index.js ├── src ├── assets │ ├── logo.png │ └── devices.min.css ├── main.js ├── router │ └── index.js ├── pages │ ├── index.vue │ ├── mobile.vue │ └── data.json ├── App.vue └── components │ ├── h5 │ ├── tree-list.vue │ ├── mobile.md │ └── tree.vue │ └── pc │ ├── tree-item.vue │ ├── tree-table.vue │ └── tree-table-bak.vue ├── push.sh ├── .editorconfig ├── .gitignore ├── .babelrc ├── .postcssrc.js ├── index.html ├── dist ├── index.html └── static │ └── js │ ├── app.17679b43112f51b3d0b4.js │ ├── manifest.0db83edb5af4c77cbdde.js │ ├── 4.820537ed60a813e4bf9b.js │ ├── app.17679b43112f51b3d0b4.js.map │ ├── 1.0a60eb5b396c97c904c6.js │ ├── manifest.0db83edb5af4c77cbdde.js.map │ ├── 0.d05f8b57cd90e54f7237.js │ ├── 4.820537ed60a813e4bf9b.js.map │ ├── 1.0a60eb5b396c97c904c6.js.map │ └── 0.d05f8b57cd90e54f7237.js.map ├── package.json └── README.md /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = { 3 | NODE_ENV: '"production"' 4 | } 5 | -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sijinglei/vue-tree-table/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /push.sh: -------------------------------------------------------------------------------- 1 | read -p "提交注释信息:" val 2 | echo $val 3 | git add --all 4 | git commit -m $val 5 | git pull 6 | git push origin master -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const merge = require('webpack-merge') 3 | const prodEnv = require('./prod.env') 4 | 5 | module.exports = merge(prodEnv, { 6 | NODE_ENV: '"development"' 7 | }) 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | npm-debug.log* 4 | yarn-debug.log* 5 | yarn-error.log* 6 | 7 | # Editor directories and files 8 | .idea 9 | .vscode 10 | *.suo 11 | *.ntvs* 12 | *.njsproj 13 | *.sln 14 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { 4 | "modules": false, 5 | "targets": { 6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"] 7 | } 8 | }], 9 | "stage-2" 10 | ], 11 | "plugins": ["transform-vue-jsx", "transform-runtime"] 12 | } 13 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | "postcss-import": {}, 6 | "postcss-url": {}, 7 | // to edit target browsers: use "browserslist" field in package.json 8 | "autoprefixer": {} 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |
7 |
|
34 |
| 职位名称 | 91 |负责人 | 92 |
93 | 创建时间
94 |
95 |
96 |
97 |
98 | |
99 | 工作经验 | 100 |发布时间 | 101 |操作 | 102 |
|
111 | |
123 |
| 职位名称 | 7 |负责人 | 8 |
9 | 创建时间
10 |
11 |
12 |
13 |
14 | |
15 | 工作经验 | 16 |发布时间 | 17 |操作 | 18 |
|
27 | |
40 |
\n
| \n
| 职位名称 | 7 |负责人 | 8 |
9 | 创建时间
10 |
11 |
12 |
13 |
14 | |
15 | 工作经验 | 16 |发布时间 | 17 |操作 | 18 |
|
27 | |
39 |
| 职位名称 | \n\t\t\t\t\t负责人 | \n\t\t\t\t\t\n\t\t\t\t\t\t创建时间\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t | \n\t\t\t\t\t工作经验 | \n\t\t\t\t\t发布时间 | \n\t\t\t\t\t操作 | \n\t\t\t\t
| \n\t\t\t\t\t\t\t\t | \n\t\t\t\t\t\t