修改文字
parent
ab1fad9937
commit
3438e7d6a0
|
|
@ -31,14 +31,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="h-full py-5">
|
<div class="h-full py-5">
|
||||||
<iframe
|
<iframe v-if="urlStr" :src="urlStr" frameborder="0" width="100%" height="100%"></iframe>
|
||||||
v-if="urlStr"
|
|
||||||
onload="Javascript:setHeight(this)"
|
|
||||||
:src="urlStr"
|
|
||||||
frameborder="0"
|
|
||||||
width="100%"
|
|
||||||
height="100%"
|
|
||||||
></iframe>
|
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -91,7 +84,8 @@
|
||||||
|
|
||||||
const getContainer = () => {
|
const getContainer = () => {
|
||||||
if (document.body.clientWidth < 3000) return document.body
|
if (document.body.clientWidth < 3000) return document.body
|
||||||
return document.body.querySelector(`.IframeModal`)
|
return document.body
|
||||||
|
// return document.body.querySelector(`.IframeModal`)
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleFull = () => {
|
const handleFull = () => {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="w-314px">
|
<div class="w-314px">
|
||||||
<div
|
<div
|
||||||
class="font-pmzd text-18px mt-19px text-center bg-clip-text text-transparent bg-gradient-to-t from-[#76E9F0] to-[#A7E6EE]"
|
class="font-pmzd text-18px mt-19px text-center bg-clip-text text-transparent bg-gradient-to-t from-[#76E9F0] to-[#A7E6EE]"
|
||||||
>隆昌农业产业情况(万元)</div
|
>隆昌农业产值(万元)</div
|
||||||
>
|
>
|
||||||
<div class="w-full h-250px mx-auto mt-10px" ref="chartRef"> </div>
|
<div class="w-full h-250px mx-auto mt-10px" ref="chartRef"> </div>
|
||||||
<div
|
<div
|
||||||
|
|
@ -140,7 +140,7 @@
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
name: '隆昌农业产业情况',
|
name: '隆昌农业产值',
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
radius: '80%',
|
radius: '80%',
|
||||||
center: ['40%', '50%'],
|
center: ['40%', '50%'],
|
||||||
|
|
@ -151,6 +151,17 @@
|
||||||
return colorList[params.dataIndex]
|
return colorList[params.dataIndex]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
tooltip: {
|
||||||
|
trigger: 'item',
|
||||||
|
formatter: function (params) {
|
||||||
|
return (
|
||||||
|
params.marker +
|
||||||
|
params.name +
|
||||||
|
' ' +
|
||||||
|
`<span style="font-weight: 600">${params.value}</span>`
|
||||||
|
)
|
||||||
|
},
|
||||||
|
},
|
||||||
label: {
|
label: {
|
||||||
show: false,
|
show: false,
|
||||||
formatter: '{b}\n{d}%',
|
formatter: '{b}\n{d}%',
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,8 @@
|
||||||
const addW = computed(() => (isScroll.value ? 10 : 0))
|
const addW = computed(() => (isScroll.value ? 10 : 0))
|
||||||
|
|
||||||
async function getWarning() {
|
async function getWarning() {
|
||||||
|
console.log('=====================')
|
||||||
|
|
||||||
const ids = localStorage.getItem('warning_id')?.split(',') ?? []
|
const ids = localStorage.getItem('warning_id')?.split(',') ?? []
|
||||||
const { data } = await getWarningLogs({ per_page: 10, page: 1, status: 0 })
|
const { data } = await getWarningLogs({ per_page: 10, page: 1, status: 0 })
|
||||||
const fliterData = data.filter((e) => ids.findIndex((id) => e.id == id) < 0)
|
const fliterData = data.filter((e) => ids.findIndex((id) => e.id == id) < 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue