123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Ruletype')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-ruletype" data-rule="required" class="form-control selectpicker" name="row[ruletype]">
- {foreach name="ruletypeList" item="vo"}
- <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-nickname" class="form-control" name="row[nickname]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-avatar" class="form-control" size="50" name="row[avatar]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-avatar"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-gender" data-rule="required" min="0" class="form-control selectpicker" name="row[gender]">
- {foreach name="genderList" item="vo"}
- <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-realname" class="form-control" name="row[realname]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-idcard" class="form-control" name="row[idcard]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_z_image')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-idcard_z_image" class="form-control" size="50" name="row[idcard_z_image]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-idcard_z_image" class="btn btn-danger faupload" data-input-id="c-idcard_z_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-idcard_z_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-idcard_z_image" class="btn btn-primary fachoose" data-input-id="c-idcard_z_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-idcard_z_image"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-idcard_z_image"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_f_image')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-idcard_f_image" class="form-control" size="50" name="row[idcard_f_image]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-idcard_f_image" class="btn btn-danger faupload" data-input-id="c-idcard_f_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-idcard_f_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-idcard_f_image" class="btn btn-primary fachoose" data-input-id="c-idcard_f_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-idcard_f_image"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-idcard_f_image"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="idcardStatusList" item="vo"}
- <label for="row[idcard_status]-{$key}"><input id="row[idcard_status]-{$key}" name="row[idcard_status]" type="radio" value="{$key}" {in name="key" value="-1"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Doctor_image')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-doctor_image" class="form-control" size="50" name="row[doctor_image]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-doctor_image" class="btn btn-danger faupload" data-input-id="c-doctor_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-doctor_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-doctor_image" class="btn btn-primary fachoose" data-input-id="c-doctor_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-doctor_image"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-doctor_image"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Doctor_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="doctorStatusList" item="vo"}
- <label for="row[doctor_status]-{$key}"><input id="row[doctor_status]-{$key}" name="row[doctor_status]" type="radio" value="{$key}" {in name="key" value="-1"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('English_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="englishStatusList" item="vo"}
- <label for="row[english_status]-{$key}"><input id="row[english_status]-{$key}" name="row[english_status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Keshi_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-keshi_id" data-rule="required" data-source="keshi/index" class="form-control selectpage" name="row[keshi_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hospital')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hospital" class="form-control" name="row[hospital]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Goodat')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-goodat" class="form-control" name="row[goodat]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Ordernum')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-ordernum" class="form-control" name="row[ordernum]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Level_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-level_id" data-rule="required" data-source="doctorlevel/index" class="form-control selectpage" name="row[level_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Info')}:</label>
- <div class="col-xs-12 col-sm-8">
- <textarea id="c-info" class="form-control " rows="5" name="row[info]" cols="50"></textarea>
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_openid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-wechat_openid" class="form-control" name="row[wechat_openid]" type="text">
- </div>
- </div>-->
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
- </div>
- </div>
- </form>
|