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
ad458d8b
Commit
ad458d8b
authored
May 16, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
链接跳转bug处理
parent
ec3f3138
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
customerinfo_customer_add.html
...tion/app_broker/view/index/customerinfo_customer_add.html
+1
-1
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+1
-1
customerinfo_customer_add.js
public/app/js/customerinfo_customer_add.js
+1
-1
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+5
-5
No files found.
application/app_broker/view/index/customerinfo_customer_add.html
View file @
ad458d8b
...
...
@@ -96,7 +96,7 @@
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
src=
"/app/js/common.js?new40"
charset=
"utf-8"
></script>
<script
src=
"/app/js/customerinfo_customer_add.js?new3
4
"
></script>
<script
src=
"/app/js/customerinfo_customer_add.js?new3
5
"
></script>
</body>
...
...
application/app_broker/view/index/customerinfo_details_new.html
View file @
ad458d8b
...
...
@@ -155,7 +155,7 @@
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
src=
"/app/js/common.js?new39"
charset=
"utf-8"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new4
4
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new4
5
"
></script>
</body>
...
...
public/app/js/customerinfo_customer_add.js
View file @
ad458d8b
...
...
@@ -284,7 +284,7 @@ function loadMain(){
btn
:
[
'确定'
,
'取消'
],
yes
:
function
(
_index
){
if
(
_appToken
==
null
)
{
location
.
href
=
ServerHost
+
'/
mobile4.0/customerinfo_details_new.html
?customerId='
+
_customerId
+
'&token='
+
_token
;
location
.
href
=
ServerHost
+
'/
app_broker/customerinfo_details_new
?customerId='
+
_customerId
+
'&token='
+
_token
;
}
else
{
Compatible
({
paraIos
:
{
...
...
public/app/js/customerinfo_details_new.js
View file @
ad458d8b
...
...
@@ -73,9 +73,9 @@ function loadMain(){
$
(
'#customer_code'
).
html
(
data
[
'data'
][
'user_info'
][
'user_id'
]);
$
(
'#customer_name, #name'
).
html
(
data
[
'data'
][
'user_info'
][
'user_nick'
]);
if
(
data
[
'data'
][
'user_info'
][
'sex'
]
==
2
){
$
(
'#customer_sex'
).
html
(
'女'
).
next
().
attr
(
'src'
,
'images/girl_ic@2x.png'
);
$
(
'#customer_sex'
).
html
(
'女'
).
next
().
attr
(
'src'
,
'
/app/
images/girl_ic@2x.png'
);
}
else
{
$
(
'#customer_sex'
).
html
(
'男'
).
next
().
attr
(
'src'
,
'images/boy_ic@2x.png'
);
$
(
'#customer_sex'
).
html
(
'男'
).
next
().
attr
(
'src'
,
'
/app/
images/boy_ic@2x.png'
);
};
$
(
'#kefang'
).
html
(
data
[
'data'
][
'user_info'
][
'agentinfo'
]);
...
...
@@ -90,7 +90,7 @@ function loadMain(){
$
(
'.edit-btn'
).
click
(
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
location
.
href
=
'customerinfo_customer_add.html
?customerId='
+
_customerId
;
location
.
href
=
ServerHost
+
'/app_broker/customerinfo_customer_add
?customerId='
+
_customerId
;
});
};
...
...
@@ -411,7 +411,7 @@ function loadMain(){
if
(
data
.
code
==
200
)
{
var
_htmlTemp
=
''
;
$
.
each
(
data
[
'data'
],
function
(
i
,
item
)
{
_htmlTemp
+=
'<li class="{0}"><input placeholder="请输入本机手机号" maxlength="11" type="tel" value="{1}" {2} /><div class="call-edit-icon">完成</div><div class="call-submit-ing-icon">提交中ing</div><div class="call-select-icon"><img src="images/ic_duigou_gre.png" /></div></li>'
.
stringFormatObj
({
_htmlTemp
+=
'<li class="{0}"><input placeholder="请输入本机手机号" maxlength="11" type="tel" value="{1}" {2} /><div class="call-edit-icon">完成</div><div class="call-submit-ing-icon">提交中ing</div><div class="call-select-icon"><img src="
/app/
images/ic_duigou_gre.png" /></div></li>'
.
stringFormatObj
({
'0'
:
''
,
'1'
:
item
[
'phone'
],
'2'
:
'readonly'
,
...
...
@@ -468,7 +468,7 @@ function loadMain(){
return
false
;
}
else
{
_addPhoneBtn
.
hide
();
_addPhoneListObj
.
append
(
'<li class="call-add"><input placeholder="请输入本机手机号" maxlength="11" type="tel" /><div class="call-edit-icon">完成</div><div class="call-submit-ing-icon">提交中ing</div><div class="call-select-icon"><img src="images/ic_duigou_gre.png" /></div></li>'
).
find
(
'.call-add>input'
).
focus
();
_addPhoneListObj
.
append
(
'<li class="call-add"><input placeholder="请输入本机手机号" maxlength="11" type="tel" /><div class="call-edit-icon">完成</div><div class="call-submit-ing-icon">提交中ing</div><div class="call-select-icon"><img src="
/app/
images/ic_duigou_gre.png" /></div></li>'
).
find
(
'.call-add>input'
).
focus
();
};
});
...
...
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