Commit 631ab3ac authored by agping's avatar agping

日报 修改

parent 1749788a
...@@ -5,12 +5,8 @@ ...@@ -5,12 +5,8 @@
pageSize: 15, pageSize: 15,
/*每页显示多少条*/ /*每页显示多少条*/
id: '', id: '',
house_id: '',
type: '', type: '',
valueCurrent: '',
ajaxObj: '', ajaxObj: '',
stopstatus: true,
boxphoto: '',
report_id:'', report_id:'',
agent_id_phone:'',//经纪人 姓名搜索 agent_id_phone:'',//经纪人 姓名搜索
init: function() { init: function() {
...@@ -43,7 +39,7 @@ ...@@ -43,7 +39,7 @@
$ (document).delegate (".review-images", "click", function () {//提交 $ (document).delegate (".review-images", "click", function () {//提交
$('.review-images2').attr('src',$(this).attr ("data-img")); $('.review-images2').attr('src',$(this).attr ("data-img"));
}); });
//分佣方 姓名下拉式 //经纪人 姓名下拉式
$(document).on("input", "#partical_name", function() { //手机号新增搜索客方 $(document).on("input", "#partical_name", function() { //手机号新增搜索客方
if($("#partical_name").val() == '') { if($("#partical_name").val() == '') {
report.agent_id_phone=''; report.agent_id_phone='';
...@@ -69,7 +65,7 @@ ...@@ -69,7 +65,7 @@
$ (document).delegate (".report-del", "click", function () { $ (document).delegate (".report-del", "click", function () {
report.report_id = $ (this).attr ("data-id"); report.report_id = $ (this).attr ("data-id");
}); });
$("#search").click(function() { $("#search").click(function() {//搜索
report.getList(1); report.getList(1);
}); });
$("#reset").click(function() { //重置 $("#reset").click(function() { //重置
...@@ -77,12 +73,6 @@ ...@@ -77,12 +73,6 @@
$('#guest_stores').html(''); $('#guest_stores').html('');
}); });
$ (document).delegate (".review-images", "click", function () {//提交
console.log($(this).attr ("data-img"));
});
$("#export").click(function() { //导出列表
report.exportList();
});
}, },
//经纪人 姓名搜索 //经纪人 姓名搜索
search_phone: function() { //手机号新增客户 search_phone: function() { //手机号新增客户
...@@ -201,7 +191,7 @@ ...@@ -201,7 +191,7 @@
} }
}); });
}, },
delete_report : function(params) { delete_report : function(params) {//删除 日报
$.ajax ({ $.ajax ({
url: '/index/delNotice', url: '/index/delNotice',
type: 'POST', type: 'POST',
......
...@@ -5,12 +5,8 @@ ...@@ -5,12 +5,8 @@
pageSize: 15, pageSize: 15,
/*每页显示多少条*/ /*每页显示多少条*/
id: '', id: '',
house_id: '',
type: '', type: '',
valueCurrent: '',
ajaxObj: '', ajaxObj: '',
stopstatus: true,
boxphoto: '',
report_id:'', report_id:'',
init: function() { init: function() {
//初始化dot //初始化dot
...@@ -63,10 +59,6 @@ ...@@ -63,10 +59,6 @@
$('#guest_stores').html(''); $('#guest_stores').html('');
}); });
$ (document).delegate (".review-images", "click", function () {//提交
console.log($(this).attr ("data-img"));
});
}, },
getList: function(pageNo) { getList: function(pageNo) {
report.pageNo = pageNo; report.pageNo = pageNo;
...@@ -157,7 +149,7 @@ ...@@ -157,7 +149,7 @@
} }
}); });
}, },
delete_report : function(params) { delete_report : function(params) {//删除 周报
$.ajax ({ $.ajax ({
url: '/index/delNotice', url: '/index/delNotice',
type: 'POST', type: 'POST',
......
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