Merge branch 'master' of http://47.104.102.122:3000/lpf/CNCEC_SUBQHSE_WUHUAN
This commit is contained in:
commit
77bd865c85
|
|
@ -174,6 +174,8 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
|||
var result = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.PersonId == PersonId);
|
||||
if (result != null)
|
||||
{
|
||||
result.ExchangeTime = null;
|
||||
result.ExchangeTime2 = null;
|
||||
result.IsBlacklist = false;
|
||||
Funs.DB.SubmitChanges();
|
||||
BindGrid();
|
||||
|
|
|
|||
|
|
@ -723,6 +723,8 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
|||
var result = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.PersonId == PersonId);
|
||||
if (result != null)
|
||||
{
|
||||
result.ExchangeTime = null;
|
||||
result.ExchangeTime2 = null;
|
||||
result.IsBlacklist = true;
|
||||
Funs.DB.SubmitChanges();
|
||||
BindGrid();
|
||||
|
|
|
|||
|
|
@ -238,7 +238,12 @@
|
|||
success: function (response) {
|
||||
console.log(response.d)
|
||||
console.log($('#divdbyj'))
|
||||
$('#divdbyj').html(response.d)
|
||||
$('#divdbyj').html(response.d)
|
||||
|
||||
setTimeout(function () {
|
||||
getToDo(1);
|
||||
}, 60000);
|
||||
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
console.log(error)
|
||||
|
|
@ -281,6 +286,9 @@
|
|||
}
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
page(9, '.todo', 0)
|
||||
page(40, '.project', 2)
|
||||
page(30, '.note', 1)
|
||||
|
|
|
|||
|
|
@ -847,7 +847,8 @@ namespace WebAPI.Controllers
|
|||
x.ExchangeTime,
|
||||
x.ExchangeTime2,
|
||||
x.PhotoUrl,
|
||||
x.IsUsed
|
||||
x.IsUsed,
|
||||
Blacklist=x.IsBlacklist
|
||||
}).Take(400).ToList();
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
|
|
|
|||
Loading…
Reference in New Issue