cloud-web-corejs-haier 1.0.20 → 1.0.22
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 +1 -1
- package/src/components/code-editor/index.vue +136 -51
- package/src/components/fileLibrary/index.vue +17 -14
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +350 -202
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
- package/src/components/fileLibrary/mixins/indexMixins.js +250 -106
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -4
- package/src/components/table/CellSlot.vue +29 -2
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import userDialog from "
|
|
2
|
-
import positionDialog from "
|
|
3
|
-
import saleOrgDialog from "
|
|
4
|
-
import roleDialog from "
|
|
1
|
+
import userDialog from "@base/views/user/user/dialog";
|
|
2
|
+
import positionDialog from "@base/views/user/position/dialog";
|
|
3
|
+
import saleOrgDialog from "@base/views/user/sale_org/dialog";
|
|
4
|
+
import roleDialog from "@base/views/user/role/dialog";
|
|
5
5
|
|
|
6
6
|
let modules = {};
|
|
7
7
|
modules = {
|
|
@@ -9,17 +9,20 @@ modules = {
|
|
|
9
9
|
_dataId: [String, Number],
|
|
10
10
|
fileObjId: Number,
|
|
11
11
|
treeNodeArr: Array,
|
|
12
|
-
currentRow: Object
|
|
12
|
+
currentRow: Object,
|
|
13
13
|
},
|
|
14
14
|
components: {
|
|
15
|
-
userDialog,
|
|
15
|
+
userDialog,
|
|
16
|
+
positionDialog,
|
|
17
|
+
saleOrgDialog,
|
|
18
|
+
roleDialog,
|
|
16
19
|
},
|
|
17
|
-
inject: [
|
|
20
|
+
inject: ["current_prefix", "getFileStoreArea"],
|
|
18
21
|
data() {
|
|
19
22
|
return {
|
|
20
23
|
isEdit: false,
|
|
21
|
-
tabIndex:
|
|
22
|
-
dataId:
|
|
24
|
+
tabIndex: "first",
|
|
25
|
+
dataId: "",
|
|
23
26
|
showDialog: true,
|
|
24
27
|
fileObjAuth: {
|
|
25
28
|
saleOrgName: null,
|
|
@@ -37,37 +40,41 @@ modules = {
|
|
|
37
40
|
deleteAuth: 1,
|
|
38
41
|
deleteDirAuth: 1,
|
|
39
42
|
historyAuth: 1,
|
|
40
|
-
shareAuth: 1
|
|
43
|
+
shareAuth: 1,
|
|
44
|
+
downWatermarkAuth: 0,
|
|
45
|
+
authAuth: 1,
|
|
41
46
|
},
|
|
42
47
|
showUserDialog: false,
|
|
43
48
|
showPositionDialog: false,
|
|
44
49
|
showSaleOrgDialog: false,
|
|
45
|
-
showRoleDialog: false
|
|
50
|
+
showRoleDialog: false,
|
|
46
51
|
};
|
|
47
52
|
},
|
|
48
53
|
created() {
|
|
49
54
|
if (this.currentRow) {
|
|
50
|
-
this.fileObjAuth = this.$baseLodash.cloneDeep(this.currentRow)
|
|
55
|
+
this.fileObjAuth = this.$baseLodash.cloneDeep(this.currentRow);
|
|
51
56
|
}
|
|
52
|
-
;
|
|
53
57
|
},
|
|
54
58
|
computed: {
|
|
55
59
|
title() {
|
|
56
|
-
let prevTitle = this.currentRow
|
|
57
|
-
|
|
60
|
+
let prevTitle = this.currentRow
|
|
61
|
+
? this.$t2("查看", "system.button.check")
|
|
62
|
+
: this.$t2("新增", "system.button.add");
|
|
63
|
+
let title =
|
|
64
|
+
prevTitle + this.$t2("文件权限", "components.fileLibrary.fileAuth");
|
|
58
65
|
return title;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
66
|
+
},
|
|
67
|
+
fileStoreArea() {
|
|
68
|
+
return this.getFileStoreArea();
|
|
69
|
+
},
|
|
63
70
|
},
|
|
71
|
+
mounted() {},
|
|
64
72
|
methods: {
|
|
65
|
-
|
|
66
73
|
saveData() {
|
|
67
|
-
this.$refs.editForm.$baseValidate(valid => {
|
|
74
|
+
this.$refs.editForm.$baseValidate((valid) => {
|
|
68
75
|
if (valid) {
|
|
69
|
-
|
|
70
|
-
|
|
76
|
+
this.$emit("confirm", this.fileObjAuth);
|
|
77
|
+
this.handleClose();
|
|
71
78
|
}
|
|
72
79
|
});
|
|
73
80
|
},
|
|
@@ -101,8 +108,8 @@ modules = {
|
|
|
101
108
|
},
|
|
102
109
|
handleClose() {
|
|
103
110
|
this.showDialog = false;
|
|
104
|
-
this.$emit("update:visiable", false)
|
|
105
|
-
}
|
|
106
|
-
}
|
|
111
|
+
this.$emit("update:visiable", false);
|
|
112
|
+
},
|
|
113
|
+
},
|
|
107
114
|
};
|
|
108
115
|
export default modules;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import userDialog from "
|
|
2
|
-
import positionDialog from "
|
|
3
|
-
import saleOrgDialog from "
|
|
4
|
-
import roleDialog from "
|
|
1
|
+
import userDialog from "@base/views/user/user/dialog";
|
|
2
|
+
import positionDialog from "@base/views/user/position/dialog";
|
|
3
|
+
import saleOrgDialog from "@base/views/user/sale_org/dialog";
|
|
4
|
+
import roleDialog from "@base/views/user/role/dialog";
|
|
5
5
|
|
|
6
6
|
let modules = {};
|
|
7
7
|
modules = {
|
|
@@ -13,7 +13,7 @@ modules = {
|
|
|
13
13
|
components: {
|
|
14
14
|
userDialog, positionDialog, saleOrgDialog, roleDialog
|
|
15
15
|
},
|
|
16
|
-
inject: ['current_prefix'],
|
|
16
|
+
inject: ['current_prefix', 'getFileStoreArea'],
|
|
17
17
|
data() {
|
|
18
18
|
return {
|
|
19
19
|
isEdit: false,
|