ionic-vhframeworks 8.2.8 → 8.2.9
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.
|
@@ -12506,11 +12506,11 @@ export declare class VhQueryAutoWeb {
|
|
|
12506
12506
|
* type: 1
|
|
12507
12507
|
* }
|
|
12508
12508
|
* this.vhQueryAutoWeb.addEWADocument(data)
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12509
|
+
.then((EWAdocument)=>{
|
|
12510
|
+
console.log('addEWADocument', EWAdocument);
|
|
12511
|
+
},(error:any)=>{
|
|
12512
|
+
console.log('error', error);
|
|
12513
|
+
})
|
|
12514
12514
|
* @param id_EWAdocument
|
|
12515
12515
|
* @param data : {}
|
|
12516
12516
|
* @return Promise => obj = {} /error
|
|
@@ -12518,23 +12518,23 @@ export declare class VhQueryAutoWeb {
|
|
|
12518
12518
|
*/
|
|
12519
12519
|
addEWADocument(data: object): Promise<unknown>;
|
|
12520
12520
|
/**
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
12521
|
+
* @example:
|
|
12522
|
+
* let data = {
|
|
12523
|
+
* name: 'TCL',
|
|
12524
|
+
* code_type: 10,
|
|
12525
|
+
* type: 1
|
|
12526
|
+
* }
|
|
12527
|
+
* this.vhQueryAutoWeb.addEWADocument_byID('5fb6780ca2148e09806c5b01', data)
|
|
12528
12528
|
.then((EWAdocument)=>{
|
|
12529
12529
|
console.log('addEWADocument_byID', EWAdocument);
|
|
12530
12530
|
},(error:any)=>{
|
|
12531
12531
|
console.log('error', error);
|
|
12532
12532
|
})
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
12536
|
-
|
|
12537
|
-
|
|
12533
|
+
* @param id_EWAdocument
|
|
12534
|
+
* @param data : {}
|
|
12535
|
+
* @return Promise => obj = {} /error
|
|
12536
|
+
* Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
|
|
12537
|
+
*/
|
|
12538
12538
|
addEWADocument_byID(id_EWAdocument: string, data: object): Promise<unknown>;
|
|
12539
12539
|
/**
|
|
12540
12540
|
* @example:
|