使用协议上传
This commit is contained in:
@@ -481,7 +481,6 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="zhanghu">
|
||||
<div class="accout_tit"><span class="lineBar"></span>账户信息
|
||||
<a href="/user/upload" style="float:right;">上传协议书</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-6 accoutLeft">
|
||||
@@ -495,6 +494,9 @@
|
||||
<span style="color:#339933;font-size:20px;float:left;">经销商</span>
|
||||
}
|
||||
</p>
|
||||
|
||||
<a id="argument_up" href="/user/upload" style="float:right;position:relative;top:5px;right:-75px;z-index:10;">上传手持解屏蔽</a>
|
||||
<a id="argument_done" style="float:right;position:relative;top:5px;right:-75px;z-index:10;">上传手持解屏<span class="glyphicon glyphicon-ok"></span></a>
|
||||
<div class="row">
|
||||
@if(Model.UserModel.agent_id==0 && Model.UserModel.is_agent == 0){
|
||||
<div class="col-lg-4 text-center" style="padding-top: 20px;">
|
||||
@@ -701,6 +703,35 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
get_argument();
|
||||
function get_argument() {
|
||||
let data = {
|
||||
cookie:document.cookie,
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'http://php-api.juip.com/tencent/index/get_is_upload',
|
||||
dataType: "json",
|
||||
contentType: "application/json",
|
||||
data: JSON.stringify(data),
|
||||
beforeSend: function(xhr) {
|
||||
xhr.withCredentials = true;
|
||||
},
|
||||
crossDomain: true,
|
||||
success: function (res) {
|
||||
if (res.code == 1) {
|
||||
$("#argument_up").hide();
|
||||
$("#argument_done").show();
|
||||
} else {
|
||||
$("#argument_up").show();
|
||||
$("#argument_done").hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
// startBizService 接口仅在支付宝 10.0.15 及以上支持
|
||||
|
||||
Reference in New Issue
Block a user