doway-coms 1.1.73 → 1.1.75
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/package.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
width="85%"
|
|
8
8
|
height="85%"
|
|
9
9
|
v-model="isShow"
|
|
10
|
+
destroy-on-close
|
|
10
11
|
show-zoom
|
|
11
12
|
:closable="true"
|
|
12
13
|
title="打印预览"
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
name="printFrame"
|
|
18
19
|
id="printFrame"
|
|
19
20
|
ref="printFrame"
|
|
20
|
-
style="height:
|
|
21
|
+
style="height: 98%"
|
|
21
22
|
frameborder="0"
|
|
22
23
|
width="100%"
|
|
23
24
|
height="300px"
|
|
@@ -386,14 +386,14 @@
|
|
|
386
386
|
},
|
|
387
387
|
routeLinkClick() {
|
|
388
388
|
//首先需要判断是否有权限
|
|
389
|
-
let treeModule = XEUtils.findTree(
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
)
|
|
393
|
-
if (!treeModule) {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}
|
|
389
|
+
// let treeModule = XEUtils.findTree(
|
|
390
|
+
// this.$store.getters.addRouters,
|
|
391
|
+
// item => item.name === this.route.name
|
|
392
|
+
// )
|
|
393
|
+
// if (!treeModule) {
|
|
394
|
+
// this.$antwarning('没有权限')
|
|
395
|
+
// return
|
|
396
|
+
// }
|
|
397
397
|
this.$router.pushRoute({
|
|
398
398
|
name: this.route.name,
|
|
399
399
|
query: { id: this.row[this.route.field] }
|