agilebuilder-ui 1.1.4-temp2 → 1.1.4-temp3
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
|
@@ -7980,7 +7980,8 @@ const RowOperation = _export_sfc$1(_sfc_main$1l, [["render", _sfc_render$Z]]), v
|
|
|
7980
7980
|
const e = this.analysisFileSetObj(this.fileSetObj, this.isSql);
|
|
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
|
-
const n = t.split(","), o = window.$vueApp.config.globalProperties.baseURL, r = window.$vueApp.config.globalProperties.baseAPI
|
|
7983
|
+
const n = t.split(","), o = window.$vueApp.config.globalProperties.baseURL, r = window.$vueApp.config.globalProperties.baseAPI;
|
|
7984
|
+
let a = o + "/common/fs-upload/search-file-names";
|
|
7984
7985
|
isPlateSys(window.$vueApp.config.globalProperties.systemCode) && (a = r + "/api/search-file-names"), this.$http.post(a, n).then((d) => {
|
|
7985
7986
|
this.fileList = [], n.forEach((p) => {
|
|
7986
7987
|
this.fileList.push({ showName: d[p], serverPath: p });
|
|
@@ -26897,7 +26898,8 @@ const _hoisted_1$7 = ["accept"], _hoisted_2$4 = ["accept"], _hoisted_3$4 = ["acc
|
|
|
26897
26898
|
e && ($emit(this, "upload-success", { showName: e.name, serverPath: e.serverPath }), this.fileSetObj.multiple && this.fileInfo.showName ? (this.fileInfo.showName = this.fileInfo.showName + "," + e.name, this.fileInfo.serverPath = this.fileInfo.serverPath + "," + e.serverPath) : (this.fileInfo.showName = e.name, this.fileInfo.serverPath = e.serverPath)), this.annexUploadFlag = !1;
|
|
26898
26899
|
}, preview() {
|
|
26899
26900
|
this.fileList.length = 0;
|
|
26900
|
-
const e = this.fileInfo.serverPath.split(","), t = window.$vueApp.config.globalProperties.baseURL, n = window.$vueApp.config.globalProperties.baseAPI
|
|
26901
|
+
const e = this.fileInfo.serverPath.split(","), t = window.$vueApp.config.globalProperties.baseURL, n = window.$vueApp.config.globalProperties.baseAPI;
|
|
26902
|
+
let o = t + "/common/fs-upload/search-file-names";
|
|
26901
26903
|
isPlateSys(this.systemCode) && (o = n + "/api/search-file-names"), this.$http.post(o, e).then((r) => {
|
|
26902
26904
|
e.forEach((a) => {
|
|
26903
26905
|
this.fileList.push({ showName: r[a], serverPath: a });
|