|
@ -37,7 +37,7 @@ |
|
|
<InputSearch style="width: 402px;" :formList="searchFormList" :formConfigOptions="{ labelWidth: '72px' }" |
|
|
<InputSearch style="width: 402px;" :formList="searchFormList" :formConfigOptions="{ labelWidth: '72px' }" |
|
|
@handleSearch="handleSearch" /> |
|
|
@handleSearch="handleSearch" /> |
|
|
</div> |
|
|
</div> |
|
|
<ElEmpty v-if="!data.length" description="暂无数据" style="width: 100%;height: 100%;" /> |
|
|
<ElEmpty v-if="!data.length && !isFirst" description="暂无数据" style="width: 100%;height: 100%;position: absolute;" /> |
|
|
|
|
|
|
|
|
<SpecialTable v-else :columns="columns" :data="data" class="body"> |
|
|
<SpecialTable v-else :columns="columns" :data="data" class="body"> |
|
|
<template #title-DateDuty> |
|
|
<template #title-DateDuty> |
|
@ -171,7 +171,8 @@ export default { |
|
|
], |
|
|
], |
|
|
operateRecordVisible: false, |
|
|
operateRecordVisible: false, |
|
|
modifyDutyInformationTableVisible: false, |
|
|
modifyDutyInformationTableVisible: false, |
|
|
dialogData: null |
|
|
dialogData: null, |
|
|
|
|
|
isFirst: true, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
@ -253,6 +254,7 @@ export default { |
|
|
this.total = result.total; |
|
|
this.total = result.total; |
|
|
}) |
|
|
}) |
|
|
.finally(() => { |
|
|
.finally(() => { |
|
|
|
|
|
this.isFirst = false; |
|
|
closeLoading(); |
|
|
closeLoading(); |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|