| | |
| | | <el-table :data="tableData" fit ref="elTable"> |
| | | <el-table-column label="名称" prop="VideoName" sortable width="500"> |
| | | <template slot-scope="scope"> |
| | | <div style="cursor:pointer;">{{scope.row.VideoName}}</div> |
| | | <div style="cursor:pointer;" @click="checkVideoDetail(scope.row)">{{scope.row.VideoName}}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="大小" prop="VideoSize" sortable></el-table-column> |
| | |
| | | |
| | | res.filterlst.forEach(config => { |
| | | this.$set(config, 'isShow', true); |
| | | config.data = Object.keys(config.Node).map(key => { |
| | | let obj = {}; |
| | | obj.name = key; |
| | | obj.id = config.Node[key] |
| | | return obj |
| | | }); |
| | | // config.data = config.Node.map((item) => { |
| | | // config.data = Object.keys(config.Node).map(key => { |
| | | // let obj = {}; |
| | | // obj.name = item[0]; |
| | | // obj.id = item[1]; |
| | | // return obj; |
| | | // obj.name = key; |
| | | // obj.id = config.Node[key] |
| | | // return obj |
| | | // }); |
| | | config.data = config.Node.map((item) => { |
| | | let obj = {}; |
| | | obj.name = item[0]; |
| | | obj.id = item[1]; |
| | | return obj; |
| | | }); |
| | | config.id = config.ID; |
| | | config.title = config.NameZn; |
| | | config.data.forEach(item => { |