jtui-vite 1.0.21 → 1.0.22

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.
@@ -5504,7 +5504,11 @@ const Po = {
5504
5504
  props: {
5505
5505
  requestFields: Object,
5506
5506
  page: Object,
5507
- axios: Function
5507
+ axios: Function,
5508
+ isGroup: {
5509
+ type: Boolean,
5510
+ default: !1
5511
+ }
5508
5512
  },
5509
5513
  setup(e, { expose: t }) {
5510
5514
  const o = e, { requestFields: n, page: r, axios: l } = o, i = Ce(), u = Ce(), a = Ce(), c = rn({
@@ -5546,7 +5550,7 @@ const Po = {
5546
5550
  let W = "";
5547
5551
  if ((r || n) && (c.setStatus = (r || n).Resinbz_selected, W = (r || n).ActRes), !(r || n).ActRes)
5548
5552
  return;
5549
- const { data: v } = await l.post(`${W}ResList`);
5553
+ const { data: v } = await o.axios.post(`${W}ResList`);
5550
5554
  c.options = v, c.zyqx = v[0].tpid, y(v[0].tpid);
5551
5555
  }
5552
5556
  function y(W) {
@@ -5591,12 +5595,12 @@ const Po = {
5591
5595
  savedao: c.active_zyqx.savedao,
5592
5596
  savefield: c.active_zyqx.savefield
5593
5597
  };
5594
- const { data: H } = await l.post(
5598
+ const { data: H } = await o.axios.post(
5595
5599
  c.active_zyqx.listuri + c.active_zyqx.srpath,
5596
5600
  v
5597
5601
  );
5598
5602
  c.loading = !1, H[0].Result > 0 ? Re(() => {
5599
- c.data_t = H, g(c.data_t[0].DataArray);
5603
+ console.log(H, 1111), c.data_t = H, g(c.data_t[0].DataArray);
5600
5604
  }) : c.data_t = [{ retjson: {}, DataArray: [], Result: "" }];
5601
5605
  }
5602
5606
  function g(W) {
@@ -5622,7 +5626,7 @@ const Po = {
5622
5626
  (j) => j.tpid === c.zyqx
5623
5627
  ), v = W.subdao, H = W.subfield.split(","), I = {};
5624
5628
  I[H[0]] = c.select_subid;
5625
- const { data: J } = await l.post(v + "Delete", I);
5629
+ const { data: J } = await o.axios.post(v + "Delete", I);
5626
5630
  J[0].Result >= 0 ? (yn.success("删除成功"), c.select_subid = null, b()) : yn.warning("删除失败");
5627
5631
  });
5628
5632
  }
@@ -5649,7 +5653,7 @@ const Po = {
5649
5653
  I[H[0]] = c.select_subid, I[H[2]] = c.sub_sid_name, J = "Update";
5650
5654
  else
5651
5655
  return;
5652
- const { data: j } = await l.post(v + J, I);
5656
+ const { data: j } = await o.axios.post(v + J, I);
5653
5657
  j[0].Result >= 0 ? (yn.success("保存成功"), c.select_subid = null, b(), c.addNewVisible = !1) : yn.warning("保存失败[" + j[0].MSG + "]");
5654
5658
  }
5655
5659
  function A(W) {
@@ -5692,7 +5696,7 @@ const Po = {
5692
5696
  B[0] = {}, B[0].subid = c.select_subid;
5693
5697
  for (let N = 0; N < Z.length; N++) {
5694
5698
  c.loadText = `正在保存${j * N}/${H.length}`;
5695
- const { data: X } = await l.post(
5699
+ const { data: X } = await o.axios.post(
5696
5700
  (r || n).SubmitResList + "IU",
5697
5701
  {
5698
5702
  rescode: c.active_zyqx.rescode,
@@ -5823,13 +5827,13 @@ const Po = {
5823
5827
  default: se(() => [
5824
5828
  (G(!0), ge(Nt, null, Xt(c.Resinbz, (ie) => (G(), We(j, {
5825
5829
  key: ie.value,
5826
- label: ie.value
5830
+ value: ie.value
5827
5831
  }, {
5828
5832
  default: se(() => [
5829
5833
  Kt(on(ie.label), 1)
5830
5834
  ]),
5831
5835
  _: 2
5832
- }, 1032, ["label"]))), 128))
5836
+ }, 1032, ["value"]))), 128))
5833
5837
  ]),
5834
5838
  _: 1
5835
5839
  }, 8, ["modelValue"]),
@@ -5893,7 +5897,7 @@ const Po = {
5893
5897
  key: 0,
5894
5898
  description: "无数据"
5895
5899
  })) : Ve("", !0),
5896
- W.$route.query.isGroup === "0" && c.data_t[0].DataArray.length !== 0 ? (G(), We(N, {
5900
+ !c?.isShowGroup && c.data_t[0].DataArray.length !== 0 ? (G(), We(N, {
5897
5901
  key: 1,
5898
5902
  id: "auth_type_base",
5899
5903
  ref_key: "auth_type_base",
@@ -5902,7 +5906,7 @@ const Po = {
5902
5906
  data: c.data_t,
5903
5907
  onCustomEvents: F
5904
5908
  }, null, 8, ["data"])) : Ve("", !0),
5905
- W.$route.query.isGroup === void 0 && c.isShowGroup && c.data_t[0].DataArray.length ? (G(), We(X, {
5909
+ c?.isShowGroup && c.data_t[0].DataArray.length !== 0 ? (G(), We(X, {
5906
5910
  key: 2,
5907
5911
  id: "auth_type",
5908
5912
  ref_key: "auth_type",
@@ -5953,7 +5957,7 @@ const Po = {
5953
5957
  ]);
5954
5958
  };
5955
5959
  }
5956
- }, fk = /* @__PURE__ */ On(dk, [["__scopeId", "data-v-ffc19c82"]]), pk = { class: "search-box" }, hk = { class: "sb-comp" }, gk = {
5960
+ }, fk = /* @__PURE__ */ On(dk, [["__scopeId", "data-v-a76fd620"]]), pk = { class: "search-box" }, hk = { class: "sb-comp" }, gk = {
5957
5961
  __name: "jt-form-listuri-pc",
5958
5962
  props: {
5959
5963
  reslist_field: Object
@@ -6054,44 +6058,50 @@ const Po = {
6054
6058
  key: 0,
6055
6059
  id: i.funcode,
6056
6060
  form: He(r),
6057
- page: i
6058
- }, null, 8, ["id", "form", "page"])) : Ve("", !0),
6061
+ page: i,
6062
+ axios: e.axios
6063
+ }, null, 8, ["id", "form", "page", "axios"])) : Ve("", !0),
6059
6064
  i.formtype === "jt-view-alertblock-pc" ? (G(), We(BT, {
6060
6065
  key: 1,
6061
6066
  id: i.funcode,
6062
6067
  form: He(r),
6063
- page: i
6064
- }, null, 8, ["id", "form", "page"])) : Ve("", !0),
6068
+ page: i,
6069
+ axios: e.axios
6070
+ }, null, 8, ["id", "form", "page", "axios"])) : Ve("", !0),
6065
6071
  i.formtype === "jt-view-table-pc" ? (G(), We(XT, {
6066
6072
  key: 2,
6067
6073
  id: i.funcode,
6068
6074
  form: He(r),
6069
- page: i
6070
- }, null, 8, ["id", "form", "page"])) : Ve("", !0),
6075
+ page: i,
6076
+ axios: e.axios
6077
+ }, null, 8, ["id", "form", "page", "axios"])) : Ve("", !0),
6071
6078
  i.formtype == "jt-form-reslist-pc" ? (G(), We(nk, {
6072
6079
  key: 3,
6073
6080
  id: i.pagecode,
6074
6081
  ref: f,
6075
6082
  modelValue: i.model[i.formConfig[0].modelKey],
6076
6083
  "onUpdate:modelValue": O[0] || (O[0] = (T) => i.model[i.formConfig[0].modelKey] = T),
6077
- reslist_field: i.formConfig[0]
6078
- }, null, 8, ["id", "modelValue", "reslist_field"])) : Ve("", !0),
6084
+ reslist_field: i.formConfig[0],
6085
+ axios: e.axios
6086
+ }, null, 8, ["id", "modelValue", "reslist_field", "axios"])) : Ve("", !0),
6079
6087
  i.formtype == "jt-form-listuri-pc" ? (G(), We(mk, {
6080
6088
  key: 4,
6081
6089
  id: i.pagecode,
6082
6090
  ref: f,
6083
6091
  modelValue: i.model[i.formConfig[0].modelKey],
6084
6092
  "onUpdate:modelValue": O[1] || (O[1] = (T) => i.model[i.formConfig[0].modelKey] = T),
6085
- reslist_field: i.formConfig[0]
6086
- }, null, 8, ["id", "modelValue", "reslist_field"])) : Ve("", !0),
6093
+ reslist_field: i.formConfig[0],
6094
+ axios: e.axios
6095
+ }, null, 8, ["id", "modelValue", "reslist_field", "axios"])) : Ve("", !0),
6087
6096
  i.formtype === "jt-form-define-pc" ? (G(), ge("div", bk, [
6088
6097
  fe(fk, {
6089
6098
  id: i.pagecode,
6090
6099
  ref: f,
6091
6100
  modelValue: i.model[He(n).formConfig[0].modelKey],
6092
6101
  "onUpdate:modelValue": O[2] || (O[2] = (T) => i.model[He(n).formConfig[0].modelKey] = T),
6093
- requestFields: i
6094
- }, null, 8, ["id", "modelValue", "requestFields"])
6102
+ requestFields: i,
6103
+ axios: e.axios
6104
+ }, null, 8, ["id", "modelValue", "requestFields", "axios"])
6095
6105
  ])) : Ve("", !0),
6096
6106
  i.formtype === "jt-form-pc" ? (G(), We($, {
6097
6107
  key: 6,
@@ -6127,7 +6137,7 @@ const Po = {
6127
6137
  ]);
6128
6138
  };
6129
6139
  }
6130
- }, wk = /* @__PURE__ */ On(xk, [["__scopeId", "data-v-4666fbfc"]]), Ck = { class: "header" }, Ek = { class: "header-left" }, _k = { class: "header-right" }, Sk = { class: "com-div" }, Dk = { class: "web-div" }, Rk = {
6140
+ }, wk = /* @__PURE__ */ On(xk, [["__scopeId", "data-v-1c5c1b64"]]), Ck = { class: "header" }, Ek = { class: "header-left" }, _k = { class: "header-right" }, Sk = { class: "com-div" }, Dk = { class: "web-div" }, Rk = {
6131
6141
  __name: "logView",
6132
6142
  props: {
6133
6143
  width: { type: Number },