|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (layEvent === 'edit') { | 
|---|
|  |  |  | febs.modal.open('公告设置', 'modules/systemSetting/noticeManageUpdate/' + data.id, { | 
|---|
|  |  |  | area: $(window).width() <= 1000 ? '100%' : '50%', | 
|---|
|  |  |  | btn: ['提交', '取消'], | 
|---|
|  |  |  | yes: function (index, layero) { | 
|---|
|  |  |  | $('#user-update').find('#submit').trigger('click'); | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | $add.on('click', function () { | 
|---|
|  |  |  | febs.modal.open('公告新增', 'modules/systemSetting/noticeManageAdd/', { | 
|---|
|  |  |  | area: $(window).width() <= 1000 ? '100%' : '50%', | 
|---|
|  |  |  | btn: ['提交', '取消'], | 
|---|
|  |  |  | yes: function (index, layero) { | 
|---|
|  |  |  | $('#user-add').find('#submit').trigger('click'); | 
|---|