cnhis-design-vue 3.1.31-beta.1 → 3.1.31-beta.2

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.
@@ -540,6 +540,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
540
540
  }>;
541
541
  NInput: any;
542
542
  EditForm: import("vue").DefineComponent<{}, {
543
+ PROTOCOL: string;
543
544
  HOST: string;
544
545
  SAVEIREPORT: string;
545
546
  instance: import("axios").AxiosInstance;
@@ -544,6 +544,7 @@ declare const _default: import("vue").DefineComponent<{
544
544
  }>;
545
545
  NInput: any;
546
546
  EditForm: import("vue").DefineComponent<{}, {
547
+ PROTOCOL: string;
547
548
  HOST: string;
548
549
  SAVEIREPORT: string;
549
550
  instance: import("axios").AxiosInstance;
@@ -359,6 +359,7 @@ declare const _default: import("vue").DefineComponent<{
359
359
  }>;
360
360
  NInput: any;
361
361
  EditForm: import("vue").DefineComponent<{}, {
362
+ PROTOCOL: string;
362
363
  HOST: string;
363
364
  SAVEIREPORT: string;
364
365
  instance: import("axios").AxiosInstance;
@@ -8,8 +8,9 @@ const _hoisted_1 = { style: { "margin-bottom": "12px" } };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "edit",
10
10
  setup(__props, { expose }) {
11
+ const PROTOCOL = window.location.protocol;
11
12
  const HOST = window.location.host;
12
- const SAVEIREPORT = `${HOST}/bi-api/reprot/print/open/client/saveIReportFormat`;
13
+ const SAVEIREPORT = `${PROTOCOL}//${HOST}/bi-api/reprot/print/open/client/saveIReportFormat`;
13
14
  const instance = axios.create({});
14
15
  const $message = useMessage();
15
16
  const fileList = ref([
@@ -2,6 +2,7 @@
2
2
  import { UploadFileInfo } from 'naive-ui';
3
3
  import { AnyObject } from '../../../../../es/shared/types';
4
4
  declare const _default: import("vue").DefineComponent<{}, {
5
+ PROTOCOL: string;
5
6
  HOST: string;
6
7
  SAVEIREPORT: string;
7
8
  instance: import("axios").AxiosInstance;
@@ -17,8 +17,9 @@ const testHttpFn = axios.create({
17
17
  const httpFn = axios.create({
18
18
  withCredentials: false
19
19
  });
20
+ const PROTOCOL = window.location.protocol;
20
21
  const HOST = window.location.host;
21
- const PRINTIREPORT = `${HOST}/fdp-api/print/assembly/printIReport`;
22
+ const PRINTIREPORT = `${PROTOCOL}//${HOST}/fdp-api/print/assembly/printIReport`;
22
23
  const ERRORMSG = "\u83B7\u53D6\u6587\u4EF6\u5931\u8D25\uFF01";
23
24
  class Print {
24
25
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.31-beta.1",
3
+ "version": "3.1.31-beta.2",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "709a5611ce846e7e477d5c2353e7302b8e1e2cfa"
64
+ "gitHead": "e88e2a027d3e80c600af95e026ea502b33b3a64f"
65
65
  }