|
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
};
|
|
|
})();
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
-exports.GetOperationPermissionRequest = exports.GetMenuPermissionRequest = exports.SetSignatureRequest = exports.GetUserPageByTeamCodeRequest = exports.GetAreaOfResponsibilityRequest = exports.SetAreaOfResponsibilityRequest = exports.GetUserPageByOrganizationCodeRequest = exports.BindUltrasoundCodeRequest = exports.ResetUserNameRequest = exports.UpdateUserRequest = exports.GetUserListRequest = exports.RemoveUserRequest = exports.UserPageRequest = exports.GetUserByKeyRequest = exports.GetUserRequest = exports.UserDTO = exports.CreateUserRequest = void 0;
|
|
|
+exports.GetOperationPermissionRequest = exports.GetMenuPermissionRequest = exports.SetSignatureRequest = exports.GetUserPageByTeamCodeRequest = exports.GetAreaOfResponsibilityRequest = exports.SetAreaOfResponsibilityRequest = exports.GetUserPageByOrganizationCodeRequest = exports.BindEcgCodeRequest = exports.BindUltrasoundCodeRequest = exports.ResetUserNameRequest = exports.UpdateUserRequest = exports.GetUserListRequest = exports.RemoveUserRequest = exports.UserPageRequest = exports.GetUserByKeyRequest = exports.GetUserRequest = exports.UserDTO = exports.CreateUserRequest = void 0;
|
|
|
var authentication_m_1 = require("./authentication.m");
|
|
|
var healthExamBooking_m_1 = require("./healthExamBooking.m");
|
|
|
var residence_m_1 = require("./residence.m");
|
|
@@ -24,7 +24,7 @@ var JsonRpcUtils_1 = require("../JsonRpcUtils");
|
|
|
var CreateUserRequest = /** @class */ (function (_super) {
|
|
|
__extends(CreateUserRequest, _super);
|
|
|
function CreateUserRequest(_a) {
|
|
|
- var code = _a.code, userName = _a.userName, phone = _a.phone, cardNo = _a.cardNo, realName = _a.realName, headImageToken = _a.headImageToken, organizationCode = _a.organizationCode, teamCode = _a.teamCode, roleCode = _a.roleCode, secretPassword = _a.secretPassword, rankName = _a.rankName, signature = _a.signature, ultrasoundCode = _a.ultrasoundCode, token = _a.token;
|
|
|
+ var code = _a.code, userName = _a.userName, phone = _a.phone, cardNo = _a.cardNo, realName = _a.realName, headImageToken = _a.headImageToken, organizationCode = _a.organizationCode, teamCode = _a.teamCode, roleCode = _a.roleCode, secretPassword = _a.secretPassword, rankName = _a.rankName, signature = _a.signature, ultrasoundCode = _a.ultrasoundCode, ecgCode = _a.ecgCode, token = _a.token;
|
|
|
var _this = _super.call(this, {
|
|
|
token: token,
|
|
|
}) || this;
|
|
@@ -41,6 +41,7 @@ var CreateUserRequest = /** @class */ (function (_super) {
|
|
|
_this.rankName = rankName;
|
|
|
_this.signature = signature;
|
|
|
_this.ultrasoundCode = ultrasoundCode;
|
|
|
+ _this.ecgCode = ecgCode;
|
|
|
_this.token = token;
|
|
|
return _this;
|
|
|
}
|
|
@@ -58,6 +59,7 @@ var CreateUserRequest = /** @class */ (function (_super) {
|
|
|
rankName: map['RankName'],
|
|
|
signature: map['Signature'],
|
|
|
ultrasoundCode: map['UltrasoundCode'],
|
|
|
+ ecgCode: map['EcgCode'],
|
|
|
token: map['Token'],
|
|
|
});
|
|
|
};
|
|
@@ -89,6 +91,8 @@ var CreateUserRequest = /** @class */ (function (_super) {
|
|
|
map['Signature'] = this.signature;
|
|
|
if (this.ultrasoundCode != null)
|
|
|
map['UltrasoundCode'] = this.ultrasoundCode;
|
|
|
+ if (this.ecgCode != null)
|
|
|
+ map['EcgCode'] = this.ecgCode;
|
|
|
return map;
|
|
|
};
|
|
|
return CreateUserRequest;
|
|
@@ -97,7 +101,7 @@ exports.CreateUserRequest = CreateUserRequest;
|
|
|
var UserDTO = /** @class */ (function (_super) {
|
|
|
__extends(UserDTO, _super);
|
|
|
function UserDTO(_a) {
|
|
|
- var code = _a.code, userName = _a.userName, phone = _a.phone, cardNo = _a.cardNo, realName = _a.realName, headImageToken = _a.headImageToken, organizationCode = _a.organizationCode, organizationName = _a.organizationName, organizationPhone = _a.organizationPhone, teamCode = _a.teamCode, teamName = _a.teamName, roleCode = _a.roleCode, roleName = _a.roleName, rankName = _a.rankName, residence = _a.residence, principalCode = _a.principalCode, principalName = _a.principalName, principalPhone = _a.principalPhone, provinceCode = _a.provinceCode, cityCode = _a.cityCode, districtCode = _a.districtCode, signature = _a.signature, ultrasoundCode = _a.ultrasoundCode, _b = _a.isDelete, isDelete = _b === void 0 ? false : _b, createTime = _a.createTime, updateTime = _a.updateTime;
|
|
|
+ var code = _a.code, userName = _a.userName, phone = _a.phone, cardNo = _a.cardNo, realName = _a.realName, headImageToken = _a.headImageToken, organizationCode = _a.organizationCode, organizationName = _a.organizationName, organizationPhone = _a.organizationPhone, teamCode = _a.teamCode, teamName = _a.teamName, roleCode = _a.roleCode, roleName = _a.roleName, rankName = _a.rankName, residence = _a.residence, principalCode = _a.principalCode, principalName = _a.principalName, principalPhone = _a.principalPhone, provinceCode = _a.provinceCode, cityCode = _a.cityCode, districtCode = _a.districtCode, signature = _a.signature, ultrasoundCode = _a.ultrasoundCode, ecgCode = _a.ecgCode, isExistSubordinate = _a.isExistSubordinate, fatherOrgCode = _a.fatherOrgCode, fatherOrgName = _a.fatherOrgName, _b = _a.isDelete, isDelete = _b === void 0 ? false : _b, createTime = _a.createTime, updateTime = _a.updateTime;
|
|
|
var _this = _super.call(this, {
|
|
|
isDelete: isDelete,
|
|
|
createTime: createTime,
|
|
@@ -126,6 +130,10 @@ var UserDTO = /** @class */ (function (_super) {
|
|
|
_this.districtCode = districtCode;
|
|
|
_this.signature = signature;
|
|
|
_this.ultrasoundCode = ultrasoundCode;
|
|
|
+ _this.ecgCode = ecgCode;
|
|
|
+ _this.isExistSubordinate = isExistSubordinate || false;
|
|
|
+ _this.fatherOrgCode = fatherOrgCode;
|
|
|
+ _this.fatherOrgName = fatherOrgName;
|
|
|
_this.isDelete = isDelete || false;
|
|
|
_this.createTime = createTime;
|
|
|
_this.updateTime = updateTime;
|
|
@@ -155,6 +163,10 @@ var UserDTO = /** @class */ (function (_super) {
|
|
|
districtCode: map['DistrictCode'],
|
|
|
signature: map['Signature'],
|
|
|
ultrasoundCode: map['UltrasoundCode'],
|
|
|
+ ecgCode: map['EcgCode'],
|
|
|
+ isExistSubordinate: map['IsExistSubordinate'],
|
|
|
+ fatherOrgCode: map['FatherOrgCode'],
|
|
|
+ fatherOrgName: map['FatherOrgName'],
|
|
|
isDelete: map['IsDelete'],
|
|
|
createTime: map['CreateTime'] !== null ? new Date(map['CreateTime']) : null,
|
|
|
updateTime: map['UpdateTime'] !== null ? new Date(map['UpdateTime']) : null, });
|
|
@@ -207,6 +219,13 @@ var UserDTO = /** @class */ (function (_super) {
|
|
|
map['Signature'] = this.signature;
|
|
|
if (this.ultrasoundCode != null)
|
|
|
map['UltrasoundCode'] = this.ultrasoundCode;
|
|
|
+ if (this.ecgCode != null)
|
|
|
+ map['EcgCode'] = this.ecgCode;
|
|
|
+ map['IsExistSubordinate'] = this.isExistSubordinate;
|
|
|
+ if (this.fatherOrgCode != null)
|
|
|
+ map['FatherOrgCode'] = this.fatherOrgCode;
|
|
|
+ if (this.fatherOrgName != null)
|
|
|
+ map['FatherOrgName'] = this.fatherOrgName;
|
|
|
return map;
|
|
|
};
|
|
|
return UserDTO;
|
|
@@ -358,7 +377,7 @@ exports.GetUserListRequest = GetUserListRequest;
|
|
|
var UpdateUserRequest = /** @class */ (function (_super) {
|
|
|
__extends(UpdateUserRequest, _super);
|
|
|
function UpdateUserRequest(_a) {
|
|
|
- var code = _a.code, phone = _a.phone, cardNo = _a.cardNo, realName = _a.realName, headImageToken = _a.headImageToken, organizationCode = _a.organizationCode, teamCode = _a.teamCode, roleCode = _a.roleCode, rankName = _a.rankName, signature = _a.signature, ultrasoundCode = _a.ultrasoundCode, token = _a.token;
|
|
|
+ var code = _a.code, phone = _a.phone, cardNo = _a.cardNo, realName = _a.realName, headImageToken = _a.headImageToken, organizationCode = _a.organizationCode, teamCode = _a.teamCode, roleCode = _a.roleCode, rankName = _a.rankName, signature = _a.signature, ultrasoundCode = _a.ultrasoundCode, ecgCode = _a.ecgCode, token = _a.token;
|
|
|
var _this = _super.call(this, {
|
|
|
token: token,
|
|
|
}) || this;
|
|
@@ -373,6 +392,7 @@ var UpdateUserRequest = /** @class */ (function (_super) {
|
|
|
_this.rankName = rankName;
|
|
|
_this.signature = signature;
|
|
|
_this.ultrasoundCode = ultrasoundCode;
|
|
|
+ _this.ecgCode = ecgCode;
|
|
|
_this.token = token;
|
|
|
return _this;
|
|
|
}
|
|
@@ -388,6 +408,7 @@ var UpdateUserRequest = /** @class */ (function (_super) {
|
|
|
rankName: map['RankName'],
|
|
|
signature: map['Signature'],
|
|
|
ultrasoundCode: map['UltrasoundCode'],
|
|
|
+ ecgCode: map['EcgCode'],
|
|
|
token: map['Token'],
|
|
|
});
|
|
|
};
|
|
@@ -415,6 +436,8 @@ var UpdateUserRequest = /** @class */ (function (_super) {
|
|
|
map['Signature'] = this.signature;
|
|
|
if (this.ultrasoundCode != null)
|
|
|
map['UltrasoundCode'] = this.ultrasoundCode;
|
|
|
+ if (this.ecgCode != null)
|
|
|
+ map['EcgCode'] = this.ecgCode;
|
|
|
return map;
|
|
|
};
|
|
|
return UpdateUserRequest;
|
|
@@ -478,6 +501,35 @@ var BindUltrasoundCodeRequest = /** @class */ (function (_super) {
|
|
|
return BindUltrasoundCodeRequest;
|
|
|
}(authentication_m_1.TokenRequest));
|
|
|
exports.BindUltrasoundCodeRequest = BindUltrasoundCodeRequest;
|
|
|
+var BindEcgCodeRequest = /** @class */ (function (_super) {
|
|
|
+ __extends(BindEcgCodeRequest, _super);
|
|
|
+ function BindEcgCodeRequest(_a) {
|
|
|
+ var userCode = _a.userCode, ecgCode = _a.ecgCode, token = _a.token;
|
|
|
+ var _this = _super.call(this, {
|
|
|
+ token: token,
|
|
|
+ }) || this;
|
|
|
+ _this.userCode = userCode;
|
|
|
+ _this.ecgCode = ecgCode;
|
|
|
+ _this.token = token;
|
|
|
+ return _this;
|
|
|
+ }
|
|
|
+ BindEcgCodeRequest.fromJson = function (map) {
|
|
|
+ return new BindEcgCodeRequest({ userCode: map['UserCode'],
|
|
|
+ ecgCode: map['EcgCode'],
|
|
|
+ token: map['Token'],
|
|
|
+ });
|
|
|
+ };
|
|
|
+ BindEcgCodeRequest.prototype.toJson = function () {
|
|
|
+ var map = _super.prototype.toJson.call(this);
|
|
|
+ if (this.userCode != null)
|
|
|
+ map['UserCode'] = this.userCode;
|
|
|
+ if (this.ecgCode != null)
|
|
|
+ map['EcgCode'] = this.ecgCode;
|
|
|
+ return map;
|
|
|
+ };
|
|
|
+ return BindEcgCodeRequest;
|
|
|
+}(authentication_m_1.TokenRequest));
|
|
|
+exports.BindEcgCodeRequest = BindEcgCodeRequest;
|
|
|
var GetUserPageByOrganizationCodeRequest = /** @class */ (function (_super) {
|
|
|
__extends(GetUserPageByOrganizationCodeRequest, _super);
|
|
|
function GetUserPageByOrganizationCodeRequest(_a) {
|