Partial.cshtml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. 
  2. <div class="easyui-accordion" id="acc" style="width:100%;" data-options="selected:false">
  3. <div title="<i class='fa fa-ellipsis-h'></i>条件查询" style="width:100%;background:#f9f9f9; padding:3px;overflow-x:scroll" data-options="border:false">
  4. <input type="hidden" id="ID" />
  5. <table>
  6. <tr>
  7. <td style="width:70px;" class="label">项目</td>
  8. <td><input class="easyui-combobox" name="XMID" style="width:180px" id="XMID" data-options="prompt:'项目名称',limitToList:true,panelHeight:200,tipPosition:'top'" /></td>
  9. <td class="label">机构</td>
  10. <td>
  11. <input id="JGID" name="JGID" editable class="easyui-combobox"
  12. data-options="prompt:'机构:',labelAlign:'right',limitToList:true,panelHeight:200" style="width: 180px;" />
  13. </td>
  14. <td class="label"></td>
  15. <td style="padding-left:10px">
  16. <a id="btnClear" href="#" class="easyui-linkbutton c2"><i class="fa fa-empire"></i> 清空条件</a>
  17. <br />
  18. </td>
  19. </tr>
  20. <tr>
  21. <td class="label">产品</td>
  22. <td><input class="easyui-combobox" name="CPID" style="width:180px" id="CPID" data-options="prompt:'产品名称', limitToList:true,panelHeight:200,tipPosition:'top'" /></td>
  23. <td class="label">模块</td>
  24. <td>
  25. <input class="easyui-combobox" name="CPMKID" style="width:180px" id="CPMKID" data-options="prompt:'模块名称', limitToList:true,panelHeight:200,tipPosition:'top'" />
  26. </td>
  27. <td class="label">解决版本状态</td>
  28. <td style="padding-left:10px">
  29. <input class="easyui-combobox" name="JJBBZT" style="width:210px" id="JJBBZT" data-options="limitToList:true,panelHeight:200,tipPosition:'top'" />
  30. </td>
  31. </tr>
  32. <tr>
  33. <td class="label">迭代任务</td>
  34. <td><input class="easyui-combobox" style="width:180px" id="DDID" data-options="prompt:'迭代任务',limitToList:true,panelHeight:220,panelWidth:300,tipPosition:'top'" /> </td>
  35. <td class="label">登记版本</td>
  36. <td><input class="easyui-combobox" style="width:180px" id="BBID" data-options="prompt:'版本',limitToList:true,panelHeight:220,panelWidth:300,tipPosition:'top'" /> </td>
  37. <td class="label">解决版本</td>
  38. <td style="padding-left:10px">
  39. <input class="easyui-combobox" style="width:210px" id="JJBB" disabled data-options="prompt:'版本',limitToList:true,panelHeight:220,panelWidth:300,tipPosition:'top'" />
  40. <div class="layui-inline layui-form" id="whether">
  41. <input type="radio" name="LX" value="2" title="全部" lay-filter="whether" checked>
  42. <input type="radio" name="LX" value="1" title="指定" lay-filter="whether">
  43. <input type="radio" name="LX" value="0" title="未指定" lay-filter="whether">
  44. </div>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td class="label">问题性质</td>
  49. <td>
  50. <input class="easyui-combobox" name="WTXZ" style="width:180px" id="WTXZ" data-options="prompt:'问题性质', limitToList:true,panelHeight:150,tipPosition:'top'" />
  51. </td>
  52. <td class="label">紧急程度</td>
  53. <td>
  54. <input class="easyui-combobox" name="JJDM" style="width:180px" id="JJDM" data-options="prompt:'紧急程度', limitToList:true,panelHeight:150,tipPosition:'top'" />
  55. </td>
  56. <td class="label">流程环节</td>
  57. <td style="padding-left:10px">
  58. <input class="easyui-combobox" name="HJID" style="width:210px" id="HJID" data-options="prompt:'流程环节',limitToList:true,panelHeight:220,tipPosition:'top'" />
  59. </td>
  60. </tr>
  61. <tr>
  62. <td class="label">登记人</td>
  63. <td><input class="easyui-textbox" style="width:180px" id="DJR" data-options="prompt:'登记人'" /> </td>
  64. <td class="label">研发处理人</td>
  65. <td><input class="easyui-textbox" style="width:180px" id="YFCLRID" data-options="prompt:'研发人'" /> </td>
  66. <td class="label">测试处理人</td>
  67. <td style="padding-left:10px"><input class="easyui-textbox" style="width:210px" id="CSCLRID" data-options="prompt:'测试人'" /> </td>
  68. </tr>
  69. <tr>
  70. <td class="label">登记日期</td>
  71. <td>
  72. <input id="dbStartDate" type="text" class="easyui-datebox" style="width:120px">-
  73. <input id="dbEndDate" type="text" class="easyui-datebox" style="width:120px">
  74. </td>
  75. <td class="label">终止/解决日期 </td>
  76. <td>
  77. <input id="zzStartDate" type="text" class="easyui-datebox" style="width:120px">-
  78. <input id="zzEndDate" type="text" class="easyui-datebox" style="width:120px">
  79. </td>
  80. <td class="label">受理人</td>
  81. <td style="padding-left:10px"><input class="easyui-textbox" style="width:210px" id="SLRID" data-options="prompt:'受理人'" /> </td>
  82. </tr>
  83. </table>
  84. </div>
  85. </div>
  86. <style>
  87. .layui-form radio{margin-left:0px}
  88. </style>
  89. <script type="text/javascript">
  90. $(function () {
  91. layui.use('form', function () {
  92. var form = layui.form;
  93. form.on('radio(whether)', function (data) {
  94. if (data.value == 1) {
  95. $('#JJBB').combobox({ disabled: false });
  96. }
  97. else {
  98. $('#JJBB').combobox("setValue", "");
  99. $('#JJBB').combobox({ disabled: true });
  100. }
  101. })
  102. })
  103. })
  104. </script>