基础信息

master
sunke 5 years ago
parent 0b8f3450c6
commit 7d080f9d73

@ -153,6 +153,9 @@ class SafeController extends BaseController{
//修改用户信息
public function modifyBaseInfo() {
$metaTitle = '基础信息';
$modelList = ['基础信息', $metaTitle];
$this->verifyPasswordView($modelList);
if($_POST) {
$id = get_pid();
$ver_status = M('promote','tab_')->where(['id'=>$id])->getField('ver_status',true);
@ -258,6 +261,7 @@ class SafeController extends BaseController{
$data['idcarpic'] = $idcarpic;
$data['businesspic'] = $businesspic;
$data['agreementpic'] = $agreementpic;
$data['ver_status'] = 3;
if($account_type == "公司") {
$data['account_type'] = 1;
}else {

@ -82,7 +82,7 @@
<table class="table2" style="margin-top:20px;margin-left:30px;width:100%" >
<tr>
<td class="l">真实姓名{$ver_status}</td>
<td class="l"><span style="color:red">*</span>真实姓名:</td>
<td class="r">
<?php if($ver_status == 1 ){?>
<input type="text" disabled ="disabled" class="input txt" name="username" id="password" style="width:430px" placeholder="{$promoteinfo['real_name']}" value="{$promoteinfo['real_name']}">
@ -93,7 +93,7 @@
<span id="password_tip"></span></td>
</tr>
<tr>
<td class="l">身份证号码:</td>
<td class="l"><span style="color:red">*</span>身份证号码:</td>
<td class="r">
<?php if($ver_status == 1 ){?>
<input type="text" disabled ="disabled" class="input txt" name="id_card" id="confirm_password" style="width:430px" placeholder="{$promoteinfo['idcard']}" value="{$promoteinfo['idcard']}">
@ -105,7 +105,7 @@
<span id="confirm_password_tip"></span></td>
</tr>
<tr>
<td class="l">身份证证件:</td>
<td class="l"><span style="color:red">*</span>身份证证件:</td>
<td class="r">
<input type="hidden" name="idcarpic" id="cover_id_{$field.name}" value="{$promoteinfo['idcarpic']}"/>
<div id="uploader-demo" >
@ -198,7 +198,7 @@
</tr>
<tr style="margin-top:50px">
<td class="l">电话:</td>
<td class="l"><span style="color:red">*</span>电话:</td>
<td class="r">
<?php if($ver_status == 1 ){?>
<input type="text" disabled ="disabled" class="input txt" name="tel" id="confirm_password" style="width:430px" placeholder="{$promoteinfo['mobile_phone']}" value="{$promoteinfo['mobile_phone']}">
@ -249,7 +249,7 @@
</tr>
<tr>
<td class="l">邮箱:</td>
<td class="l"><span style="color:red">*</span>邮箱:</td>
<td class="r">
<?php if($ver_status == 1 ){?>
<input type="text" class="input txt" disabled ="disabled" name="email" id="confirm_password" style="width:430px" placeholder="{$promoteinfo['email']}" value="{$promoteinfo['email']}">
@ -262,7 +262,7 @@
</tr>
<tr>
<td class="l">账户类型{$promoteinfo['complanystatus']}</td>
<td class="l"><span style="color:red">*</span>账户类型{$promoteinfo['complanystatus']}</td>
<td class="r">
<?php if($promoteinfo['complanystatus'] == 1) {?>
<input type="radio" class="input txt" name="account_type" value="公司" checked>公司<input type="radio" class="input txt" style="margin-left:20px" name="account_type" value="个人" >个人
@ -273,7 +273,7 @@
<span id="confirm_password_tip"></span></td>
</tr>
<tr>
<td class="l">开户银行:</td>
<td class="l"><span style="color:red">*</span>开户银行:</td>
<td class="r">
<?php if($ver_status == 1 ){?>
<input type="text" class="input txt" disabled ="disabled" name="bank_name" id="confirm_password" style="width:430px" placeholder="{$promoteinfo['bank_name']}" value="{$promoteinfo['bank_name']}">
@ -286,7 +286,7 @@
</tr>
<tr>
<td class="l">银行账户名:</td>
<td class="l"><span style="color:red">*</span>银行账户名:</td>
<td class="r">
<?php if($ver_status == 1 ){?>
<input type="text" class="input txt" disabled ="disabled" name="bank_account" id="confirm_password" style="width:430px" placeholder="{$promoteinfo['bank_account']}" value="{$promoteinfo['bank_account']}">
@ -299,7 +299,7 @@
</tr>
<tr>
<td class="l">银行账号:</td>
<td class="l"><span style="color:red">*</span>银行账号:</td>
<td class="r">
<?php if($ver_status == 1 ){?>
<input type="text" class="input txt" disabled ="disabled" name="bank_card" id="confirm_password" style="width:430px" placeholder="{$promoteinfo['bank_card']}" value="{$promoteinfo['bank_card']}">

Loading…
Cancel
Save