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.
- package/es/components/button-print/index.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +1 -0
- package/es/components/button-print/src/components/edit.js +2 -1
- package/es/components/button-print/src/components/edit.vue.d.ts +1 -0
- package/es/components/button-print/src/utils/print.js +2 -1
- package/package.json +2 -2
|
@@ -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;
|
|
@@ -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.
|
|
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": "
|
|
64
|
+
"gitHead": "e88e2a027d3e80c600af95e026ea502b33b3a64f"
|
|
65
65
|
}
|