This commit is contained in:
@@ -209,6 +209,31 @@ namespace AyaNova.DataList
|
||||
|
||||
public List<DataListFilterOption> DataListInternalCriteria(long currentUserId, AuthorizationRoles userRoles, string clientCriteria)
|
||||
{
|
||||
//TODO: support this clientcriteria
|
||||
// if (vm.objectId && vm.objectId != 0 && vm.objectType) {
|
||||
// //REMOVE COMMENT BLOCK AFTER TESTING
|
||||
// // //pre-filter
|
||||
// // vm.metaView = JSON.stringify([
|
||||
// // {
|
||||
// // fld: "metareviewobjectid",
|
||||
// // filter: {
|
||||
// // items: [{ op: "=", value: vm.objectId }]
|
||||
// // }
|
||||
// // },
|
||||
// // {
|
||||
// // fld: "AyaType",
|
||||
// // filter: {
|
||||
// // items: [{ op: "=", value: vm.objectType }]
|
||||
// // }
|
||||
// // }
|
||||
// // ]);
|
||||
// // vm.name = await window.$gz.api.fetchBizObjectName(
|
||||
// // vm.objectType,
|
||||
// // vm.objectId
|
||||
// // );
|
||||
// //OBJECTID,AYATYPE
|
||||
// vm.clientCriteria = `${vm.objectId},${vm.objectType}`;
|
||||
// }
|
||||
List<DataListFilterOption> ret = new List<DataListFilterOption>();
|
||||
bool HasSupervisorRole =
|
||||
userRoles.HasFlag(AuthorizationRoles.BizAdminFull)
|
||||
|
||||
Reference in New Issue
Block a user