Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac-quanmin
Overview
Overview
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
HTML5-李恒逸
sunac-quanmin
Commits
4ff7fd4f
Commit
4ff7fd4f
authored
Jun 14, 2017
by
html5-李恒逸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回车搜索
parent
f05e9569
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
index.php
html/application/views/admin/building/index.php
+6
-2
distributor.php
html/application/views/admin/sales/distributor.php
+1
-1
index.php
html/application/views/admin/sales/index.php
+8
-4
No files found.
html/application/views/admin/building/index.php
View file @
4ff7fd4f
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
<option
value=
"1"
<?php
echo
$con_arr
[
1
]
==
1
?
'selected="selected"'
:
''
;
?>
>
已删除
</option>
<option
value=
"1"
<?php
echo
$con_arr
[
1
]
==
1
?
'selected="selected"'
:
''
;
?>
>
已删除
</option>
</select>
</select>
关键字:
关键字:
<input
type=
"text"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
!
empty
(
$con_arr
[
2
])
&&
$con_arr
[
2
]
!=
"NULL"
?
urldecode
(
$con_arr
[
2
])
:
""
;
?>
"
id=
"keywords"
>
<input
type=
"text"
class=
"form-control input-inline input-small"
onkeypress=
"EnterPress()"
value=
"
<?php
echo
!
empty
(
$con_arr
[
2
])
&&
$con_arr
[
2
]
!=
"NULL"
?
urldecode
(
$con_arr
[
2
])
:
""
;
?>
"
id=
"keywords"
>
<button
type=
"submit"
class=
"btn blue"
id=
"search"
>
搜索
</button>
<button
type=
"submit"
class=
"btn blue"
id=
"search"
>
搜索
</button>
<button
type=
"reset"
class=
"btn blue"
id=
"reset"
>
清空
</button>
<button
type=
"reset"
class=
"btn blue"
id=
"reset"
>
清空
</button>
<input
type=
"hidden"
value=
"
<?php
echo
isset
(
$condition
)
?
$condition
:
''
?>
"
id=
's_keywords'
>
<input
type=
"hidden"
value=
"
<?php
echo
isset
(
$condition
)
?
$condition
:
''
?>
"
id=
's_keywords'
>
...
@@ -137,7 +137,11 @@
...
@@ -137,7 +137,11 @@
optInit
[
'prev_text'
]
=
"上一页"
;
optInit
[
'prev_text'
]
=
"上一页"
;
$
(
".pagination"
).
pagination
(
_total
,
optInit
);
$
(
".pagination"
).
pagination
(
_total
,
optInit
);
});
});
function
EnterPress
(){
if
(
event
.
keyCode
==
13
){
$
(
'#search'
).
trigger
(
'click'
);
}
}
function
pageselectCallback
(
page_index
,
jq
){
function
pageselectCallback
(
page_index
,
jq
){
<?php
if
(
isset
(
$ad
)
&&
$ad
==
"ad"
){
<?php
if
(
isset
(
$ad
)
&&
$ad
==
"ad"
){
echo
"_condition = 'ad';"
;
echo
"_condition = 'ad';"
;
...
...
html/application/views/admin/sales/distributor.php
View file @
4ff7fd4f
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
分销商标识:
分销商标识:
<input
type=
"text"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
isset
(
$con_arr
[
'uniqid_id'
])
?
$con_arr
[
'uniqid_id'
]
:
""
;
?>
"
id=
"uniqid_id"
name=
"uniqid_id"
>
<input
type=
"text"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
isset
(
$con_arr
[
'uniqid_id'
])
?
$con_arr
[
'uniqid_id'
]
:
""
;
?>
"
id=
"uniqid_id"
name=
"uniqid_id"
>
<button
type=
"submit"
class=
"btn blue"
id=
"search"
>
搜索
</button>
<button
type=
"submit"
class=
"btn blue"
id=
"search"
>
搜索
</button>
<a
class=
"btn blue"
href=
"
<?php
echo
site_url
(
'admin/
manageradmin/index
'
);
?>
"
>
清空
</a>
<a
class=
"btn blue"
href=
"
<?php
echo
site_url
(
'admin/
distributionadmin/distributor
'
);
?>
"
>
清空
</a>
</form>
</form>
</div>
</div>
<table
class=
"table table-striped table-hover table-bordered"
>
<table
class=
"table table-striped table-hover table-bordered"
>
...
...
html/application/views/admin/sales/index.php
View file @
4ff7fd4f
...
@@ -51,11 +51,11 @@
...
@@ -51,11 +51,11 @@
?>
?>
</select>
</select>
楼盘名称:
楼盘名称:
<input
type=
"text"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
!
empty
(
$con_arr
[
1
])
&&
$con_arr
[
1
]
!=
"NULL"
?
urldecode
(
$con_arr
[
1
])
:
""
;
?>
"
id=
"building_title"
>
<input
type=
"text"
onkeypress=
"EnterPress()"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
!
empty
(
$con_arr
[
1
])
&&
$con_arr
[
1
]
!=
"NULL"
?
urldecode
(
$con_arr
[
1
])
:
""
;
?>
"
id=
"building_title"
>
姓名:
姓名:
<input
type=
"text"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
!
empty
(
$con_arr
[
2
])
&&
$con_arr
[
2
]
!=
"NULL"
?
urldecode
(
$con_arr
[
2
])
:
""
;
?>
"
id=
"customer_user"
>
<input
type=
"text"
onkeypress=
"EnterPress()"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
!
empty
(
$con_arr
[
2
])
&&
$con_arr
[
2
]
!=
"NULL"
?
urldecode
(
$con_arr
[
2
])
:
""
;
?>
"
id=
"customer_user"
>
联系电话:
联系电话:
<input
type=
"text"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
!
empty
(
$con_arr
[
3
])
&&
$con_arr
[
3
]
!=
"NULL"
?
$con_arr
[
3
]
:
""
;
?>
"
id=
"customer_mobile"
>
<input
type=
"text"
onkeypress=
"EnterPress()"
class=
"form-control input-inline input-small"
value=
"
<?php
echo
!
empty
(
$con_arr
[
3
])
&&
$con_arr
[
3
]
!=
"NULL"
?
$con_arr
[
3
]
:
""
;
?>
"
id=
"customer_mobile"
>
<div
style=
'margin-top:5px;'
></div>
<div
style=
'margin-top:5px;'
></div>
类型:
类型:
<select
class=
"form-control input-inline"
name=
"recommend_status"
id=
"recommend_status"
>
<select
class=
"form-control input-inline"
name=
"recommend_status"
id=
"recommend_status"
>
...
@@ -149,7 +149,11 @@
...
@@ -149,7 +149,11 @@
+
"_"
+
$
(
"#customer_mobile"
).
val
()
+
"_"
+
$
(
"#recommend_status"
).
val
()
+
"_"
+
$
(
'#user_source'
).
val
();
+
"_"
+
$
(
"#customer_mobile"
).
val
()
+
"_"
+
$
(
"#recommend_status"
).
val
()
+
"_"
+
$
(
'#user_source'
).
val
();
});
});
});
});
function
EnterPress
(){
if
(
event
.
keyCode
==
13
){
$
(
'#search'
).
trigger
(
'click'
);
}
}
var
_total
=
<?php
echo
isset
(
$count
)
&&
$count
>
0
?
$count
:
0
;
?>
,
var
_total
=
<?php
echo
isset
(
$count
)
&&
$count
>
0
?
$count
:
0
;
?>
,
_condition
=
'
<?php
echo
isset
(
$condition
)
?
$condition
:
""
;
?>
'
,
_condition
=
'
<?php
echo
isset
(
$condition
)
?
$condition
:
""
;
?>
'
,
_page_no
=
1
,
_page_no
=
1
,
...
...
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