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
7235d324
Commit
7235d324
authored
Sep 13, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户详情修改
parent
1902ca9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
28 deletions
+29
-28
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+2
-2
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+27
-26
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
7235d324
...
...
@@ -30,7 +30,7 @@
top
:
0
;
bottom
:
0
;
right
:
.66rem
;
display
:
block
;
display
:
none
;
width
:
.88rem
;
height
:
.88rem
;
}
...
...
@@ -217,7 +217,7 @@
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
src=
"/app/js/common.js?new42"
charset=
"utf-8"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new6
0
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new6
1
"
></script>
</body>
...
...
public/app/js/customerinfo_details_new.js
View file @
7235d324
...
...
@@ -233,34 +233,35 @@ function loadMain(){
}
});
});
$
(
'#return_btn'
).
show
().
click
(
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
user_id
=
_customerId
;
var
user_name
=
data
[
'data'
][
'user_info'
][
'user_name'
];
var
user_phone
=
data
[
'data'
][
'user_info'
][
'user_phone'
];
var
user_nick
=
data
[
'data'
][
'user_info'
][
'user_nick'
];
var
user_img
=
data
[
'data'
][
'user_info'
][
'user_pic'
];
Compatible
({
paraIos
:
{
'route'
:
'onSendClick'
,
'userId'
:
Number
(
user_id
),
'userName'
:
String
(
user_name
),
'userPhone'
:
String
(
user_phone
),
'userImg'
:
String
(
user_img
)
},
fnAndroid
:
function
()
{
//window.android.onClientEdit(String(_customerId));
window
.
android
.
onSendClick
(
String
(
user_id
),
String
(
user_name
),
String
(
user_phone
),
String
(
user_img
))
},
fn
:
function
()
{
console
.
warn
(
'error'
);
}
});
});
};
//发送消息没有权限控制
$
(
'#return_btn'
).
show
().
click
(
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
user_id
=
_customerId
;
var
user_name
=
data
[
'data'
][
'user_info'
][
'user_name'
];
var
user_phone
=
data
[
'data'
][
'user_info'
][
'user_phone'
];
var
user_nick
=
data
[
'data'
][
'user_info'
][
'user_nick'
];
var
user_img
=
data
[
'data'
][
'user_info'
][
'user_pic'
];
Compatible
({
paraIos
:
{
'route'
:
'onSendClick'
,
'userId'
:
Number
(
user_id
),
'userName'
:
String
(
user_name
),
'userPhone'
:
String
(
user_phone
),
'userImg'
:
String
(
user_img
)
},
fnAndroid
:
function
()
{
//window.android.onClientEdit(String(_customerId));
window
.
android
.
onSendClick
(
String
(
user_id
),
String
(
user_name
),
String
(
user_phone
),
String
(
user_img
))
},
fn
:
function
()
{
console
.
warn
(
'error'
);
}
});
});
//动态详情列表
function
dealSp
(
obj
){
return
'<p>属于哪类客户:{0}</p><p>第一决策人:{1}</p><p>租商铺做什么:{2}</p><p>对面积的要求:{3}</p><p>对价格的要求:{4}</p><p>所在区域:{5}</p><p>补充说明:{6}</p>{7}'
.
stringFormatObj
({
...
...
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