Browse Source

经纪人

linwu 1 year ago
parent
commit
0144015723
2 changed files with 8 additions and 0 deletions
  1. 1 0
      app/worker/controller/Agent.php
  2. 7 0
      app/worker/view/agent/agentform.html

+ 1 - 0
app/worker/controller/Agent.php

@@ -78,6 +78,7 @@ class Agent extends BaseController
             'priority'  => input('priority/d', 0),
             'priority'  => input('priority/d', 0),
             'remark'    => input('remark/s', ""),
             'remark'    => input('remark/s', ""),
             'status'    => input('status/d', 0),
             'status'    => input('status/d', 0),
+            'is_settle' => input('is_settle/d', 1),
         ];
         ];
         $password = input('password/s', "");
         $password = input('password/s', "");
         if (empty($id)) {
         if (empty($id)) {

+ 7 - 0
app/worker/view/agent/agentform.html

@@ -173,6 +173,13 @@
 								<input type="radio" name="status" value="2" title="禁用" {eq name="agent.status" value="2" }checked{/eq} />
 								<input type="radio" name="status" value="2" title="禁用" {eq name="agent.status" value="2" }checked{/eq} />
 							</div>
 							</div>
 						</div>
 						</div>
+						<div class="layui-form-item" pane>
+							<label class="layui-form-label">收益结算</label>
+							<div class="layui-input-block">
+								<input type="radio" name="is_settle" value="1" title="是" {eq name="agent.is_settle|default=1" value="1" }checked{/eq} />
+								<input type="radio" name="is_settle" value="2" title="否" {eq name="agent.is_settle" value="2" }checked{/eq} />
+							</div>
+						</div>
 						
 						
 						<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
 						<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
 							<legend>PC端管理账号密码</legend>
 							<legend>PC端管理账号密码</legend>