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
11fe5301
Commit
11fe5301
authored
Aug 03, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
14e2f7d4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
50 deletions
+56
-50
users_list.html
application/index/view/member/users_list.html
+0
-0
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+23
-21
user.js
public/resource/js/user.js
+31
-29
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+1
-0
user_template_tpl.html
public/resource/template/user_template_tpl.html
+1
-0
No files found.
application/index/view/member/users_list.html
View file @
11fe5301
This diff is collapsed.
Click to expand it.
public/resource/js/RemarkFollowIndex.js
View file @
11fe5301
...
@@ -185,7 +185,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -185,7 +185,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}
}
});
});
//拨打手机号
//拨打手机号
$
(
document
).
on
(
"click"
,
"
#
user_call"
,
function
()
{
$
(
document
).
on
(
"click"
,
"
.
user_call"
,
function
()
{
user
.
user_Call
();
user
.
user_Call
();
});
});
//没打通手机号
//没打通手机号
...
@@ -207,8 +207,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -207,8 +207,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}
}
});
});
$
(
document
).
on
(
"input"
,
"
#
cus_fang"
,
function
()
{
//手机号搜索客方2 编辑
$
(
document
).
on
(
"input"
,
"
.
cus_fang"
,
function
()
{
//手机号搜索客方2 编辑
if
(
$
(
"
#
cus_fang"
).
val
()
==
''
)
{
if
(
$
(
"
.
cus_fang"
).
val
()
==
''
)
{
user
.
agent_id2
=
''
;
user
.
agent_id2
=
''
;
$
(
".user-ul2"
).
html
(
''
);
$
(
".user-ul2"
).
html
(
''
);
}
else
{
}
else
{
...
@@ -302,7 +302,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -302,7 +302,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
},
},
addphone2
:
function
(
obj
)
{
addphone2
:
function
(
obj
)
{
var
user_ht
=
$
(
obj
).
html
();
var
user_ht
=
$
(
obj
).
html
();
$
(
"
#
cus_fang"
).
val
(
user_ht
);
$
(
"
.
cus_fang"
).
val
(
user_ht
);
$
(
".user-ul2"
).
html
(
''
);
$
(
".user-ul2"
).
html
(
''
);
user
.
agent_id2
=
$
(
obj
).
attr
(
"data-id"
);
user
.
agent_id2
=
$
(
obj
).
attr
(
"data-id"
);
...
@@ -410,7 +410,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -410,7 +410,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
data
:
{
data
:
{
"phone"
:
$
(
"
#
cus_fang"
).
val
()
"phone"
:
$
(
"
.
cus_fang"
).
val
()
},
},
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
...
@@ -526,7 +526,9 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -526,7 +526,9 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
alert
(
'修改成功'
);
alert
(
'修改成功'
);
$
(
"#modal-record"
).
modal
(
'hide'
);
$
(
"#modal-record-edit"
).
modal
(
'hide'
);
// $("#modal-record").modal('hide');
}
else
{
}
else
{
alert
(
data
.
msg
)
alert
(
data
.
msg
)
}
}
...
@@ -582,31 +584,31 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -582,31 +584,31 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
if
(
data
.
data
)
{
$
(
"
#
cus_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//客户编号
$
(
"
.
cus_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//客户编号
$
(
"
#
cus_name"
).
val
(
data
.
data
.
user_info
.
user_name
);
//姓名
$
(
"
.
cus_name"
).
val
(
data
.
data
.
user_info
.
user_name
);
//姓名
$
(
"
#
cus_nick"
).
html
(
data
.
data
.
user_info
.
user_nick
);
//昵称
$
(
"
.
cus_nick"
).
html
(
data
.
data
.
user_info
.
user_nick
);
//昵称
$
(
"
#
user_pic"
).
attr
(
'src'
,
data
.
data
.
user_info
.
user_pic
);
//头像
$
(
"
.
user_pic"
).
attr
(
'src'
,
data
.
data
.
user_info
.
user_pic
);
//头像
$
(
"
#
registration_time"
).
html
(
data
.
data
.
user_info
.
registration_time
);
$
(
"
.
registration_time"
).
html
(
data
.
data
.
user_info
.
registration_time
);
$
(
"
#
firstlogin_time"
).
html
(
data
.
data
.
user_info
.
first_login_time
);
//第一次登陆时间
$
(
"
.
firstlogin_time"
).
html
(
data
.
data
.
user_info
.
first_login_time
);
//第一次登陆时间
$
(
"
#
sex"
).
val
(
data
.
data
.
user_info
.
sex
);
//性别
$
(
"
.
sex"
).
val
(
data
.
data
.
user_info
.
sex
);
//性别
$
(
"
#
user_vip2"
).
val
(
data
.
data
.
user_info
.
vip
);
//是否vip
$
(
"
.
user_vip2"
).
val
(
data
.
data
.
user_info
.
vip
);
//是否vip
$
(
"
#
cus_phone"
).
html
(
hideTel
(
data
.
data
.
user_info
.
user_phone
));
//电话
$
(
"
.
cus_phone"
).
html
(
hideTel
(
data
.
data
.
user_info
.
user_phone
));
//电话
$
(
"
#
cus_date"
).
html
(
data
.
data
.
user_info
.
create_time
);
//创建时间
$
(
"
.
cus_date"
).
html
(
data
.
data
.
user_info
.
create_time
);
//创建时间
$
(
"
#
referrer_user"
).
html
(
data
.
data
.
user_info
.
referrer_user
);
//上传时间
$
(
"
.
referrer_user"
).
html
(
data
.
data
.
user_info
.
referrer_user
);
//上传时间
$
(
"
#
cus_fang"
).
val
(
data
.
data
.
user_info
.
agentinfo
);
//客方
$
(
"
.
cus_fang"
).
val
(
data
.
data
.
user_info
.
agentinfo
);
//客方
$
(
"select[name=industry_type_two]"
).
val
(
data
.
data
.
user_info
.
industry_type
);
$
(
"select[name=industry_type_two]"
).
val
(
data
.
data
.
user_info
.
industry_type
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
console
.
log
(
data
.
data
.
user_info
.
source
);
console
.
log
(
data
.
data
.
user_info
.
source
);
if
(
data
.
data
.
user_info
.
source
==
10
)
{
if
(
data
.
data
.
user_info
.
source
==
10
)
{
$
(
"
#
source_type"
).
html
(
'APP注册'
);
//客方
$
(
"
.
source_type"
).
html
(
'APP注册'
);
//客方
}
}
if
(
data
.
data
.
user_info
.
source
==
20
)
{
if
(
data
.
data
.
user_info
.
source
==
20
)
{
$
(
"
#
source_type"
).
html
(
'经纪人新增'
);
$
(
"
.
source_type"
).
html
(
'经纪人新增'
);
}
}
if
(
data
.
data
.
user_info
.
source
==
30
)
{
if
(
data
.
data
.
user_info
.
source
==
30
)
{
$
(
"
#
source_type"
).
html
(
'老数据客户'
);
$
(
"
.
source_type"
).
html
(
'老数据客户'
);
}
}
var
caozuo_table
=
""
;
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
][
'user_history'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'user_history'
],
function
(
i
,
item
)
{
...
...
public/resource/js/user.js
View file @
11fe5301
...
@@ -180,7 +180,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -180,7 +180,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
}
}
});
});
//拨打手机号
//拨打手机号
$
(
document
).
on
(
"click"
,
"
#
user_call"
,
function
()
{
$
(
document
).
on
(
"click"
,
"
.
user_call"
,
function
()
{
user
.
user_Call
();
user
.
user_Call
();
});
});
//没打通手机号
//没打通手机号
...
@@ -202,8 +202,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -202,8 +202,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
}
}
});
});
$
(
document
).
on
(
"input"
,
"
#
cus_fang"
,
function
()
{
//手机号搜索客方2 编辑
$
(
document
).
on
(
"input"
,
"
.
cus_fang"
,
function
()
{
//手机号搜索客方2 编辑
if
(
$
(
"
#
cus_fang"
).
val
()
==
''
)
{
if
(
$
(
"
.
cus_fang"
).
val
()
==
''
)
{
user
.
agent_id2
=
''
;
user
.
agent_id2
=
''
;
$
(
".user-ul2"
).
html
(
''
);
$
(
".user-ul2"
).
html
(
''
);
}
else
{
}
else
{
...
@@ -296,7 +296,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -296,7 +296,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
},
},
addphone2
:
function
(
obj
)
{
addphone2
:
function
(
obj
)
{
var
user_ht
=
$
(
obj
).
html
();
var
user_ht
=
$
(
obj
).
html
();
$
(
"
#
cus_fang"
).
val
(
user_ht
);
$
(
"
.
cus_fang"
).
val
(
user_ht
);
$
(
".user-ul2"
).
html
(
''
);
$
(
".user-ul2"
).
html
(
''
);
user
.
agent_id2
=
$
(
obj
).
attr
(
"data-id"
);
user
.
agent_id2
=
$
(
obj
).
attr
(
"data-id"
);
...
@@ -399,12 +399,13 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -399,12 +399,13 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
});
});
},
},
search_phone2
:
function
()
{
//手机号 编辑是 客方搜索
search_phone2
:
function
()
{
//手机号 编辑是 客方搜索
// console.log($(".cus_fang").val());
$
.
ajax
({
$
.
ajax
({
url
:
'/index/getBroker_new'
,
url
:
'/index/getBroker_new'
,
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
data
:
{
data
:
{
"phone"
:
$
(
"
#
cus_fang"
).
val
()
"phone"
:
$
(
"
.
cus_fang"
).
val
()
},
},
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
...
@@ -505,10 +506,10 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -505,10 +506,10 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
Submit_follow
:
function
()
{
//提交
Submit_follow
:
function
()
{
//提交
var
params
=
{};
var
params
=
{};
params
.
id
=
user
.
user_id
;
params
.
id
=
user
.
user_id
;
params
.
user_name
=
$
(
"
#
cus_name"
).
val
();
params
.
user_name
=
$
(
"
.
cus_name"
).
val
();
params
.
agents_id
=
user
.
agent_id2
;
params
.
agents_id
=
user
.
agent_id2
;
params
.
sex
=
$
(
"
#
sex"
).
val
();
params
.
sex
=
$
(
"
.
sex"
).
val
();
params
.
vip
=
$
(
"
#
user_vip2"
).
val
();
params
.
vip
=
$
(
"
.
user_vip2"
).
val
();
params
.
industry_type
=
$
(
"select[name=industry_type_two]"
).
val
();
params
.
industry_type
=
$
(
"select[name=industry_type_two]"
).
val
();
params
.
price_demand
=
$
(
"input[name=price_demand]"
).
val
();
params
.
price_demand
=
$
(
"input[name=price_demand]"
).
val
();
params
.
area_demand
=
$
(
"input[name=area_demand]"
).
val
();
params
.
area_demand
=
$
(
"input[name=area_demand]"
).
val
();
...
@@ -520,7 +521,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -520,7 +521,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
alert
(
'修改成功'
);
alert
(
'修改成功'
);
$
(
"#modal-record"
).
modal
(
'hide'
);
$
(
"#modal-record
-edit
"
).
modal
(
'hide'
);
}
else
{
}
else
{
alert
(
data
.
msg
)
alert
(
data
.
msg
)
}
}
...
@@ -611,41 +612,42 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -611,41 +612,42 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
if
(
data
.
data
)
{
$
(
"#cus_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//客户编号
$
(
".cus_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//客户编号
$
(
"#cus_name"
).
val
(
data
.
data
.
user_info
.
user_name
);
//姓名
$
(
".cus_name"
).
val
(
data
.
data
.
user_info
.
user_name
);
//姓名
$
(
"#cus_nick"
).
html
(
data
.
data
.
user_info
.
user_nick
);
//昵称
$
(
".cus_nick"
).
html
(
data
.
data
.
user_info
.
user_nick
);
//昵称
$
(
"#user_pic"
).
attr
(
'src'
,
data
.
data
.
user_info
.
user_pic
);
//头像
$
(
".user_pic"
).
attr
(
'src'
,
data
.
data
.
user_info
.
user_pic
);
//头像
$
(
"#user_pic"
).
attr
(
'data-bimg'
,
data
.
data
.
user_info
.
user_pic
);
//鼠标放上去放大头像
$
(
".user_pic"
).
attr
(
'data-bimg'
,
data
.
data
.
user_info
.
user_pic
);
//鼠标放上去放大头像
$
(
"#registration_time"
).
html
(
data
.
data
.
user_info
.
registration_time
);
$
(
".registration_time"
).
html
(
data
.
data
.
user_info
.
registration_time
);
$
(
"#firstlogin_time"
).
html
(
data
.
data
.
user_info
.
first_login_time
);
//第一次登陆时间
$
(
".firstlogin_time"
).
html
(
data
.
data
.
user_info
.
first_login_time
);
//第一次登陆时间
$
(
"#sex"
).
val
(
data
.
data
.
user_info
.
sex
);
//性别
$
(
".sex"
).
val
(
data
.
data
.
user_info
.
sex
);
//性别
$
(
"#user_vip2"
).
val
(
data
.
data
.
user_info
.
vip
);
//是否vip
$
(
".user_vip2"
).
val
(
data
.
data
.
user_info
.
vip
);
//是否vip
$
(
"#cus_phone"
).
html
(
hideTel
(
data
.
data
.
user_info
.
user_phone
));
//电话
$
(
".cus_phone"
).
html
(
hideTel
(
data
.
data
.
user_info
.
user_phone
));
//电话
$
(
"#cus_date"
).
html
(
data
.
data
.
user_info
.
create_time
);
//创建时间
$
(
".cus_date"
).
html
(
data
.
data
.
user_info
.
create_time
);
//创建时间
$
(
"#referrer_user"
).
html
(
data
.
data
.
user_info
.
referrer_user
);
//上传时间
$
(
".referrer_user"
).
html
(
data
.
data
.
user_info
.
referrer_user
);
//上传时间
$
(
"#cus_fang"
).
val
(
data
.
data
.
user_info
.
agentinfo
);
//客方
$
(
".cus_fang_edit"
).
val
(
data
.
data
.
user_info
.
agentinfo
);
//客方详情
$
(
".cus_fang"
).
val
(
data
.
data
.
user_info
.
agentinfo
);
//客方编辑
$
(
"select[name=industry_type_two]"
).
val
(
data
.
data
.
user_info
.
industry_type
);
$
(
"select[name=industry_type_two]"
).
val
(
data
.
data
.
user_info
.
industry_type
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
if
(
data
.
data
.
user_info
.
source
==
10
)
{
if
(
data
.
data
.
user_info
.
source
==
10
)
{
$
(
"
#
source_type"
).
html
(
'APP注册'
);
//客方
$
(
"
.
source_type"
).
html
(
'APP注册'
);
//客方
}
}
if
(
data
.
data
.
user_info
.
source
==
20
)
{
if
(
data
.
data
.
user_info
.
source
==
20
)
{
$
(
"
#
source_type"
).
html
(
'经纪人新增'
);
$
(
"
.
source_type"
).
html
(
'经纪人新增'
);
}
}
if
(
data
.
data
.
user_info
.
source
==
30
)
{
if
(
data
.
data
.
user_info
.
source
==
30
)
{
$
(
"
#
source_type"
).
html
(
'老数据报备客户'
);
$
(
"
.
source_type"
).
html
(
'老数据报备客户'
);
}
}
var
caozuo_table
=
""
;
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
][
'user_history'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'user_history'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
});
});
if
(
caozuo_table
){
if
(
caozuo_table
){
$
(
"#caozuo_table"
).
html
(
caozuo_table
);
$
(
"#caozuo_table
_edit
"
).
html
(
caozuo_table
);
}
else
{
}
else
{
$
(
"#caozuo_table"
).
html
(
'暂无数据(*^_^*)'
);
$
(
"#caozuo_table
_edit
"
).
html
(
'暂无数据(*^_^*)'
);
}
}
}
}
...
@@ -845,7 +847,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -845,7 +847,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
$
(
"input[type='radio'][name='user_status'][value="
+
data
.
data
+
"]"
).
prop
(
"checked"
,
"checked"
);
//
$("input[type='radio'][name='user_status'][value=" + data.data + "]").prop("checked", "checked");
user
.
getGenjincon
();
user
.
getGenjincon
();
}
}
}
}
...
@@ -870,7 +872,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -870,7 +872,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
//客户动态 即跟进
//客户动态 即跟进
var
caozuo_table
=
""
;
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
step
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
caozuo_table
+=
'<tr><td
class="text-left" width="70%"
>'
+
item
.
step
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
});
});
if
(
caozuo_table
){
if
(
caozuo_table
){
$
(
"#caozuo_table2"
).
html
(
caozuo_table
);
$
(
"#caozuo_table2"
).
html
(
caozuo_table
);
...
...
public/resource/template/remark_follow_template_tpl.html
View file @
11fe5301
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
<
td
width
=
"16%"
>
<
td
width
=
"16%"
>
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/pcEditClient'
)
)
{
%
]
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/pcEditClient'
)
)
{
%
]
<
a
class
=
"btn1 btn-success caozuo genj_ure"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo genj_ure"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> 
;
<!--<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a> --
>
<!--<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a> --
>
...
...
public/resource/template/user_template_tpl.html
View file @
11fe5301
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
<
td
width
=
"16%"
>
<
td
width
=
"16%"
>
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/useraction_search'
)
)
{
%
]
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/useraction_search'
)
)
{
%
]
<
a
class
=
"btn1 btn-success caozuo genj_ure"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo genj_ure"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> 
;
<!--<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a> --
>
<!--<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a> --
>
...
...
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