three-trees-ui 1.1.8 → 1.1.9
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/three-trees-ui.common.js +148 -138
- package/lib/three-trees-ui.umd.js +148 -138
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/src/mixins/templatePreview.js +20 -6
package/package.json
CHANGED
|
@@ -2390,7 +2390,11 @@ export default {
|
|
|
2390
2390
|
.then(() => {
|
|
2391
2391
|
let s = []
|
|
2392
2392
|
for (let i = 0; i < this.tableData.selectRows.length; i++) {
|
|
2393
|
-
s.push(
|
|
2393
|
+
s.push(
|
|
2394
|
+
this.tableData.selectRows[i][
|
|
2395
|
+
this.templateInfo.pkField ? this.templateInfo.pkField : 'id_'
|
|
2396
|
+
]
|
|
2397
|
+
)
|
|
2394
2398
|
}
|
|
2395
2399
|
let data = {
|
|
2396
2400
|
ids: s.join(','),
|
|
@@ -2566,16 +2570,26 @@ export default {
|
|
|
2566
2570
|
}
|
|
2567
2571
|
//TODO 如果是模块开发 全部已新窗口打开
|
|
2568
2572
|
if (openType == 'new' || this.isJoinFlow) {
|
|
2569
|
-
|
|
2570
|
-
this.$router.
|
|
2573
|
+
if (this.$tabs) {
|
|
2574
|
+
this.$router.push({
|
|
2571
2575
|
path: path + '&isNewPage=true',
|
|
2572
2576
|
query: {
|
|
2573
2577
|
quitAfterSaving,
|
|
2574
2578
|
customTitleName,
|
|
2575
2579
|
},
|
|
2576
|
-
})
|
|
2577
|
-
|
|
2578
|
-
|
|
2580
|
+
})
|
|
2581
|
+
} else {
|
|
2582
|
+
window.open(
|
|
2583
|
+
this.$router.resolve({
|
|
2584
|
+
path: path + '&isNewPage=true',
|
|
2585
|
+
query: {
|
|
2586
|
+
quitAfterSaving,
|
|
2587
|
+
customTitleName,
|
|
2588
|
+
},
|
|
2589
|
+
}).href,
|
|
2590
|
+
'_blank'
|
|
2591
|
+
)
|
|
2592
|
+
}
|
|
2579
2593
|
} else if (openType === 'dialog' || isDataView) {
|
|
2580
2594
|
this.$refs.templateFormDialog.showDialog({
|
|
2581
2595
|
templateKey: this.templateInfo.alias,
|