diff --git a/package.json b/package.json index d4dec2f..c4bae0c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build --mode dev", + "build": "vite build --mode prod", "build:prod": "vite build --mode prod && WinRAR a -r v2.zip ./v2/", "preview": "vite preview" }, diff --git a/src/api/rightsComfort/supervision.ts b/src/api/rightsComfort/supervision.ts index d9d074c..072fdeb 100644 --- a/src/api/rightsComfort/supervision.ts +++ b/src/api/rightsComfort/supervision.ts @@ -14,3 +14,20 @@ export function getDetail(id){ url:`/rights/supervise/${id}` }) } + +//上报数据 +export function reportedData(body){ + return request.post({ + url:`/rights/supervise/reportedData`, + body + }) +} + + +//无效维权 +export function upDataTrue(body){ + return request.put({ + url:`/rights/supervise`, + body + }) +} diff --git a/src/components/datav/chart-bar-new.vue b/src/components/datav/chart-bar-new.vue index 9dea2ed..ee26c2d 100644 --- a/src/components/datav/chart-bar-new.vue +++ b/src/components/datav/chart-bar-new.vue @@ -180,6 +180,7 @@ function getColor(val) { height: 9px; background: linear-gradient(270deg, #63e700 0%, #19674c 100%); transition: width 0.3s; + } } diff --git a/src/components/datav/chart-bar.vue b/src/components/datav/chart-bar.vue index 5fb264d..215e79d 100644 --- a/src/components/datav/chart-bar.vue +++ b/src/components/datav/chart-bar.vue @@ -14,7 +14,7 @@ {{ item.label }} -
市局下发问题数:{{item.cityNumber}}
+二级机构下发问题数:{{item.countyNumber}}
+