|
@@ -23,7 +23,7 @@
|
|
|
</div>
|
|
|
<div class="boxall">
|
|
|
<div class="alltitle">行业领域占比情况</div>
|
|
|
- <echarts1></echarts1>
|
|
|
+ <echarts1 :info_3="info_3"></echarts1>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -162,7 +162,8 @@ import loadingUrl from '../elevenHatch/images/loading.gif'
|
|
|
const twoList = ref([{ url: video_1 }, { url: video_2 }, { url: video_3 }, { url: video_4 }])
|
|
|
const thrList = ref([])
|
|
|
const info = ref({ show: true })
|
|
|
-const info_2 = ref()
|
|
|
+const info_2 = ref({})
|
|
|
+const info_3 = ref({})
|
|
|
const yearInfo = ref({})
|
|
|
const year1 = ref('2023')
|
|
|
const year2 = ref('2023')
|
|
@@ -188,6 +189,7 @@ onMounted(async () => {
|
|
|
await searchYear()
|
|
|
await searchcYear()
|
|
|
await updateTime()
|
|
|
+ await searchField()
|
|
|
loading.value = false
|
|
|
})
|
|
|
const searchOther = async () => {
|
|
@@ -239,6 +241,14 @@ const searchcYear = async () => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+const searchField = async () => {
|
|
|
+ if (info.value.id) {
|
|
|
+ const data = { is_use: '0', incubator: info.value.id, status: '1' }
|
|
|
+ const res = await incubatorStore.field(data)
|
|
|
+ if (res.errcode == '0') info_3.value = res.data
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
// 创建一个函数来格式化时间并更新状态
|
|
|
const updateTime = () => {
|
|
|
const now = new Date()
|
|
@@ -283,7 +293,7 @@ const toYear1 = (e) => {
|
|
|
//孵化基地企业产业占比
|
|
|
const toYear2 = (e) => {
|
|
|
year2.value = e
|
|
|
- console.log(e)
|
|
|
+ searchcYear()
|
|
|
}
|
|
|
// 孵化基地汇总
|
|
|
const toNum = (item) => {
|