mooho-base-admin-plus 2.10.30 → 2.10.32
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/history.md
CHANGED
|
@@ -201,3 +201,5 @@ mooho-base-admin-plus@2.10.27 - 修复上一版本的bug
|
|
|
201
201
|
mooho-base-admin-plus@2.10.28 - 选中行也出发变更事件
|
|
202
202
|
mooho-base-admin-plus@2.10.29 - 解析表达式时,如果结果为null,解析结果用null表示,避免判断错误
|
|
203
203
|
mooho-base-admin-plus@2.10.30 - 允许通过特殊标记`r;表示表单内容红色显示
|
|
204
|
+
mooho-base-admin-plus@2.10.31 - 静态内容导出允许自定义视图格式
|
|
205
|
+
mooho-base-admin-plus@2.10.32 - 修复上一版本的bug
|
|
@@ -12497,7 +12497,7 @@ const lodop = {
|
|
|
12497
12497
|
data: {
|
|
12498
12498
|
data: r,
|
|
12499
12499
|
returnType: 1,
|
|
12500
|
-
viewCode: a.code,
|
|
12500
|
+
viewCode: (a.exportDataViewCode || "").trim() ? a.exportDataViewCode : a.code,
|
|
12501
12501
|
viewColumns: o
|
|
12502
12502
|
}
|
|
12503
12503
|
}), l = new Blob([s], {
|
|
@@ -12513,7 +12513,7 @@ const lodop = {
|
|
|
12513
12513
|
data: {
|
|
12514
12514
|
data: r,
|
|
12515
12515
|
returnType: 3,
|
|
12516
|
-
viewCode: a.code,
|
|
12516
|
+
viewCode: (a.exportDataViewCode || "").trim() ? a.exportDataViewCode : a.code,
|
|
12517
12517
|
viewColumns: o
|
|
12518
12518
|
}
|
|
12519
12519
|
}), l = new Blob([s], { type: "application/pdf" });
|
|
@@ -12526,7 +12526,7 @@ const lodop = {
|
|
|
12526
12526
|
data: {
|
|
12527
12527
|
data: r,
|
|
12528
12528
|
returnType: 2,
|
|
12529
|
-
viewCode: a.code,
|
|
12529
|
+
viewCode: (a.exportDataViewCode || "").trim() ? a.exportDataViewCode : a.code,
|
|
12530
12530
|
viewColumns: o
|
|
12531
12531
|
}
|
|
12532
12532
|
});
|
|
@@ -43327,7 +43327,25 @@ const _sfc_main$n = {
|
|
|
43327
43327
|
},
|
|
43328
43328
|
// 点击更多按钮
|
|
43329
43329
|
async moreClick(a) {
|
|
43330
|
-
!this.inited && (await this.init(this.viewCode), !this.inited) || (this.
|
|
43330
|
+
!this.inited && (await this.init(this.viewCode), !this.inited) || ((this.tableView.exportDataViewCode || "").trim() ? a === "exportExcel" ? dataViewApi.exportExcel(
|
|
43331
|
+
this.tableView,
|
|
43332
|
+
this.staticData
|
|
43333
|
+
// this.columns.filter(item => {
|
|
43334
|
+
// return item.slot == 'normal';
|
|
43335
|
+
// })
|
|
43336
|
+
) : a === "exportPdf" ? dataViewApi.exportPdf(
|
|
43337
|
+
this.tableView,
|
|
43338
|
+
this.staticData
|
|
43339
|
+
// this.columns.filter(item => {
|
|
43340
|
+
// return item.slot == 'normal';
|
|
43341
|
+
// })
|
|
43342
|
+
) : a === "print" ? dataViewApi.print(
|
|
43343
|
+
this.tableView,
|
|
43344
|
+
this.staticData
|
|
43345
|
+
// this.columns.filter(item => {
|
|
43346
|
+
// return item.slot == 'normal';
|
|
43347
|
+
// })
|
|
43348
|
+
) : a === "batchEdit" && this.error("Front_Msg_Not_Supported") : this.static ? a === "exportExcel" ? dataViewApi.exportExcel(
|
|
43331
43349
|
this.tableView,
|
|
43332
43350
|
this.staticData,
|
|
43333
43351
|
this.columns.filter((r) => r.slot == "normal")
|
|
@@ -44647,7 +44665,7 @@ function _sfc_render$n(a, r, o, s, l, u) {
|
|
|
44647
44665
|
], 2)
|
|
44648
44666
|
], 2);
|
|
44649
44667
|
}
|
|
44650
|
-
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-
|
|
44668
|
+
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-a961bbba"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
44651
44669
|
__proto__: null,
|
|
44652
44670
|
default: viewTable
|
|
44653
44671
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {
|