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