记得上下班打卡 | 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
502ce7e8
Commit
502ce7e8
authored
Nov 11, 2021
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改前端bug
parent
d9233d7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
46 deletions
+49
-46
integralDetail.html
...in/resources/templates/zhengzai/stone/integralDetail.html
+43
-44
integralList.html
...main/resources/templates/zhengzai/stone/integralList.html
+1
-0
integralStoreEdit.html
...resources/templates/zhengzai/stone/integralStoreEdit.html
+5
-2
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralDetail.html
View file @
502ce7e8
...
...
@@ -67,59 +67,19 @@
</div>
<th:block
th:include=
"include :: footer"
/>
<script
th:inline=
"javascript"
>
let
datas
=
[];
var
dicCouponBusiType
=
[[
$
{@
dict
.
getType
(
'zhengzai_coupon_busi_type'
)}]];
var
dicCouponBindType
=
[[
$
{@
dict
.
getType
(
'zhengzai_coupon_bind_type'
)}]];
var
prefix
=
ctx
+
"stone/logs"
;
var
viewMgtCouponFlag
=
[[
$
{@
permission
.
hasPermi
(
'candy:coupon:mgt:detail'
)}]];
var
cancelMgtCouponFlag
=
[[
$
{@
permission
.
hasPermi
(
'candy:coupon:mgt:cancel'
)}]];
var
couType
=
[[
$
{
couType
}]];
$
(
function
()
{
var
options
=
{
url
:
prefix
+
"/list"
,
createUrl
:
prefix
+
"/add/{id}"
,
removeUrl
:
prefix
+
"/cancel/{id}"
,
// updateUrl: prefix + "/edit/{id}",
// exportUrl: prefix + "/export",
sortName
:
"createdAt"
,
sortOrder
:
"desc"
,
modalName
:
"积分"
,
columns
:
[
{
field
:
'valFace'
,
title
:
'时间'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
'¥'
+
value
;
}
},
{
field
:
'eventAmt'
,
title
:
'类型'
},
{
field
:
'bindType'
,
title
:
'任务名称'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
$
.
table
.
selectDictLabel
(
dicCouponBindType
,
value
);
}
},
{
field
:
'busiType'
,
title
:
'获得积分'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
$
.
table
.
selectDictLabel
(
dicCouponBusiType
,
value
);
}
},
{
field
:
'title'
,
title
:
'变更原因'
}
]
};
$
.
table
.
init
(
options
);
getAllData
();
});
getAllData
();
function
getAllData
()
{
let
uid
=
getUrlParms
(
'id'
);
let
data
=
{
...
...
@@ -133,6 +93,45 @@
console
.
log
(
e
)
if
(
e
.
code
==
0
)
{
const
{
dto
}
=
e
.
data
;
datas
=
e
.
data
.
scoreLogs
;
var
options
=
{
data
:
datas
,
pagination
:
false
,
showSearch
:
false
,
showRefresh
:
false
,
showToggle
:
false
,
showColumns
:
false
,
sidePagination
:
"client"
,
columns
:
[
{
field
:
'createdAt'
,
title
:
'时间'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
$
.
common
.
dateFormat
(
startTime
,
'yyyy-MM-dd HH:mm:ss'
);
}
},
// {
// field: 'eventAmt',
// title: '类型'
// },
// {
// field: 'content',
// title: '任务名称',
// formatter: function(value, row, index) {
// return $.table.selectDictLabel(dicCouponBindType, value);
// }
// },
{
field
:
'score'
,
title
:
'获得积分'
,
},
{
field
:
'reason'
,
title
:
'变更原因'
}
]
};
$
.
table
.
init
(
options
);
$
(
'#name'
).
text
(
dto
.
nickName
);
let
statusName
=
''
;
$
(
'#scoreAll'
).
text
(
dto
.
scoreAll
);
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralList.html
View file @
502ce7e8
...
...
@@ -131,6 +131,7 @@
data
,
success
:
function
(
e
)
{
console
.
log
(
e
)
$
(
"button[name=refresh]"
).
click
();
}
})
});
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralStoreEdit.html
View file @
502ce7e8
...
...
@@ -154,7 +154,7 @@
</div>
</div>
<div
class=
"scope_application"
id=
"scope_application"
>
<span
class=
"labelName"
><i
class=
"required"
>
*
</i>
商品
名称:
</span>
<span
class=
"labelName"
><i
class=
"required"
>
*
</i>
券
名称:
</span>
<div
class=
"search_ipt"
style=
"position: relative;display: inline;"
>
<input
type=
"text"
id=
"searchIpt"
autocomplete=
"off"
class=
"layui-input"
placeholder=
"全部"
>
<ul
id=
"dataList"
style=
"position: absolute;"
></ul>
...
...
@@ -505,14 +505,17 @@
targetId
:
showId
,
// 目标物品id
targetTitle
:
$
(
'#searchIpt'
).
val
()
// 目标物品标题
}
let
type
=
'post'
;
if
(
!
itemId
)
{
delete
data
.
itemId
}
else
{
type
=
'put'
;
}
if
(
shelves
==
1
)
{
delete
data
.
startTime
delete
data
.
endTime
}
promiseMethods
(
ctx
+
'stone/item'
,
'put'
,
data
).
then
(
res
=>
{
promiseMethods
(
ctx
+
'stone/item'
,
type
,
data
).
then
(
res
=>
{
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
$
.
modal
.
alertWarning
(
res
.
msg
);
...
...
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