|  |  | 
 |  |  |  | 
 |  |  |             if (layEvent === 'shopApplyInfo') { | 
 |  |  |                 febs.modal.open('查看详情', 'modules/mallMember/applyDetail/' + data.id, { | 
 |  |  |                     btn: ['通过申请', '驳回申请'], | 
 |  |  |                     area : $(window).width() <= 750 ? '95%' : '660px', | 
 |  |  |                     btn: ['通过申请', '驳回申请','保存'], | 
 |  |  |                     area:['100%','100%'], | 
 |  |  |                     // area : $(window).width() <= 750 ? '95%' : '660px', | 
 |  |  |                     yes: function (index, layero) { | 
 |  |  |                         $('#shop-apply-detail').find('#agree').trigger('click'); | 
 |  |  |                     }, | 
 |  |  |                     btn2: function () { | 
 |  |  |                         $('#shop-apply-detail').find('#disagree').trigger('click'); | 
 |  |  |                     }, | 
 |  |  |                     btn3: function () { | 
 |  |  |                         $('#shop-apply-detail').find('#applyUpdate').trigger('click'); | 
 |  |  |                     } | 
 |  |  |                 }); | 
 |  |  |             } | 
 |  |  |  | 
 |  |  |         }); | 
 |  |  |  | 
 |  |  |         // 查询按钮 | 
 |  |  | 
 |  |  |                     {templet: '#apply-status', title: '状态', minWidth: 100}, | 
 |  |  |                     {title: '操作', | 
 |  |  |                         templet: function (d) { | 
 |  |  |                                 return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="shopApplyInfo" shiro:hasPermission="user:update">查看详情</button>' | 
 |  |  |                             return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="shopApplyInfo" shiro:hasPermission="user:update">审核</button>' | 
 |  |  |                         },align:'center'} | 
 |  |  |                 ]] | 
 |  |  |             }); |