ocpview-plus 1.3.20 → 1.3.21

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.
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-plus";
456
- const version$2 = "1.3.19";
456
+ const version$2 = "1.3.20";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -41377,7 +41377,8 @@ const _sfc_main$I = {
41377
41377
  typeData: [],
41378
41378
  fileType: ["xlsx", "xls"],
41379
41379
  setImportUrl: null,
41380
- resources: ""
41380
+ resources: "",
41381
+ showImportTtype: false
41381
41382
  },
41382
41383
  initConfig: {
41383
41384
  typeData: [],
@@ -41490,7 +41491,8 @@ const _sfc_main$I = {
41490
41491
  checkExportFailFlag: false,
41491
41492
  checkExportSuccessFlag: true,
41492
41493
  actionGrid: null,
41493
- modulecode: ""
41494
+ modulecode: "",
41495
+ importType: "all"
41494
41496
  };
41495
41497
  },
41496
41498
  props: {
@@ -41534,6 +41536,9 @@ const _sfc_main$I = {
41534
41536
  }
41535
41537
  }
41536
41538
  }
41539
+ if (this.myConfig.showImportTtype) {
41540
+ para.importType = this.importType;
41541
+ }
41537
41542
  return url + "&param=" + encodeURI(JSON.stringify(para));
41538
41543
  }
41539
41544
  },
@@ -41868,7 +41873,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41868
41873
  key: 0,
41869
41874
  title: "\u5BFC\u5165",
41870
41875
  modelValue: $data.showUpload,
41871
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.showUpload = $event),
41876
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.showUpload = $event),
41872
41877
  "class-name": "vertical-center-modal\u2014bill",
41873
41878
  width: $options.modelWidth,
41874
41879
  "footer-hide": true,
@@ -41890,7 +41895,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41890
41895
  }, {
41891
41896
  default: withCtx(() => [
41892
41897
  createElementVNode("div", _hoisted_1$D, [
41893
- _cache[7] || (_cache[7] = createElementVNode("div", null, [
41898
+ _cache[8] || (_cache[8] = createElementVNode("div", null, [
41894
41899
  createElementVNode("span", { class: "efuture-title-verticalline" }),
41895
41900
  createTextVNode(),
41896
41901
  createElementVNode("span", { style: { "font-size": "14px", "font-weight": "bold" } }, "\u4EFB\u52A1\u6587\u4EF6")
@@ -41900,7 +41905,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41900
41905
  customIcon: "iconfont icon-custom-anniu-shuaxin",
41901
41906
  onClick: $options.Refurbish
41902
41907
  }, {
41903
- default: withCtx(() => [..._cache[6] || (_cache[6] = [
41908
+ default: withCtx(() => [..._cache[7] || (_cache[7] = [
41904
41909
  createTextVNode("\u5237\u65B0", -1)
41905
41910
  ])]),
41906
41911
  _: 1
@@ -41923,7 +41928,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41923
41928
  }, {
41924
41929
  default: withCtx(() => [
41925
41930
  createElementVNode("div", _hoisted_2$s, [
41926
- _cache[9] || (_cache[9] = createElementVNode("div", null, [
41931
+ _cache[10] || (_cache[10] = createElementVNode("div", null, [
41927
41932
  createElementVNode("span", { class: "efuture-title-verticalline" }),
41928
41933
  createTextVNode(),
41929
41934
  createElementVNode("span", { style: { "font-size": "14px", "font-weight": "bold" } }, "\u5BFC\u5165\u9519\u8BEF\u4FE1\u606F")
@@ -41933,7 +41938,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41933
41938
  customIcon: "iconfont icon-custom-filedown",
41934
41939
  onClick: $options.downErr
41935
41940
  }, {
41936
- default: withCtx(() => [..._cache[8] || (_cache[8] = [
41941
+ default: withCtx(() => [..._cache[9] || (_cache[9] = [
41937
41942
  createTextVNode("\u4E0B\u8F7D", -1)
41938
41943
  ])]),
41939
41944
  _: 1
@@ -41952,7 +41957,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41952
41957
  }),
41953
41958
  createVNode(_component_Col, { span: "8" }, {
41954
41959
  default: withCtx(() => [
41955
- _cache[12] || (_cache[12] = createElementVNode("p", { style: { "margin-bottom": "10px" } }, [
41960
+ _cache[15] || (_cache[15] = createElementVNode("p", { style: { "margin-bottom": "10px" } }, [
41956
41961
  createElementVNode("span", { class: "efuture-title-verticalline" }),
41957
41962
  createTextVNode(),
41958
41963
  createElementVNode("span", { style: { "font-size": "14px", "font-weight": "bold" } }, "\u5BFC\u5165\u6587\u4EF6")
@@ -42029,6 +42034,28 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42029
42034
  default: withCtx(() => [
42030
42035
  createVNode(_component_Col, null, {
42031
42036
  default: withCtx(() => [
42037
+ $data.myConfig.showImportTtype ? (openBlock(), createBlock(_component_RadioGroup, {
42038
+ key: 0,
42039
+ modelValue: $data.importType,
42040
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.importType = $event),
42041
+ style: { "margin-bottom": "24px" }
42042
+ }, {
42043
+ default: withCtx(() => [
42044
+ createVNode(_component_Radio, { label: "all" }, {
42045
+ default: withCtx(() => [..._cache[11] || (_cache[11] = [
42046
+ createTextVNode("\u5168\u91CF\u5BFC\u5165", -1)
42047
+ ])]),
42048
+ _: 1
42049
+ }),
42050
+ createVNode(_component_Radio, { label: "add" }, {
42051
+ default: withCtx(() => [..._cache[12] || (_cache[12] = [
42052
+ createTextVNode("\u589E\u91CF\u5BFC\u5165", -1)
42053
+ ])]),
42054
+ _: 1
42055
+ })
42056
+ ]),
42057
+ _: 1
42058
+ }, 8, ["modelValue"])) : createCommentVNode("", true),
42032
42059
  createVNode(_component_Upload, {
42033
42060
  ref: "upload",
42034
42061
  "before-upload": $options.handleUpload,
@@ -42041,7 +42068,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42041
42068
  }, {
42042
42069
  default: withCtx(() => [
42043
42070
  createVNode(_component_Button, { style: { "width": "150px" } }, {
42044
- default: withCtx(() => [..._cache[10] || (_cache[10] = [
42071
+ default: withCtx(() => [..._cache[13] || (_cache[13] = [
42045
42072
  createTextVNode("\u9009\u62E9\u6587\u4EF6", -1)
42046
42073
  ])]),
42047
42074
  _: 1
@@ -42063,7 +42090,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42063
42090
  size: "18",
42064
42091
  class: "demo-spin-icon-load"
42065
42092
  }),
42066
- _cache[11] || (_cache[11] = createElementVNode("div", null, "\u5BFC\u5165\u4E2D", -1))
42093
+ _cache[14] || (_cache[14] = createElementVNode("div", null, "\u5BFC\u5165\u4E2D", -1))
42067
42094
  ]),
42068
42095
  _: 1
42069
42096
  }, 512), [
@@ -42082,7 +42109,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42082
42109
  $data.modeltype === "down" ? (openBlock(), createBlock(_component_Modal, {
42083
42110
  key: 1,
42084
42111
  modelValue: $data.showUpload,
42085
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.showUpload = $event),
42112
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.showUpload = $event),
42086
42113
  title: "\u9009\u62E9\u6A21\u7248",
42087
42114
  onOnOk: $options.downTemplate,
42088
42115
  "class-name": "vertical-center-modal\u2014bill"
@@ -42090,7 +42117,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42090
42117
  default: withCtx(() => [
42091
42118
  createVNode(_component_RadioGroup, {
42092
42119
  modelValue: $data.type,
42093
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.type = $event)
42120
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.type = $event)
42094
42121
  }, {
42095
42122
  default: withCtx(() => [
42096
42123
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.myConfig.typeData, (item, index) => {
@@ -42113,7 +42140,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42113
42140
  $data.modeltype === "export" ? (openBlock(), createBlock(_component_Modal, {
42114
42141
  key: 2,
42115
42142
  modelValue: $data.showUpload,
42116
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.showUpload = $event),
42143
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.showUpload = $event),
42117
42144
  title: "\u5BFC\u51FA",
42118
42145
  width: $options.modelWidth,
42119
42146
  "class-name": "vertical-center-modal\u2014bill",
@@ -42131,7 +42158,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42131
42158
  createVNode(_component_Col, { span: "3" }, {
42132
42159
  default: withCtx(() => [
42133
42160
  createVNode(_component_Button, { onClick: $options.doAsyncExport }, {
42134
- default: withCtx(() => [..._cache[13] || (_cache[13] = [
42161
+ default: withCtx(() => [..._cache[16] || (_cache[16] = [
42135
42162
  createTextVNode("\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1", -1)
42136
42163
  ])]),
42137
42164
  _: 1
@@ -42150,8 +42177,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42150
42177
  size: "20",
42151
42178
  color: "#F3B352"
42152
42179
  }),
42153
- _cache[14] || (_cache[14] = createTextVNode()),
42154
- _cache[15] || (_cache[15] = createElementVNode("span", { style: { "margin-left": "12px", "font-size": "18px", "color": "#F3B352", "font-weight": "bold" } }, "\u5DF2\u5B58\u5728\u751F\u6210\u4E2D\u7684\u5BFC\u51FA\u4EFB\u52A1\uFF0C\u8BF7\u7A0D\u540E\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1", -1))
42180
+ _cache[17] || (_cache[17] = createTextVNode()),
42181
+ _cache[18] || (_cache[18] = createElementVNode("span", { style: { "margin-left": "12px", "font-size": "18px", "color": "#F3B352", "font-weight": "bold" } }, "\u5DF2\u5B58\u5728\u751F\u6210\u4E2D\u7684\u5BFC\u51FA\u4EFB\u52A1\uFF0C\u8BF7\u7A0D\u540E\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1", -1))
42155
42182
  ])) : createCommentVNode("", true),
42156
42183
  $data.checkExportSuccessFlag ? (openBlock(), createElementBlock("p", _hoisted_5$b, [
42157
42184
  createVNode(_component_Icon, {
@@ -42159,8 +42186,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42159
42186
  size: "20",
42160
42187
  color: "#739943"
42161
42188
  }),
42162
- _cache[16] || (_cache[16] = createTextVNode()),
42163
- _cache[17] || (_cache[17] = createElementVNode("span", { style: { "margin-left": "12px", "font-size": "18px", "color": "#739943", "font-weight": "bold" } }, "\u5BFC\u51FA\u4EFB\u52A1\u5DF2\u751F\u6210\uFF0C\u8BF7\u7A0D\u540E\u5728\u4EFB\u52A1\u5217\u8868\u4E0B\u8F7D\u6587\u4EF6", -1))
42189
+ _cache[19] || (_cache[19] = createTextVNode()),
42190
+ _cache[20] || (_cache[20] = createElementVNode("span", { style: { "margin-left": "12px", "font-size": "18px", "color": "#739943", "font-weight": "bold" } }, "\u5BFC\u51FA\u4EFB\u52A1\u5DF2\u751F\u6210\uFF0C\u8BF7\u7A0D\u540E\u5728\u4EFB\u52A1\u5217\u8868\u4E0B\u8F7D\u6587\u4EF6", -1))
42164
42191
  ])) : createCommentVNode("", true)
42165
42192
  ]),
42166
42193
  _: 1
@@ -42170,8 +42197,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42170
42197
  }),
42171
42198
  createElementVNode("div", _hoisted_6$8, [
42172
42199
  createElementVNode("div", null, [
42173
- _cache[18] || (_cache[18] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
42174
- _cache[19] || (_cache[19] = createTextVNode()),
42200
+ _cache[21] || (_cache[21] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
42201
+ _cache[22] || (_cache[22] = createTextVNode()),
42175
42202
  createElementVNode("span", {
42176
42203
  style: { "font-size": "14px", "font-weight": "bold" },
42177
42204
  textContent: toDisplayString($data.exportGridConfig.gridtitle)
@@ -42182,7 +42209,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42182
42209
  customIcon: "iconfont icon-custom-anniu-shuaxin",
42183
42210
  onClick: $options.Refurbish
42184
42211
  }, {
42185
- default: withCtx(() => [..._cache[20] || (_cache[20] = [
42212
+ default: withCtx(() => [..._cache[23] || (_cache[23] = [
42186
42213
  createTextVNode("\u5237\u65B0", -1)
42187
42214
  ])]),
42188
42215
  _: 1
@@ -42198,7 +42225,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42198
42225
  }, 8, ["modelValue", "width"])) : createCommentVNode("", true)
42199
42226
  ]);
42200
42227
  }
42201
- var mBillAsyncImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$F], ["__scopeId", "data-v-d0408870"]]);
42228
+ var mBillAsyncImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$F], ["__scopeId", "data-v-078ae634"]]);
42202
42229
  var billimport_vue_vue_type_style_index_0_scoped_true_lang = "";
42203
42230
  const _sfc_main$H = {
42204
42231
  name: "mbillimport",
@@ -42207,7 +42234,8 @@ const _sfc_main$H = {
42207
42234
  myConfig: {
42208
42235
  typeData: [],
42209
42236
  fileType: ["xlsx", "xls"],
42210
- setImportUrl: null
42237
+ setImportUrl: null,
42238
+ showImportTtype: false
42211
42239
  },
42212
42240
  initConfig: {
42213
42241
  typeData: [],
@@ -42224,7 +42252,8 @@ const _sfc_main$H = {
42224
42252
  curlUrl: "",
42225
42253
  loading: false,
42226
42254
  downMethod: "exportTemplate",
42227
- importMethod: "import"
42255
+ importMethod: "import",
42256
+ importType: "all"
42228
42257
  };
42229
42258
  },
42230
42259
  props: {
@@ -42253,6 +42282,9 @@ const _sfc_main$H = {
42253
42282
  }
42254
42283
  }
42255
42284
  }
42285
+ if (this.myConfig.showImportTtype) {
42286
+ para.importType = this.importType;
42287
+ }
42256
42288
  return url + "&param=" + encodeURI(JSON.stringify(para));
42257
42289
  }
42258
42290
  },
@@ -42412,7 +42444,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42412
42444
  key: 0,
42413
42445
  title: "\u4E0A\u4F20\u6587\u4EF6",
42414
42446
  modelValue: $data.showUpload,
42415
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.showUpload = $event),
42447
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.showUpload = $event),
42416
42448
  "class-name": "vertical-center-modal\u2014bill",
42417
42449
  "footer-hide": true
42418
42450
  }, {
@@ -42487,6 +42519,28 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42487
42519
  default: withCtx(() => [
42488
42520
  createVNode(_component_Col, null, {
42489
42521
  default: withCtx(() => [
42522
+ $data.myConfig.showImportTtype ? (openBlock(), createBlock(_component_RadioGroup, {
42523
+ key: 0,
42524
+ modelValue: $data.importType,
42525
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.importType = $event),
42526
+ style: { "margin-bottom": "24px" }
42527
+ }, {
42528
+ default: withCtx(() => [
42529
+ createVNode(_component_Radio, { label: "all" }, {
42530
+ default: withCtx(() => [..._cache[8] || (_cache[8] = [
42531
+ createTextVNode("\u5168\u91CF\u5BFC\u5165", -1)
42532
+ ])]),
42533
+ _: 1
42534
+ }),
42535
+ createVNode(_component_Radio, { label: "add" }, {
42536
+ default: withCtx(() => [..._cache[9] || (_cache[9] = [
42537
+ createTextVNode("\u589E\u91CF\u5BFC\u5165", -1)
42538
+ ])]),
42539
+ _: 1
42540
+ })
42541
+ ]),
42542
+ _: 1
42543
+ }, 8, ["modelValue"])) : createCommentVNode("", true),
42490
42544
  createVNode(_component_Upload, {
42491
42545
  ref: "upload",
42492
42546
  "before-upload": $options.handleUpload,
@@ -42499,7 +42553,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42499
42553
  }, {
42500
42554
  default: withCtx(() => [
42501
42555
  createVNode(_component_Button, { style: { "width": "150px" } }, {
42502
- default: withCtx(() => [..._cache[7] || (_cache[7] = [
42556
+ default: withCtx(() => [..._cache[10] || (_cache[10] = [
42503
42557
  createTextVNode("\u9009\u62E9\u6587\u4EF6", -1)
42504
42558
  ])]),
42505
42559
  _: 1
@@ -42521,7 +42575,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42521
42575
  size: "18",
42522
42576
  class: "demo-spin-icon-load"
42523
42577
  }),
42524
- _cache[8] || (_cache[8] = createElementVNode("div", null, "\u5BFC\u5165\u4E2D", -1))
42578
+ _cache[11] || (_cache[11] = createElementVNode("div", null, "\u5BFC\u5165\u4E2D", -1))
42525
42579
  ]),
42526
42580
  _: 1
42527
42581
  }, 512), [
@@ -42534,7 +42588,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42534
42588
  $data.modeltype === "down" ? (openBlock(), createBlock(_component_Modal, {
42535
42589
  key: 1,
42536
42590
  modelValue: $data.showUpload,
42537
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.showUpload = $event),
42591
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.showUpload = $event),
42538
42592
  title: "\u9009\u62E9\u6A21\u7248",
42539
42593
  onOnOk: $options.downTemplate,
42540
42594
  "class-name": "vertical-center-modal\u2014bill"
@@ -42542,7 +42596,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42542
42596
  default: withCtx(() => [
42543
42597
  createVNode(_component_RadioGroup, {
42544
42598
  modelValue: $data.type,
42545
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.type = $event)
42599
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.type = $event)
42546
42600
  }, {
42547
42601
  default: withCtx(() => [
42548
42602
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.myConfig.typeData, (item, index) => {
@@ -42565,7 +42619,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42565
42619
  $data.modeltype === "export" ? (openBlock(), createBlock(_component_Modal, {
42566
42620
  key: 2,
42567
42621
  modelValue: $data.showUpload,
42568
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.showUpload = $event),
42622
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.showUpload = $event),
42569
42623
  title: "\u5BFC\u51FA\u9009\u62E9",
42570
42624
  onOnOk: $options.confirmExport,
42571
42625
  "class-name": "vertical-center-modal\u2014bill"
@@ -42573,7 +42627,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42573
42627
  default: withCtx(() => [
42574
42628
  createVNode(_component_RadioGroup, {
42575
42629
  modelValue: $data.type,
42576
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.type = $event)
42630
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.type = $event)
42577
42631
  }, {
42578
42632
  default: withCtx(() => [
42579
42633
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.myConfig.typeData, (item, index) => {
@@ -42595,7 +42649,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42595
42649
  }, 8, ["modelValue", "onOnOk"])) : createCommentVNode("", true)
42596
42650
  ]);
42597
42651
  }
42598
- var mBillImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$E], ["__scopeId", "data-v-c9d051ae"]]);
42652
+ var mBillImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$E], ["__scopeId", "data-v-47796e41"]]);
42599
42653
  var ContractPrintMixins = {
42600
42654
  data() {
42601
42655
  return {