You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

test.js 767 B

3 years ago
12345678910111213141516171819202122232425262728
  1. function displayDir(uuid){
  2. console.log('uuid 1=' + uuid);
  3. var html="<tr>\
  4. <th></th>\
  5. <th id=\"dataset_head\"></th>\
  6. <th>数据集名称</th>\
  7. <th>数据集类型</th>\
  8. <th>数据集描述</th>\
  9. <th>数据集创建者</th>\
  10. </tr>";
  11. for (var i=0;i<1;i++){
  12. var row = "<tr>\
  13. <td><input type=\"checkbox\"/></td>\
  14. <td id=\"dataset_id\">"+uuid+"</td>\
  15. <td>" + uuid +"</td>\
  16. <td>测试</td>\
  17. <td>测试</td>\
  18. <td>测试</td>\
  19. </tr>";
  20. html=html+row;
  21. }
  22. document.getElementById('dataset-files-table').innerHTML=html;
  23. console.log('uuid 2=' + uuid);
  24. }