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
dd174560
Commit
dd174560
authored
Nov 14, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pk修改
parent
b1e7d175
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
23 deletions
+19
-23
pkListCon.html
application/index/view/pkList/pkListCon.html
+11
-2
pkList.js
public/resource/js/pkList.js
+8
-21
No files found.
application/index/view/pkList/pkListCon.html
View file @
dd174560
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
margin-left
:
60px
;
margin-left
:
60px
;
background-color
:
#4F66C3
;
background-color
:
#4F66C3
;
color
:
#fff
;
color
:
#fff
;
cursor
:
pointer
;
}
}
.pk-container-detail-a
{
.pk-container-detail-a
{
margin
:
10px
0
;
margin
:
10px
0
;
...
@@ -178,8 +179,16 @@
...
@@ -178,8 +179,16 @@
<span
class=
"a-span ld-Marheight"
data-id=
'24'
>
X
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'24'
>
X
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'25'
>
Y
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'25'
>
Y
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'26'
>
Z
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'26'
>
Z
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'27'
>
Z1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'27'
>
A1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'28'
>
B1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'29'
>
C1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'30'
>
D1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'31'
>
E1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'32'
>
F1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'33'
>
G1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'34'
>
H1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'35'
>
I1
</span>
<span
class=
"a-span ld-Marheight"
data-id=
'36'
>
J1
</span>
</div>
</div>
<div
class=
"pk_list_content"
>
<div
class=
"pk_list_content"
>
<table
id=
"pk_list"
class=
"table"
>
<table
id=
"pk_list"
class=
"table"
>
...
...
public/resource/js/pkList.js
View file @
dd174560
...
@@ -53,27 +53,17 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
...
@@ -53,27 +53,17 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
$
(
"#pk_list"
).
html
(
doTtmpl
(
pkList
.
mainTabArr
[
pkList
.
mainTabIndexTwo
]));
$
(
"#pk_list"
).
html
(
doTtmpl
(
pkList
.
mainTabArr
[
pkList
.
mainTabIndexTwo
]));
});
});
$
(
"
#export
"
).
click
(
function
()
{
//导出列表
$
(
"
.export-pk
"
).
click
(
function
()
{
//导出列表
pkList
.
exportList
();
pkList
.
exportList
();
});
});
},
},
// 导出列表
//pk导出列表
exportList
:
function
(
pageNo
)
{
exportList
:
function
()
{
console
.
log
(
2
);
var
params
=
{};
follow
.
pageNo
=
pageNo
;
var
position
=
pkList
.
mainTabIndex
;
var
params
=
{};
var
AuthToken
=
user_info_obj
.
AuthToken
;
var
excel_two
=
1
;
window
.
open
(
'/index/exportReport?'
+
var
user_name
=
$
.
trim
(
$
(
'#customer_name'
).
val
());
'position='
+
position
+
'&AuthToken='
+
AuthToken
);
var
start_time
=
$
(
'#start_date'
).
val
();
var
end_time
=
$
(
'#end_date'
).
val
();
var
internal_title
=
$
(
'#shop_name'
).
val
();
var
user_phone
=
$
(
'#customer_phone'
).
val
();
var
id
=
$
(
'#shop_num'
).
val
()
*
1
;
var
store_name
=
$
(
'#store_name'
).
val
();
var
report_phone
=
$
(
'#applicant_phone'
).
val
();
var
report_name
=
$
(
'#applicant_name'
).
val
();
window
.
open
(
'/index/getCollection?'
+
'excel='
+
excel_two
+
'&user_name='
+
user_name
+
'&start_time='
+
start_time
+
'&end_time='
+
end_time
+
'&internal_title='
+
internal_title
+
'&user_phone='
+
user_phone
+
'&id='
+
id
+
'&store_name='
+
store_name
+
'&report_phone='
+
report_phone
+
'&report_name='
+
report_name
);
},
},
getList
:
function
(
pageNo
)
{
getList
:
function
(
pageNo
)
{
...
@@ -93,9 +83,6 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
...
@@ -93,9 +83,6 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
var
_length
=
data
.
data
.
length
;
var
_length
=
data
.
data
.
length
;
if
(
_length
>=
26
){
_length
=
26
;
}
$
(
".pk-container-detail-a>span"
).
eq
(
_length
).
prevAll
().
show
();
$
(
".pk-container-detail-a>span"
).
eq
(
_length
).
prevAll
().
show
();
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
pkList
.
mainTabArr
=
data
.
data
;
pkList
.
mainTabArr
=
data
.
data
;
...
...
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