Compare commits
5 Commits
f23ccaa281
...
d6486eada2
| Author | SHA1 | Date |
|---|---|---|
|
|
d6486eada2 | |
|
|
65feba8c44 | |
|
|
b95b1dd247 | |
|
|
ae091d2f6e | |
|
|
b0a8fc1378 |
|
|
@ -1,5 +1,5 @@
|
|||
export enum MapboxConfig {
|
||||
ACCESS_TOKEN = 'pk.eyJ1Ijoic2h1c2h1YmlvIiwiYSI6ImNsN2QxZGdxdjE2aWYzd21pazFteGY3OGMifQ.fb3z0dSPrKhHjKu50zO-sg',
|
||||
ACCESS_TOKEN = 'pk.eyJ1IjoiYzRzci1nc2FwcCIsImEiOiJja2J0ajRtNzMwOHBnMnNvNnM3Ymw5MnJzIn0.fsTNczOFZG8Ik3EtO9LdNQ',
|
||||
// ACCESS_TOKEN = "1234",
|
||||
TDT_TOKEN = 'b6585bc41ee16251dbe6b1af64f375d9',
|
||||
// add more config options here
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ export const servicesColumns: BasicColumn[] = [
|
|||
},
|
||||
];
|
||||
|
||||
export const MAPBOX_TOKEN = "pk.eyJ1Ijoic2h1c2h1YmlvIiwiYSI6ImNsN2QxZGdxdjE2aWYzd21pazFteGY3OGMifQ.fb3z0dSPrKhHjKu50zO-sg";
|
||||
export const MAPBOX_TOKEN = "pk.eyJ1IjoiYzRzci1nc2FwcCIsImEiOiJja2J0ajRtNzMwOHBnMnNvNnM3Ymw5MnJzIn0.fsTNczOFZG8Ik3EtO9LdNQ";
|
||||
|
||||
export const TINADITU_TOKEN = "b6585bc41ee16251dbe6b1af64f375d9";
|
||||
|
||||
|
|
|
|||
|
|
@ -184,9 +184,9 @@ const yearSelect = ref({
|
|||
})
|
||||
|
||||
const monthSelect = ref({
|
||||
issued:parseInt(new Date().getMonth()),
|
||||
verify:parseInt(new Date().getMonth()),
|
||||
rectification:parseInt(new Date().getMonth()),
|
||||
issued:0,
|
||||
verify:0,
|
||||
rectification:0,
|
||||
})
|
||||
|
||||
|
||||
|
|
@ -220,7 +220,7 @@ function handlerCheckedFilter(type,item,state=false) {
|
|||
|
||||
switch(type){
|
||||
case "issued":
|
||||
handlerGetIssuedStatitical(monthSelect.value[type] > 0 ? currentFilterName.value[type] : null)
|
||||
handlerGetIssuedStatitical(monthSelect.value[type]>0?currentFilterName.value[type]:null)
|
||||
break;
|
||||
case "verify":
|
||||
handlerGetVerifyStatitical(monthSelect.value[type]>0?currentFilterName.value[type]:null)
|
||||
|
|
@ -345,9 +345,8 @@ const chartThreeData = ref( [
|
|||
}
|
||||
])
|
||||
|
||||
async function handlerGetIssuedStatitical(month=""){
|
||||
async function handlerGetIssuedStatitical(month=null){
|
||||
let data = await getIssuedStatitical({month:month});
|
||||
|
||||
for(let key in data){
|
||||
issued.value?.forEach((item,index)=>{
|
||||
if(item.mark == key){
|
||||
|
|
@ -364,7 +363,7 @@ async function handlerGetIssuedStatitical(month=""){
|
|||
handlerLoadChartsOne(chartOneData.value);
|
||||
}
|
||||
|
||||
async function handlerGetVerifyStatitical(month=""){
|
||||
async function handlerGetVerifyStatitical(month=null){
|
||||
let data = await getVerifyStatitical({month:month});
|
||||
for(let key in data){
|
||||
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});
|
||||
for(let key in data){
|
||||
rectification.value?.forEach((item,index)=>{
|
||||
|
|
@ -973,14 +972,13 @@ function createData() {
|
|||
|
||||
|
||||
onMounted(()=>{
|
||||
|
||||
|
||||
setTimeout(function(){
|
||||
let default_date = yearSelect.value['issued']+"-"+monthSelect.value['issued']
|
||||
handlerGetIssuedStatitical(default_date);
|
||||
handlerGetVerifyStatitical(default_date);
|
||||
handlerGetRectificationStatitical(default_date);
|
||||
|
||||
handlerGetIssuedStatitical();
|
||||
handlerGetVerifyStatitical();
|
||||
handlerGetRectificationStatitical();
|
||||
// handlerLoadChartsOne();
|
||||
// handlerLoadChartsTow();
|
||||
// handlerLoadChartsThree();
|
||||
},500)
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
export const MAPBOX_TOKEN = "pk.eyJ1Ijoic2h1c2h1YmlvIiwiYSI6ImNsN2QxZGdxdjE2aWYzd21pazFteGY3OGMifQ.fb3z0dSPrKhHjKu50zO-sg";
|
||||
export const MAPBOX_TOKEN = "pk.eyJ1IjoiYzRzci1nc2FwcCIsImEiOiJja2J0ajRtNzMwOHBnMnNvNnM3Ymw5MnJzIn0.fsTNczOFZG8Ik3EtO9LdNQ";
|
||||
|
||||
export const TINADITU_TOKEN = "b6585bc41ee16251dbe6b1af64f375d9";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
export enum MapboxConfig {
|
||||
ACCESS_TOKEN = 'pk.eyJ1Ijoic2h1c2h1YmlvIiwiYSI6ImNsN2QxZGdxdjE2aWYzd21pazFteGY3OGMifQ.fb3z0dSPrKhHjKu50zO-sg',
|
||||
ACCESS_TOKEN = 'pk.eyJ1IjoiYzRzci1nc2FwcCIsImEiOiJja2J0ajRtNzMwOHBnMnNvNnM3Ymw5MnJzIn0.fsTNczOFZG8Ik3EtO9LdNQ',
|
||||
// ACCESS_TOKEN = "1234",
|
||||
TDT_TOKEN = 'b6585bc41ee16251dbe6b1af64f375d9',
|
||||
// add more config options here
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
export const MAPBOX_TOKEN = "pk.eyJ1Ijoic2h1c2h1YmlvIiwiYSI6ImNsN2QxZGdxdjE2aWYzd21pazFteGY3OGMifQ.fb3z0dSPrKhHjKu50zO-sg";
|
||||
export const MAPBOX_TOKEN = "pk.eyJ1IjoiYzRzci1nc2FwcCIsImEiOiJja2J0ajRtNzMwOHBnMnNvNnM3Ymw5MnJzIn0.fsTNczOFZG8Ik3EtO9LdNQ";
|
||||
|
||||
export const TINADITU_TOKEN = "b6585bc41ee16251dbe6b1af64f375d9";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
export const MAPBOX_TOKEN = "pk.eyJ1Ijoic2h1c2h1YmlvIiwiYSI6ImNsN2QxZGdxdjE2aWYzd21pazFteGY3OGMifQ.fb3z0dSPrKhHjKu50zO-sg";
|
||||
export const MAPBOX_TOKEN = "pk.eyJ1IjoiYzRzci1nc2FwcCIsImEiOiJja2J0ajRtNzMwOHBnMnNvNnM3Ymw5MnJzIn0.fsTNczOFZG8Ik3EtO9LdNQ";
|
||||
|
||||
export const TINADITU_TOKEN = "b6585bc41ee16251dbe6b1af64f375d9";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
export enum MapboxConfig {
|
||||
ACCESS_TOKEN = 'pk.eyJ1Ijoic2h1c2h1YmlvIiwiYSI6ImNsN2QxZGdxdjE2aWYzd21pazFteGY3OGMifQ.fb3z0dSPrKhHjKu50zO-sg',
|
||||
ACCESS_TOKEN = 'pk.eyJ1IjoiYzRzci1nc2FwcCIsImEiOiJja2J0ajRtNzMwOHBnMnNvNnM3Ymw5MnJzIn0.fsTNczOFZG8Ik3EtO9LdNQ',
|
||||
// ACCESS_TOKEN = "1234",
|
||||
TDT_TOKEN = 'b6585bc41ee16251dbe6b1af64f375d9',
|
||||
// add more config options here
|
||||
|
|
|
|||
Loading…
Reference in New Issue