cnhis-design-vue 3.1.19-beta.0 → 3.1.19-beta.1
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.
|
@@ -2329,12 +2329,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2329
2329
|
"tree-config": unref(treeConfig),
|
|
2330
2330
|
"row-class-name": getRowClassName,
|
|
2331
2331
|
"cell-class-name": _ctx.columnConfig.cellClassName || null,
|
|
2332
|
-
"row-config":
|
|
2332
|
+
"row-config": {
|
|
2333
|
+
...state.rowConfig,
|
|
2334
|
+
..._ctx.$attrs.rowConfig || {}
|
|
2335
|
+
},
|
|
2333
2336
|
"show-footer": _ctx.showFooter && !props.isInlineOperating,
|
|
2334
2337
|
"footer-method": footerMethod,
|
|
2335
2338
|
"sort-config": {
|
|
2336
2339
|
trigger: "cell",
|
|
2337
|
-
remote: true
|
|
2340
|
+
remote: true,
|
|
2341
|
+
..._ctx.$attrs.sortConfig || {}
|
|
2338
2342
|
},
|
|
2339
2343
|
"span-method": colspanMethod,
|
|
2340
2344
|
"footer-span-method": footerRowspanMethod,
|
|
@@ -2426,7 +2430,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2426
2430
|
}
|
|
2427
2431
|
})]),
|
|
2428
2432
|
_: 3
|
|
2429
|
-
}, 16, ["height", "mouse-config", "seq-config", "tree-config", "cell-class-name", "row-config", "show-footer", "tooltip-config", "checkbox-config", "radio-config", "scroll-y", "row-style", "edit-config", "expand-config", "keyboard-config", "edit-rules", "menu-config", "onScroll", "onKeydown"]), createCommentVNode(" `${refreshRow}\u6761\u66F4\u65B0` "), withDirectives(createElementVNode("div", {
|
|
2433
|
+
}, 16, ["height", "mouse-config", "seq-config", "tree-config", "cell-class-name", "row-config", "show-footer", "sort-config", "tooltip-config", "checkbox-config", "radio-config", "scroll-y", "row-style", "edit-config", "expand-config", "keyboard-config", "edit-rules", "menu-config", "onScroll", "onKeydown"]), createCommentVNode(" `${refreshRow}\u6761\u66F4\u65B0` "), withDirectives(createElementVNode("div", {
|
|
2430
2434
|
class: "refresh",
|
|
2431
2435
|
onClick: hanldeClickRefresh
|
|
2432
2436
|
}, [createVNode(unref(NIcon), {
|
|
@@ -240,9 +240,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
240
240
|
},
|
|
241
241
|
params
|
|
242
242
|
};
|
|
243
|
-
printInstance.downloadPDF(queryParams
|
|
244
|
-
callLocalServicesSuccessCb(res, "preview");
|
|
245
|
-
}, callLocalServicesErrorCb);
|
|
243
|
+
printInstance.downloadPDF(queryParams, (res) => callLocalServicesSuccessCb(res, "preview"), callLocalServicesErrorCb);
|
|
246
244
|
}).finally(() => {
|
|
247
245
|
state.visible = false;
|
|
248
246
|
});
|
|
@@ -258,6 +258,9 @@ class Print {
|
|
|
258
258
|
successCallbackFn && successCallbackFn(handledResult);
|
|
259
259
|
}
|
|
260
260
|
_downloadPDF(inputData) {
|
|
261
|
+
if (this.webview) {
|
|
262
|
+
return this.postMessage({ exec: "pdf", data: { inputData } });
|
|
263
|
+
}
|
|
261
264
|
return httpFn.get(PDF_URL, { params: { inputData } }).then(({ data }) => data);
|
|
262
265
|
}
|
|
263
266
|
downloadPDF(params, onResolve, onReject) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.19-beta.
|
|
3
|
+
"version": "3.1.19-beta.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"iOS 7",
|
|
66
66
|
"last 3 iOS versions"
|
|
67
67
|
],
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "8784f4f7cfaf51ace808dfc4bdc3e3e1f539a17d"
|
|
69
69
|
}
|