eca21622 by wang

init

1 parent 379086a5
......@@ -16,7 +16,7 @@
</div>
<div class="form-group col-sm-4 col-md-2">
<label>手机号</label>
<input type="text" class="form-control input-text" name="phone" value="<?=$item->phone?>">
<input type="text" class="form-control input-text" name="phone" value="<?=$item->telephone?>">
</div>
<div class="form-group col-sm-4 col-md-2">
<label>身份证号码</label>
......@@ -32,7 +32,7 @@
<option value="<?= $v->id ?>"><?= $v->name ?></option>
<?php if ($v->children && !empty($v->children)): ?>
<?php foreach ($v->children as $kk => $vv): ?>
<option value="<?= $vv->id ?>" <?php if(in_array($vv->id,$roles)) echo 'selected';?> ><?= $vv->name ?></option>
<option value="<?= $vv->id ?>" <?php if(in_array($vv->id,$this->roles)) echo 'selected';?> ><?= $vv->name ?></option>
<?php endforeach; ?>
<?php endif; ?>
<?php endforeach; ?>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!