Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
19675dc6
authored
2021-01-11 10:51:27 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style
1 parent
679e5c78
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
14 deletions
staticJs/common.js
staticJs/login.js
staticJs/onlineApply/certificateIssuance.js
staticViews/onlineApply/certificateIssuance.html
staticJs/common.js
View file @
19675dc
...
...
@@ -41,9 +41,8 @@ function GetQueryString(name) {
// 存储cookie
function
setCookie
(
name
,
resdata
,
duration
)
{
var
date
=
new
Date
();
date
.
setTime
(
date
.
getTime
()
+
duration
*
24
*
3600
*
1000
);
date
.
setTime
(
date
.
getTime
()
+
duration
*
12
*
3600
*
1000
);
document
.
cookie
=
name
+
"="
+
JSON
.
stringify
(
resdata
)
+
";expires="
+
date
.
toGMTString
()
+
"; path=/"
;
// document.cookie = "myCookie=" + JSON.stringify(resdata) + "; expires=" +date.toGMTString() + "; path=/";
};
//获取cookie
...
...
staticJs/login.js
View file @
19675dc
...
...
@@ -65,14 +65,14 @@ $(function () {
$
(
'.loginAfter'
).
hide
();
$
(
'.isLogin'
).
show
();
}
$
(
window
).
bind
(
'beforeunload'
,
function
(
event
)
{
var
n
=
window
.
event
.
screenX
-
window
.
screenLeft
;
var
b
=
n
>
document
.
documentElement
.
scrollWidth
-
20
;
if
(
b
&&
window
.
event
.
clientY
<
0
||
window
.
event
.
altKey
)
{
delCookie
();
}
});
})
// $(window).bind('beforeunload', function (event) {
// var n = window.event.screenX - window.screenLeft;
// var b = n > document.documentElement.scrollWidth - 20;
// if (b && window.event.clientY < 0 || window.event.altKey) {
// delCookie();
// }
// });
function
delCookie
()
{
var
keys
=
document
.
cookie
.
match
(
/
[^
=;
]
+
(?=
=
)
/g
)
if
(
keys
)
{
...
...
@@ -97,7 +97,7 @@ function clicklogin(data) {
if
(
result
.
code
==
200
&&
result
.
data
!==
null
)
{
$
(
'.loginAfter'
).
show
();
$
(
'.isLogin'
).
hide
();
setCookie
(
'myCookie'
,
result
.
data
,
60
);
setCookie
(
'myCookie'
,
result
.
data
,
0.01
);
$
(
'.loginButton'
).
removeClass
(
'PersonLogin'
)
$
(
'.personalCenter'
).
addClass
(
'show'
);
$
(
'.loginButton'
).
html
(
getCookie
(
'myCookie'
).
username
);
...
...
staticJs/onlineApply/certificateIssuance.js
View file @
19675dc
...
...
@@ -8,13 +8,12 @@ $(function () {
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
list
=
getApplyRecord
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
if
(
list
.
sqrlb
==
'1'
)
{
$
(
'
.acceptance_information
h3'
).
text
(
'权利人信息'
);
$
(
'
#acceptance_info
h3'
).
text
(
'权利人信息'
);
}
else
{
$
(
'
.acceptance_information
h3'
).
text
(
'义务人信息'
);
$
(
'
#acceptance_info
h3'
).
text
(
'义务人信息'
);
}
// 房屋信息
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
console
.
log
(
list
);
$
(
'#typesPower p'
).
text
(
list
.
qllxmc
);
$
(
'#businessType p'
).
text
(
list
.
shortname
);
$
(
'#acceptanceNumber p'
).
text
(
list
.
wwsqbh
);
...
...
staticViews/onlineApply/certificateIssuance.html
View file @
19675dc
...
...
@@ -113,7 +113,7 @@
</ul>
</div>
<!-- ------------买方信息-------------- -->
<div
class=
"acceptance_information"
>
<div
class=
"acceptance_information"
id=
"acceptance_info"
>
<h3>
权利人信息
</h3>
<ul
id=
"informationList"
class=
"informationList"
></ul>
</div>
...
...
Please
register
or
sign in
to post a comment