|
@@ -431,7 +431,13 @@ class WorkFlowService extends Service
|
|
|
->where('document_id', $data['document_id'])
|
|
->where('document_id', $data['document_id'])
|
|
|
->latest()
|
|
->latest()
|
|
|
->first();
|
|
->first();
|
|
|
- $return['after'] = $draft ?? [];
|
|
|
|
|
|
|
+ $content = $draft->content ?? [];
|
|
|
|
|
+ $opt_type = $draft->opt_type ?? 0;
|
|
|
|
|
+ $after = [
|
|
|
|
|
+ 'details' => $content,
|
|
|
|
|
+ 'type' => $opt_type,
|
|
|
|
|
+ ];
|
|
|
|
|
+ $return['after'] = $after;
|
|
|
|
|
|
|
|
$config = [
|
|
$config = [
|
|
|
'item' => "itemDetail",
|
|
'item' => "itemDetail",
|