记得上下班打卡 | 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
1e3e36bf
Commit
1e3e36bf
authored
Sep 26, 2021
by
liuran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改会员基础信息
parent
6fd9689a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
88 additions
and
13 deletions
+88
-13
info.html
...c/main/resources/templates/zhengzai/adam/member/info.html
+83
-12
member.html
...main/resources/templates/zhengzai/adam/member/member.html
+5
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/adam/member/info.html
View file @
1e3e36bf
...
...
@@ -132,8 +132,8 @@
<div
class=
"ibox-content"
>
<div
class=
"nav-tabs-custom"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"
active
"
><a
href=
"#memberinfo"
data-toggle=
"tab"
aria-expanded=
"true"
>
基础信息
</a></li>
<li><a
href=
"#membership"
data-toggle=
"tab"
aria-expanded=
"false"
>
会员套餐
</a></li>
<li
class=
"
tabs_inner active"
onclick=
"tabChange(0)
"
><a
href=
"#memberinfo"
data-toggle=
"tab"
aria-expanded=
"true"
>
基础信息
</a></li>
<li
class=
"tabs_inner"
onclick=
"tabChange(1)"
><a
href=
"#membership"
data-toggle=
"tab"
aria-expanded=
"false"
>
会员套餐
</a></li>
<!-- <li><a href="#membercode" data-toggle="tab" aria-expanded="false">会员码</a></li>-->
</ul>
<div
class=
"tab-content"
>
...
...
@@ -420,22 +420,22 @@
<div
class=
"col-sm-10"
>
<div
class=
"radio-box"
>
<label
for=
"radio1"
onclick=
"radioType(this)"
>
<input
type=
"radio"
id=
"coupeAdd1"
name=
"coupeAdd_type"
value=
"0"
/>
全场
<input
type=
"radio"
id=
"coupeAdd1"
class=
"coupeAddVal"
name=
"coupeAdd_type"
value=
"0"
/>
全场
</label>
</div>
<div
class=
"radio-box"
>
<label
for=
"radio2"
onclick=
"radioType(this)"
>
<input
type=
"radio"
id=
"coupeAdd2"
onclick=
"radioType(this)"
name=
"coupeAdd_type"
value=
"1"
/>
演出
<input
type=
"radio"
id=
"coupeAdd2"
class=
"coupeAddVal"
onclick=
"radioType(this)"
name=
"coupeAdd_type"
value=
"1"
/>
演出
</label>
</div>
<div
class=
"radio-box"
>
<label
for=
"radio2"
onclick=
"radioType(this)"
>
<input
type=
"radio"
id=
"coupeAdd3"
onclick=
"radioType(this)"
name=
"coupeAdd_type"
value=
"2"
/>
商品
<input
type=
"radio"
id=
"coupeAdd3"
class=
"coupeAddVal"
onclick=
"radioType(this)"
name=
"coupeAdd_type"
value=
"2"
/>
商品
</label>
</div>
<div
class=
"radio-box"
>
<label
for=
"radio2"
onclick=
"radioType(this)"
>
<input
type=
"radio"
id=
"coupeAdd4"
onclick=
"radioType(this)"
name=
"coupeAdd_type"
value=
"3"
/>
优先购买
<input
type=
"radio"
id=
"coupeAdd4"
class=
"coupeAddVal"
onclick=
"radioType(this)"
name=
"coupeAdd_type"
value=
"3"
/>
优先购买
</label>
</div>
</div>
...
...
@@ -445,12 +445,12 @@
<div
class=
"col-sm-10"
>
<div
class=
"radio-box"
>
<label
for=
"radio1"
onclick=
"coupetType(this)"
>
<input
type=
"radio"
id=
"coupetypr
1"
name=
"coupe_type"
value=
"1
"
/>
满减券
<input
type=
"radio"
id=
"coupetypr
2"
class=
"coupeAddVal"
name=
"coupe_type"
value=
"2
"
/>
满减券
</label>
</div>
<div
class=
"radio-box"
>
<label
for=
"radio2"
onclick=
"coupetType(this)"
>
<input
type=
"radio"
id=
"coupetypr
2"
name=
"coupe_type"
value=
"2
"
/>
代金券
<input
type=
"radio"
id=
"coupetypr
1"
class=
"coupeAddVal"
name=
"coupe_type"
value=
"1
"
/>
代金券
</label>
</div>
</div>
...
...
@@ -525,8 +525,20 @@
$
(
"#fileinput-demo-1"
).
on
(
"fileuploaded"
,
function
(
event
,
data
,
previewId
,
index
)
{
$
(
'.coverCon'
).
val
(
'https://img.zhengzai.tv/'
+
data
.
response
.
data
.
ossPath
);
});
var
tabActive
=
window
.
localStorage
.
getItem
(
'tabActive'
);
if
(
tabActive
==
1
)
{
$
(
'.tabs_inner'
).
removeClass
(
'active'
);
$
(
'.tab-pane'
).
removeClass
(
'active'
);
$
(
'.tabs_inner'
).
eq
(
Number
(
tabActive
)).
addClass
(
'active'
);
$
(
'.tab-pane'
).
eq
(
Number
(
tabActive
)).
addClass
(
'active'
);
}
});
function
tabChange
(
num
)
{
window
.
localStorage
.
setItem
(
'tabActive'
,
num
);
}
// 弹窗确认取消按钮
function
popBtn
(
num
)
{
if
(
num
==
0
)
{
...
...
@@ -566,20 +578,23 @@
var
couType
=
this
.
typeCoupe
;
var
valOver
=
$
(
'#valOver'
).
val
();
var
valMinus
=
$
(
'#valMinus'
).
val
();
if
(
couType
==
2
)
{
if
(
couType
==
1
)
{
var
valFace
=
$
(
'#valFace'
).
val
();
}
}
var
itemIndex
=
$
(
'.parentsIndex'
).
val
();
var
mrightsId
=
this
.
mrightsId
;
var
couponId
=
this
.
couponId
;
var
MembercoupenData
=
{
busiType
:
Number
(
busiType
),
couType
:
Number
(
busiType
)
==
3
?
101
:
Number
(
couType
),
couponId
:
''
,
couponId
:
couponId
?
couponId
:
''
,
couponRuleList
:
couponRuleList
,
eventAmt
:
$
(
'#eventAmt'
).
val
(),
label
:
"标注"
,
memberId
:
member
.
memberId
,
mrightsId
:
memberRightsList
[
itemIndex
].
mrightsId
?
memberRightsList
[
itemIndex
].
mrightsId
:
'string'
,
mrightsId
:
m
rightsId
?
mrightsId
:
m
emberRightsList
[
itemIndex
].
mrightsId
?
memberRightsList
[
itemIndex
].
mrightsId
:
'string'
,
// overlay: overlay ? overlay : 0,
overlay
:
1
,
title
:
coupeTitle
,
...
...
@@ -617,7 +632,7 @@
function
coupetType
(
obj
)
{
var
typeCoupe
=
$
(
obj
).
find
(
'input'
).
val
();
this
.
typeCoupe
=
typeCoupe
;
if
(
typeCoupe
==
2
)
{
if
(
typeCoupe
==
1
)
{
$
(
'.coupetypr_price'
).
show
();
$
(
'.coupetypr_discount'
).
hide
();
}
else
{
...
...
@@ -691,6 +706,62 @@
// 编辑券
function
editCoupes
(
obj
,
dataObj
)
{
var
coupenObj
=
dataObj
;
this
.
typeRadio
=
coupenObj
.
busiType
;
this
.
typeCoupe
=
coupenObj
.
couType
;
$
(
'.coupeAddVal'
).
parent
().
removeClass
(
'checked'
);
$
(
'.coupeAddVal'
).
attr
(
'checked'
,
false
);
$
(
'#coupeAdd_title'
).
val
(
coupenObj
.
title
);
$
(
'#coupeAdd'
+
(
coupenObj
.
busiType
+
1
)).
attr
(
'checked'
,
true
);
$
(
'#coupeAdd'
+
(
coupenObj
.
busiType
+
1
)).
parent
().
addClass
(
'checked'
);
$
(
'#coupetypr'
+
coupenObj
.
couType
).
attr
(
'checked'
,
true
);
$
(
'#coupetypr'
+
coupenObj
.
couType
).
parent
().
addClass
(
'checked'
);
var
parentObj
=
$
(
obj
).
parent
().
parent
().
parent
();
var
couponId
=
parentObj
.
find
(
'#mrccouponId'
).
val
();
var
eventAmt
=
parentObj
.
find
(
'#mrceventAmt'
).
val
();
var
memberId
=
member
.
memberId
;
var
mrightsId
=
parentObj
.
find
(
'#mrcmcouponId'
).
val
();
var
valFace
=
parentObj
.
find
(
'#mrvalFace'
).
val
();
var
valOver
=
parentObj
.
find
(
'#mrcvalOver'
).
val
();
var
valMinus
=
parentObj
.
find
(
'#mrcvalMinus'
).
val
();
this
.
mrightsId
=
mrightsId
;
this
.
couponId
=
couponId
;
$
(
'#eventAmt'
).
val
(
eventAmt
);
$
(
'#valOver'
).
val
(
valOver
);
$
(
'#valMinus'
).
val
(
valMinus
);
$
(
'#valFace'
).
val
(
valFace
);
if
(
this
.
typeRadio
==
3
)
{
$
(
'.alltrack'
).
hide
();
$
(
'.alltrack_limit'
).
show
();
}
else
{
$
(
'.alltrack'
).
show
();
$
(
'.alltrack_limit'
).
hide
();
}
if
(
this
.
typeCoupe
==
1
)
{
$
(
'.coupetypr_price'
).
show
();
$
(
'.coupetypr_discount'
).
hide
();
}
else
{
$
(
'.coupetypr_price'
).
hide
();
$
(
'.coupetypr_discount'
).
show
();
}
if
(
this
.
typeRadio
==
0
||
this
.
typeRadio
==
1
||
this
.
typeRadio
==
3
)
{
var
couponRuleList
=
[{
useScope
:
100
,
busiName
:
'全部演出'
}]
}
else
{
var
couponRuleList
=
[{
useScope
:
100
,
busiName
:
'全部商品'
}]
}
$
(
'.coupe_pop'
).
show
();
}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/adam/member/member.html
View file @
1e3e36bf
...
...
@@ -68,7 +68,7 @@
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
var
actions
=
[];
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
editFlag
+
'" href="javascript:void(0)" onclick="$.operate.editTab(
\'
'
+
row
.
memberId
+
'
\'
)"><i class="fa fa-edit"></i>编辑</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
editFlag
+
'" href="javascript:void(0)" onclick="$.operate.editTab(
\'
'
+
row
.
memberId
+
'
\'
)
; setVipTabs()
"><i class="fa fa-edit"></i>编辑</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
viewMemberCodeFlag
+
'" href="javascript:void(0)" onclick="memberCodeList(
\'
'
+
row
.
memberId
+
'
\'
)"><i class="fa fa-edit"></i>会员码</a> '
);
return
actions
.
join
(
''
);
}
...
...
@@ -81,6 +81,10 @@
function
memberCodeList
(
memberId
)
{
$
.
modal
.
openTab
(
"会员码列表"
,
'adam/member/code/'
+
memberId
);
}
function
setVipTabs
()
{
window
.
localStorage
.
setItem
(
'tabActive'
,
0
);
}
</script>
</body>
</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