Commit 631ab3ac authored by agping's avatar agping

日报 修改

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