记得上下班打卡 | 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
1deac058
Commit
1deac058
authored
Feb 22, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_goblin' into dev_goblin
parents
9b468a11
994aa8f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
category.html
...esources/templates/zhengzai/goblin/category/category.html
+4
-4
info.html
.../main/resources/templates/zhengzai/goblin/store/info.html
+16
-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 @
1deac058
...
@@ -145,14 +145,14 @@
...
@@ -145,14 +145,14 @@
<span><em style="color:red">*</em>一级分类:</span>
<span><em style="color:red">*</em>一级分类:</span>
<input class="form-control" id="firstTypeIpt" type="text">
<input class="form-control" id="firstTypeIpt" type="text">
<select class="form-control" name="tagType" id="firstTypeSelect" style="display: none;">
<select class="form-control" name="tagType" id="firstTypeSelect" style="display: none;">
<option value="">全部</option>
<option value=""
style="display: none;"
>全部</option>
</select>
</select>
</div>
</div>
<div class="selectClassifyOne selectClassifyOne2" style="display: none;">
<div class="selectClassifyOne selectClassifyOne2" style="display: none;">
<span><em style="color:red">*</em>二级分类:</span>
<span><em style="color:red">*</em>二级分类:</span>
<input class="form-control" id="secondTypeIpt" type="text">
<input class="form-control" id="secondTypeIpt" type="text">
<select class="form-control" name="tagType" id="secondTypeSelect">
<select class="form-control" name="tagType" id="secondTypeSelect">
<option value="">全部</option>
<option value=""
style="display: none;"
>全部</option>
</select>
</select>
</div>
</div>
<div class="selectClassifyOne selectClassifyOne3" style="display: none;">
<div class="selectClassifyOne selectClassifyOne3" style="display: none;">
...
@@ -363,10 +363,10 @@
...
@@ -363,10 +363,10 @@
str
+=
`<option value="
${
item
.
cateId
}
">
${
item
.
name
}
</option>`
str
+=
`<option value="
${
item
.
cateId
}
">
${
item
.
name
}
</option>`
})
})
if
(
!
parentsId
)
{
if
(
!
parentsId
)
{
$
(
"#firstTypeSelect"
).
empty
().
append
(
'<option value="">全部</option>'
);
$
(
"#firstTypeSelect"
).
empty
().
append
(
'<option value=""
style="display: none;"
>全部</option>'
);
$
(
"#firstTypeSelect"
).
append
(
str
);
$
(
"#firstTypeSelect"
).
append
(
str
);
}
else
{
}
else
{
$
(
"#secondTypeSelect"
).
empty
().
append
(
'<option value="">全部</option>'
);
$
(
"#secondTypeSelect"
).
empty
().
append
(
'<option value=""
style="display: none;"
>全部</option>'
);
$
(
"#secondTypeSelect"
).
append
(
str
);
$
(
"#secondTypeSelect"
).
append
(
str
);
}
}
}
}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/store/info.html
View file @
1deac058
...
@@ -201,8 +201,8 @@
...
@@ -201,8 +201,8 @@
</div> -->
</div> -->
</div>
</div>
<div
class=
"content_footer"
>
<div
class=
"content_footer"
>
<button
class=
"btn btn-primary"
onclick=
"auditAccept()"
>
审核通过
</button>
<button
class=
"btn btn-primary"
type=
"button"
onclick=
"auditAccept()"
>
审核通过
</button>
<button
class=
"btn btn-danger"
style=
"margin: 0 12px"
onclick=
"auditReject()"
>
驳回
</button>
<button
class=
"btn btn-danger"
type=
"button"
style=
"margin: 0 12px"
onclick=
"auditReject()"
>
驳回
</button>
<input
id=
"reason"
class=
"form-control"
placeholder=
"请输入驳回原因"
type=
"text"
>
<input
id=
"reason"
class=
"form-control"
placeholder=
"请输入驳回原因"
type=
"text"
>
</div>
</div>
</form>
</form>
...
@@ -237,14 +237,21 @@
...
@@ -237,14 +237,21 @@
// var r = window.location.search.substr(1).match(reg);
// var r = window.location.search.substr(1).match(reg);
// console.log(r, storeId, '取到没')
// console.log(r, storeId, '取到没')
let
storeId
=
storeInfo
.
storeId
;
let
storeId
=
storeInfo
.
storeId
;
if
(
storeInfo
.
status
==
3
||
storeInfo
.
status
==
2
)
{
$
(
".content_footer"
).
hide
();
}
/* 店铺审核:通过 */
/* 店铺审核:通过 */
function
auditAccept
()
{
function
auditAccept
()
{
if
(
!
acceptFlg
)
{
if
(
!
acceptFlg
)
{
$
.
modal
.
confirm
(
"确认要通过该店铺申请吗?"
,
function
()
{
$
.
modal
.
confirm
(
"确认要通过该店铺申请吗?"
,
function
()
{
$
.
operate
.
post
(
prefix
+
"/audit/accept"
,
{
"storeId"
:
storeId
});
$
.
operate
.
post
(
prefix
+
"/audit/accept"
,
{
"storeId"
:
storeId
},
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
code
==
0
)
{
$
(
".content_footer"
).
hide
();
}
});
});
});
}
}
}
}
...
@@ -256,7 +263,11 @@
...
@@ -256,7 +263,11 @@
if
(
!
value
)
{
if
(
!
value
)
{
return
layer
.
msg
(
'请填写原因!'
)
return
layer
.
msg
(
'请填写原因!'
)
}
}
$
.
operate
.
post
(
prefix
+
"/audit/reject"
,
{
"storeId"
:
storeId
,
"reason"
:
value
});
$
.
operate
.
post
(
prefix
+
"/audit/reject"
,
{
"storeId"
:
storeId
,
"reason"
:
value
},
function
(
res
)
{
if
(
res
.
code
==
0
)
{
$
(
".content_footer"
).
hide
();
}
});
}
}
}
}
...
...
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