| | |
| | | default-expand-all :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> |
| | | <el-table-column type="selection" width="50"> |
| | | </el-table-column> |
| | | <el-table-column type="index" label="序号" width="78"> |
| | | <el-table-column type="index" label="序号" width="70"> |
| | | </el-table-column> |
| | | <el-table-column prop="date" label="项目" width="350"> |
| | | <template slot-scope="scope"> |
| | | <span> <el-tag size="mini" :type="scope.row.children? '':'success'" :style="{borderRadius: '40%',marginRight: '12px'}">{{ scope.row.children? '01':'02' }}</el-tag> {{scope.row.date}}</span> |
| | | </template> |
| | | <el-table-column prop="date" label="项目"> |
| | | </el-table-column> |
| | | <el-table-column prop="name" label="单位" width="180"> |
| | | <el-table-column prop="name" label="单位"> |
| | | </el-table-column> |
| | | <el-table-column prop="address" label="标准值"> |
| | | </el-table-column> |
| | |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | },{ |
| | | id: 5, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }, |
| | | { |
| | | id: 6, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }, |
| | | { |
| | | id: 7, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }, |
| | | { |
| | | id: 8, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }, |
| | | { |
| | | id: 9, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }, |
| | | { |
| | | id: 10, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }, |
| | | { |
| | | id: 11, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }, |
| | | { |
| | | id: 12, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | } |
| | | ,{ |
| | | id: 13, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | } |
| | | ], |
| | | tableData1: [{ |
| | | id: 1, |
| | | date: '2016-05-02', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1518 弄' |
| | | }, { |
| | | id: 2, |
| | | date: '2016-05-04', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1517 弄' |
| | | }, { |
| | | id: 3, |
| | | date: '2016-05-01', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1519 弄', |
| | | hasChildren: true |
| | | }, { |
| | | id: 4, |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }], |
| | | selects: [] |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | </script> |