app/views/educode_sales/ideas/new.html.erb in educode_sales-0.9.65 vs app/views/educode_sales/ideas/new.html.erb in educode_sales-0.9.66

- old
+ new

@@ -21,17 +21,17 @@ </div> <div class="layui-row" style="padding-top: 15px"> <div class="layui-col-md6"> <labeL class="layui-form-label">学校负责人:</labeL> <div class="layui-input-block"> - <input type="text" name="manager_name" autocomplete="off" placeholder="请输入学校/单位名称" value="<%= @idea&.manager_name %>" class="layui-input"> + <input type="text" name="manager_name" autocomplete="off" placeholder="请输入学校负责人" value="<%= @idea&.manager_name %>" class="layui-input"> </div> </div> <div class="layui-col-md6"> <labeL class="layui-form-label">负责人电话:</labeL> <div class="layui-input-block"> - <input type="text" name="manager_phone" autocomplete="off" placeholder="请输入院系/部门名称" value="<%= @idea&.manager_phone %>" class="layui-input"> + <input type="text" name="manager_phone" autocomplete="off" placeholder="请输入负责人电话" value="<%= @idea&.manager_phone %>" class="layui-input"> </div> </div> </div> <div class="layui-row" style="padding-top: 15px"> <div class="layui-col-md6"> @@ -53,33 +53,33 @@ <div class="layui-input-block"> <input type="text" name="name" autocomplete="off" lay-verify="required" lay-reqtext="项目名称不能为空" placeholder="请输入项目名称" value="<%= @idea&.name %>" class="layui-input"> </div> </div> <div class="layui-col-md6"> - <labeL class="layui-form-label required">方案指派人:</labeL> + <labeL class="layui-form-label">方案指派人:</labeL> <div class="layui-input-block"> <div id="new_staff_id"></div> </div> </div> </div> <div class="layui-row" style="padding-top: 15px"> <div class="layui-col-md6"> - <labeL class="layui-form-label required">优先级:</labeL> + <labeL class="layui-form-label">优先级:</labeL> <div class="layui-input-block"> <%= select_tag "level", options_for_select(EducodeSales::Idea.levels.keys, @idea&.level), { 'lay-filter': 'level', include_blank: false } %> </div> </div> <div class="layui-col-md6"> - <labeL class="layui-form-label required">状态:</labeL> + <labeL class="layui-form-label">状态:</labeL> <div class="layui-input-block"> <%= select_tag "status", options_for_select(EducodeSales::Idea.statuses.keys, @idea&.status), { 'lay-filter': 'status', include_blank: false } %> </div> </div> </div> <div class="layui-row" style="padding-top: 15px"> <div class="layui-col-md6"> - <labeL class="layui-form-label required">类型:</labeL> + <labeL class="layui-form-label">类型:</labeL> <div class="layui-input-block"> <%= select_tag "types", options_for_select(EducodeSales::Idea.types.keys, @idea&.types), { 'lay-filter': 'types', include_blank: false } %> </div> </div> <div class="layui-col-md6"> @@ -89,19 +89,19 @@ </div> </div> </div> <div class="layui-row" style="padding-top: 15px"> <div class="layui-col-md6"> - <labeL class="layui-form-label required">硬件规模(万):</labeL> + <labeL class="layui-form-label">硬件规模(万):</labeL> <div class="layui-input-block"> - <input type="number" name="hardware" autocomplete="off" lay-verify="required" lay-reqtext="硬件规模不能为空" placeholder="请输入硬件规模" value="<%= @idea&.hardware %>" class="layui-input"> + <input type="number" name="hardware" autocomplete="off" placeholder="请输入硬件规模" value="<%= @idea&.hardware %>" class="layui-input"> </div> </div> <div class="layui-col-md6"> - <labeL class="layui-form-label">项目预算(万):</labeL> + <labeL class="layui-form-label required">项目预算(万):</labeL> <div class="layui-input-block"> - <input type="number" name="money" autocomplete="off" placeholder="请输入项目预算" value="<%= @idea&.money %>" class="layui-input"> + <input type="number" name="money" autocomplete="off" lay-verify="required" lay-reqtext="项目预算不能为空" placeholder="请输入项目预算" value="<%= @idea&.money %>" class="layui-input"> </div> </div> </div> <div class="layui-row" style="padding-top: 5px"> <div class="layui-col-md6"> @@ -238,11 +238,11 @@ el: '#department_id', remoteSearch: true, autoRow: true, radio: true, delay: 1000, - tips: '支持学校名称搜索,请至少输入一个字符', - searchTips: '支持名称/省份搜索,请至少输入一个字符', + tips: '支持名称搜索,请至少输入一个字符', + searchTips: '支持名称搜索,请至少输入一个字符', paging: true, pageRemote: true, filterable: true, remoteMethod: function (val, cb, show, pageIndex) { \ No newline at end of file