fixed
This commit is contained in:
@@ -44,11 +44,35 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||
$('#add_follow_report').on('click',function () {
|
||||
let dataid = $('#add_follow_report').attr('data-id');
|
||||
//添加随访记录
|
||||
layer.msg(111);
|
||||
let url = 'tt/Followup/addfollowup';
|
||||
$.post(url,{report_dataid:dataid},function (res) {
|
||||
|
||||
},'html');
|
||||
layer.open({
|
||||
type: 1,
|
||||
title:'添加随访',
|
||||
area: '80%',
|
||||
content:res.data,
|
||||
btn: ['按钮一', '按钮二', '按钮三'],
|
||||
yes: function(index, layero){
|
||||
//按钮【按钮一】的回调
|
||||
},
|
||||
btn2: function(index, layero){
|
||||
//按钮【按钮二】的回调
|
||||
|
||||
//return false 开启该代码可禁止点击该按钮关闭
|
||||
},
|
||||
btn3: function(index, layero){
|
||||
//按钮【按钮三】的回调
|
||||
|
||||
//return false 开启该代码可禁止点击该按钮关闭
|
||||
},
|
||||
cancel: function(){
|
||||
//右上角关闭回调
|
||||
|
||||
//return false 开启该代码可禁止点击该按钮关闭
|
||||
}
|
||||
});
|
||||
},'json');
|
||||
});
|
||||
|
||||
Controller.api.bindevent();
|
||||
|
||||
Reference in New Issue
Block a user