|
@@ -95,6 +95,7 @@
|
|
|
|
|
|
<el-form-item label="" style="text-align: center;">
|
|
<el-form-item label="" style="text-align: center;">
|
|
<el-button type="primary" style="width: 360px;" @click="onSearch(0)">检索</el-button>
|
|
<el-button type="primary" style="width: 360px;" @click="onSearch(0)">检索</el-button>
|
|
|
|
+ <el-button @click="onReset" style="position: absolute; right: -90px;">重置</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<!-- 列表部分 -->
|
|
<!-- 列表部分 -->
|
|
@@ -140,7 +141,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<div v-if="!active">
|
|
<div v-if="!active">
|
|
- <InfoCard v-for="(item, index) of infoData" :key="index" :item="item" />
|
|
|
|
|
|
+ <InfoCard v-for="(item, index) of infoData" :key="index" :item="item" :index="index" />
|
|
<el-empty v-if="!infoData.length" description="暂无数据"></el-empty>
|
|
<el-empty v-if="!infoData.length" description="暂无数据"></el-empty>
|
|
</div>
|
|
</div>
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
@@ -289,6 +290,27 @@ import { dateFormat } from '@/utils/index'
|
|
this.paginationData.currentPage = 1;
|
|
this.paginationData.currentPage = 1;
|
|
this.getList(1);
|
|
this.getList(1);
|
|
},
|
|
},
|
|
|
|
+ // 重置
|
|
|
|
+ onReset() {
|
|
|
|
+ this.$set(this, 'form', {
|
|
|
|
+ start_nl: undefined,
|
|
|
|
+ end_nl: undefined,
|
|
|
|
+ start_time: '',
|
|
|
|
+ end_time: '',
|
|
|
|
+ field: [
|
|
|
|
+ {
|
|
|
|
+ select_type: '',
|
|
|
|
+ key: 'BLNR_TXT',
|
|
|
|
+ value: '',
|
|
|
|
+ lock: false
|
|
|
|
+ }
|
|
|
|
+ ]}
|
|
|
|
+ )
|
|
|
|
+ this.resultSearch = 0,
|
|
|
|
+ this.searchNum = 0
|
|
|
|
+ this.paginationData.currentPage = 1;
|
|
|
|
+ this.getList(0);
|
|
|
|
+ },
|
|
funDel(i) {
|
|
funDel(i) {
|
|
const index = i;
|
|
const index = i;
|
|
if (index == 0) {
|
|
if (index == 0) {
|