ui: 收款流水页搜索区展开器改为与认领记录页一致的箭头图标按钮(tooltip 展开/折叠)
This commit is contained in:
@@ -84,11 +84,13 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<div class="receipt-flow-page__search-actions">
|
<div class="receipt-flow-page__search-actions">
|
||||||
<el-button @click="searchExpanded = !searchExpanded">
|
|
||||||
{{ searchExpanded ? '折叠' : '展开' }}
|
|
||||||
</el-button>
|
|
||||||
<el-button type="primary" @click="handleSearch">查询</el-button>
|
<el-button type="primary" @click="handleSearch">查询</el-button>
|
||||||
<el-button @click="resetSearch">重置</el-button>
|
<el-button @click="resetSearch">重置</el-button>
|
||||||
|
<el-tooltip :content="searchExpanded ? '折叠' : '展开'" placement="top">
|
||||||
|
<el-button text @click="searchExpanded = !searchExpanded">
|
||||||
|
<el-icon><component :is="searchExpanded ? ArrowUp : ArrowDown" /></el-icon>
|
||||||
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
</section>
|
</section>
|
||||||
@@ -265,6 +267,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { ArrowDown, ArrowUp } from '@element-plus/icons-vue';
|
||||||
import { mapGetters } from 'vuex';
|
import { mapGetters } from 'vuex';
|
||||||
import * as api from '@/api/payment/receiptFlow';
|
import * as api from '@/api/payment/receiptFlow';
|
||||||
import { receiptFlowTableColumns } from '@/option/payment/receiptFlow';
|
import { receiptFlowTableColumns } from '@/option/payment/receiptFlow';
|
||||||
@@ -289,6 +292,8 @@ export default {
|
|||||||
name: 'ReceiptFlow',
|
name: 'ReceiptFlow',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
ArrowDown,
|
||||||
|
ArrowUp,
|
||||||
query: emptyQuery(),
|
query: emptyQuery(),
|
||||||
claimStatusOptions: api.claimStatusOptions,
|
claimStatusOptions: api.claimStatusOptions,
|
||||||
pushStatusOptions: api.pushStatusOptions,
|
pushStatusOptions: api.pushStatusOptions,
|
||||||
|
|||||||
Reference in New Issue
Block a user