|
@@ -36,6 +36,9 @@ export class ResourceModule extends ModuleRoot {
|
|
|
|
|
|
materialImageListCtrl: new PageListController(this.config?.httpConfig),
|
|
materialImageListCtrl: new PageListController(this.config?.httpConfig),
|
|
materialVideoListCtrl: new PageListController(this.config?.httpConfig),
|
|
materialVideoListCtrl: new PageListController(this.config?.httpConfig),
|
|
|
|
+
|
|
|
|
+ matImageListCtrl: new PageListController(this.config?.httpConfig),
|
|
|
|
+ matVideoListCtrl: new PageListController(this.config?.httpConfig),
|
|
};
|
|
};
|
|
natsBus = new BusController();
|
|
natsBus = new BusController();
|
|
treeController = new TreeController(this.natsBus);
|
|
treeController = new TreeController(this.natsBus);
|
|
@@ -50,15 +53,23 @@ export class ResourceModule extends ModuleRoot {
|
|
this.controls.matTempListCtrl.setCrudPrefix("/tpls");
|
|
this.controls.matTempListCtrl.setCrudPrefix("/tpls");
|
|
this.controls.matTempListCtrl.state.size = 20;
|
|
this.controls.matTempListCtrl.state.size = 20;
|
|
|
|
|
|
- this.controls.materialImageListCtrl.setCrudPrefix("/source")
|
|
|
|
|
|
+ this.controls.materialImageListCtrl.setCrudPrefix("/source");
|
|
this.controls.materialImageListCtrl.state.size = 18;
|
|
this.controls.materialImageListCtrl.state.size = 18;
|
|
- this.controls.materialImageListCtrl.state.query = {fileType:"image"}
|
|
|
|
|
|
+ this.controls.materialImageListCtrl.state.query = { fileType: "image" };
|
|
|
|
|
|
- this.controls.materialVideoListCtrl.setCrudPrefix("/source")
|
|
|
|
|
|
+ this.controls.materialVideoListCtrl.setCrudPrefix("/source");
|
|
this.controls.materialVideoListCtrl.state.size = 18;
|
|
this.controls.materialVideoListCtrl.state.size = 18;
|
|
- this.controls.materialVideoListCtrl.state.query = {fileType:"video"}
|
|
|
|
|
|
+ this.controls.materialVideoListCtrl.state.query = { fileType: "video" };
|
|
|
|
+
|
|
|
|
+ this.controls.matImageListCtrl.setCrudPrefix("/source");
|
|
|
|
+ this.controls.matImageListCtrl.state.size = 20;
|
|
|
|
+ this.controls.matImageListCtrl.state.query = { fileType: "image" };
|
|
|
|
+
|
|
|
|
+ this.controls.matVideoListCtrl.setCrudPrefix("/source");
|
|
|
|
+ this.controls.matVideoListCtrl.state.size = 20;
|
|
|
|
+ this.controls.matVideoListCtrl.state.query = { fileType: "video" };
|
|
|
|
|
|
- this.natsBus.init()
|
|
|
|
|
|
+ this.natsBus.init();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|