| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-31 10:47:29 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2025-02-19 11:42:40 |
| | | * @LastEditTime: 2025-08-18 18:49:54 |
| | | * @FilePath: \bigScreen\src\pages\map\components\scomponents\layersControl.vue |
| | | * @Description: |
| | | * |
| | |
| | | :default-checked-keys="indexPoint" :props="defaultProps" :indent="treeProps['indent']" |
| | | @check="handleCheckChange"> |
| | | <template v-slot:default="{ node }"> |
| | | <element-tree-line :node="node" :showLabelLine="treeProps['showLabelLine']" :indent="treeProps['indent']"> |
| | | <element-tree-line :node="node" :showLabelLine="treeProps['showLabelLine']" |
| | | :indent="treeProps['indent']"> |
| | | <!-- 自定义label的slot --> |
| | | <template v-slot:node-label> |
| | | <span style="font-size: 12px"> |
| | |
| | | type: 'layer', |
| | | subType: 'labelPoint', |
| | | method: getList, |
| | | customWx: true, |
| | | params: { |
| | | type: 3, |
| | | size: 1000 |
| | |
| | | type: 4, |
| | | size: 1000 |
| | | }, |
| | | customWx: true, |
| | | backgroundIcon: VITE_APP_BASE + 'img/mapicon/zb.png', |
| | | className: 'sk-box', |
| | | showPanel: false, |
| | |
| | | backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy-yb.png', |
| | | showPanel: false, |
| | | layerName: 'fxyOrdinary', |
| | | customWx: true, |
| | | customWx: false, |
| | | incident: (e) => { |
| | | const { attrParams } = e.overlay |
| | | // 删除 |
| | |
| | | backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy-zd-b.png', |
| | | showPanel: false, |
| | | layerName: 'fxyLarger', |
| | | customWx: true, |
| | | customWx: false, |
| | | incident: (e) => { |
| | | const { attrParams } = e.overlay |
| | | // 删除 |
| | |
| | | backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy-jd.png', |
| | | showPanel: false, |
| | | layerName: 'fxyLargerB', |
| | | customWx: true, |
| | | customWx: false, |
| | | incident: (e) => { |
| | | const { attrParams } = e.overlay |
| | | // 删除 |
| | |
| | | backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy-zd.png', |
| | | showPanel: false, |
| | | layerName: 'fxyZdLarger', |
| | | customWx: true, |
| | | customWx: false, |
| | | incident: (e) => { |
| | | const { attrParams } = e.overlay |
| | | // 删除 |