diff --git a/package.json b/package.json
index 840ad1a8..3def21d3 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"et:list": "gulp themes"
},
"dependencies": {
+ "@riophae/vue-treeselect": "^0.4.0",
"@tinymce/tinymce-vue": "^3.2.8",
"axios": "^0.19.0",
"babel-eslint": "^8.0.1",
diff --git a/src/assets/img/plugins/close.png b/src/assets/img/plugins/close.png
new file mode 100644
index 00000000..c0ad64a0
Binary files /dev/null and b/src/assets/img/plugins/close.png differ
diff --git a/src/assets/img/plugins/danghui.png b/src/assets/img/plugins/danghui.png
new file mode 100644
index 00000000..aa88a94a
Binary files /dev/null and b/src/assets/img/plugins/danghui.png differ
diff --git a/src/assets/img/plugins/dangqi.png b/src/assets/img/plugins/dangqi.png
new file mode 100644
index 00000000..b3bdd208
Binary files /dev/null and b/src/assets/img/plugins/dangqi.png differ
diff --git a/src/assets/img/plugins/dangwei-by.png b/src/assets/img/plugins/dangwei-by.png
new file mode 100644
index 00000000..0a1a4528
Binary files /dev/null and b/src/assets/img/plugins/dangwei-by.png differ
diff --git a/src/assets/img/plugins/dangyuanzhongxinhu.png b/src/assets/img/plugins/dangyuanzhongxinhu.png
new file mode 100644
index 00000000..c6333528
Binary files /dev/null and b/src/assets/img/plugins/dangyuanzhongxinhu.png differ
diff --git a/src/assets/img/plugins/dian.png b/src/assets/img/plugins/dian.png
new file mode 100644
index 00000000..a86b46b8
Binary files /dev/null and b/src/assets/img/plugins/dian.png differ
diff --git a/src/assets/img/plugins/faguang.png b/src/assets/img/plugins/faguang.png
new file mode 100644
index 00000000..fda60c08
Binary files /dev/null and b/src/assets/img/plugins/faguang.png differ
diff --git a/src/assets/img/plugins/jiantou-A.png b/src/assets/img/plugins/jiantou-A.png
new file mode 100644
index 00000000..716d3046
Binary files /dev/null and b/src/assets/img/plugins/jiantou-A.png differ
diff --git a/src/assets/img/plugins/jiantou-D.png b/src/assets/img/plugins/jiantou-D.png
new file mode 100644
index 00000000..ce4e1c67
Binary files /dev/null and b/src/assets/img/plugins/jiantou-D.png differ
diff --git a/src/assets/img/plugins/jiantou-X.png b/src/assets/img/plugins/jiantou-X.png
new file mode 100644
index 00000000..75199e99
Binary files /dev/null and b/src/assets/img/plugins/jiantou-X.png differ
diff --git a/src/assets/img/plugins/louyuanxiaozu.png b/src/assets/img/plugins/louyuanxiaozu.png
new file mode 100644
index 00000000..9066182a
Binary files /dev/null and b/src/assets/img/plugins/louyuanxiaozu.png differ
diff --git a/src/assets/img/plugins/shuoming-X.png b/src/assets/img/plugins/shuoming-X.png
new file mode 100644
index 00000000..72aea366
Binary files /dev/null and b/src/assets/img/plugins/shuoming-X.png differ
diff --git a/src/assets/img/plugins/tanchuang.png b/src/assets/img/plugins/tanchuang.png
new file mode 100644
index 00000000..f6cfc8dc
Binary files /dev/null and b/src/assets/img/plugins/tanchuang.png differ
diff --git a/src/assets/img/plugins/xiaozu-by.png b/src/assets/img/plugins/xiaozu-by.png
new file mode 100644
index 00000000..6da3bf20
Binary files /dev/null and b/src/assets/img/plugins/xiaozu-by.png differ
diff --git a/src/assets/img/plugins/you.png b/src/assets/img/plugins/you.png
new file mode 100644
index 00000000..b8f6004c
Binary files /dev/null and b/src/assets/img/plugins/you.png differ
diff --git a/src/assets/img/plugins/zhibu-by.png b/src/assets/img/plugins/zhibu-by.png
new file mode 100644
index 00000000..b509e787
Binary files /dev/null and b/src/assets/img/plugins/zhibu-by.png differ
diff --git a/src/assets/img/plugins/zuo.png b/src/assets/img/plugins/zuo.png
new file mode 100644
index 00000000..6eec5eb0
Binary files /dev/null and b/src/assets/img/plugins/zuo.png differ
diff --git a/src/router/index.js b/src/router/index.js
index a39738d7..0d88ec39 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -224,7 +224,11 @@ router.beforeEach((to, from, next) => {
// });
window.SITE_CONFIG["menuShujuList"] = [
{
- icon: "icon-setting",
+ url: "/visual/plugin/power/organization",
+ name: "动力主轴",
+ id: "5feawfwaefwa577",
+ },
+ {
id: "22213213",
name: "基础信息",
// url: "visual/basicinfo/basicInfoMain",
diff --git a/src/utils/treeSelect.js b/src/utils/treeSelect.js
new file mode 100644
index 00000000..4ff8cfd0
--- /dev/null
+++ b/src/utils/treeSelect.js
@@ -0,0 +1,50 @@
+/**
+ * 构造树型结构数据
+ * @param {*} data 数据源
+ * @param {*} id id字段 默认 'id'
+ * @param {*} parentId 父节点字段 默认 'parentId'
+ * @param {*} children 孩子节点字段 默认 'children'
+ */
+ export function handleTree(data, id, parentId, children) {
+ let config = {
+ id: id || 'id',
+ parentId: parentId || 'parentId',
+ childrenList: children || 'children'
+ };
+
+ var childrenListMap = {};
+ var nodeIds = {};
+ var tree = [];
+
+ for (let d of data) {
+ let parentId = d[config.parentId];
+ if (childrenListMap[parentId] == null) {
+ childrenListMap[parentId] = [];
+ }
+ nodeIds[d[config.id]] = d;
+ childrenListMap[parentId].push(d);
+ }
+
+ for (let d of data) {
+ let parentId = d[config.parentId];
+ if (nodeIds[parentId] == null) {
+ tree.push(d);
+ }
+ }
+
+ for (let t of tree) {
+ adaptToChildrenList(t);
+ }
+
+ function adaptToChildrenList(o) {
+ if (childrenListMap[o[config.id]] !== null) {
+ o[config.childrenList] = childrenListMap[o[config.id]];
+ }
+ if (o[config.childrenList]) {
+ for (let c of o[config.childrenList]) {
+ adaptToChildrenList(c);
+ }
+ }
+ }
+ return tree;
+}
diff --git a/src/views/modules/base/epidemic/vaccin.vue b/src/views/modules/base/epidemic/vaccin.vue
index 7bccd746..87d99e65 100644
--- a/src/views/modules/base/epidemic/vaccin.vue
+++ b/src/views/modules/base/epidemic/vaccin.vue
@@ -1,95 +1,110 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
-
-
-
+
+
-
-
-
+
+
-
- 查询
- 重置
+ 查询
+ 重置
@@ -100,160 +115,206 @@
size="small"
@click="handleAdd">新增 -->
- 下载模板
-
- 导入
+ 下载模板
+
+ 导入
- 导出
+ 导出
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
- 查看
-
- 同步
-
- 取消同步
-
+ 查看
+
+ 同步
+
+ 取消同步
-
+
-
-
+
+
-
-
-
-
diff --git a/src/views/modules/plugins/.gitkeep b/src/views/modules/plugins/.gitkeep
new file mode 100644
index 00000000..e69de29b
diff --git a/src/views/modules/plugins/power/kernelhousehold.vue b/src/views/modules/plugins/power/kernelhousehold.vue
new file mode 100644
index 00000000..a694fd47
--- /dev/null
+++ b/src/views/modules/plugins/power/kernelhousehold.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+ 加载动力主轴
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/kernelhouseholdForm.vue b/src/views/modules/plugins/power/kernelhouseholdForm.vue
new file mode 100644
index 00000000..917a0ea6
--- /dev/null
+++ b/src/views/modules/plugins/power/kernelhouseholdForm.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/kernelhouseholdTable.vue b/src/views/modules/plugins/power/kernelhouseholdTable.vue
new file mode 100644
index 00000000..66ea920f
--- /dev/null
+++ b/src/views/modules/plugins/power/kernelhouseholdTable.vue
@@ -0,0 +1,230 @@
+
+
+
+
+ 绑定
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/poweraxis-add-or-update.vue b/src/views/modules/plugins/power/poweraxis-add-or-update.vue
new file mode 100644
index 00000000..ac35c2cb
--- /dev/null
+++ b/src/views/modules/plugins/power/poweraxis-add-or-update.vue
@@ -0,0 +1,496 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 经度
+
+
+ 纬度
+
+
+
+
+
+
+
+ {{ $t('cancel') }}
+ {{ $t('confirm') }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/plugins/power/poweraxis.vue b/src/views/modules/plugins/power/poweraxis.vue
new file mode 100644
index 00000000..649f2bb7
--- /dev/null
+++ b/src/views/modules/plugins/power/poweraxis.vue
@@ -0,0 +1,349 @@
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ {{ $t('add') }}
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+ 负责人
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/plugins/power/poweraxisForm.vue b/src/views/modules/plugins/power/poweraxisForm.vue
new file mode 100644
index 00000000..9b2b2941
--- /dev/null
+++ b/src/views/modules/plugins/power/poweraxisForm.vue
@@ -0,0 +1,472 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
查询
+
+
+ 经度
+
+
+ 纬度
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/poweraxis_add_leader.vue b/src/views/modules/plugins/power/poweraxis_add_leader.vue
new file mode 100644
index 00000000..22ad049f
--- /dev/null
+++ b/src/views/modules/plugins/power/poweraxis_add_leader.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+ 编辑
+ 绑定
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/poweraxistag-add-or-update.vue b/src/views/modules/plugins/power/poweraxistag-add-or-update.vue
new file mode 100644
index 00000000..cf029a4e
--- /dev/null
+++ b/src/views/modules/plugins/power/poweraxistag-add-or-update.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+ 动力主轴
+ 负责人
+ 默认参数
+
+
+
+
+
+
+
+
+
+
+ 一级
+ 二级
+ 三级
+
+
+
+
+
+
+
+
+ {{ $t('cancel') }}
+ {{ $t('confirm') }}
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/poweraxistag.vue b/src/views/modules/plugins/power/poweraxistag.vue
new file mode 100644
index 00000000..70f08291
--- /dev/null
+++ b/src/views/modules/plugins/power/poweraxistag.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+ {{ $t('query') }}
+
+
+ {{ $t('add') }}
+
+
+ {{ $t('deleteBatch') }}
+
+
+
+
+
+
+ 动力主轴
+ 负责人
+ 默认参数
+
+
+
+
+
+
+ {{ scope.row.structLevel === 0 ? '一级' : scope.row.structLevel === 1 ? '二级' : '三级' }}
+
+
+
+
+ 正常
+ 禁用
+
+
+
+
+
+ {{ $t('update') }}
+ {{ $t('delete') }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/servicestation.vue b/src/views/modules/plugins/power/servicestation.vue
new file mode 100644
index 00000000..eb68fc23
--- /dev/null
+++ b/src/views/modules/plugins/power/servicestation.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+ 加载动力主轴
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/servicestationForm.vue b/src/views/modules/plugins/power/servicestationForm.vue
new file mode 100644
index 00000000..9075e983
--- /dev/null
+++ b/src/views/modules/plugins/power/servicestationForm.vue
@@ -0,0 +1,303 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
查询
+
+
+ 经度
+
+
+ 纬度
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/power/servicestationTable.vue b/src/views/modules/plugins/power/servicestationTable.vue
new file mode 100644
index 00000000..26f5c421
--- /dev/null
+++ b/src/views/modules/plugins/power/servicestationTable.vue
@@ -0,0 +1,240 @@
+
+
+
+
+ 添加
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+ 修改
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/visual/basicinfo/basicInfoMain.vue b/src/views/modules/visual/basicinfo/basicInfoMain.vue
index 3358597d..5ece421f 100644
--- a/src/views/modules/visual/basicinfo/basicInfoMain.vue
+++ b/src/views/modules/visual/basicinfo/basicInfoMain.vue
@@ -713,12 +713,10 @@ const vueGis = {
'features': featureData
};
let feature = (new GeoJSON()).readFeatures(geojsonObject)
-
polygonSource.addFeatures(feature)
let iconFeatures = [];
feature.forEach(oneIcon => {
-
var extent = boundingExtent(oneIcon.getGeometry().getCoordinates()[0]); //获取一个坐标数组的边界,格式为[minx,miny,maxx,maxy]
// var center = getCenter(extent); //获取边界区域的中心位置
//添加标注
diff --git a/src/views/modules/visual/basicinfo/cpts/people-more.vue b/src/views/modules/visual/basicinfo/cpts/people-more.vue
index ce45fea9..0e8239d8 100644
--- a/src/views/modules/visual/basicinfo/cpts/people-more.vue
+++ b/src/views/modules/visual/basicinfo/cpts/people-more.vue
@@ -16,7 +16,8 @@
v-for="(fieldSubList, index) in fieldList"
>
-
+
所属网格:
{{ gridName }}
diff --git a/src/views/modules/visual/plugin/power/components/house-dialog.vue b/src/views/modules/visual/plugin/power/components/house-dialog.vue
new file mode 100644
index 00000000..9cf8ef06
--- /dev/null
+++ b/src/views/modules/visual/plugin/power/components/house-dialog.vue
@@ -0,0 +1,176 @@
+
+
+
+

+
+

+
更多信息
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/visual/plugin/power/components/info-dialog.vue b/src/views/modules/visual/plugin/power/components/info-dialog.vue
new file mode 100644
index 00000000..eff5c941
--- /dev/null
+++ b/src/views/modules/visual/plugin/power/components/info-dialog.vue
@@ -0,0 +1,161 @@
+
+
+

+
+

+
信息详情
+
+
+
+
![]()
+
+
{{infoDetail.name}}
+
手机号:{{infoDetail.mobile}}
+
类别:{{infoDetail.categoryName}}
+
+
+
简介:{{infoDetail.interoduction}}
+
+
+
+
+
+
+
diff --git a/src/views/modules/visual/plugin/power/components/screen-org-map.vue b/src/views/modules/visual/plugin/power/components/screen-org-map.vue
new file mode 100644
index 00000000..dbec75de
--- /dev/null
+++ b/src/views/modules/visual/plugin/power/components/screen-org-map.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/visual/plugin/power/components/screen-org-tree.vue b/src/views/modules/visual/plugin/power/components/screen-org-tree.vue
new file mode 100644
index 00000000..aee878e2
--- /dev/null
+++ b/src/views/modules/visual/plugin/power/components/screen-org-tree.vue
@@ -0,0 +1,406 @@
+
+
+
+

+
+
+
+
+

+
+
+

+
+
{{level1.name}}
+
书记: {{level1.leaderName}}
+

+
+
+
+

+
+

+
+
+
+
+

+
+

+
{{level2.name}}
+
书记: {{level2.leaderName}}
+

+
+
+

+
+

+
{{level3.name}}
+
{{level3.leaderName}}
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/visual/plugin/power/components/screen-top-count.vue b/src/views/modules/visual/plugin/power/components/screen-top-count.vue
new file mode 100644
index 00000000..f7c28b33
--- /dev/null
+++ b/src/views/modules/visual/plugin/power/components/screen-top-count.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
diff --git a/src/views/modules/visual/plugin/power/organization.vue b/src/views/modules/visual/plugin/power/organization.vue
new file mode 100644
index 00000000..62fdfc1f
--- /dev/null
+++ b/src/views/modules/visual/plugin/power/organization.vue
@@ -0,0 +1,564 @@
+
+
+
+
+
+

+
动力主轴
+
+
+
+
+
+
+
+
+
+
+ {{item.value}}
+ {{item.title}}
+
+
+
+

+
+ 网格分布
+
+
+
+
+
+
+

+
党群服务站
+
+
+

+
楼院党小组
+
+
+

+
党员中心户
+
+
+
+
+
+
+
+
+
+
+
+
+
+