AssignDealWithPerson_Window.cshtml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. @{
  2. Layout = "~/Views/Shared/_MainLayoutPage.cshtml";
  3. }
  4. <!DOCTYPE html>
  5. <html>
  6. <head>
  7. <meta name="viewport" content="width=device-width" />
  8. <title>AssignDealWithPerson_Window</title>
  9. <style>
  10. .textbox-label{width:60px}
  11. </style>
  12. </head>
  13. <body>
  14. <input id="CLR" name="CLR" panelheight="190px" class="easyui-combobox" data-options="label:'处理人',labelAlign:'right',prompt:'请选择处理人',limitToList:true" style="width:200px;" />
  15. <div style="position:fixed;bottom:10px;right:10px;">
  16. <a id="btnUpdate" href="#" class="easyui-linkbutton c1"><i class="fa fa-pencil"></i> 确认</a>&nbsp;&nbsp;&nbsp;
  17. <a id="btnClose" href="#" class="easyui-linkbutton c5"><i class="fa fa-power-off"></i> 关闭</a>
  18. </div>
  19. </body>
  20. </html>
  21. <script type="text/javascript">
  22. $("#btnUpdate").bind("click", function () {
  23. var CLR = $("#CLR").combobox("getValue");
  24. $.get("/Problem/SaveAssignDealWithPerson/" + CLR)
  25. ZLPMS.CloseTopWindow(true)
  26. })
  27. $("#btnClose").bind("click", function () {
  28. ZLPMS.CloseTopWindow()
  29. })
  30. $(function () {
  31. $("#CLR").combobox({
  32. url: '/Problem/GetAssignPerson',
  33. valueField: 'ID',
  34. textField: '姓名'
  35. })
  36. })
  37. </script>