You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/Teacher/TeacherExt/Controllers/AjaxController.cs

18 lines
498 B

using Microsoft.AspNetCore.Mvc;
using System;
namespace TeacherExt.Controllers
{
public class AjaxController : Controller
{
public IActionResult JobAsMaxTitleDate(DateTime? jobAsMaxTitleDate,bool? isJobAsMaxTitle)
{
if(isJobAsMaxTitle.HasValue&&isJobAsMaxTitle.Value&&!jobAsMaxTitleDate.HasValue)
{
return Json("以最高职称聘任的,必须填写聘任时间");
}
return Json(true);
}
}
}