cloud-web-corejs 1.0.54-dev.707 → 1.0.54-dev.709
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/fileLibrary/propertiesDialog.vue +6 -0
- package/src/components/jsonImport/exportUtil.js +16 -8
- package/src/components/xform/XFormTabContainer/IMPLEMENTATION_PLAN.md +1079 -0
- package/src/components/xform/XFormTabContainer//346/226/260/345/242/236/351/241/265/347/255/276/346/250/241/345/274/217/345/256/236/347/216/260/346/226/271/346/241/210.md +511 -0
package/package.json
CHANGED
|
@@ -90,6 +90,12 @@
|
|
|
90
90
|
<th>{{ $t2("文件编码", "components.fileLibrary.fileSn") }}</th>
|
|
91
91
|
<td colspan="3">{{ attachmentDTO.fileSn }}</td>
|
|
92
92
|
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<th>{{ $t1("作者") }}</th>
|
|
95
|
+
<td>{{ attachmentDTO.fileAuthor }}</td>
|
|
96
|
+
<th>{{ $t1("修订人") }}</th>
|
|
97
|
+
<td>{{ attachmentDTO.fileReviser }}</td>
|
|
98
|
+
</tr>
|
|
93
99
|
<tr>
|
|
94
100
|
<th>{{ $t2("创建人", "system.label.createBy") }}</th>
|
|
95
101
|
<td>{{ attachmentDTO._createBy }}</td>
|
|
@@ -63,29 +63,37 @@ function buildFormTemplateScriptExtras(item) {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
function buildArchiveResult(item, archiveType) {
|
|
66
|
-
const mainContent = JSON.stringify(item, null, 2);
|
|
67
|
-
|
|
68
66
|
switch (archiveType) {
|
|
69
67
|
case ARCHIVE_TYPE.FORM_SCRIPT:
|
|
70
68
|
return {
|
|
71
|
-
mainContent,
|
|
69
|
+
mainContent: JSON.stringify(item, null, 2),
|
|
72
70
|
mainFileName: getFormScriptFileName(item.scriptCode, item.formCode),
|
|
73
71
|
extraFiles: [],
|
|
74
72
|
};
|
|
75
|
-
case ARCHIVE_TYPE.FORM_TEMPLATE:
|
|
73
|
+
case ARCHIVE_TYPE.FORM_TEMPLATE: {
|
|
74
|
+
const extraFiles = buildFormTemplateScriptExtras(item);
|
|
75
|
+
const formTemplate = {
|
|
76
|
+
...item,
|
|
77
|
+
formScriptDTOs: null,
|
|
78
|
+
};
|
|
76
79
|
return {
|
|
77
|
-
mainContent,
|
|
80
|
+
mainContent: JSON.stringify(formTemplate, null, 2),
|
|
78
81
|
mainFileName: `F&${item.formCode || "form"}`,
|
|
79
|
-
extraFiles
|
|
82
|
+
extraFiles,
|
|
80
83
|
};
|
|
84
|
+
}
|
|
81
85
|
case ARCHIVE_TYPE.TABLE:
|
|
82
86
|
return {
|
|
83
|
-
mainContent,
|
|
87
|
+
mainContent: JSON.stringify(item, null, 2),
|
|
84
88
|
mainFileName: `T&${item.taBm || "table"}`,
|
|
85
89
|
extraFiles: [],
|
|
86
90
|
};
|
|
87
91
|
default:
|
|
88
|
-
return {
|
|
92
|
+
return {
|
|
93
|
+
mainContent: JSON.stringify(item, null, 2),
|
|
94
|
+
mainFileName: null,
|
|
95
|
+
extraFiles: [],
|
|
96
|
+
};
|
|
89
97
|
}
|
|
90
98
|
}
|
|
91
99
|
|