123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- function OnInitializeData(reload, preview) {
-
- PUI(()=>{
-
-
-
-
- });
- }
- function OnReady(reload, preview) {
-
- PUI(()=>{
-
-
-
-
- });
- }
- function OnCloseForm() {
- }
- function OnException(err) {
-
- }
- function OnTopMenu(idx) {
- unit.form.toolAF.OnTopMenu(idx);
-
- ui.mp_btn.valid = ui.env_pb.valid = ui.seclect_pb.valid = false;
-
- if (idx === 1) {
- ui.mp_btn.valid = true;
- }
- if (idx === 2) {
- ui.env_pb.valid = true;
- }
- if (idx === 3) {
- ui.mp_btn.valid = true;
- }
- }
- function OnOpen(){
- ui.stack_switch.index = 0;
- ui.stack_tool.visible = true;
- }
- function OnClose(){
- ui.stack_switch.index = 1;
- ui.stack_tool.visible = false;
- }
- function OnParentDockerMessage(type, para) {
- }
- function onDragFile(filepath) {
- }
- function PUI(cb) {
- if(pui){cb();}
- }
- function BLOCK_EVENT(cb) {
- ui.block_event = true;
-
- cb();
-
- ui.block_event = false;
- }
- function CW_DeclareVariable(name, setter, getter) {
- if(typeof(__DeclareVariable) === 'function') {
- __DeclareVariable(name, setter, getter);
- }
- }
- function CW_DeclareOuterVariable(name) {
- if(typeof(__DeclareOuterVariable) === 'function') {
- __DeclareOuterVariable(name);
- }
- }
|