记得上下班打卡 | 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
93bb93c5
Commit
93bb93c5
authored
Mar 23, 2022
by
liuran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加代理管理模块
parent
4182f8cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
103 additions
and
0 deletions
+103
-0
detail.html
...rces/templates/zhengzai/smile/userPendingList/detail.html
+103
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/userPendingList/detail.html
View file @
93bb93c5
...
...
@@ -41,6 +41,26 @@
<a
href=
"javascript:;"
class=
"layui-layer-btn0"
onclick=
"yes(1)"
>
通过
</a>
<a
class=
"layui-layer-btn1 layui-layer-btn1"
onclick=
"closeModal(0)"
>
驳回
</a>
</div>
<div
id=
"addClassify"
>
<div
class=
"selectClassify"
>
<div
class=
"ibox-content"
>
<div
class=
"form-group"
>
<p>
选择身份
</p>
<input
class=
"idst_radio"
name=
"idst"
type=
"radio"
value=
"1"
>
总代
<input
class=
"idst_radio"
name=
"idst"
type=
"radio"
value=
"2"
>
普代
</div>
<div
class=
"form-group"
>
<select
name=
"bindType"
id=
"selectTwo"
placeholder=
"请选择分组"
></select>
</div>
</div>
</div>
<input
type=
"hidden"
class=
"editCon"
>
<div
class=
"bottomBtn"
>
<a
href=
"javascript:;"
class=
"layui-layer-btn0"
onclick=
"confirm(1)"
>
确认通过
</a>
</div>
</div>
</body>
<th:block
th:include=
"include :: footer"
/>
...
...
@@ -49,7 +69,10 @@
<script
type=
"text/javascript"
>
var
smilePrefix
=
ctx
+
"smile/user"
;
var
orifix
=
ctx
+
"smile/organization"
;
var
penddingId
=
window
.
localStorage
.
getItem
(
'penddingId'
);
var
detailObj
=
{}
$
.
ajax
({
type
:
'post'
,
url
:
smilePrefix
+
"/getUserById"
,
...
...
@@ -58,6 +81,7 @@
},
success
:
function
(
e
)
{
var
detailData
=
e
.
data
;
detailObj
=
detailData
;
if
(
detailData
.
type
==
0
)
{
$
(
'.detail_status span'
).
text
(
'未认证'
);
}
...
...
@@ -85,6 +109,58 @@
$
(
'.detail_created'
).
text
(
detailData
.
createdDate
);
}
})
function
confirm
()
{
var
postData
=
{
id
:
Number
(
detailObj
.
id
),
orgId
:
Number
(
detailObj
.
orgId
),
type
:
Number
(
detailObj
.
type
),
uid
:
detailObj
.
uid
,
}
$
.
ajax
({
type
:
'post'
,
url
:
smilePrefix
+
"/check/updateById"
,
headers
:{
"Content-Type"
:
"application/json;charset=UTF-8"
},
data
:
JSON
.
stringify
(
postData
),
success
:
function
(
e
)
{
$
(
".layui-layer-close1"
).
click
();
}
})
}
function
yes
()
{
layer
.
open
({
type
:
1
,
shade
:
true
,
title
:
'通过'
,
//不显示标题
content
:
$
(
'#addClassify'
),
//捕获的元素,注意:最好该指定的元素要存放在body最外层,否则可能被其它的相对元素所影响
success
:
function
()
{
$
(
"input[name=idst]"
).
change
(
function
(
e
){
detailObj
.
type
=
e
.
target
.
value
;
var
postData
=
{
pageNum
:
40
,
pageSize
:
1
}
$
.
ajax
({
type
:
'post'
,
url
:
orifix
+
'/list'
,
data
:
JSON
.
stringify
(
postData
),
success
:
function
(
res
)
{
for
(
var
i
in
res
.
rows
)
{
$
(
'#selectTwo'
).
append
(
'<option value="'
+
res
.
rows
[
i
].
id
+
'">'
+
res
.
rows
[
i
].
name
+
'</option>'
);
}
$
(
'#selectTwo'
).
change
(
function
(){
detailObj
.
orgId
=
$
(
'#selectTwo option:selected'
).
val
();
})
}
})
});
},
cancel
:
function
(
res
){
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
}
});
}
</script>
<style>
...
...
@@ -103,6 +179,33 @@
text-align
:
left
;
padding
:
10px
15px
12px
;
}
#addClassify
,
#detailPro
{
display
:
none
;
width
:
540px
;
padding-top
:
20px
;
}
#addClassify
.selectClassify
{
display
:
flex
;
align-items
:
center
;
padding
:
0
20px
;
}
#addClassify
.selectClassify
label
{
display
:
flex
;
margin-right
:
20px
;
align-items
:
center
;
}
#addClassify
.selectClassify
label
input
{
margin
:
0
;
margin-right
:
2px
;
}
#detailPro
.detail_inner
{
margin-bottom
:
20px
;
}
#detailPro
.detail_title
{
margin-top
:
50px
;
font-weight
:
bold
;
font-size
:
16px
;
}
</style>
</html>
\ No newline at end of file
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