emis-frontend/src/views/emis/emisRegion/index.vue

70 lines
2.0 KiB
Vue
Raw Normal View History

2023-11-27 08:29:42 +00:00
<template>
<div class="app-container">
2024-06-03 01:40:23 +00:00
<el-row :gutter="0" type='flex'>
<!-- <el-col :span="4" :xs="4" style="border-right:1px solid rgb(248 249 251);">
2024-04-22 05:33:25 +00:00
<CountryTreePicker v-model="queryParams.countryCode" ></CountryTreePicker>
2024-06-03 01:40:23 +00:00
</el-col> -->
<el-col :span="24" :xs="24">
2024-04-22 05:33:25 +00:00
<el-tabs v-model="activeTab" class="center-tabs">
<el-tab-pane label="片区管理" name="areaPanel" />
<el-tab-pane label="省市区管理" name="pcdPanel" />
<!-- <el-tab-pane label="街镇管理" name="townPanel" /> -->
</el-tabs>
<!-- 区域管理 -->
<div v-show="activeTab==='areaPanel'">
<EmisCountryAreaPanel :countryCode="queryParams.countryCode"></EmisCountryAreaPanel>
</div>
<div v-show="activeTab==='pcdPanel'">
<EmisPcdPanel :countryCode="queryParams.countryCode"></EmisPcdPanel>
</div>
<!-- <div v-show="activeTab==='townPanel'">
<EmisTownPanel :countryCode="queryParams.countryCode"></EmisTownPanel>
</div> -->
2023-11-27 08:29:42 +00:00
</el-col>
</el-row>
</div>
</template>
<script>
2024-04-22 05:33:25 +00:00
import EmisCountryAreaPanel from '@/views/emis/emisCountryArea/indexPanel';
import EmisPcdPanel from '@/views/emis/emisRegion/PcdPanel.vue';
import EmisTownPanel from '@/views/emis/emisRegion/TownPanel.vue';
import CountryTreePicker from '@/views/emis/EmisBaseTools/CountryTreePicker.vue';
2023-11-27 08:29:42 +00:00
export default {
2024-08-18 13:49:24 +00:00
name: "EmisRegion",
2024-04-22 05:33:25 +00:00
components: { EmisPcdPanel,EmisTownPanel,CountryTreePicker,EmisCountryAreaPanel},
2023-11-27 08:29:42 +00:00
dicts: [
2023-12-13 06:00:09 +00:00
'emis_region_level_type',
2023-11-27 08:29:42 +00:00
],
data() {
return {
2024-04-22 05:33:25 +00:00
activeTab: "pcdPanel",
2023-11-27 08:29:42 +00:00
// 查询参数
queryParams: {
2024-04-22 05:33:25 +00:00
countryCode: null,
2023-11-27 08:29:42 +00:00
},
};
},
created() {
},
methods: {
}
};
</script>
<style scoped>
.el-divider{
margin-top: 0px;
background: 0 0;
border-top: 1px solid #E6EBF5;
}
.el-divider__text {
color: #0955ee;
cursor: pointer;
}
</style>