Former-commit-id: 8fac41ee24044d880210917992c00c09764fd111 Former-commit-id: 4584c9a338c44797482b24fca0c21981b55563391.0
parent
6f98007552
commit
1f19e8d5ed
@ -1,7 +0,0 @@
|
||||
@inherits Infrastructure.Web.Mvc.Razor.MyRazorPage<TModel>
|
||||
@using Infrastructure.Application
|
||||
@using Infrastructure.Extensions
|
||||
@using Infrastructure.Data
|
||||
@using IoT.Shared.Application.Domain.Entities
|
||||
@using IoT.Shared.Application.Models
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
@ -0,0 +1,10 @@
|
||||
<script>
|
||||
$('#Query_NodeId').change(function () {
|
||||
var id = $(this).find(':selected').val();
|
||||
update('@Url.Action("GetIoTDevice", "Ajax",new { area=""})', id, "#Query_DeviceId");
|
||||
});
|
||||
$('#NodeId').change(function () {
|
||||
var id = $(this).find(':selected').val();
|
||||
update('@Url.Action("GetIoTDevice", "Ajax",new { area=""})', id, "#DeviceId");
|
||||
});
|
||||
</script>
|
@ -0,0 +1,10 @@
|
||||
<script>
|
||||
$('#Query_ProductId').change(function () {
|
||||
var id = $(this).find(':selected').val();
|
||||
update('@Url.Action("GetIoTApi", "Ajax",new { area=""})', id, "#Query_ApiId");
|
||||
});
|
||||
$('#ProductId').change(function () {
|
||||
var id = $(this).find(':selected').val();
|
||||
update('@Url.Action("GetIoTApi", "Ajax",new { area=""})', id, "#ApiId");
|
||||
});
|
||||
</script>
|
Loading…
Reference in new issue