a2794958 by 任超

Merge branch 'master' of yun.pashanhoo.com:renchao/portalStaticPage

2 parents df3ecda4 02e02431
......@@ -6,3 +6,9 @@ layui.use('element', function () {
layer.msg(elem.text());
});
});
$(function(){
$('#username').text(getCookie().username)
$('#phone').text(getCookie().phone)
$('#zjhm').text(getCookie().zjhm)
$('#recordtime').text(getCookie().recordtime)
})
\ No newline at end of file
......
......@@ -164,7 +164,7 @@ function addCreatSLSQ(jsondata) {
"bsmQl": jsondata.bsm_ql,
"ywid": business.ywid,
"businessNo": business.businessno,
"userid": "0026609ddc6d2afabaa3c9b0ea3b0ec3"
"userid": getCookie().userid
};
$.ajax({
type: "post", //提交方式
......
......@@ -49,6 +49,8 @@ $(function () {
});
});
})
$('#zjhm').text(getCookie().zjhm)
$('#username').text(getCookie().username )
})
// 列表操作
......@@ -79,7 +81,7 @@ function _applyBusinessWiat(currentPage = 1) {
url: portal.api_url + "/portal/WorkBoxService/applyBusinessWait",//路径
dataType: "json",
data: {
"userId": '0026609ddc6d2afabaa3c9b0ea3b0ec3',
"userId": getCookie().userid,
"currentPage": currentPage,
"pageSize": 10
},
......@@ -102,7 +104,7 @@ function _applyBusinessIn(currentPage = 1) {
url: portal.api_url + "/portal/WorkBoxService/applyBusinessIn",//路径
dataType: "json",
data: {
"userId": '0026609ddc6d2afabaa3c9b0ea3b0ec3',
"userId": getCookie().userid,
"currentPage": currentPage,
"pageSize": 10
},
......@@ -126,7 +128,7 @@ function _applyBusinessEnd(currentPage = 1) {
url: portal.api_url + "/portal/WorkBoxService/applyBusinessEnd",//路径
dataType: "json",
data: {
"userId": '0026609ddc6d2afabaa3c9b0ea3b0ec3',
"userId": getCookie().userid,
"currentPage": currentPage,
"pageSize": 10
},
......@@ -150,7 +152,7 @@ function _applyBusinessRecord(currentPage = 1) {
url: portal.api_url + "/portal/WorkBoxService/applyBusinessRecord",//路径
dataType: "json",
data: {
"userId": '0026609ddc6d2afabaa3c9b0ea3b0ec3',
"userId": getCookie().userid,
"currentPage": currentPage,
"pageSize": 10
},
......@@ -256,5 +258,5 @@ function dataRendering() {
var dataList = {
"list": [],
"userid": '0026609ddc6d2afabaa3c9b0ea3b0ec3'
"userid": getCookie().userid
};
\ No newline at end of file
......
......@@ -8,6 +8,8 @@ layui.use('element', function () {
});
$(function () {
_initData()
$('#zjhm').text(getCookie().zjhm)
$('#username').text(getCookie().username )
})
// 获取列表信息
function _initData(currentPage=1) {
......@@ -90,5 +92,5 @@ function paged(pageCount, curr) {
})
}
var dataList = {
"userid":'0026609ddc6d2afabaa3c9b0ea3b0ec3'
"userid":getCookie().userid
};
\ No newline at end of file
......
......@@ -238,7 +238,7 @@ function handle(id) {
input.attr("dataName") +
"</div>" +
'<div class="listItem"><h3>预约时间:</h3>' +
yysj +
bookingDate +
"&nbsp;&nbsp;" +
bustime +
"</div>" +
......
......@@ -28,22 +28,19 @@
<ul>
<li>
<span>姓名:</span>
<p>任超</p>
<p id="username"></p>
</li>
<li>
<span>登录时间:</span>
<p>2020-120-2</p>
<p id="recordtime"></p>
</li>
<li>
<span>联系方式:</span>
<p>1852555224</p>
</li>
<li>
第25次次登录此平台
<p id="phone"></p>
</li>
<li>
<span>身份证号码:</span>
<p>61012419930545464</p>
<p id="zjhm"></p>
</li>
</ul>
</div>
......
......@@ -30,11 +30,11 @@
<ul>
<li>
<span>上午好:</span>
<p>任超</p>
<p id="username"></p>
</li>
<li>
<span>身份证号:</span>
<p>61012216464646</p>
<p id="zjhm"></p>
</li>
</ul>
</div>
......
......@@ -28,11 +28,11 @@
<ul>
<li>
<span>上午好:</span>
<p>任超</p>
<p id="username"></p>
</li>
<li>
<span>身份证号:</span>
<p>61012216464646</p>
<p id="zjhm"></p>
</li>
</ul>
</div>
......