给角色页面的分配弹窗增加角色名称的提示

This commit is contained in:
jishenghua 2024-11-02 00:30:52 +08:00
parent 2daea4a7d1
commit a8e9c46b72
2 changed files with 4 additions and 4 deletions

View File

@ -181,12 +181,12 @@
methods: {
handleSetFunction(record) {
this.$refs.roleFunctionModal.edit(record);
this.$refs.roleFunctionModal.title = record.name + "-分配功能【分配之后请继续分配按钮】";
this.$refs.roleFunctionModal.title = "分配功能给:" + record.name + "【分配之后请继续分配按钮】"
this.$refs.roleFunctionModal.disableSubmit = false;
},
handleSetPushBtn(roleId, roleName) {
this.$refs.rolePushBtnModal.edit(roleId);
this.$refs.rolePushBtnModal.title = roleName + "-分配按钮";
this.$refs.rolePushBtnModal.title = "分配按钮给:" + roleName
this.$refs.rolePushBtnModal.disableSubmit = false;
},
roleModalFormOk() {

View File

@ -187,12 +187,12 @@
},
btnSetDepot(record) {
this.$refs.userDepotModal.edit(record);
this.$refs.userDepotModal.title = "分配仓库";
this.$refs.userDepotModal.title = "分配仓库给:" + record.username
this.$refs.userDepotModal.disableSubmit = false;
},
btnSetCustomer(record) {
this.$refs.userCustomerModal.edit(record);
this.$refs.userCustomerModal.title = "分配客户";
this.$refs.userCustomerModal.title = "分配客户给:" + record.username
this.$refs.userCustomerModal.disableSubmit = false;
},
}