iv-npm 1.2.67 → 1.2.70

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.
@@ -633,9 +633,9 @@ var _hoisted_19$6 = {
633
633
  "class": "table-footer"
634
634
  };
635
635
 
636
- var _hoisted_20$5 = /*#__PURE__*/createStaticVNode("<div class=\"centent\"><svg class=\"ant-empty-img-simple\" width=\"64\" height=\"41\" viewBox=\"0 0 64 41\"><g transform=\"translate(0 1)\" fill=\"none\" fill-rule=\"evenodd\"><ellipse class=\"ant-empty-img-simple-ellipse\" fill=\"#F5F5F5\" cx=\"32\" cy=\"33\" rx=\"32\" ry=\"7\"></ellipse><g class=\"ant-empty-img-simple-g\" fill-rule=\"nonzero\" stroke=\"#D9D9D9\"><path d=\"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z\"></path><path d=\"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z\" fill=\"#FAFAFA\" class=\"ant-empty-img-simple-path\"></path></g></g></svg> 没有数据 </div>", 1);
636
+ var _hoisted_20$4 = /*#__PURE__*/createStaticVNode("<div class=\"centent\"><svg class=\"ant-empty-img-simple\" width=\"64\" height=\"41\" viewBox=\"0 0 64 41\"><g transform=\"translate(0 1)\" fill=\"none\" fill-rule=\"evenodd\"><ellipse class=\"ant-empty-img-simple-ellipse\" fill=\"#F5F5F5\" cx=\"32\" cy=\"33\" rx=\"32\" ry=\"7\"></ellipse><g class=\"ant-empty-img-simple-g\" fill-rule=\"nonzero\" stroke=\"#D9D9D9\"><path d=\"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z\"></path><path d=\"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z\" fill=\"#FAFAFA\" class=\"ant-empty-img-simple-path\"></path></g></g></svg> 没有数据 </div>", 1);
637
637
 
638
- var _hoisted_21$4 = [_hoisted_20$5];
638
+ var _hoisted_21$4 = [_hoisted_20$4];
639
639
  var script$o = /*#__PURE__*/defineComponent({
640
640
  __name: 'IVTable',
641
641
  props: {
@@ -5504,7 +5504,7 @@ var _hoisted_18$4 = {
5504
5504
  var _hoisted_19$4 = {
5505
5505
  key: 1
5506
5506
  };
5507
- var _hoisted_20$4 = {
5507
+ var _hoisted_20$3 = {
5508
5508
  key: 2
5509
5509
  };
5510
5510
  var _hoisted_21$3 = ["onClick"];
@@ -5877,7 +5877,7 @@ var script$5 = /*#__PURE__*/defineComponent({
5877
5877
  onUpth: upth
5878
5878
  }, {
5879
5879
  clientLevel: withCtx(function (e) {
5880
- return [e.item.clientLevel === 0 ? (openBlock(), createElementBlock("span", _hoisted_18$4, "优质")) : e.item.clientLevel === 1 ? (openBlock(), createElementBlock("span", _hoisted_19$4, "普通")) : e.item.clientLevel === 2 ? (openBlock(), createElementBlock("span", _hoisted_20$4, "差")) : createCommentVNode("v-if", true)];
5880
+ return [e.item.clientLevel === 0 ? (openBlock(), createElementBlock("span", _hoisted_18$4, "优质")) : e.item.clientLevel === 1 ? (openBlock(), createElementBlock("span", _hoisted_19$4, "普通")) : e.item.clientLevel === 2 ? (openBlock(), createElementBlock("span", _hoisted_20$3, "差")) : createCommentVNode("v-if", true)];
5881
5881
  }),
5882
5882
  name: withCtx(function (e) {
5883
5883
  return [createElementVNode("span", {
@@ -6158,7 +6158,7 @@ var _hoisted_18$3 = ["onClick"];
6158
6158
  var _hoisted_19$3 = {
6159
6159
  key: 0
6160
6160
  };
6161
- var _hoisted_20$3 = {
6161
+ var _hoisted_20$2 = {
6162
6162
  "class": "flex items-center justify-around text-[#006AB2] text-[13px]"
6163
6163
  };
6164
6164
  var _hoisted_21$2 = ["onClick"];
@@ -6584,7 +6584,7 @@ var script$3 = /*#__PURE__*/defineComponent({
6584
6584
  ))];
6585
6585
  }),
6586
6586
  buttonSlot: withCtx(function (buttonSlot) {
6587
- return [createElementVNode("div", _hoisted_20$3, [createElementVNode("span", {
6587
+ return [createElementVNode("div", _hoisted_20$2, [createElementVNode("span", {
6588
6588
  "class": "cursor-pointer",
6589
6589
  onClick: function onClick($event) {
6590
6590
  return sendItem(buttonSlot.item);
@@ -6677,7 +6677,7 @@ var _hoisted_18$2 = {
6677
6677
  var _hoisted_19$2 = {
6678
6678
  key: 0
6679
6679
  };
6680
- var _hoisted_20$2 = {
6680
+ var _hoisted_20$1 = {
6681
6681
  key: 0
6682
6682
  };
6683
6683
  var _hoisted_21$1 = {
@@ -7180,7 +7180,7 @@ var script$2 = /*#__PURE__*/defineComponent({
7180
7180
  ))];
7181
7181
  }),
7182
7182
  vendorLevel: withCtx(function (e) {
7183
- return [e.item.vendorLevel === 0 ? (openBlock(), createElementBlock("span", _hoisted_20$2, "优质")) : e.item.vendorLevel === 1 ? (openBlock(), createElementBlock("span", _hoisted_21$1, "普通")) : e.item.vendorLevel === 2 ? (openBlock(), createElementBlock("span", _hoisted_22$1, "差")) : e.item.vendorLevel === 3 ? (openBlock(), createElementBlock("span", _hoisted_23, "内部")) : createCommentVNode("v-if", true)];
7183
+ return [e.item.vendorLevel === 0 ? (openBlock(), createElementBlock("span", _hoisted_20$1, "优质")) : e.item.vendorLevel === 1 ? (openBlock(), createElementBlock("span", _hoisted_21$1, "普通")) : e.item.vendorLevel === 2 ? (openBlock(), createElementBlock("span", _hoisted_22$1, "差")) : e.item.vendorLevel === 3 ? (openBlock(), createElementBlock("span", _hoisted_23, "内部")) : createCommentVNode("v-if", true)];
7184
7184
  }),
7185
7185
  name: withCtx(function (e) {
7186
7186
  return [createElementVNode("span", {
@@ -7292,7 +7292,7 @@ var _hoisted_19$1 = {
7292
7292
  "color": "#ff0066"
7293
7293
  }
7294
7294
  };
7295
- var _hoisted_20$1 = {
7295
+ var _hoisted_20 = {
7296
7296
  key: 2
7297
7297
  };
7298
7298
  var _hoisted_21 = {
@@ -7668,7 +7668,7 @@ var script$1 = /*#__PURE__*/defineComponent({
7668
7668
  /* TEXT */
7669
7669
  )) : e.item.isverify == '已拒绝' ? (openBlock(), createElementBlock("span", _hoisted_19$1, toDisplayString(e.item.isverify), 1
7670
7670
  /* TEXT */
7671
- )) : (openBlock(), createElementBlock("span", _hoisted_20$1, "待审核"))])];
7671
+ )) : (openBlock(), createElementBlock("span", _hoisted_20, "待审核"))])];
7672
7672
  }),
7673
7673
  buttonSlot: withCtx(function (buttonSlot) {
7674
7674
  return [createElementVNode("div", _hoisted_21, [createElementVNode("span", {
@@ -7710,7 +7710,10 @@ var _hoisted_2 = /*#__PURE__*/createElementVNode("span", {
7710
7710
  );
7711
7711
 
7712
7712
  var _hoisted_3 = {
7713
- "class": "px-[150px]",
7713
+ style: {
7714
+ "padding-left": "150px",
7715
+ "padding-right": "150px"
7716
+ },
7714
7717
  id: "IVUserSelector"
7715
7718
  };
7716
7719
  var _hoisted_4 = {
@@ -7721,47 +7724,45 @@ var _hoisted_5 = {
7721
7724
  "class": "flex items-center my-4 justify-center"
7722
7725
  };
7723
7726
 
7724
- var _hoisted_6 = /*#__PURE__*/createTextVNode(" /> --> ");
7727
+ var _hoisted_6 = /*#__PURE__*/createTextVNode(" 搜索 ");
7725
7728
 
7726
- var _hoisted_7 = /*#__PURE__*/createTextVNode(" 搜索 ");
7727
-
7728
- var _hoisted_8 = {
7729
+ var _hoisted_7 = {
7729
7730
  "class": "mt-10"
7730
7731
  };
7731
- var _hoisted_9 = {
7732
+ var _hoisted_8 = {
7732
7733
  "class": "flex justify-between mb-2"
7733
7734
  };
7734
- var _hoisted_10 = {
7735
+ var _hoisted_9 = {
7735
7736
  "class": "text-[#999999]"
7736
7737
  };
7737
7738
 
7738
- var _hoisted_11 = /*#__PURE__*/createTextVNode(" 共有 ");
7739
+ var _hoisted_10 = /*#__PURE__*/createTextVNode(" 共有 ");
7739
7740
 
7740
- var _hoisted_12 = {
7741
+ var _hoisted_11 = {
7741
7742
  "class": "text-[#BD9E55] text-[16px]"
7742
7743
  };
7743
7744
 
7744
- var _hoisted_13 = /*#__PURE__*/createTextVNode(" 个记录满足条件,当前第 ");
7745
+ var _hoisted_12 = /*#__PURE__*/createTextVNode(" 个记录满足条件,当前第 ");
7745
7746
 
7746
- var _hoisted_14 = {
7747
+ var _hoisted_13 = {
7747
7748
  "class": "text-[#BD9E55] text-[16px]"
7748
7749
  };
7749
7750
 
7750
- var _hoisted_15 = /*#__PURE__*/createTextVNode(" 页,跳转到第 ");
7751
+ var _hoisted_14 = /*#__PURE__*/createTextVNode(" 页,跳转到第 ");
7751
7752
 
7752
- var _hoisted_16 = {
7753
+ var _hoisted_15 = {
7753
7754
  "class": "text-[#BD9E55] text-[16px]"
7754
7755
  };
7755
7756
 
7756
- var _hoisted_17 = /*#__PURE__*/createTextVNode(" 页 ");
7757
+ var _hoisted_16 = /*#__PURE__*/createTextVNode(" 页 ");
7757
7758
 
7758
- var _hoisted_18 = {
7759
+ var _hoisted_17 = {
7759
7760
  "class": "contentList"
7760
7761
  };
7761
- var _hoisted_19 = {
7762
+ var _hoisted_18 = {
7762
7763
  "class": "flex items-center justify-around text-[#006AB2] text-[13px]"
7763
7764
  };
7764
- var _hoisted_20 = ["onClick"];
7765
+ var _hoisted_19 = ["onClick"];
7765
7766
  /**
7766
7767
  * 组件定义-------------------------------------
7767
7768
  * */
@@ -7789,13 +7790,17 @@ var script = /*#__PURE__*/defineComponent({
7789
7790
  setOfBookId: {
7790
7791
  type: String,
7791
7792
  required: false
7793
+ },
7794
+ contractType: {
7795
+ type: Number,
7796
+ required: false
7792
7797
  }
7793
7798
  },
7794
7799
  emits: ["update:show", "getItem"],
7795
7800
  setup: function setup(__props, _ref) {
7796
7801
  var emit = _ref.emit;
7797
7802
 
7798
- var _a;
7803
+ var _a, _b;
7799
7804
 
7800
7805
  var props = __props;
7801
7806
  /**
@@ -7803,7 +7808,8 @@ var script = /*#__PURE__*/defineComponent({
7803
7808
  * */
7804
7809
 
7805
7810
  var formData = reactive({
7806
- setOfBookId: (_a = props.params.setOfBookId) !== null && _a !== void 0 ? _a : "",
7811
+ setOfBookId: (_a = props.params.setOfBookId) !== null && _a !== void 0 ? _a : undefined,
7812
+ contractType: (_b = props.params.contractType) !== null && _b !== void 0 ? _b : undefined,
7807
7813
  skipCount: 0,
7808
7814
  maxResultCount: 10,
7809
7815
  key: null
@@ -7829,15 +7835,43 @@ var script = /*#__PURE__*/defineComponent({
7829
7835
  case 0:
7830
7836
  _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
7831
7837
  _context.next = 3;
7832
- return formatHTTP(fetch(formatUrl(API_OPTION.getIVProjectSelector.baseUrl, API_OPTION.getIVProjectSelector.url, _option.params), assign({
7838
+ return formatHTTP(fetch(formatUrl(API_OPTION.getContract.baseUrl, API_OPTION.getContract.url, _option.params), assign({
7833
7839
  data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
7834
- }, API_OPTION.getIVProjectSelector.option)));
7840
+ }, API_OPTION.getContract.option)));
7835
7841
 
7836
7842
  case 3:
7837
7843
  _yield$formatHTTP = _context.sent;
7838
7844
  items = _yield$formatHTTP.items;
7839
7845
  totalCount = _yield$formatHTTP.totalCount;
7840
- dataV.value = items;
7846
+ dataV.value = items.map(function (item) {
7847
+ if (item.signStatus == 0) {
7848
+ item.signStatus = "待开工";
7849
+ } else if (item.signStatus == 1) {
7850
+ item.signStatus = "在建";
7851
+ } else if (item.signStatus == 2) {
7852
+ item.signStatus = "完工未结算";
7853
+ } else if (item.signStatus == 4) {
7854
+ item.signStatus = "完工已结算";
7855
+ } else if (item.signStatus == 8) {
7856
+ item.signStatus = "已销项";
7857
+ } else {
7858
+ item.signStatus = "暂无";
7859
+ }
7860
+
7861
+ if (item.projectStatus == 1) {
7862
+ item.projectStatus = "待签约";
7863
+ } else if (item.projectStatus == 2) {
7864
+ item.projectStatus = "已签约";
7865
+ } else if (item.projectStatus == 4) {
7866
+ item.projectStatus = "已完结";
7867
+ } else if (item.projectStatus == 8) {
7868
+ item.projectStatus = "诉讼中";
7869
+ } else {
7870
+ item.projectStatus = "暂无";
7871
+ }
7872
+
7873
+ return item;
7874
+ });
7841
7875
  totalPages.value = totalCount;
7842
7876
  topPages.value = Math.ceil(totalPages.value / formData.maxResultCount);
7843
7877
 
@@ -7866,17 +7900,17 @@ var script = /*#__PURE__*/defineComponent({
7866
7900
  }, {
7867
7901
  title: "编号",
7868
7902
  w: 104 / 1499 * 100 + "%",
7869
- key: "projectNumber",
7903
+ key: "serialNumber",
7870
7904
  show: true
7871
7905
  }, {
7872
7906
  title: "合同名称",
7873
7907
  w: 212 / 1499 * 100 + "%",
7874
- key: "contractName",
7908
+ key: "name",
7875
7909
  show: true
7876
7910
  }, {
7877
7911
  title: "合同简称",
7878
7912
  w: 140 / 1499 * 100 + "%",
7879
- key: "contractShortName",
7913
+ key: "shortName",
7880
7914
  show: true
7881
7915
  }, {
7882
7916
  title: "账套名称",
@@ -7888,6 +7922,16 @@ var script = /*#__PURE__*/defineComponent({
7888
7922
  w: 140 / 1499 * 100 + "%",
7889
7923
  key: "setOfBookShortName",
7890
7924
  show: true
7925
+ }, {
7926
+ title: "签署状态",
7927
+ w: 140 / 1499 * 100 + "%",
7928
+ key: "signStatus",
7929
+ show: true
7930
+ }, {
7931
+ title: "项目状态",
7932
+ w: 140 / 1499 * 100 + "%",
7933
+ key: "projectStatus",
7934
+ show: true
7891
7935
  }, {
7892
7936
  title: "",
7893
7937
  w: 45 / 1333 * 100 + "%",
@@ -7909,20 +7953,20 @@ var script = /*#__PURE__*/defineComponent({
7909
7953
 
7910
7954
 
7911
7955
  function _sendItem() {
7912
- _sendItem = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item) {
7913
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7956
+ _sendItem = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(item) {
7957
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
7914
7958
  while (1) {
7915
- switch (_context2.prev = _context2.next) {
7959
+ switch (_context3.prev = _context3.next) {
7916
7960
  case 0:
7917
7961
  emit("getItem", JSON.stringify(item));
7918
7962
  inputV.value = false;
7919
7963
 
7920
7964
  case 2:
7921
7965
  case "end":
7922
- return _context2.stop();
7966
+ return _context3.stop();
7923
7967
  }
7924
7968
  }
7925
- }, _callee2);
7969
+ }, _callee3);
7926
7970
  }));
7927
7971
  return _sendItem.apply(this, arguments);
7928
7972
  }
@@ -7987,6 +8031,29 @@ var script = /*#__PURE__*/defineComponent({
7987
8031
  emit("update:show", value);
7988
8032
  }
7989
8033
  });
8034
+ watch(function () {
8035
+ return props.params;
8036
+ }, /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
8037
+ var _a, _b;
8038
+
8039
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
8040
+ while (1) {
8041
+ switch (_context2.prev = _context2.next) {
8042
+ case 0:
8043
+ // 由于打包问题,侦听器一定要在最后,否则找不到getData方法
8044
+ formData.setOfBookId = (_a = props.params.setOfBookId) !== null && _a !== void 0 ? _a : undefined;
8045
+ formData.contractType = (_b = props.params.contractType) !== null && _b !== void 0 ? _b : undefined;
8046
+ getData({
8047
+ params: formData
8048
+ });
8049
+
8050
+ case 3:
8051
+ case "end":
8052
+ return _context2.stop();
8053
+ }
8054
+ }
8055
+ }, _callee2);
8056
+ })));
7990
8057
  return function (_ctx, _cache) {
7991
8058
  var _component_a_input = resolveComponent("a-input");
7992
8059
 
@@ -8030,7 +8097,7 @@ var script = /*#__PURE__*/defineComponent({
8030
8097
  }
8031
8098
  }, null, 8
8032
8099
  /* PROPS */
8033
- , ["value"]), _hoisted_6, createVNode(_component_a_input, {
8100
+ , ["value"]), createVNode(_component_a_input, {
8034
8101
  value: formData.key,
8035
8102
  "onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
8036
8103
  return formData.key = $event;
@@ -8055,16 +8122,16 @@ var script = /*#__PURE__*/defineComponent({
8055
8122
  onClick: onSearch
8056
8123
  }, {
8057
8124
  "default": withCtx(function () {
8058
- return [_hoisted_7];
8125
+ return [_hoisted_6];
8059
8126
  }),
8060
8127
  _: 1
8061
8128
  /* STABLE */
8062
8129
 
8063
- })])])) : createCommentVNode("v-if", true), createCommentVNode(" 主体 "), createElementVNode("div", _hoisted_8, [createCommentVNode(" 分页 "), createElementVNode("div", _hoisted_9, [createElementVNode("div", _hoisted_10, [_hoisted_11, createElementVNode("span", _hoisted_12, toDisplayString(totalPages.value), 1
8130
+ })])])) : createCommentVNode("v-if", true), createCommentVNode(" 主体 "), createElementVNode("div", _hoisted_7, [createCommentVNode(" 分页 "), createElementVNode("div", _hoisted_8, [createElementVNode("div", _hoisted_9, [_hoisted_10, createElementVNode("span", _hoisted_11, toDisplayString(totalPages.value), 1
8064
8131
  /* TEXT */
8065
- ), _hoisted_13, createElementVNode("span", _hoisted_14, toDisplayString(topCurrentPages.value), 1
8132
+ ), _hoisted_12, createElementVNode("span", _hoisted_13, toDisplayString(topCurrentPages.value), 1
8066
8133
  /* TEXT */
8067
- ), _hoisted_15, createVNode(_component_a_dropdown, {
8134
+ ), _hoisted_14, createVNode(_component_a_dropdown, {
8068
8135
  trigger: ['click']
8069
8136
  }, {
8070
8137
  overlay: withCtx(function () {
@@ -8108,7 +8175,7 @@ var script = /*#__PURE__*/defineComponent({
8108
8175
  return [createElementVNode("a", {
8109
8176
  "class": "pl-2 ant-dropdown-link border-b border-[#BD9E55]",
8110
8177
  onClick: _cache[2] || (_cache[2] = withModifiers(function () {}, ["prevent"]))
8111
- }, [createElementVNode("span", _hoisted_16, toDisplayString(topSelectPages.value), 1
8178
+ }, [createElementVNode("span", _hoisted_15, toDisplayString(topSelectPages.value), 1
8112
8179
  /* TEXT */
8113
8180
  ), createVNode(_component_DownOutlined, {
8114
8181
  "class": "align-middle ml-1 mb-[4px]",
@@ -8120,7 +8187,7 @@ var script = /*#__PURE__*/defineComponent({
8120
8187
  _: 1
8121
8188
  /* STABLE */
8122
8189
 
8123
- }), _hoisted_17])]), createElementVNode("div", _hoisted_18, [createVNode(unref(script$o), {
8190
+ }), _hoisted_16])]), createElementVNode("div", _hoisted_17, [createVNode(unref(script$o), {
8124
8191
  dataTh: unref(th),
8125
8192
  contractExecDocList: dataV.value,
8126
8193
  currentPages: currentPages.value,
@@ -8133,14 +8200,14 @@ var script = /*#__PURE__*/defineComponent({
8133
8200
  onUpth: upth
8134
8201
  }, {
8135
8202
  buttonSlot: withCtx(function (buttonSlot) {
8136
- return [createElementVNode("div", _hoisted_19, [createElementVNode("span", {
8203
+ return [createElementVNode("div", _hoisted_18, [createElementVNode("span", {
8137
8204
  "class": "cursor-pointer",
8138
8205
  onClick: function onClick($event) {
8139
8206
  return sendItem(buttonSlot.item);
8140
8207
  }
8141
8208
  }, "选择", 8
8142
8209
  /* PROPS */
8143
- , _hoisted_20)])];
8210
+ , _hoisted_19)])];
8144
8211
  }),
8145
8212
  _: 1
8146
8213
  /* STABLE */