|
@@ -589,6 +589,7 @@ export default {
|
|
|
pageSize: 100,
|
|
|
}).toJson();
|
|
|
var result = await this.$rpc.team.getTeamPageByOrganizationAsync(request);
|
|
|
+
|
|
|
this.tableData.map((item) => {
|
|
|
if (item.code == code) {
|
|
|
item.team = result.pageData;
|
|
@@ -604,6 +605,7 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
if (this.mode == "add") {
|
|
|
const createOrganizationRequest = new CreateOrganizationRequest({
|
|
|
...this.formInline,
|
|
@@ -647,6 +649,7 @@ export default {
|
|
|
} else {
|
|
|
createOrganizationRequest.CustomType = 0;
|
|
|
}
|
|
|
+ createOrganizationRequest["IsAutoCreateReport"] = this.formInline.IsAutoCreateReport;
|
|
|
const createOrganization =
|
|
|
await this.$rpc.organization.createOrganizationAsync(
|
|
|
createOrganizationRequest
|
|
@@ -730,7 +733,8 @@ export default {
|
|
|
updateOrganizationRequest.BloodRoutineTemplateKey = this.formInline.bloodRoutineTemplateKey;
|
|
|
} else {
|
|
|
updateOrganizationRequest.BloodRoutineTemplateKey = "";
|
|
|
- }
|
|
|
+ }
|
|
|
+ updateOrganizationRequest["IsAutoCreateReport"] = this.formInline.IsAutoCreateReport;
|
|
|
const updateOrganization =
|
|
|
await this.$rpc.organization.updateOrganizationAsync(
|
|
|
updateOrganizationRequest
|
|
@@ -776,6 +780,7 @@ export default {
|
|
|
await this.$rpc.organization.getOrganizationDetailAsync(
|
|
|
getOrganizationRequest
|
|
|
);
|
|
|
+ getOrganization["IsAutoCreateReport"] = row.isAutoCreateReport;
|
|
|
this.formInline = getOrganization;
|
|
|
},
|
|
|
async showOrg(row, index) {
|