|
@@ -22,8 +22,8 @@
|
|
|
:teaching-id="searchModel.teachingId"
|
|
|
/>
|
|
|
<select-range-datetime
|
|
|
- v-model:startTime="searchModel.startDate"
|
|
|
- v-model:endTime="searchModel.endDate"
|
|
|
+ v-model:start-time="searchModel.startDate"
|
|
|
+ v-model:end-time="searchModel.endDate"
|
|
|
>
|
|
|
</select-range-datetime>
|
|
|
<a-input v-model.trim="searchModel.name" placeholder="请输入" allow-clear>
|
|
@@ -52,7 +52,7 @@
|
|
|
</div>
|
|
|
<div class="part-box">
|
|
|
<a-space class="part-action" :size="6">
|
|
|
- <a-button type="text" @click="toImport">
|
|
|
+ <a-button v-if="userStore.isAdmin" type="text" @click="toImport">
|
|
|
<template #icon>
|
|
|
<svg-icon name="icon-import" />
|
|
|
</template>
|