记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
331378a0
Commit
331378a0
authored
Apr 22, 2022
by
sangchunxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1982 bug 修复,测试提交
parent
3261a9d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
6 deletions
+23
-6
detail.html
...rces/templates/zhengzai/smile/userPendingList/detail.html
+13
-2
list.html
...ources/templates/zhengzai/smile/userPendingList/list.html
+10
-4
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/userPendingList/detail.html
View file @
331378a0
...
@@ -85,14 +85,16 @@
...
@@ -85,14 +85,16 @@
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
var
smilePrefix
=
ctx
+
"smile/user"
;
var
smilePrefix
=
ctx
+
"smile/user"
;
var
orifix
=
ctx
+
"smile/organization"
;
var
orifix
=
ctx
+
"smile/organization"
;
var
penddingId
=
window
.
localStorage
.
getItem
(
'penddingId'
);
// var penddingId = window.localStorage.getItem('penddingId');
let
_uid
=
getUrlParms
(
'id'
);
var
detailObj
=
{}
var
detailObj
=
{}
$
.
ajax
({
$
.
ajax
({
type
:
'post'
,
type
:
'post'
,
url
:
smilePrefix
+
"/getUserById"
,
url
:
smilePrefix
+
"/getUserById"
,
data
:
{
data
:
{
uid
:
penddingI
d
uid
:
_ui
d
},
},
success
:
function
(
e
)
{
success
:
function
(
e
)
{
var
detailData
=
e
.
data
;
var
detailData
=
e
.
data
;
...
@@ -125,9 +127,18 @@
...
@@ -125,9 +127,18 @@
if
(
detailData
.
type
!=
0
)
{
if
(
detailData
.
type
!=
0
)
{
document
.
getElementById
(
"btn-commit"
).
style
.
visibility
=
"hidden"
;
document
.
getElementById
(
"btn-commit"
).
style
.
visibility
=
"hidden"
;
}
}
console
.
log
(
'e'
,
e
)
}
}
})
})
function
getUrlParms
(
name
){
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
if
(
r
!=
null
)
return
unescape
(
r
[
2
]);
return
null
;
}
function
closeModal
()
{
function
closeModal
()
{
layer
.
open
({
layer
.
open
({
type
:
1
,
type
:
1
,
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/userPendingList/list.html
View file @
331378a0
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
$
(
function
()
{
$
(
function
()
{
var
options
=
{
var
options
=
{
detailUrl
:
"/local/smilePendingDetail/{id}"
,
url
:
smilePrefix
+
"/check/list"
,
url
:
smilePrefix
+
"/check/list"
,
columns
:
[{
columns
:
[{
checkbox
:
true
checkbox
:
true
...
@@ -121,7 +122,7 @@
...
@@ -121,7 +122,7 @@
align
:
'center'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
formatter
:
function
(
value
,
row
,
index
)
{
var
actions
=
[];
var
actions
=
[];
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
detailFlag
+
'" href="javascript:void(0)" onclick="
t
oDetail(
\'
'
+
row
.
uid
+
'
\'
)"><i class="fa fa-edit"></i>查看</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
detailFlag
+
'" href="javascript:void(0)" onclick="
g
oDetail(
\'
'
+
row
.
uid
+
'
\'
)"><i class="fa fa-edit"></i>查看</a> '
);
return
actions
.
join
(
''
);
return
actions
.
join
(
''
);
}
}
}]
}]
...
@@ -130,9 +131,14 @@
...
@@ -130,9 +131,14 @@
});
});
/* 跳转详情 */
/* 跳转详情 */
function
toDetail
(
id
)
{
// function toDetail(id) {
window
.
localStorage
.
setItem
(
'penddingId'
,
id
);
// // console.log('toDetail-uuid', id)
var
url
=
'/local/smilePendingDetail'
;
// window.localStorage.setItem('penddingId', id);
// var url = '/local/smilePendingDetail';
// $.modal.openTab("待审核详情", url);
// }
function
goDetail
(
id
)
{
var
url
=
'/local/smilePendingDetail?id='
+
id
;
$
.
modal
.
openTab
(
"待审核详情"
,
url
);
$
.
modal
.
openTab
(
"待审核详情"
,
url
);
}
}
</script>
</script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment