save_item.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {extend name="layout/content"}
  2. {block name="content"}
  3. <style type="text/css">
  4. .spacing {
  5. margin-bottom: 10px;
  6. padding-right:4px;
  7. padding-left: 4px;
  8. }
  9. .rowGroup{height:50px;}
  10. .table td{border:1px solid #ddd;}
  11. </style>
  12. <div class="ibox float-e-margins">
  13. <div class="ibox-content">
  14. <div class="form-horizontal">
  15. <div class="row">
  16. <form id="integraMgrInfoForm">
  17. <div class="col-sm-12 ">
  18. <input id="id" name="id" type="hidden" value="{$row.id}"/>
  19. <div class="rowGroup">
  20. <label class="col-sm-2 control-label spacing">人才类别</label>
  21. <div class="col-sm-4 spacing">
  22. <select class="form-control" id="type" name="type" selectVal="{$row.type}" onchange="IntegralItemMgrInfo.onTypeChange();">
  23. <option value="">请选择</option>
  24. <option value="1">晋江市现代产业体系人才</option>
  25. <option value="2">集成电路优秀人才</option>
  26. </select>
  27. </div>
  28. <label class="col-sm-2 control-label spacing">所属积分项目</label>
  29. <div class="col-sm-4 spacing">
  30. <select class="form-control" id="projectId" name="projectId" selectVal="{$row.projectId}">
  31. </select>
  32. </div>
  33. </div>
  34. <div class="rowGroup">
  35. <label class="col-sm-2 control-label spacing">标准名称</label>
  36. <div class="col-sm-4 spacing">
  37. <input class="form-control" id="name" name="name" value="{$row.name}">
  38. </div>
  39. <label class="col-sm-2 control-label spacing">启用状态</label>
  40. <div class="col-sm-4 spacing">
  41. <select class="form-control" id="active" name="active" selectVal="{$row.active}">
  42. <option value="">请选择</option>
  43. <option value="1">启用</option>
  44. <option value="2">停用</option>
  45. </select>
  46. </div>
  47. </div>
  48. <div class="rowGroup">
  49. <label class="col-sm-2 control-label spacing">积分方案</label>
  50. <div class="col-sm-4 spacing">
  51. <select class="form-control" id="plan" name="plan" selectVal="{$row.plan}" onchange="IntegralItemMgrInfo.onIntegralPlanChange();">
  52. <option value="">请选择</option>
  53. <option value="1">仅首次可获积分</option>
  54. <option value="2">新增可获积分</option>
  55. </select>
  56. </div>
  57. <label class="col-sm-2 control-label spacing">计量单位</label>
  58. <div class="col-sm-4 spacing">
  59. <input class="form-control" id="unit" name="unit" value="{$row.unit}">
  60. </div>
  61. </div>
  62. <div class="rowGroup">
  63. <label class="col-sm-2 control-label spacing">首次达成量</label>
  64. <div class="col-sm-4 spacing">
  65. <input class="form-control" id="fstNeedAmount" name="fstNeedAmount" value="{$row.fstNeedAmount}">
  66. </div>
  67. <label class="col-sm-2 control-label spacing">首次获得积分</label>
  68. <div class="col-sm-4 spacing">
  69. <input class="form-control" id="fstGainPoints" name="fstGainPoints" value="{$row.fstGainPoints}">
  70. </div>
  71. </div>
  72. <div class="rowGroup planb" style="display:none;">
  73. <label class="col-sm-2 control-label spacing">每新增量</label>
  74. <div class="col-sm-4 spacing">
  75. <input class="form-control" id="stepNeedAmount" name="stepNeedAmount" value="{$row.stepNeedAmount}">
  76. </div>
  77. <label class="col-sm-2 control-label spacing">每新增获得积分</label>
  78. <div class="col-sm-4 spacing">
  79. <input class="form-control" id="stepGainPoints" name="stepGainPoints" value="{$row.stepGainPoints}">
  80. </div>
  81. </div>
  82. <div class="rowGroup planb" style="display:none;">
  83. <label class="col-sm-2 control-label spacing">积分上限</label>
  84. <div class="col-sm-4 spacing">
  85. <input class="form-control" id="maxGainPoints" name="maxGainPoints" value="{$row.maxGainPoints}">
  86. </div>
  87. <label class="col-sm-2 control-label spacing">累计积分方案</label>
  88. <div class="col-sm-4 spacing">
  89. <select class="form-control" id="yearly" name="yearly" selectVal="{$row.yearly}" onchange="IntegralItemMgrInfo.onAccumulationPlanChange();">
  90. <option value="">请选择</option>
  91. <option value="1">每年度重置积分上限</option>
  92. <option value="2">达上限即止</option>
  93. </select>
  94. </div>
  95. </div>
  96. <div class="rowGroup">
  97. <label class="col-sm-2 control-label spacing">证明材料</label>
  98. <div class="col-sm-4 spacing">
  99. <select class="form-control" id="fileTypeId" name="fileTypeId" selectVal="{$row.fileTypeId}">
  100. <option value="">请选择</option>
  101. {volist name="fileTypes" id="fileType"}
  102. <option value="{$fileType.id}">{$fileType.name}</option>
  103. {/volist}
  104. </select>
  105. </div>
  106. </div>
  107. </div>
  108. </form>
  109. </div>
  110. <div class="row btn-group-m-t">
  111. <div class="col-sm-12" style="text-align: center;">
  112. <button type="button" class="btn btn-sm btn-info " onclick="IntegralItemMgrInfo.addSubmit()" id="ensure">
  113. <i class="fa fa-check"></i>&nbsp;提交
  114. </button>
  115. <button type="button" class="btn btn-sm btn-danger " onclick="IntegralItemMgrInfo.close()" id="cancel">
  116. <i class="fa fa-eraser"></i>&nbsp;取消
  117. </button>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. <script type="text/javascript">
  124. document.write('<script src="/static/modular/talentIdentify/integralMgr/IntegralItemMgr_info.js?v=' + (new Date()).getTime() + '"><\/script>');
  125. </script>
  126. {/block}