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
9c7bdc1d
Commit
9c7bdc1d
authored
Nov 22, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1e95cb07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
watch_shop.js
public/resource/js/watch_shop.js
+3
-0
watch_template_tpl.html
public/resource/template/watch_template_tpl.html
+9
-3
No files found.
public/resource/js/watch_shop.js
View file @
9c7bdc1d
...
...
@@ -291,5 +291,8 @@ function alertFollow(obj){
}
}
});
};
function
alertNoFollow
(){
alert
(
'已转为报备!!!'
)
}
public/resource/template/watch_template_tpl.html
View file @
9c7bdc1d
...
...
@@ -16,12 +16,18 @@
[
%
}
%
]
-->
<
td
>
[
%=
it
[
item
][
"create_time"
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success "
href
=
"#modal-process"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['id'] %]"
onclick
=
"alertFollow(this)"
>
跟进
<
/a
>
<
a
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['id'] %]"
[
%
if
(
it
[
item
][
"applies_id"
]
==
0
){
%
]
onclick
=
"alertFollow(this)"
class
=
"btn1 btn-success"
href
=
"#modal-process"
>
跟进
<
/a
>
[
%
}
else
{
%
]
onclick
=
"alertNoFollow()"
class
=
"btn1 btn-default"
>
跟进
<
/a
>
[
%
}
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['id'] %]"
[
%
if
(
it
[
item
][
"applies_id"
]
==
0
){
%
]
href
=
"#modal-watch"
class
=
"btn1 btn-
danger
add_applies"
>
转为报备
<
/a
>
href
=
"#modal-watch"
class
=
"btn1 btn-
success
add_applies"
>
转为报备
<
/a
>
[
%
}
else
{
%
]
class
=
"btn1 btn-
info
"
>
已转为报备
<
/a
>
class
=
"btn1 btn-
default"
onclick
=
"alertNoFollow()
"
>
已转为报备
<
/a
>
[
%
}
%
]
<
/td
>
<
/tr
>
...
...
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