lambo-design-bi 0.0.221 → 0.0.222

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambo-design-bi",
3
- "version": "0.0.221",
3
+ "version": "0.0.222",
4
4
  "description": "Vue2 BI 数据可视化组件库",
5
5
  "main": "index.js",
6
6
  "author": "finch",
@@ -5,7 +5,7 @@
5
5
  <div class="flow-title">
6
6
  <span class="flow-name">{{ flowInfo.flowName || '审批流程提交' }}</span>
7
7
  </div>
8
- <FlowCopyUsers :copy-users="copyUsers" :editable="true"
8
+ <FlowCopyUsers :copy-users="copyUsers" :editable="copyUsersEditable"
9
9
  @change="handleCopyUsersChange" @add-copy-users="handleShowCopyUserSelector" />
10
10
  </div>
11
11
 
@@ -117,6 +117,24 @@ export default {
117
117
  type: Boolean,
118
118
  default: true
119
119
  },
120
+ /**
121
+ * 附件列表
122
+ * @property {string} fileId - 文件ID
123
+ * @property {string} fileName - 文件名
124
+ * @property {string} fileSize - 文件大小
125
+ */
126
+ initAttachments: {
127
+ type: Array,
128
+ default: () => []
129
+ },
130
+ /**
131
+ * 抄送人是否可编辑
132
+ * @default true
133
+ */
134
+ copyUsersEditable: {
135
+ type: Boolean,
136
+ default: true
137
+ },
120
138
  /**
121
139
  * 抄送人列表
122
140
  * @property {string} loginName - 抄送人ID
@@ -199,7 +217,7 @@ export default {
199
217
  return {
200
218
  applyDescription: '',
201
219
  submitting: false,
202
- attachments: [],
220
+ attachments: [...this.initAttachments],
203
221
  previewModalVisible: false,
204
222
  previewFileUrl: '',
205
223
  previewFileName: '',