使用协议上传

This commit is contained in:
“wanyongkang”
2024-03-01 10:11:42 +08:00
parent 974be6af1d
commit a25dbb74ee
2 changed files with 37 additions and 6 deletions

View File

@@ -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 及以上支持

View File

@@ -4,21 +4,21 @@
}
<div id="upload">
<h3>上传使用协议</h3>
<p>您可通过以下要求上传成功后联系客服审核然后解除微信QQ等屏蔽新增的账号不会自动解除记得联系客服哦</p>
<form enctype="multipart/form-data">
<div class="form-group">
<label for="name">描述业务用途<span class="glyphicon glyphicon-asterisk" style="color:red;"></span></label>
<input type="text" v-model="describe" class="form-control" id="name" placeholder="请描述业务用途">
</div>
<div class="form-group">
<label for="xieyi">上传使用协议<span class="glyphicon glyphicon-asterisk" style="color:red;"></span></label>
<label for="xieyi">上传手持协议<span class="glyphicon glyphicon-asterisk" style="color:red;"></span></label>
<input type="file" id="xieyi" name="xieyi" accept="image/*">
<p class="help-block">上传签订的安全使用协议 <a href="http://zip.juip.com/%E4%BD%BF%E7%94%A8%E5%8D%8F%E8%AE%AE%E4%B9%A6.zip">下载使用协议样板</a></p>
<p class="help-block">同时手持身份证和安全使用协议的照片 <a href="http://zip.juip.com/%E4%BD%BF%E7%94%A8%E5%8D%8F%E8%AE%AE%E4%B9%A6.zip">下载使用样板</a></p>
</div>
<div class="form-group">
<label for="yewu">上传业务视频:</label>
<label for="yewu">上传业务视频(选填)</label>
<input type="file" id="yewu" name="yewu" accept="video/wmv, video/avi, video/mp4, video/flv, video/3gp, video/mov, video/mkv, video/vob">
<p class="help-block">上传涉及我方产品的业务视频</p>
<p class="help-block">上传涉及IP产品的业务视频</p>
</div>
</form>
<div class="row">