cloud-web-corejs 1.0.54-dev.136 → 1.0.54-dev.138
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/advancedSearchDialog/mixins.js +1 -28
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +328 -203
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +27 -23
- package/src/components/fileLibrary/mixins/indexMixins.js +1 -1
- package/src/components/table/index.js +1 -1
- package/src/components/table/tableFormMixin.js +1 -281
- package/src/components/wf/wf.js +1 -1763
- package/src/components/wf/wfUtil.js +1 -279
- package/src/components/xform/form-designer/designer.js +1 -1514
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1156
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
- package/src/components/xform/form-designer/indexMixin.js +1 -773
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +3 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -2149
- package/src/components/xform/form-render/indexMixin.js +1 -1813
- package/src/components/xform/mixins/defaultHandle.js +1 -120
- package/src/components/xform/mixins/scriptHttp.js +1 -82
- package/src/components/xform/utils/util.js +1 -1631
- package/src/store/config/index.js +1 -664
- package/src/views/bd/setting/form_import_log/edit.vue +1 -0
- package/src/views/bd/setting/form_import_log/list.vue +1 -0
- package/src/views/bd/setting/form_script/mixins/edit.js +1 -165
- package/src/views/bd/setting/form_script/mixins/edit1.js +1 -165
- package/src/views/bd/setting/form_script/mixins/list.js +1 -176
- package/src/views/bd/setting/form_script/mixins/list1.js +1 -332
- package/src/views/bd/setting/form_template/mixins/edit.js +1 -170
- package/src/views/bd/setting/form_template/mixins/list.js +1 -584
- package/src/views/bd/setting/menu_kind/mixins/list.js +1 -176
- package/src/views/bd/setting/table_model/edit.vue +702 -484
- package/src/views/bd/setting/table_model/mixins/edit.js +24 -1
- package/src/views/bd/setting/table_model/mixins/list.js +1 -349
- package/src/views/bd/setting/table_model/mixins/edit copy.js +0 -903
@@ -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,40 +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
66
|
},
|
60
|
-
fileStoreArea(){
|
67
|
+
fileStoreArea() {
|
61
68
|
return this.getFileStoreArea();
|
62
|
-
}
|
63
|
-
},
|
64
|
-
mounted() {
|
65
|
-
|
69
|
+
},
|
66
70
|
},
|
71
|
+
mounted() {},
|
67
72
|
methods: {
|
68
|
-
|
69
73
|
saveData() {
|
70
|
-
this.$refs.editForm.$baseValidate(valid => {
|
74
|
+
this.$refs.editForm.$baseValidate((valid) => {
|
71
75
|
if (valid) {
|
72
|
-
|
73
|
-
|
76
|
+
this.$emit("confirm", this.fileObjAuth);
|
77
|
+
this.handleClose();
|
74
78
|
}
|
75
79
|
});
|
76
80
|
},
|
@@ -104,8 +108,8 @@ modules = {
|
|
104
108
|
},
|
105
109
|
handleClose() {
|
106
110
|
this.showDialog = false;
|
107
|
-
this.$emit("update:visiable", false)
|
108
|
-
}
|
109
|
-
}
|
111
|
+
this.$emit("update:visiable", false);
|
112
|
+
},
|
113
|
+
},
|
110
114
|
};
|
111
115
|
export default modules;
|
@@ -1804,7 +1804,7 @@ modules = {
|
|
1804
1804
|
let url = attachment.domain + attachment.url;
|
1805
1805
|
if (this.fileStoreArea.toDownWatermark && fileObjAuth.downWatermarkAuth) {
|
1806
1806
|
let loginAccount = this.$store.getters.loginAccount;
|
1807
|
-
url += '?_w=' + encode(loginAccount)
|
1807
|
+
url += '?_w=' + encodeURIComponent(encode(loginAccount))
|
1808
1808
|
}
|
1809
1809
|
this.$commonFileUtil.downloadFile(url, attachment.fileName)
|
1810
1810
|
}
|