数据中心-全部
parent
b5e1b050dc
commit
b0a8fc1378
|
|
@ -184,9 +184,9 @@ const yearSelect = ref({
|
||||||
})
|
})
|
||||||
|
|
||||||
const monthSelect = ref({
|
const monthSelect = ref({
|
||||||
issued:parseInt(new Date().getMonth()),
|
issued:0,
|
||||||
verify:parseInt(new Date().getMonth()),
|
verify:0,
|
||||||
rectification:parseInt(new Date().getMonth()),
|
rectification:0,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -220,7 +220,7 @@ function handlerCheckedFilter(type,item,state=false) {
|
||||||
|
|
||||||
switch(type){
|
switch(type){
|
||||||
case "issued":
|
case "issued":
|
||||||
handlerGetIssuedStatitical(monthSelect.value[type] > 0 ? currentFilterName.value[type] : null)
|
handlerGetIssuedStatitical(monthSelect.value[type]>0?currentFilterName.value[type]:null)
|
||||||
break;
|
break;
|
||||||
case "verify":
|
case "verify":
|
||||||
handlerGetVerifyStatitical(monthSelect.value[type]>0?currentFilterName.value[type]:null)
|
handlerGetVerifyStatitical(monthSelect.value[type]>0?currentFilterName.value[type]:null)
|
||||||
|
|
@ -289,19 +289,19 @@ const chartOneData = ref(
|
||||||
{
|
{
|
||||||
mark:"jianshecount",
|
mark:"jianshecount",
|
||||||
name: "建设用地",
|
name: "建设用地",
|
||||||
value: 0,
|
value: 70,
|
||||||
unit: "宗"
|
unit: "宗"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
mark:"nongyongdicount",
|
mark:"nongyongdicount",
|
||||||
name: "农用地",
|
name: "农用地",
|
||||||
value: 0,
|
value: 20,
|
||||||
unit: "宗"
|
unit: "宗"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
mark:"tuiduitucount",
|
mark:"tuiduitucount",
|
||||||
name: "推堆土",
|
name: "推堆土",
|
||||||
value: 0,
|
value: 30,
|
||||||
unit: "宗"
|
unit: "宗"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -345,9 +345,8 @@ const chartThreeData = ref( [
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
||||||
async function handlerGetIssuedStatitical(month=""){
|
async function handlerGetIssuedStatitical(month=null){
|
||||||
let data = await getIssuedStatitical({month:month});
|
let data = await getIssuedStatitical({month:month});
|
||||||
|
|
||||||
for(let key in data){
|
for(let key in data){
|
||||||
issued.value?.forEach((item,index)=>{
|
issued.value?.forEach((item,index)=>{
|
||||||
if(item.mark == key){
|
if(item.mark == key){
|
||||||
|
|
@ -364,7 +363,7 @@ async function handlerGetIssuedStatitical(month=""){
|
||||||
handlerLoadChartsOne(chartOneData.value);
|
handlerLoadChartsOne(chartOneData.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handlerGetVerifyStatitical(month=""){
|
async function handlerGetVerifyStatitical(month=null){
|
||||||
let data = await getVerifyStatitical({month:month});
|
let data = await getVerifyStatitical({month:month});
|
||||||
for(let key in data){
|
for(let key in data){
|
||||||
verify.value?.forEach((item,index)=>{
|
verify.value?.forEach((item,index)=>{
|
||||||
|
|
@ -383,7 +382,7 @@ async function handlerGetVerifyStatitical(month=""){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handlerGetRectificationStatitical(month=""){
|
async function handlerGetRectificationStatitical(month=null){
|
||||||
let data = await getRectificationStatitical({month:month});
|
let data = await getRectificationStatitical({month:month});
|
||||||
for(let key in data){
|
for(let key in data){
|
||||||
rectification.value?.forEach((item,index)=>{
|
rectification.value?.forEach((item,index)=>{
|
||||||
|
|
@ -973,14 +972,13 @@ function createData() {
|
||||||
|
|
||||||
|
|
||||||
onMounted(()=>{
|
onMounted(()=>{
|
||||||
|
|
||||||
|
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
let default_date = yearSelect.value['issued']+"-"+monthSelect.value['issued']
|
handlerGetIssuedStatitical();
|
||||||
handlerGetIssuedStatitical(default_date);
|
handlerGetVerifyStatitical();
|
||||||
handlerGetVerifyStatitical(default_date);
|
handlerGetRectificationStatitical();
|
||||||
handlerGetRectificationStatitical(default_date);
|
// handlerLoadChartsOne();
|
||||||
|
// handlerLoadChartsTow();
|
||||||
|
// handlerLoadChartsThree();
|
||||||
},500)
|
},500)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue