Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
da7cbc08
Commit
da7cbc08
authored
Feb 25, 2019
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
看铺数量
parent
6b7441bf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
LookShop.php
application/index/controller/LookShop.php
+1
-1
TLookShopModel.php
application/model/TLookShopModel.php
+1
-1
shopInspectionLog.js
public/resource/js/shopInspectionLog.js
+1
-1
No files found.
application/index/controller/LookShop.php
View file @
da7cbc08
...
@@ -39,7 +39,7 @@ class LookShop extends Basic
...
@@ -39,7 +39,7 @@ class LookShop extends Basic
);*/
);*/
$pageNo
=
empty
(
$params
[
'page_no'
])
?
1
:
$params
[
'page_no'
];
$pageNo
=
empty
(
$params
[
'page_no'
])
?
1
:
$params
[
'page_no'
];
$pageSize
=
empty
(
$params
[
'page_size'
])
?
1
5
:
$params
[
'page_size'
];
$pageSize
=
empty
(
$params
[
'page_size'
])
?
2
5
:
$params
[
'page_size'
];
$condition
=
[];
$condition
=
[];
if
(
!
empty
(
$params
[
"start_time"
])
&&
!
empty
(
$params
[
"end_time"
]))
{
if
(
!
empty
(
$params
[
"start_time"
])
&&
!
empty
(
$params
[
"end_time"
]))
{
...
...
application/model/TLookShopModel.php
View file @
da7cbc08
...
@@ -44,7 +44,7 @@ class TLookShopModel extends Model
...
@@ -44,7 +44,7 @@ class TLookShopModel extends Model
->
where
(
$condition
)
->
where
(
$condition
)
->
page
(
$pageNo
)
->
page
(
$pageNo
)
->
limit
(
$pageSize
)
->
limit
(
$pageSize
)
->
order
(
"look_time
desc"
)
//->order("id
desc")
->
select
();
->
select
();
}
}
public
function
getListCount
(
$condition
,
$field
)
public
function
getListCount
(
$condition
,
$field
)
...
...
public/resource/js/shopInspectionLog.js
View file @
da7cbc08
...
@@ -2,7 +2,7 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
...
@@ -2,7 +2,7 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
shoplog
=
{
shoplog
=
{
pageNo
:
1
,
pageNo
:
1
,
/*第几页*/
/*第几页*/
pageSize
:
10
,
pageSize
:
25
,
/*每页显示多少条*/
/*每页显示多少条*/
id
:
''
,
id
:
''
,
house_id
:
''
,
house_id
:
''
,
...
...
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