20220908
This commit is contained in:
@@ -620,10 +620,13 @@ namespace FineUIPro.Web.Person
|
||||
string projectPersonInfo = SitePerson_PersonService.ValidPersonInfo(newProjectPerson);
|
||||
if (string.IsNullOrEmpty(personInfo) && string.IsNullOrEmpty(projectPersonInfo))
|
||||
{
|
||||
if (string.IsNullOrEmpty(newPerson.PhotoUrl) || newPerson.PhotoUrl == "~/res/images/blank.png")
|
||||
if (this.CurrUser.PersonId != Const.sysglyId)
|
||||
{
|
||||
Alert.ShowInParent("照片不能为空!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
if (string.IsNullOrEmpty(newPerson.PhotoUrl) || newPerson.PhotoUrl == "~/res/images/blank.png")
|
||||
{
|
||||
Alert.ShowInParent("照片不能为空!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(newPerson.PersonId))
|
||||
|
||||
Reference in New Issue
Block a user