记得上下班打卡 | 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
c7f1fdaf
Commit
c7f1fdaf
authored
Jan 14, 2022
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标签库
parent
369602d2
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
331 additions
and
21 deletions
+331
-21
GoblinSelfTagController.java
...b/controller/zhengzai/goblin/GoblinSelfTagController.java
+1
-1
extag.html
...main/resources/templates/zhengzai/goblin/extag/extag.html
+1
-1
tag.html
...src/main/resources/templates/zhengzai/goblin/tag/tag.html
+269
-5
activityStoreList.html
...plates/zhengzai/store/placingOrder/activityStoreList.html
+1
-1
addNewActivity.html
...templates/zhengzai/store/placingOrder/addNewActivity.html
+20
-4
setGoodsRole.html
...s/templates/zhengzai/store/placingOrder/setGoodsRole.html
+27
-1
storeDetail.html
...es/templates/zhengzai/store/placingOrder/storeDetail.html
+12
-8
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/goblin/GoblinSelfTagController.java
View file @
c7f1fdaf
...
@@ -101,7 +101,7 @@ public class GoblinSelfTagController extends BaseController {
...
@@ -101,7 +101,7 @@ public class GoblinSelfTagController extends BaseController {
selfTag
.
setTagName
(
tagName
);
selfTag
.
setTagName
(
tagName
);
selfTag
.
setTagPic
(
tagPic
);
selfTag
.
setTagPic
(
tagPic
);
selfTag
.
setTagType
(
"0"
);
selfTag
.
setTagType
(
"0"
);
selfTag
.
setTagBelong
(
"
1
"
);
selfTag
.
setTagBelong
(
"
0
"
);
return
toAjax
(
goblinSelfTagService
.
save
(
selfTag
));
return
toAjax
(
goblinSelfTagService
.
save
(
selfTag
));
}
}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/extag/extag.html
View file @
c7f1fdaf
...
@@ -345,7 +345,7 @@
...
@@ -345,7 +345,7 @@
}
}
$
.
ajax
({
$
.
ajax
({
type
:
'post'
,
type
:
'post'
,
url
:
'/goblin/tag/addSave'
,
url
:
'/goblin/
ex
tag/addSave'
,
data
:
data
,
data
:
data
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
)
console
.
log
(
res
)
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/tag/tag.html
View file @
c7f1fdaf
This diff is collapsed.
Click to expand it.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/activityStoreList.html
View file @
c7f1fdaf
...
@@ -181,7 +181,7 @@
...
@@ -181,7 +181,7 @@
// }
// }
function
goDetail
(
name
,
storeId
,
time
,
marketId
)
{
function
goDetail
(
name
,
storeId
,
time
,
marketId
)
{
console
.
log
(
name
,
storeId
,
time
,
marketId
,
'????'
)
console
.
log
(
name
,
storeId
,
time
,
marketId
,
'????'
)
$
.
modal
.
openTab
(
name
,
prefix2
+
"/storeDetail?storeId="
+
storeId
+
'&time='
+
time
+
'&marketId='
+
marketId
)
$
.
modal
.
openTab
(
name
,
prefix2
+
"/storeDetail?storeId="
+
storeId
+
'&time='
+
time
+
'&marketId='
+
marketId
+
'&activityName='
+
name
)
}
}
$
(
"#button-open-11"
).
click
(
function
(){
$
(
"#button-open-11"
).
click
(
function
(){
$
(
"button[name=refresh]"
).
click
()
$
(
"button[name=refresh]"
).
click
()
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/addNewActivity.html
View file @
c7f1fdaf
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
</span>
</span>
<div
class=
"activityStore"
>
<div
class=
"activityStore"
>
<button
class=
"btn btn-primary"
onclick=
"addItem()"
style=
"margin-bottom: 12px;"
>
新增
</button>
<button
class=
"btn btn-primary"
onclick=
"addItem()"
style=
"margin-bottom: 12px;"
>
新增
</button>
<div
class=
"activityStore_item"
id=
"activityStore_item"
>
<div
class=
"activityStore_item"
id=
"activityStore_item"
data-newTag=
"1"
>
<div
class=
"input-group"
style=
"margin-right: 12px;"
>
<div
class=
"input-group"
style=
"margin-right: 12px;"
>
<input
type=
"text"
class=
"form-control storeList item1"
placeholder=
"搜索店铺名称"
>
<input
type=
"text"
class=
"form-control storeList item1"
placeholder=
"搜索店铺名称"
>
<div
class=
"input-group-btn"
>
<div
class=
"input-group-btn"
>
...
@@ -132,6 +132,7 @@
...
@@ -132,6 +132,7 @@
let
count
=
1
;
let
count
=
1
;
var
prefix2
=
ctx
+
"local"
;
var
prefix2
=
ctx
+
"local"
;
let
marketId
=
''
;
let
marketId
=
''
;
let
editDatas
=
0
;
$
(
function
()
{
$
(
function
()
{
let
name
=
'id'
;
let
name
=
'id'
;
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
...
@@ -161,6 +162,7 @@
...
@@ -161,6 +162,7 @@
console
.
log
(
res
,
'res'
)
console
.
log
(
res
,
'res'
)
let
basisData
=
res
[
0
];
let
basisData
=
res
[
0
];
let
{
data
}
=
res
[
1
];
let
{
data
}
=
res
[
1
];
editDatas
=
data
.
length
;
$
(
"#selectShow"
).
val
(
basisData
.
data
.
name
);
$
(
"#selectShow"
).
val
(
basisData
.
data
.
name
);
$
(
"#startTime"
).
val
(
basisData
.
data
.
startTime
);
$
(
"#startTime"
).
val
(
basisData
.
data
.
startTime
);
$
(
"#endTime"
).
val
(
basisData
.
data
.
endTime
);
$
(
"#endTime"
).
val
(
basisData
.
data
.
endTime
);
...
@@ -211,10 +213,11 @@
...
@@ -211,10 +213,11 @@
});
});
}
}
function
addItem
(
item
)
{
function
addItem
(
item
)
{
console
.
log
(
item
)
count
++
;
count
++
;
let
body
=
''
;
let
body
=
''
;
if
(
item
)
{
if
(
item
)
{
body
+=
`<div class="activityStore_item">
body
+=
`<div class="activityStore_item"
data-newTag=""
>
<div class="input-group" style="margin-right: 12px;">
<div class="input-group" style="margin-right: 12px;">
<input type="text" class="form-control storeList item
${
count
}
" data-id="
${
item
.
storeId
}
" value="
${
item
.
storeName
}
" placeholder="搜索店铺名称">
<input type="text" class="form-control storeList item
${
count
}
" data-id="
${
item
.
storeId
}
" value="
${
item
.
storeName
}
" placeholder="搜索店铺名称">
<div class="input-group-btn">
<div class="input-group-btn">
...
@@ -225,7 +228,7 @@
...
@@ -225,7 +228,7 @@
<input type="text" class="layui-input form-control timeSp startTime
${
count
}
" id="startTime" value="
${
item
.
showTime
}
" autocomplete="off" placeholder="配置活动时间">
<input type="text" class="layui-input form-control timeSp startTime
${
count
}
" id="startTime" value="
${
item
.
showTime
}
" autocomplete="off" placeholder="配置活动时间">
</div>`
</div>`
}
else
{
}
else
{
body
+=
`<div class="activityStore_item">
body
+=
`<div class="activityStore_item"
data-newTag="1"
>
<div class="input-group" style="margin-right: 12px;">
<div class="input-group" style="margin-right: 12px;">
<input type="text" class="form-control storeList item
${
count
}
" placeholder="搜索店铺名称">
<input type="text" class="form-control storeList item
${
count
}
" placeholder="搜索店铺名称">
<div class="input-group-btn">
<div class="input-group-btn">
...
@@ -277,13 +280,26 @@
...
@@ -277,13 +280,26 @@
}
}
function
save
()
{
function
save
()
{
let
obj
=
{};
let
obj
=
{};
let
data
=
[];
let
data
=
[];
// 新增集合
let
data2
=
[];
// 修改集合
let
domData
=
$
(
".activityStore_item"
);
let
domData
=
$
(
".activityStore_item"
);
Array
.
prototype
.
forEach
.
call
(
domData
,
function
(
item
,
index
){
Array
.
prototype
.
forEach
.
call
(
domData
,
function
(
item
,
index
){
obj
[
'marketId'
]
=
marketId
;
obj
[
'marketId'
]
=
marketId
;
obj
[
'showTime'
]
=
item
.
querySelector
(
'.timeSp'
).
value
;
obj
[
'showTime'
]
=
item
.
querySelector
(
'.timeSp'
).
value
;
obj
[
'storeId'
]
=
item
.
querySelector
(
'.storeList'
).
getAttribute
(
'data-id'
);
obj
[
'storeId'
]
=
item
.
querySelector
(
'.storeList'
).
getAttribute
(
'data-id'
);
obj
[
'delTag'
]
=
0
;
if
(
item
.
getAttribute
(
'data-newTag'
))
{
obj
[
'newTag'
]
=
1
;
}
else
{
obj
[
'newTag'
]
=
0
;
}
data
.
push
({...
obj
});
data
.
push
({...
obj
});
// if (index
<
editDatas
)
{
// } else {
// data2.push({...obj});
// }
})
})
console
.
log
(
data
)
console
.
log
(
data
)
promiseMethods
(
'/goblin/marketing/zhengzai/store'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
promiseMethods
(
'/goblin/marketing/zhengzai/store'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/setGoodsRole.html
View file @
c7f1fdaf
...
@@ -68,9 +68,34 @@
...
@@ -68,9 +68,34 @@
});
});
});
});
$
(
function
()
{
$
(
function
()
{
let
marketId
=
'marketId'
;
let
storeId
=
'storeId'
;
let
marketSpuId
=
'marketSpuId'
;
var
reg
=
new
RegExp
(
"(^|&)"
+
marketId
+
"=([^&]*)(&|$)"
);
var
reg2
=
new
RegExp
(
"(^|&)"
+
storeId
+
"=([^&]*)(&|$)"
);
var
reg3
=
new
RegExp
(
"(^|&)"
+
marketSpuId
+
"=([^&]*)(&|$)"
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
var
r2
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg2
);
var
r3
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg3
);
let
params
=
{
marketId
:
unescape
(
r
[
2
]),
storeId
:
unescape
(
r2
[
2
]),
marketSpuId
:
unescape
(
r3
[
2
])
};
let
data
=
[];
$
.
ajax
({
url
:
'/goblin/marketing/zhengzai/sku'
,
type
:
'post'
,
data
:
params
,
success
:
function
(
params
)
{
console
.
log
(
params
)
data
=
res
.
params
;
}
})
return
var
options
=
{
var
options
=
{
id
:
'setTable'
,
id
:
'setTable'
,
url
:
prefix
+
"/list"
,
// url: '/goblin/marketing/zhengzai/sku'
,
createUrl
:
prefix2
+
"/addNewActivity"
,
createUrl
:
prefix2
+
"/addNewActivity"
,
detailUrl
:
prefix2
+
"/addNewActivity?id={id}"
,
detailUrl
:
prefix2
+
"/addNewActivity?id={id}"
,
removeUrl
:
prefix
+
"/cancel/{id}"
,
removeUrl
:
prefix
+
"/cancel/{id}"
,
...
@@ -84,6 +109,7 @@
...
@@ -84,6 +109,7 @@
showColumns
:
false
,
showColumns
:
false
,
showToggle
:
false
,
showToggle
:
false
,
pagination
:
false
,
pagination
:
false
,
data
:
data
,
columns
:
[
columns
:
[
{
{
field
:
'valFace'
,
field
:
'valFace'
,
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/storeDetail.html
View file @
c7f1fdaf
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
<h3><span></span>
基础信息
</h3>
<h3><span></span>
基础信息
</h3>
</div>
</div>
<div
class=
"content_store_name"
>
<div
class=
"content_store_name"
>
<span>
项目名称:
</span><p>
2022北京草莓音乐节
</p>
<span>
项目名称:
</span><p
id=
"titleName"
>
2022北京草莓音乐节
</p>
</div>
</div>
<div
class=
"content_store_name"
>
<div
class=
"content_store_name"
>
...
@@ -170,6 +170,7 @@
...
@@ -170,6 +170,7 @@
let
name
=
'storeId'
;
let
name
=
'storeId'
;
let
time
=
'time'
;
let
time
=
'time'
;
let
marketId
=
'marketId'
;
let
marketId
=
'marketId'
;
let
activityName
=
'activityName'
;
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
reg2
=
new
RegExp
(
"(^|&)"
+
time
+
"=([^&]*)(&|$)"
);
var
reg2
=
new
RegExp
(
"(^|&)"
+
time
+
"=([^&]*)(&|$)"
);
var
reg3
=
new
RegExp
(
"(^|&)"
+
marketId
+
"=([^&]*)(&|$)"
);
var
reg3
=
new
RegExp
(
"(^|&)"
+
marketId
+
"=([^&]*)(&|$)"
);
...
@@ -177,9 +178,9 @@
...
@@ -177,9 +178,9 @@
var
r2
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg2
);
var
r2
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg2
);
var
r3
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg3
);
var
r3
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg3
);
$
(
"#time"
).
html
(
unescape
(
r2
[
2
]));
$
(
"#time"
).
html
(
unescape
(
r2
[
2
]));
$
(
"#
storeId"
).
val
(
);
$
(
"#
titleName"
).
text
(
GetQueryString
(
activityName
)
);
$
(
"#
marketId"
).
val
(
);
$
(
"#
storeId"
).
val
(
unescape
(
r
[
2
])
);
console
.
log
(
unescape
(
r
[
2
]),
unescape
(
r2
[
2
]),
unescape
(
r3
[
2
]),
'sha'
)
$
(
"#marketId"
).
val
(
unescape
(
r3
[
2
]));
let
data
=
{
let
data
=
{
marketId
:
unescape
(
r3
[
2
]),
marketId
:
unescape
(
r3
[
2
]),
storeId
:
unescape
(
r
[
2
]),
storeId
:
unescape
(
r
[
2
]),
...
@@ -257,15 +258,18 @@
...
@@ -257,15 +258,18 @@
$
.
table
.
init
(
options
);
$
.
table
.
init
(
options
);
}
}
})
})
});
});
var
dicCouponBusiType
=
[[
$
{@
dict
.
getType
(
'zhengzai_coupon_busi_type'
)}]];
var
dicCouponBusiType
=
[[
$
{@
dict
.
getType
(
'zhengzai_coupon_busi_type'
)}]];
var
dicCouponBindType
=
[[
$
{@
dict
.
getType
(
'zhengzai_coupon_bind_type'
)}]];
var
dicCouponBindType
=
[[
$
{@
dict
.
getType
(
'zhengzai_coupon_bind_type'
)}]];
var
prefix
=
ctx
+
"candy/coupon/mgt"
;
var
prefix
=
ctx
+
"candy/coupon/mgt"
;
var
prefix2
=
ctx
+
"local"
;
var
prefix2
=
ctx
+
"local"
;
function
GetQueryString
(
name
){
function
setGoodsRole
()
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
let
url
=
prefix2
+
'/setGoodsRole'
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
if
(
r
!=
null
)
return
unescape
(
r
[
2
]);
return
null
;
}
function
setGoodsRole
(
marketId
,
storeId
,
marketSpuId
)
{
let
url
=
prefix2
+
'/setGoodsRole?marketId='
+
marketId
+
'&storeId='
+
storeId
+
'&marketSpuId='
+
marketSpuId
;
console
.
log
(
url
)
console
.
log
(
url
)
$
.
modal
.
open
(
"标题内容"
,
url
,
'1280'
,
'680'
);
$
.
modal
.
open
(
"标题内容"
,
url
,
'1280'
,
'680'
);
}
}
...
...
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