style(ai): 1 刷新问题
- 在 aiApply 列表页面注释掉 tableIns.reload 调用
- 在 memberRole 列表页面注释掉 $query.click() 调用
- 在 product 列表页面注释掉 $query.click() 调用
- 在 productCategory 列表页面注释掉 $query.click() 调用
- 在 productQuestion 列表页面注释掉 $query.click() 调用
- 在 mallMemberList 页面注释掉多个 $query.click() 调用
| | |
| | | if (res.code === 200) { |
| | | febs.alert.success(actionName + '成功'); |
| | | // 刷新表格数据 |
| | | tableIns.reload({where: getQueryParams(), page: {curr: 1}}); |
| | | // tableIns.reload({where: getQueryParams(), page: {curr: 1}}); |
| | | } else { |
| | | febs.alert.error(res.msg || actionName + '失败'); |
| | | } |
| | |
| | | function memberRoleStateSwitch(id,state) { |
| | | febs.get(ctx + 'admin/memberRole/changeState/' + id+'/' + state, null, function (data) { |
| | | febs.alert.success(data.message); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | function memberRoleDeleteEvent(id) { |
| | |
| | | function productSwitch(id,type,state) { |
| | | febs.get(ctx + 'admin/product/changeState/' + id+'/'+ type+'/' + state, null, function (data) { |
| | | febs.alert.success(data.message); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | |
| | |
| | | function productCategorySwitch(id,type,state) { |
| | | febs.get(ctx + 'admin/productCategory/changeState/' + id+'/'+ type+'/' + state, null, function (data) { |
| | | febs.alert.success(data.message); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | |
| | |
| | | function productSwitch(id,state) { |
| | | febs.get(ctx + 'admin/productQuestion/changeState/' + id+'/' + state, null, function (data) { |
| | | febs.alert.success(data.message); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | |
| | |
| | | function memberOut(id) { |
| | | febs.get(ctx + 'admin/mallMember/memberOut/' + id, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | function closeAccount(id) { |
| | | febs.get(ctx + 'admin/mallMember/closeAccount/' + id, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | function openAccount(id) { |
| | | febs.get(ctx + 'admin/mallMember/openAccount/' + id, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | |
| | |
| | | function checkOrder(id) { |
| | | febs.get(ctx + 'admin/mallMember/checkOrder/' + id, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | |