Browse Source

维护详情页默认情况

master_hella_20240701
yufei0306 8 months ago
parent
commit
5376cd9cfc
  1. 10
      src/components/Detail/src/Detail.vue

10
src/components/Detail/src/Detail.vue

@ -28,7 +28,7 @@
<Tabs :tabsList="tabsList" :current="current" @change="change" />
<div class="flex">
<!-- 详情 -->
<ContentWrap class="w-[100%]" v-show="current<tabsList.length-3"> <!-- 列表头部 -->
<ContentWrap class="w-[100%]" v-show="tabsList[current].label!='附件'&&tabsList[current].label!='备注'&&tabsList[current].label!='变更记录'"> <!-- 列表头部 -->
<TableHead
v-if="!isBasic"
:HeadButttondata="HeadButttondata"
@ -97,7 +97,7 @@
</DetailTable>
</ContentWrap>
<!-- 附件/备注/变更记录 -->
<ContentWrap class="w-[100%]" v-show="current>=tabsList.length-3">
<ContentWrap class="w-[100%]" v-show="tabsList[current].label=='附件'">
<!-- 附件组件 -->
<Annex v-show="current===tabsList.length-3"
:annexData="annexData"
@ -106,17 +106,17 @@
:upData="remarksData.data"
/>
<!-- 备注组件 -->
<Remarks v-show="current===tabsList.length-2"
<Remarks v-show="tabsList[current].label=='备注'"
:remarksData="remarksData"
class="mt-20px"
@remarksSubmitScuess="remarksSubmitScuess"
/>
<!-- 变更记录组件 -->
<ChangeRecord v-show="current===tabsList.length-1" :changeRecordData="changeRecordData" class="mt-20px" /> </ContentWrap>
<ChangeRecord v-show="tabsList[current].label=='变更记录'" :changeRecordData="changeRecordData" class="mt-20px" /> </ContentWrap>
</div>
</el-drawer>
<!-- 表格弹窗 -->
<SearchTable ref="searchTableRef" :isOpenSearchTable="isOpenSearchTable" @search-table-success="searchTableSuccess1" />
<SearchTable ref="searchTableRef" @search-table-success="searchTableSuccess1" />
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="formRef"

Loading…
Cancel
Save