jtui3.0 1.1.42 → 1.1.44

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.
@@ -299287,6 +299287,11 @@ const jt_page_manager_tree_tablevue_type_script_setup_true_lang_js_default_ = {
299287
299287
  },
299288
299288
  modify_handler: async params => {
299289
299289
  const path = forms_item.submit + forms_item.path;
299290
+
299291
+ if (queryParmasOut.value) {
299292
+ params = Object.assign(params, queryParmasOut.value);
299293
+ }
299294
+
299290
299295
  const {
299291
299296
  data
299292
299297
  } = await props.axios.post(path, params);
@@ -299344,6 +299349,8 @@ const jt_page_manager_tree_tablevue_type_script_setup_true_lang_js_default_ = {
299344
299349
 
299345
299350
  ElMessage.warning("修改失败[" + msg + "]");
299346
299351
  }
299352
+
299353
+ queryParmasOut.value = null;
299347
299354
  },
299348
299355
  //执行一个操作
299349
299356
  exec_handler: async (url, treeCheckedData, cusItem) => {
@@ -299353,6 +299360,10 @@ const jt_page_manager_tree_tablevue_type_script_setup_true_lang_js_default_ = {
299353
299360
  cancelButtonText: "取消",
299354
299361
  type: "warning"
299355
299362
  }).then(async () => {
299363
+ if (queryParmasOut.value) {
299364
+ params = Object.assign(params, queryParmasOut.value);
299365
+ }
299366
+
299356
299367
  const {
299357
299368
  data
299358
299369
  } = await props.axios.post(path, model_all);
@@ -299360,6 +299371,7 @@ const jt_page_manager_tree_tablevue_type_script_setup_true_lang_js_default_ = {
299360
299371
  handlerCallBack(data, 'exec', {
299361
299372
  cusItem
299362
299373
  });
299374
+ queryParmasOut.value = null;
299363
299375
  }).catch(() => {});
299364
299376
  },
299365
299377
  del_handler: async () => {
@@ -300262,6 +300274,11 @@ function MttPanelHook(props, isListen = true) {
300262
300274
  //修改操作
300263
300275
  modify_handler: async (params, item, level) => {
300264
300276
  const path = item.submit + item.path;
300277
+
300278
+ if (queryParmasOut.value) {
300279
+ params = Object.assign(params, queryParmasOut.value);
300280
+ }
300281
+
300265
300282
  const {
300266
300283
  data
300267
300284
  } = await props.axios.post(path, params);
@@ -300314,6 +300331,8 @@ function MttPanelHook(props, isListen = true) {
300314
300331
 
300315
300332
  ElMessage.warning("修改失败[" + msg + "]");
300316
300333
  }
300334
+
300335
+ queryParmasOut.value = null;
300317
300336
  },
300318
300337
  // 下载文件
300319
300338
  download_handler: row => {
@@ -300346,18 +300365,22 @@ function MttPanelHook(props, isListen = true) {
300346
300365
  }).catch(() => {});
300347
300366
  },
300348
300367
  exec_handler: async (params, item, level) => {
300349
- console.log(item);
300350
300368
  const path = item.submit + item.path;
300351
300369
  ElMessageBox.confirm("请确认开始执行操作?", "提示", {
300352
300370
  confirmButtonText: "确定",
300353
300371
  cancelButtonText: "取消",
300354
300372
  type: "warning"
300355
300373
  }).then(async () => {
300374
+ if (queryParmasOut.value) {
300375
+ params = Object.assign(params, queryParmasOut.value);
300376
+ }
300377
+
300356
300378
  const {
300357
300379
  data
300358
300380
  } = await props.axios.post(path, model_all.value);
300359
300381
  hideModal();
300360
300382
  handlerCallBack(data, level, 'exec', item);
300383
+ queryParmasOut.value = null;
300361
300384
  }).catch(() => {});
300362
300385
  }
300363
300386
  }; //parentId寻找父级