记得上下班打卡 | 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
2df59770
Commit
2df59770
authored
Jan 25, 2022
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改后台bug
parent
c3823be1
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
12 additions
and
67 deletions
+12
-67
category.html
...esources/templates/zhengzai/goblin/category/category.html
+1
-0
extag.html
...main/resources/templates/zhengzai/goblin/extag/extag.html
+0
-5
store.html
...main/resources/templates/zhengzai/goblin/store/store.html
+0
-3
tag.html
...src/main/resources/templates/zhengzai/goblin/tag/tag.html
+1
-5
RubikArea.html
...resources/templates/zhengzai/store/homeSet/RubikArea.html
+0
-1
carefullyGoods.html
...rces/templates/zhengzai/store/homeSet/carefullyGoods.html
+0
-7
index.html
...ain/resources/templates/zhengzai/store/homeSet/index.html
+0
-6
kingArea.html
.../resources/templates/zhengzai/store/homeSet/kingArea.html
+10
-8
searchStore.html
...sources/templates/zhengzai/store/homeSet/searchStore.html
+0
-3
topBanner.html
...resources/templates/zhengzai/store/homeSet/topBanner.html
+0
-5
activityList.html
...s/templates/zhengzai/store/placingOrder/activityList.html
+0
-4
activityStoreList.html
...plates/zhengzai/store/placingOrder/activityStoreList.html
+0
-5
addNewActivity.html
...templates/zhengzai/store/placingOrder/addNewActivity.html
+0
-5
selectGoddsTab.html
...templates/zhengzai/store/placingOrder/selectGoddsTab.html
+0
-2
setGoodsRole.html
...s/templates/zhengzai/store/placingOrder/setGoodsRole.html
+0
-3
storeDetail.html
...es/templates/zhengzai/store/placingOrder/storeDetail.html
+0
-5
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/category/category.html
View file @
2df59770
...
@@ -327,6 +327,7 @@
...
@@ -327,6 +327,7 @@
success
:
function
(
res
)
{
success
:
function
(
res
)
{
$
(
"pull-right button[type=refresh]"
).
click
();
$
(
"pull-right button[type=refresh]"
).
click
();
closeModal
();
closeModal
();
refreshItem
();
}
}
})
})
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/extag/extag.html
View file @
2df59770
...
@@ -313,7 +313,6 @@
...
@@ -313,7 +313,6 @@
$
.
table
.
init
(
options
);
$
.
table
.
init
(
options
);
});
});
$
(
"input[name=optionsRadios]"
).
on
(
'change'
,
function
(
e
){
$
(
"input[name=optionsRadios]"
).
on
(
'change'
,
function
(
e
){
console
.
log
(
e
)
type
=
e
.
target
.
value
;
type
=
e
.
target
.
value
;
})
})
$
(
"#button-open-10"
).
click
(
function
(){
$
(
"#button-open-10"
).
click
(
function
(){
...
@@ -326,7 +325,6 @@
...
@@ -326,7 +325,6 @@
$
(
".layui-layer-shade"
).
addClass
(
'shadeCss'
)
$
(
".layui-layer-shade"
).
addClass
(
'shadeCss'
)
},
},
cancel
:
function
(
res
){
cancel
:
function
(
res
){
console
.
log
(
res
,
'111'
)
reset
()
reset
()
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
}
}
...
@@ -341,10 +339,8 @@
...
@@ -341,10 +339,8 @@
$
(
"button[name=refresh]"
).
click
()
$
(
"button[name=refresh]"
).
click
()
})
})
function
onCheck
(
row
,
$element
)
{
function
onCheck
(
row
,
$element
)
{
console
.
log
(
row
,
$element
)
}
}
function
yes
(
index
,
layero
)
{
function
yes
(
index
,
layero
)
{
console
.
log
(
index
,
layero
)
let
data
=
{
let
data
=
{
tagName
:
$
(
"#musicName"
).
val
(),
tagName
:
$
(
"#musicName"
).
val
(),
tagPic
:
$
(
"#viewImg"
).
attr
(
'src'
),
tagPic
:
$
(
"#viewImg"
).
attr
(
'src'
),
...
@@ -355,7 +351,6 @@
...
@@ -355,7 +351,6 @@
url
:
'/goblin/extag/addSave'
,
url
:
'/goblin/extag/addSave'
,
data
:
data
,
data
:
data
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
closeModal
();
closeModal
();
reset
()
reset
()
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/store/store.html
View file @
2df59770
...
@@ -219,7 +219,6 @@
...
@@ -219,7 +219,6 @@
/* 店铺审核:驳回 */
/* 店铺审核:驳回 */
function
auditReject
(
storeId
)
{
function
auditReject
(
storeId
)
{
storeIds
=
storeId
;
storeIds
=
storeId
;
console
.
log
(
storeIds
,
'storeId'
)
if
(
!
rejectFlg
)
{
if
(
!
rejectFlg
)
{
// var reasonVal = "TODO:弹窗输入拒绝原因";
// var reasonVal = "TODO:弹窗输入拒绝原因";
layer
.
open
({
layer
.
open
({
...
@@ -228,7 +227,6 @@
...
@@ -228,7 +227,6 @@
title
:
'创建分类'
,
//不显示标题
title
:
'创建分类'
,
//不显示标题
content
:
$
(
'#addClassify'
),
//捕获的元素,注意:最好该指定的元素要存放在body最外层,否则可能被其它的相对元素所影响
content
:
$
(
'#addClassify'
),
//捕获的元素,注意:最好该指定的元素要存放在body最外层,否则可能被其它的相对元素所影响
cancel
:
function
(
res
){
cancel
:
function
(
res
){
console
.
log
(
res
,
'111'
)
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
}
}
});
});
...
@@ -239,7 +237,6 @@
...
@@ -239,7 +237,6 @@
$
(
".layui-layer-close1"
).
click
();
$
(
".layui-layer-close1"
).
click
();
}
}
function
yes
()
{
function
yes
()
{
console
.
log
(
storeIds
,
11111
)
let
value
=
$
(
"#reason"
).
val
();
let
value
=
$
(
"#reason"
).
val
();
if
(
!
value
)
{
if
(
!
value
)
{
return
layer
.
msg
(
'请填写原因!'
)
return
layer
.
msg
(
'请填写原因!'
)
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/tag/tag.html
View file @
2df59770
...
@@ -267,10 +267,10 @@
...
@@ -267,10 +267,10 @@
$
.
table
.
init
(
options
);
$
.
table
.
init
(
options
);
});
});
$
(
"#button-open-10"
).
click
(
function
(){
$
(
"#button-open-10"
).
click
(
function
(){
tagId
=
''
mode
();
mode
();
})
})
function
openMode
(
id
,
name
,
tagPic
)
{
function
openMode
(
id
,
name
,
tagPic
)
{
console
.
log
(
id
,
name
,
tagPic
,
'?不触发吗'
)
tagId
=
id
;
tagId
=
id
;
mode
();
mode
();
$
(
"#musicName"
).
val
(
name
);
$
(
"#musicName"
).
val
(
name
);
...
@@ -287,7 +287,6 @@
...
@@ -287,7 +287,6 @@
},
},
cancel
:
function
(
res
){
cancel
:
function
(
res
){
reset
()
reset
()
console
.
log
(
res
,
'2111'
)
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
}
}
});
});
...
@@ -298,13 +297,11 @@
...
@@ -298,13 +297,11 @@
$
(
"#viewImg"
).
attr
(
'src'
,
''
);
$
(
"#viewImg"
).
attr
(
'src'
,
''
);
}
}
function
yes
(
index
,
layero
)
{
function
yes
(
index
,
layero
)
{
console
.
log
(
index
,
layero
)
let
data
=
{
let
data
=
{
tagName
:
$
(
"#musicName"
).
val
(),
tagName
:
$
(
"#musicName"
).
val
(),
tagPic
:
$
(
"#viewImg"
).
attr
(
'src'
)
tagPic
:
$
(
"#viewImg"
).
attr
(
'src'
)
}
}
let
url
=
'/goblin/tag/addSave'
;
let
url
=
'/goblin/tag/addSave'
;
console
.
log
(
tagId
,
'tagId'
)
if
(
tagId
)
{
if
(
tagId
)
{
data
.
tagId
=
tagId
data
.
tagId
=
tagId
url
=
'/goblin/tag/editSave'
;
url
=
'/goblin/tag/editSave'
;
...
@@ -314,7 +311,6 @@
...
@@ -314,7 +311,6 @@
url
:
url
,
url
:
url
,
data
,
data
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
closeModal
();
closeModal
();
$
(
"button[name=refresh]"
).
click
()
$
(
"button[name=refresh]"
).
click
()
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/RubikArea.html
View file @
2df59770
...
@@ -180,7 +180,6 @@
...
@@ -180,7 +180,6 @@
}
}
promiseMethods
(
'/front-index/list'
,
'post'
).
then
(
res
=>
{
promiseMethods
(
'/front-index/list'
,
'post'
).
then
(
res
=>
{
console
.
log
(
res
,
'resp'
)
let
{
data
}
=
res
;
let
{
data
}
=
res
;
data
.
forEach
(
item
=>
{
data
.
forEach
(
item
=>
{
if
(
item
.
moudleName
==
"moFang"
)
{
if
(
item
.
moudleName
==
"moFang"
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/carefullyGoods.html
View file @
2df59770
...
@@ -193,7 +193,6 @@
...
@@ -193,7 +193,6 @@
<script
th:inline=
"javascript"
>
<script
th:inline=
"javascript"
>
var
prefix2
=
ctx
+
"local"
;
var
prefix2
=
ctx
+
"local"
;
var
platformUrl
=
[[
$
{
platformUrl
}]];
var
platformUrl
=
[[
$
{
platformUrl
}]];
console
.
log
(
platformUrl
,
'platformUrl'
)
let
num
=
0
;
let
num
=
0
;
let
type
=
1
;
let
type
=
1
;
let
createTime
=
''
;
let
createTime
=
''
;
...
@@ -211,7 +210,6 @@
...
@@ -211,7 +210,6 @@
}
}
promiseMethods
(
'/selectGoods/getList'
,
'post'
).
then
(
res
=>
{
promiseMethods
(
'/selectGoods/getList'
,
'post'
).
then
(
res
=>
{
console
.
log
(
res
,
121212
)
let
{
data
}
=
res
;
let
{
data
}
=
res
;
if
(
data
.
length
<=
0
)
{
if
(
data
.
length
<=
0
)
{
creatDom
(
1
);
creatDom
(
1
);
...
@@ -258,14 +256,12 @@
...
@@ -258,14 +256,12 @@
/*如果从 url 获取数据,并且需要跨域,则该参数必须设置*/
/*如果从 url 获取数据,并且需要跨域,则该参数必须设置*/
processData
:
function
(
json
)
{
// url 获取数据时,对数据的处理,作为 getData 的回调函数
processData
:
function
(
json
)
{
// url 获取数据时,对数据的处理,作为 getData 的回调函数
//字符串转化为 js 对象
//字符串转化为 js 对象
console
.
log
(
json
,
'json'
)
let
data
=
{};
let
data
=
{};
data
.
value
=
json
.
data
data
.
value
=
json
.
data
return
data
return
data
}
}
}).
on
(
'onDataRequestSuccess'
,
function
(
e
,
result
)
{
}).
on
(
'onDataRequestSuccess'
,
function
(
e
,
result
)
{
}).
on
(
'onSetSelectValue'
,
function
(
e
,
selectedData
,
selectedRawData
)
{
// 当前行的所有值都能拿到
}).
on
(
'onSetSelectValue'
,
function
(
e
,
selectedData
,
selectedRawData
)
{
// 当前行的所有值都能拿到
console
.
log
(
selectedRawData
,
'selectedData'
)
selectObj
[
'title'
]
=
selectedRawData
.
name
;
selectObj
[
'title'
]
=
selectedRawData
.
name
;
selectObj
[
'spuId'
]
=
selectedRawData
.
spuId
;
selectObj
[
'spuId'
]
=
selectedRawData
.
spuId
;
selectObj
[
'priceGe'
]
=
selectedRawData
.
priceGe
;
selectObj
[
'priceGe'
]
=
selectedRawData
.
priceGe
;
...
@@ -274,7 +270,6 @@
...
@@ -274,7 +270,6 @@
}
}
function
creatDom
(
num
)
{
function
creatDom
(
num
)
{
promiseMethods
(
'/selectGoods/goodsList?type='
+
num
,
'get'
).
then
(
res
=>
{
promiseMethods
(
'/selectGoods/goodsList?type='
+
num
,
'get'
).
then
(
res
=>
{
console
.
log
(
res
,
121212
)
let
{
data
}
=
res
;
let
{
data
}
=
res
;
// $('.goodsNumber').text(data.length);
// $('.goodsNumber').text(data.length);
// let str = '';
// let str = '';
...
@@ -292,7 +287,6 @@
...
@@ -292,7 +287,6 @@
}
}
function
addBox
()
{
function
addBox
()
{
let
str
=
''
;
let
str
=
''
;
// console.log($('.goodsNumber').text()+1, 'sf')
if
(
!
selectObj
.
spuId
)
{
if
(
!
selectObj
.
spuId
)
{
return
layer
.
msg
(
'输出不能为空!'
)
return
layer
.
msg
(
'输出不能为空!'
)
}
}
...
@@ -328,7 +322,6 @@
...
@@ -328,7 +322,6 @@
})
})
data
.
spuId
=
arr
.
toString
();
data
.
spuId
=
arr
.
toString
();
promiseMethods
(
'/selectGoods/createOrUpdate'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
promiseMethods
(
'/selectGoods/createOrUpdate'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
console
.
log
(
res
,
'res'
)
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
layer
.
msg
(
'保存成功!'
)
layer
.
msg
(
'保存成功!'
)
$
.
operate
.
successCallback
(
res
);
$
.
operate
.
successCallback
(
res
);
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/index.html
View file @
2df59770
...
@@ -239,7 +239,6 @@
...
@@ -239,7 +239,6 @@
}
}
function
delSp
(
num
)
{
function
delSp
(
num
)
{
event
.
stopPropagation
()
event
.
stopPropagation
()
console
.
log
(
$
(
'.goods-banner-props'
),
'有吗2'
)
let
arr
=
[
let
arr
=
[
{
"mid"
:
2
,
"moudleIndexId"
:
"708754120962334729770775"
,
"moudleName"
:
"jinGangWei"
,
"indexs"
:
2
,
"updateTime"
:
"2022-01-11 17:40:03"
,
"createTime"
:
"2022-01-06 13:53:45"
,
"delTag"
:
0
,
"status"
:
0
},
{
"mid"
:
2
,
"moudleIndexId"
:
"708754120962334729770775"
,
"moudleName"
:
"jinGangWei"
,
"indexs"
:
2
,
"updateTime"
:
"2022-01-11 17:40:03"
,
"createTime"
:
"2022-01-06 13:53:45"
,
"delTag"
:
0
,
"status"
:
0
},
{
"mid"
:
1
,
"moudleIndexId"
:
"708753099180072962244503"
,
"moudleName"
:
"huDongBanner"
,
"indexs"
:
1
,
"updateTime"
:
"2022-01-06 13:52:22"
,
"createTime"
:
"2022-01-06 13:52:19"
,
"delTag"
:
0
,
"status"
:
0
},
{
"mid"
:
1
,
"moudleIndexId"
:
"708753099180072962244503"
,
"moudleName"
:
"huDongBanner"
,
"indexs"
:
1
,
"updateTime"
:
"2022-01-06 13:52:22"
,
"createTime"
:
"2022-01-06 13:52:19"
,
"delTag"
:
0
,
"status"
:
0
},
...
@@ -253,7 +252,6 @@
...
@@ -253,7 +252,6 @@
contentType
:
'application/json'
,
contentType
:
'application/json'
,
data
:
JSON
.
stringify
(
arr
[
num
-
1
]),
data
:
JSON
.
stringify
(
arr
[
num
-
1
]),
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
,
'res'
)
modalPx
();
modalPx
();
}
}
})
})
...
@@ -266,7 +264,6 @@
...
@@ -266,7 +264,6 @@
type
:
'post'
,
type
:
'post'
,
url
:
'/frontBanner/online'
,
url
:
'/frontBanner/online'
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
layer
.
msg
(
'上线成功!'
)
layer
.
msg
(
'上线成功!'
)
}
}
...
@@ -278,7 +275,6 @@
...
@@ -278,7 +275,6 @@
type
:
'post'
,
type
:
'post'
,
url
:
'/front-index/list'
,
url
:
'/front-index/list'
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
,
'resp'
)
let
{
data
}
=
res
;
let
{
data
}
=
res
;
let
firstHeight
=
''
;
let
firstHeight
=
''
;
let
secondHeight
=
''
;
let
secondHeight
=
''
;
...
@@ -288,7 +284,6 @@
...
@@ -288,7 +284,6 @@
datas
.
push
({...
item
})
datas
.
push
({...
item
})
}
}
})
})
console
.
log
(
datas
,
'??'
)
datas
.
forEach
((
item
,
index
)
=>
{
datas
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
delTag
)
{
if
(
item
.
delTag
)
{
$
(
'.'
+
item
.
moudleName
+
''
).
hide
()
$
(
'.'
+
item
.
moudleName
+
''
).
hide
()
...
@@ -304,7 +299,6 @@
...
@@ -304,7 +299,6 @@
}
}
}
else
if
(
index
==
1
)
{
}
else
if
(
index
==
1
)
{
$
(
'.'
+
item
.
moudleName
+
''
).
css
(
'top'
,
firstHeight
)
$
(
'.'
+
item
.
moudleName
+
''
).
css
(
'top'
,
firstHeight
)
console
.
log
(
$
(
'.'
+
item
.
moudleName
+
''
),
firstHeight
)
if
(
item
.
moudleName
==
"huDongBanner"
)
{
if
(
item
.
moudleName
==
"huDongBanner"
)
{
secondHeight
=
firstHeight
+
160
;
secondHeight
=
firstHeight
+
160
;
}
else
if
(
item
.
moudleName
==
"jinGangWei"
)
{
}
else
if
(
item
.
moudleName
==
"jinGangWei"
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/kingArea.html
View file @
2df59770
...
@@ -169,7 +169,6 @@
...
@@ -169,7 +169,6 @@
}
}
promiseMethods
(
'/front-index/list'
,
'post'
).
then
(
res
=>
{
promiseMethods
(
'/front-index/list'
,
'post'
).
then
(
res
=>
{
console
.
log
(
res
,
'resp'
)
let
{
data
}
=
res
;
let
{
data
}
=
res
;
data
.
forEach
(
item
=>
{
data
.
forEach
(
item
=>
{
if
(
item
.
moudleName
==
"jinGangWei"
)
{
if
(
item
.
moudleName
==
"jinGangWei"
)
{
...
@@ -288,7 +287,6 @@
...
@@ -288,7 +287,6 @@
item
.
delTag
=
1
;
item
.
delTag
=
1
;
return
{...
item
}
return
{...
item
}
})
})
console
.
log
(
returnData
,
'returnData'
)
if
(
hang
==
1
)
{
if
(
hang
==
1
)
{
addItem
(
4
);
addItem
(
4
);
}
else
{
}
else
{
...
@@ -296,7 +294,6 @@
...
@@ -296,7 +294,6 @@
}
}
}
}
}
else
{
}
else
{
console
.
log
(
'?'
)
if
(
hang
==
1
)
{
if
(
hang
==
1
)
{
addItem
(
4
);
addItem
(
4
);
}
else
{
}
else
{
...
@@ -423,7 +420,6 @@
...
@@ -423,7 +420,6 @@
arr
.
push
({...
obj
})
arr
.
push
({...
obj
})
});
//foreach js6章封装的方法
});
//foreach js6章封装的方法
arr
=
arr
.
concat
(
returnData
);
arr
=
arr
.
concat
(
returnData
);
console
.
log
(
arr
,
returnData
,
'arr'
)
promiseMethods
(
'/navigation/createOrUpdate'
,
'post'
,
JSON
.
stringify
(
arr
),
'application/json'
).
then
(()
=>
{
promiseMethods
(
'/navigation/createOrUpdate'
,
'post'
,
JSON
.
stringify
(
arr
),
'application/json'
).
then
(()
=>
{
let
data
=
{
let
data
=
{
"mid"
:
2
,
"mid"
:
2
,
...
@@ -483,19 +479,24 @@
...
@@ -483,19 +479,24 @@
cateId
:
parentsId
,
cateId
:
parentsId
,
grade
:
type
-
1
grade
:
type
-
1
}
}
// $("#jumpSelectOne"+num+"").empty().append(`
<
option
value
=
""
>
请选择
<
/option>`
)
;
// $("#jumpSelectTwo"+num+"").empty().append(`
<
option
value
=
""
>
请选择
<
/option>`
)
;
$
.
ajax
({
$
.
ajax
({
type
:
'post'
,
type
:
'post'
,
url
:
'/goblin/category/filter'
,
url
:
'/goblin/category/filter'
,
data
,
data
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
const
{
data
}
=
res
;
const
{
data
}
=
res
;
let
str
=
''
;
let
str
=
'<option value="">请选择</option>'
;
data
.
forEach
(
item
=>
{
data
.
forEach
(
item
=>
{
if
(
categoryType
)
{
if
(
categoryType
)
{
let
categoryTypeArr
=
categoryType
.
split
(
','
);
let
categoryTypeArr
=
categoryType
.
split
(
','
);
if
(
item
.
cateId
==
categoryTypeArr
[
0
]
||
item
.
cateId
==
categoryTypeArr
[
1
])
{
if
(
item
.
cateId
==
categoryTypeArr
[
0
]
||
item
.
cateId
==
categoryTypeArr
[
1
])
{
str
+=
`<option value="
${
item
.
cateId
}
" selected>
${
item
.
name
}
</option>`
str
+=
`<option value="
${
item
.
cateId
}
" selected>
${
item
.
name
}
</option>`
categoryMethods
(
item
.
cateId
,
num
,
3
,
categoryType
)
if
(
item
.
cateId
!==
categoryTypeArr
[
1
])
{
categoryMethods
(
item
.
cateId
,
num
,
3
,
categoryType
)
}
}
else
{
}
else
{
str
+=
`<option value="
${
item
.
cateId
}
">
${
item
.
name
}
</option>`
str
+=
`<option value="
${
item
.
cateId
}
">
${
item
.
name
}
</option>`
}
}
...
@@ -504,9 +505,9 @@
...
@@ -504,9 +505,9 @@
}
}
})
})
if
(
!
parentsId
)
{
if
(
!
parentsId
)
{
$
(
"#jumpSelectOne"
+
num
+
""
).
append
(
str
);
$
(
"#jumpSelectOne"
+
num
+
""
).
html
(
str
);
}
else
{
}
else
{
$
(
"#jumpSelectTwo"
+
num
+
""
).
append
(
str
);
$
(
"#jumpSelectTwo"
+
num
+
""
).
html
(
str
);
}
}
}
}
})
})
...
@@ -519,6 +520,7 @@
...
@@ -519,6 +520,7 @@
$
(
'.typeSelect'
+
index
+
''
).
show
();
$
(
'.typeSelect'
+
index
+
''
).
show
();
$
(
".titleDiv"
+
index
+
""
).
text
(
'选择分类:'
);
$
(
".titleDiv"
+
index
+
""
).
text
(
'选择分类:'
);
categoryMethods
(
''
,
index
,
2
,
categoryType
)
categoryMethods
(
''
,
index
,
2
,
categoryType
)
$
(
"#jumpSelectTwo"
+
num
+
""
).
html
(
'<option value="">请选择</option>'
);
break
;
break
;
case
'2'
:
case
'2'
:
$
(
'.shwoSelect'
+
index
+
''
).
hide
();
$
(
'.shwoSelect'
+
index
+
''
).
hide
();
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/searchStore.html
View file @
2df59770
...
@@ -143,9 +143,7 @@
...
@@ -143,9 +143,7 @@
hotWordId
=
data
.
hotWordId
;
hotWordId
=
data
.
hotWordId
;
updateTime
=
data
.
updateTime
;
updateTime
=
data
.
updateTime
;
let
hotStr
=
data
.
word
.
split
(
','
);
let
hotStr
=
data
.
word
.
split
(
','
);
console
.
log
(
hotStr
,
'hotStr'
)
for
(
var
i
=
0
;
i
<
hotStr
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
hotStr
.
length
;
i
++
)
{
console
.
log
(
1
,
'1'
)
num
++
num
++
let
str
=
`<div class="tag" id="item
${
num
}
">
${
hotStr
[
i
]}
<span onclick="delTags('
${
num
}
')">x</span></div>`
;
let
str
=
`<div class="tag" id="item
${
num
}
">
${
hotStr
[
i
]}
<span onclick="delTags('
${
num
}
')">x</span></div>`
;
hotArr
.
push
(
hotStr
[
i
])
hotArr
.
push
(
hotStr
[
i
])
...
@@ -181,7 +179,6 @@
...
@@ -181,7 +179,6 @@
"updateTime"
:
updateTime
?
updateTime
:
''
,
"updateTime"
:
updateTime
?
updateTime
:
''
,
"word"
:
hotArr
.
toString
()
"word"
:
hotArr
.
toString
()
}
}
console
.
log
(
data
,
'data222'
)
promiseMethods
(
'/hotWord/updateOrCreate'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
promiseMethods
(
'/hotWord/updateOrCreate'
,
'post'
,
JSON
.
stringify
(
data
),
'application/json'
).
then
(
res
=>
{
layer
.
msg
(
'创建成功!'
)
layer
.
msg
(
'创建成功!'
)
// $.modal.close();
// $.modal.close();
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/topBanner.html
View file @
2df59770
...
@@ -172,7 +172,6 @@
...
@@ -172,7 +172,6 @@
}
}
promiseMethods
(
'/front-index/list'
,
'post'
).
then
(
res
=>
{
promiseMethods
(
'/front-index/list'
,
'post'
).
then
(
res
=>
{
console
.
log
(
res
,
'resp'
)
let
{
data
}
=
res
;
let
{
data
}
=
res
;
data
.
forEach
(
item
=>
{
data
.
forEach
(
item
=>
{
if
(
item
.
moudleName
==
"huDongBanner"
)
{
if
(
item
.
moudleName
==
"huDongBanner"
)
{
...
@@ -184,7 +183,6 @@
...
@@ -184,7 +183,6 @@
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
type
=
unescape
(
r
[
2
]);
type
=
unescape
(
r
[
2
]);
console
.
log
(
type
,
'type'
)
if
(
type
==
2
)
{
if
(
type
==
2
)
{
$
(
"#tall"
).
html
(
''
);
$
(
"#tall"
).
html
(
''
);
$
(
"#tags"
).
hide
();
$
(
"#tags"
).
hide
();
...
@@ -196,7 +194,6 @@
...
@@ -196,7 +194,6 @@
let
data
=
{
let
data
=
{
type
type
}
}
console
.
log
(
data
)
promiseMethods
(
'/frontBanner/list'
,
'post'
,
data
).
then
(
res
=>
{
promiseMethods
(
'/frontBanner/list'
,
'post'
,
data
).
then
(
res
=>
{
let
{
data
}
=
res
;
let
{
data
}
=
res
;
if
(
data
.
length
<=
0
)
{
if
(
data
.
length
<=
0
)
{
...
@@ -451,7 +448,6 @@
...
@@ -451,7 +448,6 @@
// let index = $(e).attr('id').replace(/[^\d]/g,''); // 选中的是第几组
// let index = $(e).attr('id').replace(/[^\d]/g,''); // 选中的是第几组
let
url
=
''
;
let
url
=
''
;
let
type
=
document
.
querySelector
(
'#jumpSelect'
+
(
index
)
+
''
).
value
;
let
type
=
document
.
querySelector
(
'#jumpSelect'
+
(
index
)
+
''
).
value
;
console
.
log
(
type
)
let
idField
=
''
;
let
idField
=
''
;
let
keyField
=
''
;
let
keyField
=
''
;
let
effectiveFields
=
[];
let
effectiveFields
=
[];
...
@@ -491,7 +487,6 @@
...
@@ -491,7 +487,6 @@
}
}
}
}
})
})
console
.
log
(
url
,
dom
,
'url'
)
}
}
function
typeJump
(
jumpType
,
index
)
{
function
typeJump
(
jumpType
,
index
)
{
switch
(
jumpType
.
toString
())
{
switch
(
jumpType
.
toString
())
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/activityList.html
View file @
2df59770
...
@@ -201,7 +201,6 @@
...
@@ -201,7 +201,6 @@
}
}
data
.
status
=
status
;
data
.
status
=
status
;
promiseMethods
(
'/goblin/marketing/zhengzai/status'
,
'post'
,
data
).
then
(
res
=>
{
promiseMethods
(
'/goblin/marketing/zhengzai/status'
,
'post'
,
data
).
then
(
res
=>
{
console
.
log
(
res
,
'res'
)
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
layer
.
msg
(
'修改状态成功!'
)
layer
.
msg
(
'修改状态成功!'
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -217,15 +216,12 @@
...
@@ -217,15 +216,12 @@
$
.
modal
.
openTab
(
name
,
prefix2
+
"/activityStoreList?id="
+
id
+
'&time='
+
time
)
$
.
modal
.
openTab
(
name
,
prefix2
+
"/activityStoreList?id="
+
id
+
'&time='
+
time
)
}
}
function
onCheck
(
row
,
$element
)
{
function
onCheck
(
row
,
$element
)
{
console
.
log
(
row
,
$element
)
rowData
=
row
;
rowData
=
row
;
}
}
function
onCheckAll
(
row
,
$element
)
{
function
onCheckAll
(
row
,
$element
)
{
console
.
log
(
row
,
$element
)
rowData
=
row
;
rowData
=
row
;
}
}
function
yes
(
index
,
layero
)
{
function
yes
(
index
,
layero
)
{
console
.
log
(
index
,
layero
)
}
}
function
del
(
id
,
status
,
notice
)
{
function
del
(
id
,
status
,
notice
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/activityStoreList.html
View file @
2df59770
...
@@ -119,7 +119,6 @@
...
@@ -119,7 +119,6 @@
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
var
r2
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg2
);
var
r2
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg2
);
let
times
=
unescape
(
r2
[
2
])
let
times
=
unescape
(
r2
[
2
])
console
.
log
(
times
)
if
(
r
)
{
if
(
r
)
{
$
(
"#marketId"
).
val
(
unescape
(
r
[
2
]));
$
(
"#marketId"
).
val
(
unescape
(
r
[
2
]));
}
}
...
@@ -167,20 +166,16 @@
...
@@ -167,20 +166,16 @@
});
});
function
onCheck
(
row
,
$element
)
{
function
onCheck
(
row
,
$element
)
{
console
.
log
(
row
,
$element
)
}
}
// function onLoadSuccess (data) {
// function onLoadSuccess (data) {
// console.log(data, 123)
// data = data.data
// data = data.data
// $.table.init();
// $.table.init();
// }
// }
// function responseHandler (data) {
// function responseHandler (data) {
// console.log(data, 1223)
// data = data.data
// data = data.data
// $.table.init();
// $.table.init();
// }
// }
function
goDetail
(
name
,
storeId
,
time
,
marketId
)
{
function
goDetail
(
name
,
storeId
,
time
,
marketId
)
{
console
.
log
(
name
,
storeId
,
time
,
marketId
,
'????'
)
$
.
modal
.
openTab
(
name
,
prefix2
+
"/storeDetail?storeId="
+
storeId
+
'&time='
+
time
+
'&marketId='
+
marketId
+
'&activityName='
+
name
)
$
.
modal
.
openTab
(
name
,
prefix2
+
"/storeDetail?storeId="
+
storeId
+
'&time='
+
time
+
'&marketId='
+
marketId
+
'&activityName='
+
name
)
}
}
$
(
"#button-open-11"
).
click
(
function
(){
$
(
"#button-open-11"
).
click
(
function
(){
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/addNewActivity.html
View file @
2df59770
...
@@ -152,14 +152,12 @@
...
@@ -152,14 +152,12 @@
common
();
common
();
if
(
r
)
{
if
(
r
)
{
marketId
=
unescape
(
r
[
2
]);
marketId
=
unescape
(
r
[
2
]);
console
.
log
(
marketId
,
'取到没'
)
let
data
=
{
let
data
=
{
marketId
marketId
}
}
let
searchActivity
=
promiseMethods
(
'/goblin/marketing/zhengzai/details'
,
'post'
,
data
);
let
searchActivity
=
promiseMethods
(
'/goblin/marketing/zhengzai/details'
,
'post'
,
data
);
let
searchActivityStore
=
promiseMethods
(
'/goblin/marketing/zhengzai/store/list'
,
'post'
,
data
);
let
searchActivityStore
=
promiseMethods
(
'/goblin/marketing/zhengzai/store/list'
,
'post'
,
data
);
Promise
.
all
([
searchActivity
,
searchActivityStore
]).
then
(
res
=>
{
Promise
.
all
([
searchActivity
,
searchActivityStore
]).
then
(
res
=>
{
console
.
log
(
res
,
'res'
)
let
basisData
=
res
[
0
];
let
basisData
=
res
[
0
];
let
{
data
}
=
res
[
1
];
let
{
data
}
=
res
[
1
];
editDatas
=
data
.
length
;
editDatas
=
data
.
length
;
...
@@ -208,12 +206,10 @@
...
@@ -208,12 +206,10 @@
let
data
=
{};
let
data
=
{};
data
.
value
=
json
.
rows
;
data
.
value
=
json
.
rows
;
return
data
return
data
// console.log(json, 'json')
}
}
});
});
}
}
function
addItem
(
item
)
{
function
addItem
(
item
)
{
console
.
log
(
item
)
count
++
;
count
++
;
let
body
=
''
;
let
body
=
''
;
if
(
item
)
{
if
(
item
)
{
...
@@ -304,7 +300,6 @@
...
@@ -304,7 +300,6 @@
// }
// }
})
})
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
=>
{
$
.
operate
.
successCallback
(
res
);
$
.
operate
.
successCallback
(
res
);
})
})
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/selectGoddsTab.html
View file @
2df59770
...
@@ -165,10 +165,8 @@
...
@@ -165,10 +165,8 @@
$
(
"button[name=refresh]"
).
click
()
$
(
"button[name=refresh]"
).
click
()
})
})
function
onCheck
(
row
,
$element
)
{
function
onCheck
(
row
,
$element
)
{
console
.
log
(
row
,
$element
)
}
}
function
yes
(
index
,
layero
)
{
function
yes
(
index
,
layero
)
{
console
.
log
(
index
,
layero
)
}
}
</script>
</script>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/setGoodsRole.html
View file @
2df59770
...
@@ -88,7 +88,6 @@
...
@@ -88,7 +88,6 @@
type
:
'get'
,
type
:
'get'
,
// contentType: 'application/json',
// contentType: 'application/json',
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
params
)
let
column
=
[
let
column
=
[
// {
// {
// field: 'valFace',
// field: 'valFace',
...
@@ -201,7 +200,6 @@
...
@@ -201,7 +200,6 @@
data
:
datas
,
data
:
datas
,
columns
:
column
columns
:
column
};
};
console
.
log
(
options
)
$
.
table
.
init
(
options
);
$
.
table
.
init
(
options
);
}
}
...
@@ -252,7 +250,6 @@
...
@@ -252,7 +250,6 @@
}
}
function
submitHandler
()
{
function
submitHandler
()
{
var
data
=
$
(
"#"
+
table
.
options
.
id
).
bootstrapTable
(
'getData'
);
var
data
=
$
(
"#"
+
table
.
options
.
id
).
bootstrapTable
(
'getData'
);
console
.
log
(
data
,
'data'
)
}
}
/* 查询表格所有数据值 */
/* 查询表格所有数据值 */
function
getData
(){
function
getData
(){
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/storeDetail.html
View file @
2df59770
...
@@ -263,7 +263,6 @@
...
@@ -263,7 +263,6 @@
}
}
}]
}]
};
};
console
.
log
(
options
,
'options'
)
$
.
table
.
init
(
options
);
$
.
table
.
init
(
options
);
}
}
})
})
...
@@ -279,11 +278,9 @@
...
@@ -279,11 +278,9 @@
}
}
function
setGoodsRole
(
marketId
,
storeId
,
marketSpuId
)
{
function
setGoodsRole
(
marketId
,
storeId
,
marketSpuId
)
{
let
url
=
prefix2
+
'/setGoodsRole?marketId='
+
marketId
+
'&storeId='
+
storeId
+
'&marketSpuId='
+
marketSpuId
;
let
url
=
prefix2
+
'/setGoodsRole?marketId='
+
marketId
+
'&storeId='
+
storeId
+
'&marketSpuId='
+
marketSpuId
;
console
.
log
(
url
)
$
.
modal
.
open
(
"标题内容"
,
url
,
'1280'
,
'680'
);
$
.
modal
.
open
(
"标题内容"
,
url
,
'1280'
,
'680'
);
}
}
function
onCheck
(
row
,
$element
)
{
function
onCheck
(
row
,
$element
)
{
console
.
log
(
row
,
$element
)
}
}
function
delItem
(
marketId
,
storeId
,
marketSpuId
)
{
function
delItem
(
marketId
,
storeId
,
marketSpuId
)
{
$
.
ajax
({
$
.
ajax
({
...
@@ -295,14 +292,12 @@
...
@@ -295,14 +292,12 @@
skuId
:
marketSpuId
skuId
:
marketSpuId
},
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
)
refreshItem
()
refreshItem
()
}
}
})
})
}
}
function
selectGoodsTab
()
{
function
selectGoodsTab
()
{
let
url
=
prefix2
+
'/selectGoddsTab'
let
url
=
prefix2
+
'/selectGoddsTab'
console
.
log
(
url
)
$
.
modal
.
open
(
"选择商品"
,
url
,
'1280'
,
'680'
);
$
.
modal
.
open
(
"选择商品"
,
url
,
'1280'
,
'680'
);
}
}
</script>
</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