记得上下班打卡 | 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
df472bf6
Commit
df472bf6
authored
Sep 18, 2021
by
liuran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改会员基础信息
parent
0bf5e328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
info.html
...c/main/resources/templates/zhengzai/adam/member/info.html
+15
-10
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/adam/member/info.html
View file @
df472bf6
...
...
@@ -134,7 +134,7 @@
<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><a
href=
"#membercode"
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"
>
<!--基础信息-->
...
...
@@ -230,26 +230,26 @@
</div>
<div
class=
"col-sm-10"
>
<label>
购买价格(元)
</label>
<input
type=
"text"
class=
"form-control"
name=
"
buyPrice
"
placeholder=
"请输入购买价格"
th:value=
"${memberPrice.priceFixed}"
/>
<input
type=
"text"
class=
"form-control"
name=
"
priceFixed
"
placeholder=
"请输入购买价格"
th:value=
"${memberPrice.priceFixed}"
/>
</div>
<div
class=
"col-sm-10"
>
<label>
首年优惠(元)
</label>
<input
type=
"text"
class=
"form-control"
name=
"
discount
"
placeholder=
"请输入优惠价格"
th:value=
"${memberPrice.priceSpecial}"
/>
<input
type=
"text"
class=
"form-control"
name=
"
priceSpecial
"
placeholder=
"请输入优惠价格"
th:value=
"${memberPrice.priceSpecial}"
/>
</div>
<div
class=
"col-sm-10"
>
<label>
有效时间(天)
</label>
<input
type=
"text"
class=
"form-control"
name=
"
validityTime
"
placeholder=
"请输入有效时间"
th:value=
"${memberPrice.days}"
/>
<input
type=
"text"
class=
"form-control"
name=
"
days
"
placeholder=
"请输入有效时间"
th:value=
"${memberPrice.days}"
/>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
双倍积分:
</label>
<div
class=
"col-sm-10"
>
<div
class=
"radio-box"
>
<input
type=
"radio"
id=
"integral1"
name=
"integral"
value=
"1"
th:attr=
"checked=${member.integralRate == 1}"
/>
<input
type=
"radio"
id=
"integral1"
name=
"integral
Rate
"
value=
"1"
th:attr=
"checked=${member.integralRate == 1}"
/>
<label
for=
"radio1"
>
否
</label>
</div>
<div
class=
"radio-box"
>
<input
type=
"radio"
id=
"integral2"
name=
"integral"
value=
"2"
th:attr=
"checked=${member.integralRate == 2}"
/>
<input
type=
"radio"
id=
"integral2"
name=
"integral
Rate
"
value=
"2"
th:attr=
"checked=${member.integralRate == 2}"
/>
<label
for=
"radio2"
>
是
</label>
</div>
</div>
...
...
@@ -366,11 +366,11 @@
</div>
<!--会员码-->
<div
class=
"tab-pane"
id=
"membercode"
>
<form
class=
"form-horizontal"
id=
"form-user-resetPwd"
>
<!-- <div class="tab-pane" id="membercode">--
>
<!-- <form class="form-horizontal" id="form-user-resetPwd">--
>
</form
>
</div
>
<!-- </form>--
>
<!-- </div>--
>
</div>
</div>
</div>
...
...
@@ -688,6 +688,7 @@
focusCleanup
:
true
});
// 保存基础信息
function
submitMemberInfo
()
{
if
(
$
.
validate
.
form
())
{
var
formData
=
$
(
'#form-member-edit'
).
serializeArray
();
...
...
@@ -698,12 +699,15 @@
}
}
// 保存价格
function
submitMemberShip
()
{
var
MemberShipData
=
$
(
'#form-membership-edit'
).
serializeArray
();
MemberShipData
.
push
({
"name"
:
"memberId"
,
"value"
:
member
.
memberId
});
// console.log(MemberShipData);
$
.
operate
.
saveModal
(
prefix
+
"/edit_price"
,
MemberShipData
);
}
// 保存权益
function
saveColumn
(
obj
,
num
)
{
var
objDom
=
$
(
obj
).
parent
().
parent
();
var
domIndex
=
$
(
'.interests_item'
).
index
(
objDom
);
...
...
@@ -739,6 +743,7 @@
postData
.
push
({
"name"
:
"mrightsId"
,
"value"
:
memberRightsList
[
domIndex
].
mrightsId
});
}
}
console
.
log
(
postData
)
$
.
operate
.
saveModal
(
prefix
+
"/edit_rights"
,
postData
);
}
</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