agilebuilder-ui 1.1.4-temp1 → 1.1.4-temp2
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/lib/super-ui.js
CHANGED
|
@@ -7981,7 +7981,7 @@ const RowOperation = _export_sfc$1(_sfc_main$1l, [["render", _sfc_render$Z]]), v
|
|
|
7981
7981
|
let t = null;
|
|
7982
7982
|
if (this.fileInfo.showName && this.fileInfo.serverPath ? t = this.fileInfo.serverPath : this.entity && (t = getEntityFieldValue(this.entity, e.serverPath)), t) {
|
|
7983
7983
|
const n = t.split(","), o = window.$vueApp.config.globalProperties.baseURL, r = window.$vueApp.config.globalProperties.baseAPI, a = o + "/common/fs-upload/search-file-names";
|
|
7984
|
-
isPlateSys(
|
|
7984
|
+
isPlateSys(window.$vueApp.config.globalProperties.systemCode) && (a = r + "/api/search-file-names"), this.$http.post(a, n).then((d) => {
|
|
7985
7985
|
this.fileList = [], n.forEach((p) => {
|
|
7986
7986
|
this.fileList.push({ showName: d[p], serverPath: p });
|
|
7987
7987
|
}), this.showPreviewMulti = !0;
|
|
@@ -26898,7 +26898,7 @@ const _hoisted_1$7 = ["accept"], _hoisted_2$4 = ["accept"], _hoisted_3$4 = ["acc
|
|
|
26898
26898
|
}, preview() {
|
|
26899
26899
|
this.fileList.length = 0;
|
|
26900
26900
|
const e = this.fileInfo.serverPath.split(","), t = window.$vueApp.config.globalProperties.baseURL, n = window.$vueApp.config.globalProperties.baseAPI, o = t + "/common/fs-upload/search-file-names";
|
|
26901
|
-
isPlateSys(
|
|
26901
|
+
isPlateSys(this.systemCode) && (o = n + "/api/search-file-names"), this.$http.post(o, e).then((r) => {
|
|
26902
26902
|
e.forEach((a) => {
|
|
26903
26903
|
this.fileList.push({ showName: r[a], serverPath: a });
|
|
26904
26904
|
}), this.showFileList = this.fileList, this.showPreviewMulti = !0;
|