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" /> <Tabs :tabsList="tabsList" :current="current" @change="change" />
<div class="flex"> <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 <TableHead
v-if="!isBasic" v-if="!isBasic"
:HeadButttondata="HeadButttondata" :HeadButttondata="HeadButttondata"
@ -97,7 +97,7 @@
</DetailTable> </DetailTable>
</ContentWrap> </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" <Annex v-show="current===tabsList.length-3"
:annexData="annexData" :annexData="annexData"
@ -106,17 +106,17 @@
:upData="remarksData.data" :upData="remarksData.data"
/> />
<!-- 备注组件 --> <!-- 备注组件 -->
<Remarks v-show="current===tabsList.length-2" <Remarks v-show="tabsList[current].label=='备注'"
:remarksData="remarksData" :remarksData="remarksData"
class="mt-20px" class="mt-20px"
@remarksSubmitScuess="remarksSubmitScuess" @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> </div>
</el-drawer> </el-drawer>
<!-- 表格弹窗 --> <!-- 表格弹窗 -->
<SearchTable ref="searchTableRef" :isOpenSearchTable="isOpenSearchTable" @search-table-success="searchTableSuccess1" /> <SearchTable ref="searchTableRef" @search-table-success="searchTableSuccess1" />
<!-- 表单弹窗添加/修改 --> <!-- 表单弹窗添加/修改 -->
<BasicForm <BasicForm
ref="formRef" ref="formRef"

Loading…
Cancel
Save