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
cc6dbdf0
Commit
cc6dbdf0
authored
Aug 08, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户修改
parent
0dbbd7d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
agent.js
public/resource/js/agent.js
+2
-0
user.js
public/resource/js/user.js
+17
-2
No files found.
public/resource/js/agent.js
View file @
cc6dbdf0
...
...
@@ -310,6 +310,8 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
$
(
"#remarks"
).
val
(
data
.
data
.
remarks
);
$
(
"#password"
).
val
(
data
.
data
.
password
);
$
(
"#admin_off"
).
val
(
data
.
data
.
admin_off
);
$
(
"input[name='password']"
).
attr
(
'form-group'
);
if
(
data
.
data
.
sex
==
'0'
)
{
$
(
"#sex0"
).
attr
(
'checked'
,
true
);
...
...
public/resource/js/user.js
View file @
cc6dbdf0
...
...
@@ -799,12 +799,27 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
if
(
data
.
data
.
user_info
.
city
==
'上海市'
){
$
(
"#user_city_edit"
).
val
(
310100
);
//编辑客方
var
city_id
=
310100
;
}
if
(
data
.
data
.
user_info
.
city
==
'杭州市'
){
$
(
"#user_city_edit"
).
val
(
330100
);
//编辑客方
}
var
city_id
=
330100
;
};
if
(
city_id
)
{
agent
.
getDistrictStoreList
(
city_id
,
function
(
_data
)
{
// var _str = '';
var
_str
=
'<option value="0">全部</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
store_name
+
'</option>'
;
});
$
(
"#user_area_edit"
).
html
(
_str
).
val
(
data
.
data
.
user_info
.
disc
);
});
}
else
{
}
$
(
"#user_area_edit"
).
val
(
data
.
data
.
user_info
.
disc
);
//编辑区域
//
$("#user_area_edit").val(data.data.user_info.disc); //编辑区域
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
if
(
data
.
data
.
user_info
.
source
==
10
)
{
...
...
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