| | |
| | | </a-form-item> |
| | | </a-form> |
| | | |
| | | <div class="drawer-bootom-button"> |
| | | <div class="drawer-bottom-button"> |
| | | <a-dropdown style="float: left" :trigger="['click']" placement="topCenter"> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item key="1" @click="switchCheckStrictly(1)">父子关联</a-menu-item> |
| | |
| | | console.log("请求参数:",params); |
| | | saveRolePermission(params).then((res)=>{ |
| | | if(res.success){ |
| | | that.$message.success(res.message); |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | that.loading = false; |
| | | if (exit) { |
| | | that.close() |
| | | } |
| | | }else { |
| | | that.$message.error(res.message); |
| | | that.$notification.warning({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | that.loading = false; |
| | | if (exit) { |
| | | that.close() |
| | |
| | | |
| | | </script> |
| | | <style lang="less" scoped> |
| | | .drawer-bootom-button { |
| | | .drawer-bottom-button { |
| | | position: absolute; |
| | | bottom: 0; |
| | | width: 100%; |