data.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <style type="text/css">
  2. table.gridtable { font-family: verdana,arial,sans-serif; font-size:11px; color:#333333; border-width: 1px; border-color: #666666; border-collapse: collapse; }
  3. table.gridtable th { border-width: 1px; padding: 8px; border-style: solid; border-color: #666666; background-color: #dedede;text-align: center }
  4. table.gridtable td { border-width: 1px; padding: 8px; border-style: solid; border-color: #666666; background-color: #ffffff; }
  5. </style>
  6. <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  7. <div class="form-group">
  8. <label class="control-label col-xs-12 col-sm-3">样品:</label>
  9. <div class="col-xs-12 col-sm-7">
  10. <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$gather['name']} {$gather['bach']} ">
  11. </div>
  12. </div>
  13. <div class="form-group">
  14. <label class="control-label col-xs-12 col-sm-3">数据文件:</label>
  15. <div class="col-xs-12 col-sm-7">
  16. <input id="c-bach" data-rule="required" class="form-control" name="row[bach]" type="text" value="{$gather['data_txt_name']}">
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label class="control-label col-xs-12 col-sm-3">采集:</label>
  21. <div class="col-xs-12 col-sm-7">
  22. <input data-rule="required" class="form-control" name="row[sell_bach]" type="text" value="{$gather['gather_time']}">
  23. </div>
  24. </div>
  25. <div class="form-group">
  26. <label class="control-label col-xs-12 col-sm-3">数据路径:</label>
  27. <div class="col-xs-12 col-sm-7">
  28. <input data-rule="required" class="form-control" name="row[sell_bach]" type="text" value="{$gather['data_txt_path']}">
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label class="control-label col-xs-12 col-sm-3">ALS 样品瓶:</label>
  33. <div class="col-xs-12 col-sm-3">
  34. <input data-rule="required" class="form-control" name="row[sell_bach]" type="text" value="{$gather['ALS']}">
  35. </div>
  36. <label class="control-label col-xs-12 col-sm-1">样品乘积因子:</label>
  37. <div class="col-xs-12 col-sm-3">
  38. <input data-rule="required" class="form-control" name="row[sample_no]" type="text" value="{$gather['sample_product_factor']}">
  39. </div>
  40. </div>
  41. <div class="form-group">
  42. <label class="control-label col-xs-12 col-sm-3">操作者:</label>
  43. <div class="col-xs-12 col-sm-7">
  44. <input id="c-sample_no" data-rule="required" class="form-control" name="row[sample_no]" type="text" value="{$gather['author']}">
  45. </div>
  46. </div>
  47. <div class="form-group">
  48. <label class="control-label col-xs-12 col-sm-3">其他:</label>
  49. <div class="col-xs-12 col-sm-7">
  50. <input id="c-no" data-rule="required" class="form-control" name="row[no]" type="text" value="{$gather['other']}">
  51. </div>
  52. </div>
  53. <div class="form-group">
  54. <label class="control-label col-xs-12 col-sm-3">定量方法标题:</label>
  55. <div class="col-xs-12 col-sm-7">
  56. <input id="c-sample_status" data-rule="required" class="form-control" name="row[sample_status]" type="text" value="{$gather['title']}">
  57. </div>
  58. </div>
  59. <div class="form-group">
  60. <label class="control-label col-xs-12 col-sm-3">定量时间:</label>
  61. <div class="col-xs-12 col-sm-7">
  62. <input data-rule="required" class="form-control" name="row[sample_status]" type="text" value="{$gather['quantify_time']}">
  63. </div>
  64. </div>
  65. <div class="form-group">
  66. <label class="control-label col-xs-12 col-sm-3">定量方法:</label>
  67. <div class="col-xs-12 col-sm-7">
  68. <input data-rule="required" class="form-control" name="row[sample_status]" type="text" value="{$gather['quantify_method']}">
  69. </div>
  70. </div>
  71. <div class="form-group">
  72. <label class="control-label col-xs-12 col-sm-3">上一次定量更新:</label>
  73. <div class="col-xs-12 col-sm-7">
  74. <input class="form-control" name="row[remark]" type="text" value="{$gather['last_quantify_time']}">
  75. </div>
  76. </div>
  77. <div class="form-group">
  78. <label class="control-label col-xs-12 col-sm-3">响应方式</label>
  79. <div class="col-xs-12 col-sm-7">
  80. <input class="form-control" name="row[remark]" type="text" value="{$gather['response']}">
  81. </div>
  82. </div>
  83. <div class="form-group">
  84. <label class="control-label col-xs-12 col-sm-3"></label>
  85. <table class="col-xs-12 col-sm-6 gridtable" id="check_child">
  86. <thead>
  87. <tr>
  88. <th class="col-xs-12 col-sm-2">化合物</th>
  89. <th class="col-xs-12 col-sm-1">保留时间</th>
  90. <th class="col-xs-12 col-sm-1">定量离子</th>
  91. <th class="col-xs-12 col-sm-1">响应值</th>
  92. <th class="col-xs-12 col-sm-1">浓度</th>
  93. <th class="col-xs-12 col-sm-1">单位</th>
  94. <th class="col-xs-12 col-sm-1">偏差(分钟)</th>
  95. <th class="col-xs-12 col-sm-1">定性离子</th>
  96. </tr>
  97. </thead>
  98. <tbody>
  99. {foreach name="data" id="vo"}
  100. <tr>
  101. <td>{$vo.chemical_compound}</td>
  102. <td>{$vo.persist_time}</td>
  103. <td>{$vo.quantitative_ion}</td>
  104. <td>{$vo.response_value}</td>
  105. <td>{$vo.potency}</td>
  106. <td>{$vo.unit}</td>
  107. <td>{$vo.deviation}</td>
  108. <td>{$vo.quanlitative_ion}</td>
  109. </tr>
  110. {/foreach}
  111. </tbody>
  112. </table>
  113. </div>
  114. </form>