В процессе
This commit is contained in:
parent
cb7913100c
commit
40cb6fef8b
@ -507,9 +507,21 @@ namespace BankClientApp.Controllers
|
||||
{
|
||||
return Redirect("~/Home/Enter");
|
||||
}
|
||||
ViewBag.Cards = new List<CardViewModel>();
|
||||
ViewBag.Cards = APIClient.GetRequest<List<CardViewModel>>($"api/card/getcardlist?clientid={APIClient.Client.Id}");
|
||||
return View();
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public void TransferListReport(List<int> cards, bool word, bool excel)
|
||||
{
|
||||
if (APIClient.Client == null)
|
||||
{
|
||||
throw new Exception("Вы как суда попали? Суда вход только авторизованным");
|
||||
}
|
||||
APIClient.PostRequest<ReportBindingModel>($"api/report/savetransferword", new ReportBindingModel{
|
||||
|
||||
});
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region//ошибки
|
||||
|
@ -18,10 +18,13 @@
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
<asp:RadioButton id="word" name="word" runat="server" GroupName="format">Получать в формате Word</asp:RadioButton>
|
||||
<asp:RadioButton id="excel" name="excel" runat="server" GroupName="format">Получать в формате Word</asp:RadioButton>
|
||||
<input id="word" type="radio" name=" word" value="Получать в формате Word" GroupName="format"/>
|
||||
<input id="word" type="radio" name=" word" value="Получать в формате Word" GroupName="format" />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-9"></div>
|
||||
<div class="col-1"><input type="submit" value="Word" class="btn btn-primary" /></div>
|
||||
<div class="col-1"><input type="submit" value="Excel" class="btn btn-primary" /></div>
|
||||
<div class="col-1"><input type="submit" value="Получить список" class="btn btn-primary" /></div>
|
||||
</div>
|
||||
</form>
|
Loading…
Reference in New Issue
Block a user