app/views/educode_sales/roles/edit.html.erb in educode_sales-0.9.73 vs app/views/educode_sales/roles/edit.html.erb in educode_sales-0.9.74
- old
+ new
@@ -35,10 +35,18 @@
<%= 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" style="border-top: 1px solid #ddd;">
+ <label class="layui-form-label">合同管理</label>
+ <div class="layui-input-block">
+ <%= radio_button_tag("contract", "自己", @areas.include?("合同管理-自己"), { title: '本人创建列表' }) %>
+ <%= radio_button_tag("contract", "区域", @areas.include?("合同管理-区域"), { title: '本人负责区域及监管院校列表' }) %>
+ <%= radio_button_tag("contract", "全部", @areas.include?("合同管理-全部"), { title: '全部列表' }) %>
+ </div>
+ </div>
+ <div class="layui-form-item" style="border-top: 1px solid #ddd;">
<label class="layui-form-label">回款计划</label>
<div class="layui-input-block">
<%= radio_button_tag("money_plan", "自己", @areas.include?("回款管理-自己"), { title: '本人负责列表', id: 16 }) %>
<%= radio_button_tag("money_plan", "区域", @areas.include?("回款管理-区域"), { title: '本人负责区域及监管院校列表', id: 17 }) %>
<%= radio_button_tag("money_plan", "全部", @areas.include?("回款管理-全部"), { title: '全部列表', id: 18 }) %>
@@ -80,9 +88,17 @@
<label class="layui-form-label">运营计划</label>
<div class="layui-input-block">
<%= radio_button_tag("operation", "自己", @areas.include?("运营计划-自己"), { title: '本人创建列表', id: 10 }) %>
<%= radio_button_tag("operation", "区域", @areas.include?("运营计划-区域"), { title: '本人负责区域及监管院校列表', id: 11 }) %>
<%= radio_button_tag("operation", "全部", @areas.include?("运营计划-全部"), { title: '全部列表', id: 12 }) %>
+ </div>
+ </div>
+ <div class="layui-form-item">
+ <label class="layui-form-label">方案管理</label>
+ <div class="layui-input-block">
+ <%= radio_button_tag("idea", "自己", @areas.include?("方案管理-自己"), { title: '本人创建列表', id: 101 }) %>
+ <%= radio_button_tag("idea", "区域", @areas.include?("方案管理-区域"), { title: '本人负责区域及监管院校列表', id: 102 }) %>
+ <%= radio_button_tag("idea", "全部", @areas.include?("方案管理-全部"), { title: '全部列表', id: 103 }) %>
</div>
</div>
<div class="m-t-20">
<div class="layui-input-block">
<button type="submit" class="layui-btn" lay-submit="" lay-filter="data">提交</button>