cc-core-cli 1.0.88 → 1.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
&.data-table {
|
|
241
241
|
.ant-table-thead {
|
|
242
242
|
.ant-table-cell {
|
|
243
|
-
text-align: center
|
|
243
|
+
text-align: center;
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
}
|
|
@@ -1922,7 +1922,9 @@ h4.ant-typography {
|
|
|
1922
1922
|
justify-content: center;
|
|
1923
1923
|
color: var(--text-color-var) !important;
|
|
1924
1924
|
background-color: var(--background-color-var) !important;
|
|
1925
|
+
margin-top: var(--align-bottom) !important
|
|
1925
1926
|
}
|
|
1927
|
+
|
|
1926
1928
|
.buttonvariable:hover{
|
|
1927
1929
|
background-color: var(--background-color-hover-var) !important;
|
|
1928
1930
|
color: var(--text-color-hover-var) !important;
|
|
@@ -425,9 +425,14 @@ export class CoreController {
|
|
|
425
425
|
@Basic()
|
|
426
426
|
@Patch("/:entity/import_validate")
|
|
427
427
|
async importValidate(@Param() params: any, @Body() body): Promise<boolean> {
|
|
428
|
-
return this.service.importValidate(
|
|
428
|
+
return this.service.importValidate(
|
|
429
|
+
params.entity,
|
|
430
|
+
body.id,
|
|
429
431
|
body.code,
|
|
432
|
+
body.data,
|
|
433
|
+
body.data_text,
|
|
430
434
|
body.original_data,
|
|
431
|
-
body.filename
|
|
435
|
+
body.filename
|
|
436
|
+
);
|
|
432
437
|
}
|
|
433
438
|
}
|
|
@@ -619,11 +619,19 @@ export class CoreService implements OnModuleInit {
|
|
|
619
619
|
id: string,
|
|
620
620
|
code: string,
|
|
621
621
|
data: any,
|
|
622
|
+
dataText: string,
|
|
622
623
|
originalData,
|
|
623
624
|
filename
|
|
624
625
|
): Promise<any> {
|
|
625
626
|
const service = await this._getService(entityName);
|
|
626
|
-
return service.importValidate(
|
|
627
|
+
return service.importValidate(
|
|
628
|
+
id,
|
|
629
|
+
code,
|
|
630
|
+
data,
|
|
631
|
+
dataText,
|
|
632
|
+
originalData,
|
|
633
|
+
filename
|
|
634
|
+
);
|
|
627
635
|
}
|
|
628
636
|
}
|
|
629
637
|
|