This commit is contained in:
2024-07-17 19:16:36 +08:00
parent c9ed869fd4
commit 78e8c518b5
3 changed files with 9 additions and 1 deletions

View File

@@ -27,6 +27,8 @@
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="button" id="add_follow_report" class="btn btn-danger btn-embossed " data-id="{:$row.id}">添加随访</button>
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
</div>
</div>

View File

@@ -41,6 +41,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
Controller.api.bindevent();
},
edit: function () {
$('#add_follow_report').on('click',function () {
let dataid = $('#add_follow_report').attr('data-id');
//添加随访记录
layer.msg(111);
});
Controller.api.bindevent();
},
api: {