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
c4245052
Commit
c4245052
authored
Jul 12, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
约带看修改
parent
ecc0c267
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
23 deletions
+22
-23
users_list.html
application/index/view/member/users_list.html
+2
-2
getCollection.js
public/resource/js/getCollection.js
+3
-1
user.js
public/resource/js/user.js
+16
-6
inspectionRecord_list_template_tpl.html
...resource/template/inspectionRecord_list_template_tpl.html
+1
-14
No files found.
application/index/view/member/users_list.html
View file @
c4245052
...
@@ -683,13 +683,13 @@
...
@@ -683,13 +683,13 @@
<span
class=
"text-danger"
>
(必填)
</span>
<span
class=
"text-danger"
>
(必填)
</span>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
"
>
<thead>
<
!--<
thead>
<tr class="ld-Marheight">
<tr class="ld-Marheight">
<th class="text-center">跟进内容</th>
<th class="text-center">跟进内容</th>
<th class="text-center">跟进人</th>
<th class="text-center">跟进人</th>
<th class="text-center">跟进时间</th>
<th class="text-center">跟进时间</th>
</tr>
</tr>
</thead>
</thead>
-->
<tbody
class=
"text-center"
id=
"caozuo_table2"
></tbody>
<tbody
class=
"text-center"
id=
"caozuo_table2"
></tbody>
</table>
</table>
...
...
public/resource/js/getCollection.js
View file @
c4245052
...
@@ -185,7 +185,9 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
...
@@ -185,7 +185,9 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
follow
.
getList
(
0
);
follow
.
getList
(
0
);
}
else
{}
}
else
{
alert
(
data
.
msg
)
}
}
}
});
});
},
},
...
...
public/resource/js/user.js
View file @
c4245052
...
@@ -164,6 +164,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -164,6 +164,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
document
).
on
(
"input"
,
".look-shop"
,
function
()
{
//手机号搜索客方
$
(
document
).
on
(
"input"
,
".look-shop"
,
function
()
{
//手机号搜索客方
if
(
$
(
this
).
val
()
==
''
)
{
if
(
$
(
this
).
val
()
==
''
)
{
$
(
this
).
next
(
'.look-shop-ul'
).
html
(
''
);
$
(
this
).
next
(
'.look-shop-ul'
).
html
(
''
);
$
(
this
).
removeAttr
(
"data-id"
);
}
else
{
}
else
{
user
.
search_phone_look
(
this
);
user
.
search_phone_look
(
this
);
}
}
...
@@ -281,12 +282,17 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -281,12 +282,17 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
console
.
log
(
user_info_obj
);
console
.
log
(
user_info_obj
);
var
arr_look
=
[];
var
arr_look
=
[];
for
(
var
i
=
0
;
i
<
$
(
'.look-shop'
).
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$
(
'.look-shop'
).
length
;
i
++
){
if
(
$
(
'.look-shop'
).
eq
(
i
).
attr
(
'data-id'
)){
if
(
$
(
'.look-shop'
).
eq
(
i
).
attr
(
'data-id'
)){
//如果id为空 不提交空的数据
arr_look
[
i
]
=
$
(
'.look-shop'
).
eq
(
i
).
attr
(
'data-id'
);
arr_look
[
i
]
=
$
(
'.look-shop'
).
eq
(
i
).
attr
(
'data-id'
);
}
}
}
}
// if(user_info_obj.id==1){
// alert('当前用户没有权限提交约带看');
// return false;
// }
//
if
(
arr_look
.
length
<
0
||
arr_look
.
length
==
0
){
if
(
arr_look
.
length
<
0
||
arr_look
.
length
==
0
){
alert
(
'请选择约带看商铺'
);
alert
(
'请选择约带看商铺'
);
return
false
;
return
false
;
...
@@ -320,7 +326,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -320,7 +326,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-takeLook"
).
modal
(
'hide'
);
$
(
"#modal-takeLook"
).
modal
(
'hide'
);
//提交成功后 关闭弹窗
}
else
{
}
else
{
alert
(
data
.
msg
);
alert
(
data
.
msg
);
...
@@ -757,14 +763,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -757,14 +763,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
},
},
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
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
();
}
}
}
}
});
});
},
},
getGenjincon
:
function
()
{
getGenjincon
:
function
()
{
//获取客户动态
$
.
ajax
({
$
.
ajax
({
url
:
'/index/useraction_search'
,
url
:
'/index/useraction_search'
,
type
:
'GET'
,
type
:
'GET'
,
...
@@ -780,8 +786,12 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -780,8 +786,12 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
content
+
'</td><td>'
+
item
.
agentinfo
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
caozuo_table
+=
'<tr><td>'
+
item
.
content
+
'</td><td>'
+
item
.
agentinfo
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
});
});
console
.
log
(
caozuo_table
);
if
(
caozuo_table
){
$
(
"#caozuo_table2"
).
html
(
caozuo_table
);
$
(
"#caozuo_table2"
).
html
(
caozuo_table
);
}
else
{
$
(
"#caozuo_table2"
).
html
(
'暂无跟进信息'
);
}
}
}
}
}
...
...
public/resource/template/inspectionRecord_list_template_tpl.html
View file @
c4245052
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<
td
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'predict_see_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'predict_see_time'
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-info timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["
report
_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-info timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["
order
_id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
...
@@ -21,16 +21,3 @@
...
@@ -21,16 +21,3 @@
[
%
}
%
]
[
%
}
%
]
</script>
</script>
<!--id int 报备id
user_id int 用户id
user_phone string 用户手机号
user_name string 用户名
predict_see_time time 预计到看时间
order_id int 订单id
order_no string 订单编号
house_id int 楼盘id
house_title string 楼盘名
sign string 标签-->
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