优化用户分配客户权限的接口
This commit is contained in:
@@ -335,6 +335,8 @@ public class SupplierController extends BaseController {
|
||||
ubLongArray[i] = Long.parseLong(ubArr[i]);
|
||||
}
|
||||
obj.put("data", ubLongArray);
|
||||
} else {
|
||||
obj.put("data", null);
|
||||
}
|
||||
obj.put("code", 200);
|
||||
} catch (Exception e) {
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
loadSelected(id) {
|
||||
getAction(this.url.selectedList + '?UBType=UserCustomer&UBKeyId='+id).then((res) => {
|
||||
if (res.code===200) {
|
||||
this.selectedRowKeys = res.data
|
||||
this.selectedRowKeys = res.data? res.data:[]
|
||||
} else {
|
||||
this.$message.warning(res.data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user