@ningboyz/types 1.5.86 → 1.5.88
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
|
@@ -140,6 +140,12 @@ export class TSysMenuWithCoreResponse implements ISysMenuWithCoreResponse {
|
|
|
140
140
|
wldyPage: IWldyPageResponse[] = [];
|
|
141
141
|
listGAMS: IGamsCnfgResponse[] = [];
|
|
142
142
|
|
|
143
|
+
constructor(menu: any = {}) {
|
|
144
|
+
if (menu) {
|
|
145
|
+
_.merge(this, _.pick(menu, Object.keys(this)));
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
143
149
|
static parseJson(menuPara: string) {
|
|
144
150
|
const defaultMenuPara = new TSysMenuWithCoreResponseMenuPara();
|
|
145
151
|
if (_.isEmpty(menuPara)) {
|
|
@@ -87,6 +87,7 @@ export interface IHznjMainResponse {
|
|
|
87
87
|
touchURL: string;
|
|
88
88
|
unitText: string;
|
|
89
89
|
sourceDW: string;
|
|
90
|
+
bgysMain: number;
|
|
90
91
|
/**报告样式 */
|
|
91
92
|
bgysText: string;
|
|
92
93
|
|
|
@@ -171,6 +172,7 @@ export class THznjMainResponse implements Type {
|
|
|
171
172
|
sampCode: string = "";
|
|
172
173
|
/**样品名称 */
|
|
173
174
|
sampName: string = "";
|
|
175
|
+
bgysMain: number = 0;
|
|
174
176
|
bgysText: string = "";
|
|
175
177
|
|
|
176
178
|
coverURL: string = "";
|