提交 b38f5f58 编写于 作者: Mosher's avatar Mosher

搜索栏 国际化更新

上级 7b8d056b
...@@ -21,16 +21,16 @@ ...@@ -21,16 +21,16 @@
<el-select size="small" v-if="historyItems.length > 0" v-model="selectItem" @change="onFilterChange"> <el-select size="small" v-if="historyItems.length > 0" v-model="selectItem" @change="onFilterChange">
<el-option v-for="item in historyItems" :key="item.value" :label="item.name" :value="item.value"></el-option> <el-option v-for="item in historyItems" :key="item.value" :label="item.name" :value="item.value"></el-option>
</el-select> </el-select>
<i-button type="primary" @click="onSearch">搜索</i-button> <i-button type="primary" @click="onSearch">{{ $t('app.searchButton.search') }}</i-button>
<i-button @click="onReset">重置</i-button> <i-button @click="onReset">{{ $t('app.searchButton.reset') }}</i-button>
<Poptip ref="propip" trigger="hover" placement="top-end" title="存储自定义查询" :width="250" @on-popper-show="openPoper"> <Poptip ref="propip" trigger="hover" placement="top-end" :title="$t('app.searchForm.custom')" :width="250" @on-popper-show="openPoper">
<i-button><i class="fa fa-floppy-o" aria-hidden="true"></i></i-button> <i-button><i class="fa fa-floppy-o" aria-hidden="true"></i></i-button>
<template slot="content"> <template slot="content">
<div> <div>
<i-input v-model="saveItemName" placeholder="名称"></i-input> <i-input v-model="saveItemName" :placeholder="$t('app.searchForm.title')"></i-input>
<div class="save-action"> <div class="save-action">
<i-button @click="onCancel">取消</i-button> <i-button @click="onCancel">{{ $t('app.commonWords.cancel') }}</i-button>
<i-button type="primary" @click="onOk">保存</i-button> <i-button type="primary" @click="onOk">{{ $t('app.commonWords.save') }}</i-button>
</div> </div>
</div> </div>
</template> </template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册