Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c94d225f
authored
Jul 26, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
复审罗盘
parent
2cf543c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
app/Http/Services/SupplierStatisticsService.php
config/fixed.php
resources/views/web/supplier/SupplierListFilter.blade.php
app/Http/Services/SupplierStatisticsService.php
View file @
c94d225f
...
...
@@ -20,8 +20,8 @@ class SupplierStatisticsService
return
$result
;
}
$total
=
$this
->
getStatisticsCount
(
'all'
);
//
//待复审
//
$needReview = $this->getStatisticsCount('need_review');
//待复审
$needReview
=
$this
->
getStatisticsCount
(
'need_review'
);
// //待提审
// $pending = $this->getStatisticsCount('pending');
// //审核中
...
...
@@ -62,7 +62,7 @@ class SupplierStatisticsService
//缺少品质协议(线上)
$result
=
[
'total'
=>
$total
,
//
'need_review' => $needReview,
'need_review'
=>
$needReview
,
// 'pending' => $pending,
// 'in_review' => $inReview,
// 'passed' => $passed,
...
...
@@ -131,4 +131,4 @@ class SupplierStatisticsService
}
return
$filter
->
defaultFilter
(
$model
,
$type
)
->
count
();
}
}
\ No newline at end of file
}
config/fixed.php
View file @
c94d225f
...
...
@@ -220,7 +220,7 @@ return [
'CompassMenuMap'
=>
[
'total'
=>
'全部'
,
// 'pending' => '待提审',
//
'need_review' => '待复审',
'need_review'
=>
'待复审'
,
// 'in_review' => '审核中',
// 'draft' => '草稿',
// 'passed' => '已通过',
...
...
resources/views/web/supplier/SupplierListFilter.blade.php
View file @
c94d225f
...
...
@@ -144,6 +144,11 @@
</a>
</div>
@endif
<div
class=
"layui-row"
>
<a
class=
"main_filter"
title=
"待复审"
id=
"need_review"
>
待复审
</a>
</div>
</div>
<div
class=
"split-item"
id=
"s7"
style=
"text-align: center"
>
<div
class=
"layui-row"
>
...
...
@@ -284,4 +289,4 @@
</div>
</form>
@endif
</div>
\ No newline at end of file
</div>
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