app/views/educode_sales/roles/edit.html.erb in educode_sales-0.5.8 vs app/views/educode_sales/roles/edit.html.erb in educode_sales-0.5.9

- old
+ new

@@ -35,9 +35,17 @@ <%= radio_button_tag("business", "区域", @areas.include?("商机管理-区域"), {title: '本人负责区域列表', id: 2}) %> <%= radio_button_tag("business", "全部", @areas.include?("商机管理-全部"), {title: '全部列表', id: 3}) %> </div> </div> <div class="layui-form-item"> + <label class="layui-form-label">客户管理</label> + <div class="layui-input-block"> + <%= radio_button_tag("customer", "自己", @areas.include?("客户管理-自己"), {title: '本人负责列表', id: 13}) %> + <%= radio_button_tag("customer", "区域", @areas.include?("客户管理-区域"), {title: '本人负责区域列表', id:14}) %> + <%= radio_button_tag("customer", "全部", @areas.include?("客户管理-全部"), {title: '全部列表', id: 15}) %> + </div> + </div> + <div class="layui-form-item"> <label class="layui-form-label">销售计划</label> <div class="layui-input-block"> <%= radio_button_tag("sale_plan", "自己", @areas.include?("销售计划-自己"), {title: '本人创建列表', id: 4}) %> <%= radio_button_tag("sale_plan", "区域", @areas.include?("销售计划-区域"), {title: '本人负责区域列表', id: 5}) %> <%= radio_button_tag("sale_plan", "全部", @areas.include?("销售计划-全部"), {title: '全部列表', id: 6}) %> \ No newline at end of file