| | |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | label="投资金额" |
| | | style="margin-right: 50px" |
| | | > |
| | | <el-form-item label="投资金额" style="margin-right: 50px"> |
| | | <div class="from_input"> |
| | | <el-input |
| | | v-model="queryParams.start" |
| | |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item style="margin-right: 20px"> |
| | | <el-button |
| | | icon="Search" |
| | | type="primary" |
| | | @click="handleQuery" |
| | | <el-button icon="Search" type="primary" @click="handleQuery" |
| | | >搜索</el-button |
| | | > |
| | | <el-button icon="Refresh" @click="resetQuery" |
| | | >重置</el-button |
| | | > |
| | | <el-button icon="Refresh" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </div> |
| | | </el-form> |
| | |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item style="margin-right: 0px"> |
| | | <el-button |
| | | icon="Search" |
| | | type="primary" |
| | | @click="searchList" |
| | | <el-button icon="Search" type="primary" @click="searchList" |
| | | >搜索</el-button |
| | | > |
| | | <el-button icon="Refresh" @click="mapQuery" |
| | | >重置</el-button |
| | | > |
| | | <el-button icon="Refresh" @click="mapQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div class="flex w-full h-[500px] border border-[#DBDEEA]"> |
| | | <!-- <Map |
| | | <Map |
| | | id="DangerSourceId" |
| | | ref="mapRef" |
| | | :is-show-control="true" |
| | |
| | | @label-click="showDetails" |
| | | @mark-click="showDetails" |
| | | @current-label-style-change="labelStyleChange" |
| | | /> --> |
| | | /> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import SvgIcon from '@/components/SvgIcon/index.vue'; |
| | | import ProjectOverview from './components/projectOverview.vue'; |
| | | import NoticeTable from './components/noticeTable.vue'; |
| | | import TidingsTable from './components/tidingsTable.vue'; |
| | | // import Map from './components/Map/index.vue'; |
| | | import SvgIcon from "@/components/SvgIcon/index.vue"; |
| | | import ProjectOverview from "./components/projectOverview.vue"; |
| | | import NoticeTable from "./components/noticeTable.vue"; |
| | | import TidingsTable from "./components/tidingsTable.vue"; |
| | | import Map from "./components/Map/index.vue"; |
| | | export default { |
| | | name: "Index", |
| | | data() { |
| | |
| | | calculation: [], |
| | | countExceptionProjectData: {}, |
| | | searchForm: {}, |
| | | tableDatas: [] |
| | | tableDatas: [ |
| | | { |
| | | name: "射洪市", |
| | | value: 105.37281, |
| | | lat: 30.87145, |
| | | lon: 105.37281, |
| | | id: "222222222", |
| | | }, |
| | | { |
| | | name: "xxxx", |
| | | value: 105.22332, |
| | | lat: 31.52421, |
| | | lon: 106.22332, |
| | | id: "11112", |
| | | }, |
| | | ], |
| | | }; |
| | | }, |
| | | components: { |
| | | SvgIcon, |
| | | ProjectOverview, |
| | | NoticeTable, |
| | | TidingsTable |
| | | TidingsTable, |
| | | Map, |
| | | }, |
| | | methods: { |
| | | |
| | | dataPickerChange(val) { |
| | | if (!val) { |
| | | this.queryParams.startTime = ''; |
| | | this.queryParams.endTime = ''; |
| | | this.queryParams.startTime = ""; |
| | | this.queryParams.endTime = ""; |
| | | return; |
| | | } |
| | | |
| | |
| | | endDate: queryParams.endTime, |
| | | areaCode: queryParams.area, |
| | | minInvestment: queryParams.start, |
| | | maxInvestment: queryParams.end |
| | | maxInvestment: queryParams.end, |
| | | }; |
| | | |
| | | this.getCalculatioln(obj).then((res) => { |
| | |
| | | text: item.text, |
| | | mun: item.count, |
| | | statistics: item.type, |
| | | statisticsMun: item.amount |
| | | statisticsMun: item.amount, |
| | | })); |
| | | |
| | | // 创建一个对象,以便根据 text 属性快速查找 newArr 中的对象 |
| | |
| | | |
| | | labelStyleChange(currentLabel) { |
| | | if (lastLabel) { |
| | | lastLabel.setBackgroundColor('#fff'); |
| | | lastLabel.setFontColor('var(--el-color-primary)'); |
| | | lastLabel.setBackgroundColor("#fff"); |
| | | lastLabel.setFontColor("var(--el-color-primary)"); |
| | | } |
| | | currentLabel.setBackgroundColor('var(--el-color-primary)'); |
| | | currentLabel.setFontColor('#fff'); |
| | | currentLabel.setBackgroundColor("var(--el-color-primary)"); |
| | | currentLabel.setFontColor("#fff"); |
| | | lastLabel = currentLabel; |
| | | }, |
| | | resetQuery() { |
| | | this.queryParams = { |
| | | area: '', |
| | | start: '', |
| | | end: '', |
| | | startTime: '', |
| | | endTime: '' |
| | | area: "", |
| | | start: "", |
| | | end: "", |
| | | startTime: "", |
| | | endTime: "", |
| | | }; |
| | | this.timeMerge = []; |
| | | this.handleQuery(); |
| | |
| | | // await search() |
| | | this.mapRef.moveTo(105.37281, 30.87145); |
| | | }, |
| | | mapQuery() { |
| | | |
| | | } |
| | | } |
| | | } |
| | | mapQuery() {}, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | |
| | | ::v-deep.el-select__placeholder { |
| | | font-size: 12px; |
| | | } |
| | | ::v-deep input[type='number']::-webkit-inner-spin-button, |
| | | input[type='number']::-webkit-outer-spin-button { |
| | | ::v-deep input[type="number"]::-webkit-inner-spin-button, |
| | | input[type="number"]::-webkit-outer-spin-button { |
| | | -webkit-appearance: none; |
| | | margin: 0; |
| | | } |
| | | input[type='number'] { |
| | | input[type="number"] { |
| | | -moz-appearance: textfield; |
| | | } |
| | | .search_from { |