|
@@ -1,9 +1,11 @@
|
|
|
-using OASystem.Domain.Entities;
|
|
|
+
|
|
|
+using OASystem.Domain.Entities;
|
|
|
using OASystem.Domain.Entities.Resource;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
+using System.Text.Json;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace OASystem.Domain.ViewModels.Resource
|
|
@@ -14,4 +16,118 @@ namespace OASystem.Domain.ViewModels.Resource
|
|
|
public string CreateUserName { get; set; }
|
|
|
public string DelegationStr { get;set; }
|
|
|
}
|
|
|
+
|
|
|
+ public class IOAInfoView
|
|
|
+ {
|
|
|
+ public int Id { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Country { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string City { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string UnitName { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string UnitWeb { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Field { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Address { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string UnitInfo { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Contact { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Job { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Tel { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Email { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string WeChat { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string FaceBook { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Ins { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Delegation { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string SndFileName { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string[] SndFilePathItem
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ var urls = new List<string>();
|
|
|
+ if (string.IsNullOrEmpty(SndFileName)) return urls.ToArray();
|
|
|
+
|
|
|
+ var filePath = @$"http://132.232.92.186:24/Office/GrpFile/商邀相关文件/";
|
|
|
+ try
|
|
|
+ {
|
|
|
+ var strs = JsonSerializer.Deserialize<List<string>>(SndFileName);
|
|
|
+ foreach (var str in strs)
|
|
|
+ {
|
|
|
+ urls.Add(@$"{filePath}{str}");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (Exception ex)
|
|
|
+ {
|
|
|
+ urls.Add(@$"{filePath}{SndFileName}");
|
|
|
+ }
|
|
|
+ return urls.ToArray();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Fax { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string OtherInfo { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public string Background { get; set; }
|
|
|
+ }
|
|
|
+
|
|
|
}
|