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
6ac9d2c6
Commit
6ac9d2c6
authored
Sep 06, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺图库验证
parent
0144217a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
pictureShow.js
public/resource/js/pictureShow.js
+11
-1
No files found.
public/resource/js/pictureShow.js
View file @
6ac9d2c6
...
@@ -24,6 +24,7 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
...
@@ -24,6 +24,7 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
picture
.
getList
(
1
);
picture
.
getList
(
1
);
},
},
event
:
function
()
{
event
:
function
()
{
$
.
alert
(
""
)
$
(
"#search"
).
click
(
function
()
{
$
(
"#search"
).
click
(
function
()
{
picture
.
getList
(
1
);
picture
.
getList
(
1
);
});
});
...
@@ -249,7 +250,16 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
...
@@ -249,7 +250,16 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
//执行数据保存的操作
//执行数据保存的操作
savePicture
:
function
(
data_yetai
,
pictureName
){
savePicture
:
function
(
data_yetai
,
pictureName
){
var
yetai
=
$
(
'#modal'
).
find
(
'select#leased option:selected'
).
val
()
==
-
1
?
''
:
data_yetai
;
var
yetai
=
$
(
'#modal'
).
find
(
'select#leased option:selected'
).
val
()
==
2
?
''
:
data_yetai
;
if
(
$
(
'#modal'
).
find
(
'select#leased option:selected'
).
val
()
==
2
){
//判断是人群图
yetai
=
''
;
}
else
{
if
(
data_yetai
==
''
){
alert
(
"请选择业态"
);
}
}
var
params
=
{
var
params
=
{
'img_type'
:
$
(
'#modal'
).
find
(
'select#leased option:selected'
).
val
()
,
'img_type'
:
$
(
'#modal'
).
find
(
'select#leased option:selected'
).
val
()
,
'label'
:
yetai
,
'label'
:
yetai
,
...
...
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