添加统计的下拉框
This commit is contained in:
parent
0492307fb9
commit
974c732dc0
|
@ -5,6 +5,13 @@
|
|||
<div class="linese"></div>
|
||||
<div class="echartsTitle">
|
||||
<div class="ecicon"></div>数据清洗差异统计
|
||||
<div style="text-align: right;">
|
||||
<a-select placeholder="选择型号" option-filter-prop="children" show-search v-model="selectshipModel">
|
||||
<a-select-option v-for="item in shipModel" :value="item">
|
||||
{{ item }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</div>
|
||||
</div>
|
||||
<div id="cleaningVariance" class="cleaningVariance" ref="cleaningVariance"
|
||||
style="width: 100%;background:#e6e9f1; height: calc(100% - 70px);"></div>
|
||||
|
@ -44,6 +51,7 @@
|
|||
<script>
|
||||
import { getAction } from '@/api/manage'
|
||||
import JEllipsis from "@/components/jeecg/JEllipsis";
|
||||
import { Select } from 'ant-design-vue';
|
||||
export default {
|
||||
name: "statistics",
|
||||
components: {
|
||||
|
@ -55,7 +63,9 @@ export default {
|
|||
cleaningVarianceData: [],
|
||||
totalNumberCataloguesData: [],
|
||||
catalogingStorageData: [],
|
||||
typeStorage: []
|
||||
typeStorage: [],
|
||||
shipModel:["052D","055","054A","002","071"],
|
||||
selectshipModel:"052D"
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -76,7 +86,7 @@ export default {
|
|||
},
|
||||
getTables() {
|
||||
this.cleaningVarianceData = [['product', '贴源库', '集成库']];
|
||||
getAction("/dataAnalysis/getClnDiffStats", {}).then((res) => {
|
||||
getAction("/dataAnalysis/getClnDiffStats?shipModel="+this.selectshipModel, {}).then((res) => {
|
||||
if (res.success) {
|
||||
res.result.schemaNames.forEach(row => {
|
||||
this.cleaningVarianceData.push([row, parseInt(res.result.numRowOriMap[row]), parseInt(res.result.numRowStaMap[row])])
|
||||
|
|
Loading…
Reference in New Issue
Block a user