Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projecttwo
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
wangtao
projecttwo
Commits
4365c1b3
Commit
4365c1b3
authored
Jun 03, 2025
by
wangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管理后台 看板
parent
d994396c
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
67 additions
and
15 deletions
+67
-15
index.html
app/admin/view/caiwu/withdrawal/index.html
+2
-2
index.html
app/admin/view/course/course/index.html
+1
-1
index.html
app/admin/view/index/index.html
+1
-1
index.html
app/admin/view/project/project/index.html
+1
-1
index.html
app/admin/view/users/business/index.html
+1
-1
index.html
app/admin/view/users/school/index.html
+1
-1
ShCourse.php
app/api/controller/manage/ShCourse.php
+9
-7
ShCourse.php
app/model/ShCourse.php
+5
-0
app.php
config/app.php
+1
-1
echarts.min.js
public/static/admin/echarts.min.js
+45
-0
No files found.
app/admin/view/caiwu/withdrawal/index.html
View file @
4365c1b3
...
...
@@ -21,7 +21,7 @@
<div
class=
"layui-inline"
style=
"width:150px;"
>
<select
name=
"sh_status"
id=
"statusselect-tixian"
>
<option
value=
"-1"
>
审核状态
</option>
<option
value=
"0"
{
php
}
if
(
input
('
sh_status
')
==
0
){
echo
'
selected
';}{/
php
}
>
待审核
</option>
<option
value=
"0"
{
php
}
if
(
input
('
sh_status
')
==
=
'
0
'
){
echo
'
selected
';}{/
php
}
>
待审核
</option>
<option
value=
"1"
{
php
}
if
(
input
('
sh_status
')
==
1
){
echo
'
selected
';}{/
php
}
>
审核失败
</option>
<option
value=
"2"
{
php
}
if
(
input
('
sh_status
')
==
2
){
echo
'
selected
';}{/
php
}
>
审核通过
</option>
</select>
...
...
@@ -30,7 +30,7 @@
<div
class=
"layui-inline"
style=
"width:150px;"
>
<select
name=
"dk_status"
id=
"dkstatusselect-tixian"
>
<option
value=
"-1"
>
打款状态
</option>
<option
value=
"0"
{
php
}
if
(
input
('
dk_status
')
==
0
){
echo
'
selected
';}{/
php
}
>
未打款
</option>
<option
value=
"0"
{
php
}
if
(
input
('
dk_status
')
==
=
'
0
'
){
echo
'
selected
';}{/
php
}
>
未打款
</option>
<option
value=
"1"
{
php
}
if
(
input
('
dk_status
')
==
1
){
echo
'
selected
';}{/
php
}
>
打款中
</option>
<option
value=
"2"
{
php
}
if
(
input
('
dk_status
')
==
2
){
echo
'
selected
';}{/
php
}
>
打款失败
</option>
<option
value=
"3"
{
php
}
if
(
input
('
dk_status
')
==
3
){
echo
'
selected
';}{/
php
}
>
已打款
</option>
...
...
app/admin/view/course/course/index.html
View file @
4365c1b3
...
...
@@ -31,7 +31,7 @@
<div
class=
"layui-inline"
style=
"width:150px;"
>
<select
name=
"status"
id=
"statusselect"
>
<option
value=
"-1"
>
审核状态
</option>
<option
value=
"0"
{
php
}
if
(
input
('
status
')
==
0
){
echo
'
selected
';}{/
php
}
>
待提交
</option>
<option
value=
"0"
{
php
}
if
(
input
('
status
')
==
=
'
0
'
){
echo
'
selected
';}{/
php
}
>
待提交
</option>
<option
value=
"1"
{
php
}
if
(
input
('
status
')
==
1
){
echo
'
selected
';}{/
php
}
>
待审核
</option>
<option
value=
"2"
{
php
}
if
(
input
('
status
')
==
2
){
echo
'
selected
';}{/
php
}
>
审核失败
</option>
<option
value=
"3"
{
php
}
if
(
input
('
status
')
==
3
){
echo
'
selected
';}{/
php
}
>
审核成功
</option>
...
...
app/admin/view/index/index.html
View file @
4365c1b3
...
...
@@ -95,6 +95,6 @@ layui.config({
});
});
</script>
<script
src=
"
https://cdn.jsdelivr.net/npm/echarts@5.6.0/dist
/echarts.min.js"
></script>
<script
src=
"
{STATIC__PATH}/admin
/echarts.min.js"
></script>
</body>
</html>
\ No newline at end of file
app/admin/view/project/project/index.html
View file @
4365c1b3
...
...
@@ -32,7 +32,7 @@
<div
class=
"layui-inline"
style=
"width:150px;"
>
<select
name=
"sh_status"
id=
"statusselect-project"
>
<option
value=
""
>
审核状态
</option>
<option
value=
"0"
{
php
}
if
(
input
('
sh_status
')
==
0
){
echo
'
selected
';}{/
php
}
>
审核中
</option>
<option
value=
"0"
{
php
}
if
(
input
('
sh_status
')
==
=
'
0
'
){
echo
'
selected
';}{/
php
}
>
审核中
</option>
<option
value=
"1"
{
php
}
if
(
input
('
sh_status
')
==
1
){
echo
'
selected
';}{/
php
}
>
审核失败
</option>
<option
value=
"2"
{
php
}
if
(
input
('
sh_status
')
==
2
){
echo
'
selected
';}{/
php
}
>
审核通过
</option>
</select>
...
...
app/admin/view/users/business/index.html
View file @
4365c1b3
...
...
@@ -17,7 +17,7 @@
<option
value=
"-1"
>
审核状态
</option>
<option
value=
"1"
{
php
}
if
(
input
('
status
')
==
1
){
echo
'
selected
';}{/
php
}
>
审核通过
</option>
<option
value=
"2"
{
php
}
if
(
input
('
status
')
==
2
){
echo
'
selected
';}{/
php
}
>
审核失败
</option>
<option
value=
"0"
{
php
}
if
(
input
('
status
')
==
0
){
echo
'
selected
';}{/
php
}
>
待审核
</option>
<option
value=
"0"
{
php
}
if
(
input
('
status
')
==
=
'
0
'
){
echo
'
selected
';}{/
php
}
>
待审核
</option>
</select>
</div>
...
...
app/admin/view/users/school/index.html
View file @
4365c1b3
...
...
@@ -17,7 +17,7 @@
<option
value=
"-1"
>
审核状态
</option>
<option
value=
"1"
{
php
}
if
(
input
('
status
')
==
1
){
echo
'
selected
';}{/
php
}
>
审核通过
</option>
<option
value=
"2"
{
php
}
if
(
input
('
status
')
==
2
){
echo
'
selected
';}{/
php
}
>
审核失败
</option>
<option
value=
"0"
{
php
}
if
(
input
('
status
')
==
0
){
echo
'
selected
';}{/
php
}
>
待审核
</option>
<option
value=
"0"
{
php
}
if
(
input
('
status
')
==
=
'
0
'
){
echo
'
selected
';}{/
php
}
>
待审核
</option>
</select>
</div>
...
...
app/api/controller/manage/ShCourse.php
View file @
4365c1b3
...
...
@@ -22,16 +22,17 @@ class ShCourse extends BaseController
public
function
getShCourseList
(
Request
$request
)
{
$parm
=
$request
->
param
();
$where
=
[
'is_del'
=>
0
,
'user_id'
=>
$request
->
userId
];
$where
=
[
'
sh_course.
is_del'
=>
0
,
'user_id'
=>
$request
->
userId
];
$map
=
[];
if
(
isset
(
$parm
[
'searchKeyWords'
])
&&
$parm
[
'searchKeyWords'
])
{
$map
[]
=
[
'title'
,
'like'
,
'%'
.
$parm
[
'searchKeyWords'
]
.
'%'
];
}
if
(
isset
(
$parm
[
'status'
])
&&
$parm
[
'status'
])
{
if
(
isset
(
$parm
[
'status'
])
&&
$parm
[
'status'
]
||
$parm
[
'status'
]
===
'0'
)
{
$map
[]
=
[
'status'
,
'='
,
$parm
[
'status'
]];
}
if
(
isset
(
$parm
[
'cate_id'
])
&&
$parm
[
'cate_id'
])
{
$map
[]
=
[
'cate_id'
,
'='
,
$parm
[
'cate_id'
]];
$hasmap
=
[];
if
(
isset
(
$parm
[
'cate_name'
])
&&
$parm
[
'cate_name'
])
{
$hasmap
[]
=
[
'course_category.title'
,
'like'
,
'%'
.
$parm
[
'cate_name'
]
.
'%'
];
}
if
(
isset
(
$parm
[
'start_time'
])
&&
$parm
[
'start_time'
]
&&
isset
(
$parm
[
'end_time'
])
&&
$parm
[
'end_time'
])
{
...
...
@@ -43,10 +44,11 @@ class ShCourse extends BaseController
$page
=
$request
->
param
(
'page'
,
1
);
$pageSize
=
$request
->
param
(
'pageSize'
,
10
);
$list
=
ShCourseModel
::
where
(
$where
)
->
where
(
$map
)
->
field
(
'
id,title,createtime,thumb,tag_ids,price,status,is_sell,is_de
l,tvclick,click,cate_id,teacher_id'
)
$list
=
ShCourseModel
::
where
(
$where
)
->
where
(
$map
)
->
hasWhere
(
'coursecatedata'
,
$hasmap
)
->
field
(
'
sh_course.id,sh_course.title,sh_course.createtime,sh_course.thumb,tag_ids,price,status,is_sel
l,tvclick,click,cate_id,teacher_id'
)
->
order
(
'createtime desc'
)
->
append
([
'thumbpath'
,
'cate_name'
,
'teacher_name'
,
'status_text'
])
->
with
([
'coursecatedata'
])
->
append
([
'thumbpath'
,
'teacher_name'
,
'status_text'
])
->
paginate
([
'page'
=>
$page
,
'list_rows'
=>
$pageSize
...
...
app/model/ShCourse.php
View file @
4365c1b3
...
...
@@ -94,6 +94,11 @@ class ShCourse extends Model
return
$selltext
;
}
public
function
coursecatedata
()
{
return
$this
->
hasOne
(
CourseCategory
::
class
,
'id'
,
'cate_id'
)
->
field
(
'id,title'
);
}
}
\ No newline at end of file
config/app.php
View file @
4365c1b3
...
...
@@ -32,5 +32,5 @@ return [
'error_message'
=>
'页面错误!请稍后再试~'
,
// 显示错误信息
'show_error_msg'
=>
false
,
'file_http_url'
=>
'http://192.168.4.2
8
:8082'
,
'file_http_url'
=>
'http://192.168.4.2
9
:8082'
,
];
\ No newline at end of file
public/static/admin/echarts.min.js
0 → 100644
View file @
4365c1b3
This diff is collapsed.
Click to expand it.
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