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