feat: There is no way the, BUG #52095

This commit is contained in:
super_liu
2022-03-26 20:56:07 +08:00
parent 9b0ed72466
commit 7c0d1e5cc7
@@ -896,19 +896,21 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item class="search-item btn-box">
<el-button <el-button
icon="el-icon-search"
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
@click="handleSearchStandard" size="small"
round> @click="handleSearchStandard">
查询
</el-button> </el-button>
</el-form-item>
<el-form-item class="search-item btn-box">
<el-button <el-button
class="common-button-default" class="common-button-default"
icon="el-icon-refresh-left" size="small"
@click="handleResetSearch" @click="handleResetSearch">清空
round></el-button> </el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@@ -1019,7 +1021,7 @@
</div> </div>
<pagination <pagination
:page="standardSearchForm.page" :page="standardSearchForm.page"
:total="standardSearchForm.total" :total="tableCount"
@pageChange="handleStandardPageChange" @pageChange="handleStandardPageChange"
@pageSizeChange="handleStandardPageSizeChange"></pagination> @pageSizeChange="handleStandardPageSizeChange"></pagination>
<loading :loading="loadSarStandard">数据获取中</loading> <loading :loading="loadSarStandard">数据获取中</loading>
@@ -1242,7 +1244,6 @@
standardSearchForm: { standardSearchForm: {
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
total: 0,
unit: '', unit: '',
esName: '', esName: '',
planStatus: '0,3', planStatus: '0,3',
@@ -1254,6 +1255,7 @@
// 任务分解单数据 // 任务分解单数据
taskTableData: [] taskTableData: []
}, },
tableCount : 0,
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2117,7 +2119,7 @@
this.loadSarStandard = false this.loadSarStandard = false
if (res.ok) { if (res.ok) {
this.tableData.standardData = res.data.list this.tableData.standardData = res.data.list
this.standardSearchForm.total = res.data.count this.tableCount = res.data.count
} }
}, e => { }, e => {
this.loadSarStandard = false this.loadSarStandard = false