更新
This commit is contained in:
@ -3,12 +3,7 @@
|
|||||||
<!-- 左侧树形菜单 -->
|
<!-- 左侧树形菜单 -->
|
||||||
<div class="left-menu">
|
<div class="left-menu">
|
||||||
<!-- 这个部分用的是组件-后期替换 -->
|
<!-- 这个部分用的是组件-后期替换 -->
|
||||||
<el-tree
|
<MOSTY.DepartmentTree width="310px" placeholder="管理部门ID" clearable filterable :isBmId="true" v-model="obj.listQuery.deptId" />
|
||||||
:data="treeData"
|
|
||||||
:props="defaultProps"
|
|
||||||
@node-click="handleNodeClick"
|
|
||||||
default-expand-all
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 右侧内容区 -->
|
<!-- 右侧内容区 -->
|
||||||
@ -99,12 +94,12 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import * as MOSTY from "@/components/MyComponents/index";
|
||||||
import lineEcharts from "@/views/home/echarts/lineEcharts.vue";
|
import lineEcharts from "@/views/home/echarts/lineEcharts.vue";
|
||||||
import PieEcharts from "@/views/home/echarts/pieEcharts.vue";
|
import PieEcharts from "@/views/home/echarts/pieEcharts.vue";
|
||||||
import DbarEcharts from "@/views/home/echarts/3DbarEcharts.vue";
|
import DbarEcharts from "@/views/home/echarts/3DbarEcharts.vue";
|
||||||
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
|
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
|
||||||
import { reactive, ref, onMounted, getCurrentInstance } from "vue";
|
import { reactive, ref, onMounted, getCurrentInstance } from "vue";
|
||||||
import * as echarts from "echarts";
|
|
||||||
const radio = ref("日");
|
const radio = ref("日");
|
||||||
const timeList = ref([
|
const timeList = ref([
|
||||||
{ label: "日", value: "0" },
|
{ label: "日", value: "0" },
|
||||||
@ -121,7 +116,6 @@ const obj = reactive({
|
|||||||
{ label: "已办结", value: 40 },
|
{ label: "已办结", value: 40 },
|
||||||
{ label: "已归档", value: 30 }
|
{ label: "已归档", value: 30 }
|
||||||
],
|
],
|
||||||
//
|
|
||||||
jcList: [
|
jcList: [
|
||||||
{ label: "表彰奖励", value: 10 },
|
{ label: "表彰奖励", value: 10 },
|
||||||
{ label: "物质奖励", value: 20 },
|
{ label: "物质奖励", value: 20 },
|
||||||
@ -151,18 +145,6 @@ const obj = reactive({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// 树形菜单数据
|
|
||||||
const treeData = ref([
|
|
||||||
{
|
|
||||||
label: "林芝市公安局(200)",
|
|
||||||
children: [
|
|
||||||
{ label: "工布江达县公安局(100)" },
|
|
||||||
{ label: "工布江达城区派出所(10)" },
|
|
||||||
{ label: "某某某派出所(10)" },
|
|
||||||
{ label: "某某某公安局(100)" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]);
|
|
||||||
|
|
||||||
const defaultProps = {
|
const defaultProps = {
|
||||||
children: "children",
|
children: "children",
|
||||||
@ -194,7 +176,7 @@ onMounted(() => {});
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.left-menu {
|
.left-menu {
|
||||||
width: 280px;
|
width: 350px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
Reference in New Issue
Block a user