jtui3.0 1.1.34 → 1.1.35

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.
@@ -299841,6 +299841,7 @@ function MttPanelHook(props) {
299841
299841
  }).catch(() => {});
299842
299842
  },
299843
299843
  exec_handler: async (params, item, level) => {
299844
+ console.log(item);
299844
299845
  const path = item.submit + item.path;
299845
299846
  ElMessageBox.confirm("请确认开始执行操作?", "提示", {
299846
299847
  confirmButtonText: "确定",
@@ -299917,7 +299918,9 @@ function MttPanelHook(props) {
299917
299918
  row
299918
299919
  } = findParentData(activeRow.value.parentId, level);
299919
299920
 
299920
- if (level == 2) {
299921
+ if (level == 0) {
299922
+ props.initPageEvent();
299923
+ } else if (level == 2) {
299921
299924
  cardClick(row);
299922
299925
  } else if (level == 3) {
299923
299926
  loadListData_req(row);
@@ -299937,7 +299940,9 @@ function MttPanelHook(props) {
299937
299940
  row
299938
299941
  } = findParentData(activeRow.value.parentId, level);
299939
299942
 
299940
- if (level == 2) {
299943
+ if (level == 0) {
299944
+ props.initPageEvent();
299945
+ } else if (level == 2) {
299941
299946
  cardClick(row);
299942
299947
  } else if (level == 3) {
299943
299948
  loadListData_req(row);
@@ -299951,7 +299956,9 @@ function MttPanelHook(props) {
299951
299956
  props.initPageEvent();
299952
299957
  }
299953
299958
  } else {
299954
- if (level == 1) {
299959
+ if (level == 0) {
299960
+ props.initPageEvent();
299961
+ } else if (level == 1) {
299955
299962
  cardClick(activeRow.value);
299956
299963
  } else if (level == 2) {
299957
299964
  loadListData_req(activeRow.value);
@@ -300149,7 +300156,7 @@ function MttPanelHook(props) {
300149
300156
 
300150
300157
  if (["del", "exec", "topage", "delsons"].includes(type)) {
300151
300158
  const path = forms_item.value.submit + forms_item.value.path;
300152
- operFunc[type + "_handler"](path, [], item);
300159
+ operFunc[type + "_handler"](path, item, 0);
300153
300160
  } else {
300154
300161
  item.display = !item.display;
300155
300162
  }
@@ -299851,6 +299851,7 @@ function MttPanelHook(props) {
299851
299851
  }).catch(() => {});
299852
299852
  },
299853
299853
  exec_handler: async (params, item, level) => {
299854
+ console.log(item);
299854
299855
  const path = item.submit + item.path;
299855
299856
  ElMessageBox.confirm("请确认开始执行操作?", "提示", {
299856
299857
  confirmButtonText: "确定",
@@ -299927,7 +299928,9 @@ function MttPanelHook(props) {
299927
299928
  row
299928
299929
  } = findParentData(activeRow.value.parentId, level);
299929
299930
 
299930
- if (level == 2) {
299931
+ if (level == 0) {
299932
+ props.initPageEvent();
299933
+ } else if (level == 2) {
299931
299934
  cardClick(row);
299932
299935
  } else if (level == 3) {
299933
299936
  loadListData_req(row);
@@ -299947,7 +299950,9 @@ function MttPanelHook(props) {
299947
299950
  row
299948
299951
  } = findParentData(activeRow.value.parentId, level);
299949
299952
 
299950
- if (level == 2) {
299953
+ if (level == 0) {
299954
+ props.initPageEvent();
299955
+ } else if (level == 2) {
299951
299956
  cardClick(row);
299952
299957
  } else if (level == 3) {
299953
299958
  loadListData_req(row);
@@ -299961,7 +299966,9 @@ function MttPanelHook(props) {
299961
299966
  props.initPageEvent();
299962
299967
  }
299963
299968
  } else {
299964
- if (level == 1) {
299969
+ if (level == 0) {
299970
+ props.initPageEvent();
299971
+ } else if (level == 1) {
299965
299972
  cardClick(activeRow.value);
299966
299973
  } else if (level == 2) {
299967
299974
  loadListData_req(activeRow.value);
@@ -300159,7 +300166,7 @@ function MttPanelHook(props) {
300159
300166
 
300160
300167
  if (["del", "exec", "topage", "delsons"].includes(type)) {
300161
300168
  const path = forms_item.value.submit + forms_item.value.path;
300162
- operFunc[type + "_handler"](path, [], item);
300169
+ operFunc[type + "_handler"](path, item, 0);
300163
300170
  } else {
300164
300171
  item.display = !item.display;
300165
300172
  }