vue2-client 1.8.420 → 1.8.422
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
|
@@ -490,11 +490,10 @@ export default {
|
|
|
490
490
|
getConfigByName(cell.slotConfig, cell.serviceName, async (res) => {
|
|
491
491
|
// 如果配置了 表单初始化logic
|
|
492
492
|
// 调用 logic 获取参数
|
|
493
|
-
let param = {}
|
|
493
|
+
let param = { ...this.mixinData }
|
|
494
494
|
if (res.paramLogicName) {
|
|
495
495
|
param = Object.assign(param, await runLogic(res.paramLogicName, {
|
|
496
496
|
selectedId: (!!this.getSelectedId && this.getSelectedId()) || undefined,
|
|
497
|
-
...this.mixinData
|
|
498
497
|
}, cell.serviceName))
|
|
499
498
|
}
|
|
500
499
|
this.$refs[`dynamicComponent_${cell.slotRef || cellIndex}`][0].init({
|
|
@@ -66,7 +66,13 @@
|
|
|
66
66
|
</span>
|
|
67
67
|
<a-row>
|
|
68
68
|
<a-col :span="14">
|
|
69
|
-
<leave-message
|
|
69
|
+
<leave-message
|
|
70
|
+
:projectName="details.f_task_name"
|
|
71
|
+
:data="messageList"
|
|
72
|
+
:loading="messageLoading"
|
|
73
|
+
:submit-message="submitMessage"
|
|
74
|
+
@refresh="getMessage"
|
|
75
|
+
@success="success"/>
|
|
70
76
|
</a-col>
|
|
71
77
|
</a-row>
|
|
72
78
|
</a-tab-pane>
|
|
@@ -248,6 +254,10 @@ export default {
|
|
|
248
254
|
submitMessage (data) {
|
|
249
255
|
data.f_apply_id = this.applyId
|
|
250
256
|
return post('/api/af-apply/entity/save/t_apply_leave_message', data)
|
|
257
|
+
},
|
|
258
|
+
// 提交完成后事件
|
|
259
|
+
success () {
|
|
260
|
+
this.$emit('success')
|
|
251
261
|
}
|
|
252
262
|
},
|
|
253
263
|
watch: {
|