2059 zone.index buscador avanzado
gitea/salix/2059-zone_index_searchPanel This commit looks good
Details
gitea/salix/2059-zone_index_searchPanel This commit looks good
Details
This commit is contained in:
parent
d400e63aac
commit
73c4e310f0
|
@ -1,73 +1,77 @@
|
|||
{
|
||||
"name": "AgencyMode",
|
||||
"description": "Agency modes",
|
||||
"base": "VnModel",
|
||||
"options": {
|
||||
"mysql": {
|
||||
"table": "agencyMode"
|
||||
"name": "AgencyMode",
|
||||
"description": "Agency modes",
|
||||
"base": "VnModel",
|
||||
"options": {
|
||||
"mysql": {
|
||||
"table": "agencyMode"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "Number",
|
||||
"id": true,
|
||||
"description": "Identifier"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"deliveryMethodFk": {
|
||||
"type": "number"
|
||||
},
|
||||
"m3": {
|
||||
"type": "Number"
|
||||
},
|
||||
"inflation": {
|
||||
"type": "Number"
|
||||
},
|
||||
"reportMail": {
|
||||
"type": "string"
|
||||
},
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"code": {
|
||||
"type": "String",
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
"agency": {
|
||||
"type": "belongsTo",
|
||||
"model": "Agency",
|
||||
"foreignKey": "agencyFk"
|
||||
},
|
||||
"agencyType": {
|
||||
"type": "belongsTo",
|
||||
"model": "AgencyType",
|
||||
"foreignKey": "agencyTypeFk"
|
||||
},
|
||||
"deliveryMethod": {
|
||||
"type": "belongsTo",
|
||||
"model": "DeliveryMethod",
|
||||
"foreignKey": "deliveryMethodFk"
|
||||
}
|
||||
},
|
||||
"acls": [
|
||||
{
|
||||
"accessType": "READ",
|
||||
"principalType": "ROLE",
|
||||
"principalId": "$everyone",
|
||||
"permission": "ALLOW"
|
||||
}
|
||||
],
|
||||
"scopes": {
|
||||
"isActive": {
|
||||
"where": {
|
||||
"isActive": {
|
||||
"neq": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "Number",
|
||||
"id": true,
|
||||
"description": "Identifier"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"deliveryMethodFk":{
|
||||
"type": "number"
|
||||
},
|
||||
"m3": {
|
||||
"type": "Number"
|
||||
},
|
||||
"inflation": {
|
||||
"type": "Number"
|
||||
},
|
||||
"reportMail": {
|
||||
"type": "string"
|
||||
},
|
||||
"isActive":{
|
||||
"type": "boolean"
|
||||
},
|
||||
"code": {
|
||||
"type": "String",
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
"agency": {
|
||||
"type": "belongsTo",
|
||||
"model": "Agency",
|
||||
"foreignKey": "agencyFk"
|
||||
},
|
||||
"agencyType": {
|
||||
"type": "belongsTo",
|
||||
"model": "AgencyType",
|
||||
"foreignKey": "agencyTypeFk"
|
||||
},
|
||||
"deliveryMethod": {
|
||||
"type": "belongsTo",
|
||||
"model": "DeliveryMethod",
|
||||
"foreignKey": "deliveryMethodFk"
|
||||
}
|
||||
},
|
||||
"acls": [
|
||||
{
|
||||
"accessType": "READ",
|
||||
"principalType": "ROLE",
|
||||
"principalId": "$everyone",
|
||||
"permission": "ALLOW"
|
||||
}
|
||||
],
|
||||
"scopes" : {
|
||||
"isActive" : {
|
||||
"where": {"isActive": {"neq": false}}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -22,6 +22,7 @@
|
|||
label="Agency"
|
||||
ng-model="filter.agencyModeFk"
|
||||
url="AgencyModes/isActive"
|
||||
where="{deliveryMethodFk: {neq: null}}"
|
||||
value-field="id"
|
||||
show-field="name">
|
||||
</vn-autocomplete>
|
||||
|
|
Loading…
Reference in New Issue