feat(web-admin): mount instance comment panel on OA detail views
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3cc112c16c
commit
8248e5ef15
8 files changed
+7626
-4537
No files matched your search
@@ -33,6 +33,15 @@
|
||||
<pre v-else-if="!loading" class="oa-detail-dlg__json">{{ prettyForm }}</pre>
|
||||
</div>
|
||||
</section>
|
||||
<section class="oa-detail-dlg__section">
|
||||
<OaCommentPanel
|
||||
v-if="detail?.id"
|
||||
:instance-id="detail.id"
|
||||
:instance-status="detail.status || ''"
|
||||
:comments="detail.comments || []"
|
||||
@refresh="load"
|
||||
/>
|
||||
</section>
|
||||
<section class="oa-detail-dlg__section oa-detail-dlg__section--progress">
|
||||
<OaProgressChain :items="timelineItems" />
|
||||
</section>
|
||||
@@ -51,6 +60,7 @@
|
||||
import { Close } from '@element-plus/icons-vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { fetchOaInstanceDetail } from '@/api/oaApproval'
|
||||
import OaCommentPanel from '@/components/oa-approval/OaCommentPanel.vue'
|
||||
import OaProgressChain from '@/components/oa-approval/OaProgressChain.vue'
|
||||
import {
|
||||
OA_FC_DEFAULT_GUTTER,
|
||||
|
||||
Reference in new issue
Block a user