This commit is contained in:
QuAoLi 2022-02-23 17:54:57 +08:00
parent 47ffb6d9d8
commit 9440f71305
1 changed files with 8 additions and 4 deletions

View File

@ -26,7 +26,7 @@
<a-card :bordered="false">
<div class="table-page-search-wrapper">
<a-form layout="inline">
<a-row :gutter="48">
<!-- <a-row :gutter="48">
<a-col :md="6" :sm="24">
<a-form-item label="部门名称"><a-input v-model="queryParam.orgName" placeholder="请输入部门名称" @pressEnter="loadData1" /></a-form-item>
</a-col>
@ -34,7 +34,7 @@
<a-button type="primary" @click="$refs.table1.refresh(true)">查询</a-button>
<a-button style="margin-left: 8px" @click="() => {queryParam = {}, this.loadData1()}">重置</a-button>
</a-col>
</a-row>
</a-row> -->
</a-form>
</div>
<s-table
@ -74,7 +74,7 @@
<a-card :bordered="false">
<div class="table-page-search-wrapper" >
<a-form layout="inline">
<a-row :gutter="48">
<!-- <a-row :gutter="48">
<a-col :md="6" :sm="24">
<a-form-item label="部门名称"><a-input v-model="queryParam.orgName" placeholder="请输入部门名称" @pressEnter="loadData2" /></a-form-item>
</a-col>
@ -82,7 +82,7 @@
<a-button type="primary" @click="$refs.table2.refresh(true)">查询</a-button>
<a-button style="margin-left: 8px" @click="() => {queryParam = {}, this.loadData2()}">重置</a-button>
</a-col>
</a-row>
</a-row> -->
</a-form>
</div>
<div class="table-operator">
@ -179,6 +179,10 @@
],
loadData1: parameter => {
return dataOrgStatistics(Object.assign(parameter, this.queryParam)).then((res) => {
const data = res.rows
data.forEach(function(val){
val.trainRate = val.trainRate + '%'
})
return res
})
},