|
|
@ -47,7 +47,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="clearfix list"> |
|
|
|
<div class="clearfix list"> |
|
|
|
<div class="text">{{$t('previewTime')}}</div> |
|
|
|
<div class="text">{{$t('previewTime')}}</div> |
|
|
|
<x-input v-model="previewResult" style="width: 360px;"></x-input> |
|
|
|
<x-input v-model="previewTime" style="width: 360px;" readonly :value="123"></x-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="clearfix list"> |
|
|
|
<div class="clearfix list"> |
|
|
|
<div class="text"> |
|
|
|
<div class="text"> |
|
|
@ -168,7 +168,8 @@ |
|
|
|
receiversCc: [], |
|
|
|
receiversCc: [], |
|
|
|
i18n: i18n.globalScope.LOCALE, |
|
|
|
i18n: i18n.globalScope.LOCALE, |
|
|
|
processInstancePriority: 'MEDIUM', |
|
|
|
processInstancePriority: 'MEDIUM', |
|
|
|
workerGroupId: -1 |
|
|
|
workerGroupId: -1, |
|
|
|
|
|
|
|
previewTime: 12345 |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
props: { |
|
|
|
props: { |
|
|
@ -244,10 +245,12 @@ |
|
|
|
let msg = '' |
|
|
|
let msg = '' |
|
|
|
|
|
|
|
|
|
|
|
this.store.dispatch(api, searchParams).then(res => { |
|
|
|
this.store.dispatch(api, searchParams).then(res => { |
|
|
|
this.$message.success(msg) |
|
|
|
this.previewTime = res |
|
|
|
this.$emit('onUpdate') |
|
|
|
if (this.previewTime.length) { |
|
|
|
}).catch(e => { |
|
|
|
resolve() |
|
|
|
this.$message.error(e.msg || '') |
|
|
|
} else { |
|
|
|
|
|
|
|
reject(new Error(0)) |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|