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
f71a784d
Commit
f71a784d
authored
Sep 17, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台优化
parent
b375ac55
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+9
-12
getCollection.js
public/resource/js/getCollection.js
+1
-1
user.js
public/resource/js/user.js
+2
-2
No files found.
public/resource/js/RemarkFollowIndex.js
View file @
f71a784d
...
@@ -1431,8 +1431,10 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -1431,8 +1431,10 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
alert
(
"跟进时间搜索控制在30天以内"
);
alert
(
"跟进时间搜索控制在30天以内"
);
return
;
return
;
}
}
//客户跟进列表 搜索时 防重复提交
$
.
ajax
({
if
(
!
user
.
isAjaxSaving
){
user
.
isAjaxSaving
=
true
;
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/index/RemarkFollowList'
,
url
:
'/index/RemarkFollowList'
,
data
:
params
,
data
:
params
,
...
@@ -1447,18 +1449,11 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -1447,18 +1449,11 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
var
temp
=
document
.
getElementById
(
'remark_follow_tpl'
).
innerHTML
;
var
temp
=
document
.
getElementById
(
'remark_follow_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
data
.
list
));
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
data
.
list
));
// var doTtmpl = doT.template(document.getElementById('remark_follow_tpl').innerHTML);
user
.
isAjaxSaving
=
false
;
//请求结束,再改为初始状态
// $("#follow_list").html(doTtmpl(data.data.data.list));
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
data
.
total
,
pageNo
,
user
.
pageSize
,
user
.
getList
);
add_page
(
data
.
data
.
data
.
total
,
pageNo
,
user
.
pageSize
,
user
.
getList
);
/* $("#pagediv").pagination({
length: data.data.data.total,
current: pageNo,
every: follow.pageSize,
onClick: function(el) {
follow.getList(el.num.current);
}
});*/
}
else
{
}
else
{
alert
(
data
[
'msg'
]);
alert
(
data
[
'msg'
]);
};
};
...
@@ -1475,6 +1470,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -1475,6 +1470,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
};
};
}
}
});
});
}
//防重复
},
},
//城市 区域 筛选
//城市 区域 筛选
getCityAreaList
:
function
(
id
,
fn
)
{
getCityAreaList
:
function
(
id
,
fn
)
{
...
...
public/resource/js/getCollection.js
View file @
f71a784d
...
@@ -149,7 +149,7 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
...
@@ -149,7 +149,7 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
e
.
stopPropagation
();
e
.
stopPropagation
();
var
imgname
=
[];
var
imgname
=
[];
for
(
var
i
=
0
;
i
<
$
(
'.result'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.result'
).
length
;
i
++
)
{
imgname
[
i
]
=
$
(
'.result>img'
).
attr
(
'data-imgname'
);
imgname
[
i
]
=
$
(
'.result>img'
).
eq
(
i
).
attr
(
'data-imgname'
);
};
};
console
.
log
(
imgname
.
join
(
','
));
console
.
log
(
imgname
.
join
(
','
));
var
id_pic
=
follow
.
house_fatherid
>
0
?
follow
.
house_fatherid
:
follow
.
house_id
;
var
id_pic
=
follow
.
house_fatherid
>
0
?
follow
.
house_fatherid
:
follow
.
house_id
;
...
...
public/resource/js/user.js
View file @
f71a784d
...
@@ -1686,8 +1686,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -1686,8 +1686,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
// 客户编号 客户姓名 客户手机号 搜索 创建时间不受限制
// 客户编号 客户姓名 客户手机号 搜索 创建时间不受限制
if
(
$
.
trim
(
$
(
"input[name='user']"
).
val
())
||
$
.
trim
(
$
(
"input[name='phone']"
).
val
())
||
$
.
trim
(
$
(
"input[name='userID']"
).
val
())){
if
(
$
.
trim
(
$
(
"input[name='user']"
).
val
())
||
$
.
trim
(
$
(
"input[name='phone']"
).
val
())
||
$
.
trim
(
$
(
"input[name='userID']"
).
val
())){
}
else
{
}
else
{
if
(
cha_time
>
5270400000
){
if
(
cha_time
>
5270400000
*
3
){
alert
(
"创建时间筛选区间不能超过
2
个月"
);
alert
(
"创建时间筛选区间不能超过
6
个月"
);
return
;
return
;
}
}
}
}
...
...
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