Commit 9c7bdc1d authored by agping's avatar agping

修改

parent 1e95cb07
......@@ -291,5 +291,8 @@ function alertFollow(obj){
}
}
});
};
function alertNoFollow(){
alert('已转为报备!!!')
}
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment