Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
XWSQ_20230718
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjinjing
XWSQ_20230718
Commits
ea099f67
Commit
ea099f67
authored
Jul 19, 2023
by
夏敏伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改
parent
2c469566
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
133 additions
and
68 deletions
+133
-68
application.js
application.js
+7
-5
public/components/leftview/tree_dq.vue
public/components/leftview/tree_dq.vue
+2
-0
public/components/leftview/tree_hswy.vue
public/components/leftview/tree_hswy.vue
+9
-9
public/components/leftview/tree_jwrh.vue
public/components/leftview/tree_jwrh.vue
+2
-0
public/components/leftview/tree_ty.vue
public/components/leftview/tree_ty.vue
+26
-22
public/components/leftview/treezyz.vue
public/components/leftview/treezyz.vue
+68
-25
public/components/rightview/dqfwzx.vue
public/components/rightview/dqfwzx.vue
+1
-1
public/components/rightview/dwzx.vue
public/components/rightview/dwzx.vue
+2
-3
public/components/rightview/gdgl.vue
public/components/rightview/gdgl.vue
+1
-1
public/components/rightview/zyzfwz.vue
public/components/rightview/zyzfwz.vue
+1
-1
public/js_src/index_src.js
public/js_src/index_src.js
+10
-1
util/logs/info.log
util/logs/info.log
+4
-0
No files found.
application.js
View file @
ea099f67
...
...
@@ -53,7 +53,7 @@ var community_conf={
},
//vue组件注册
viewNameList
:[
"
hjws
"
,
"
jmzx
"
,
"
gdgl
"
,
"
spaq
"
,
"
dagl
"
,
"
zsysq
"
,
"
wyryfb
"
,
"
hdgl
"
,
"
hjbh
"
,
"
zaaq
"
,
"
aqsc
"
,
"
rkgl
"
,
"
zdry
"
,
"
dqfwzx
"
,
"
ggfw
"
,
"
zyzfwz
"
,
"
sbsx
"
,
"
dwzx
"
,
"
list
"
,
"
fyry
"
,
"
rmfx
"
,
"
tygl
"
,
"
doublezero
"
,
"
fivetype
"
,
"
flgl
"
,
"
fyryzwq
"
,
"
ssfytj
"
,
"
mdtc
"
,
"
sqjw
"
],
leftviewNameList
:[
"
list
"
,
"
tree
"
,
"
tree_dq
"
,
"
treezyz
"
,
"
tree_rmfx
"
,
"
tree_aby
"
,
"
tree_ty
"
,
"
tree_fl
"
,
"
tree_hjbh
"
,
"
tree_wmcj
"
,
"
tree_mdtc
"
,
"
tree_jwrh
"
],
leftviewNameList
:[
"
list
"
,
"
tree
"
,
"
tree_dq
"
,
"
treezyz
"
,
"
tree_rmfx
"
,
"
tree_aby
"
,
"
tree_ty
"
,
"
tree_fl
"
,
"
tree_hjbh
"
,
"
tree_wmcj
"
,
"
tree_mdtc
"
,
"
tree_jwrh
"
,
"
tree_hswy
"
],
}
//党小组
var
party_conf
=
[
...
...
@@ -345,7 +345,9 @@ var serviceLayers_conf=[
"
http
"
:
"
area/7
"
,
"
icon
"
:
{
"
color
"
:
0.3
,
"
img
"
:
"
icon_wy.png
"
},
"
event
"
:
"
rightview
"
,
"
rightview
"
:
"
wyryfb
"
,
"
rightview
"
:
"
wyryfb
"
,
"
width
"
:
"
400px
"
,
"
height
"
:
"
750px
"
},
{
"
index
"
:
9
,
'
text
'
:
'
志愿者
'
,
...
...
@@ -361,7 +363,7 @@ var serviceLayers_conf=[
"
status
"
:
false
,
"
http
"
:
"
zdry/1,2
"
,
"
icon
"
:
{
"
color
"
:
0.3
,
"
img
"
:
"
icon_zdry.png
"
},
"
event
"
:
"
building
"
"
event
"
:
"
building
"
,
},
{
"
index
"
:
11
,
'
text
'
:
'
党群服务
'
,
...
...
@@ -780,7 +782,7 @@ var modules_conf = [{
"
children
"
:[],
// "leftView":{"mark": "tree",data:zdry_conf.concat(zdry_conf1),"index":10,"position":{"start":0,"end":8}},
"
leftView
"
:{
"
view
"
:
"
tree
"
,
"
index
"
:[
10
]},
"
rightView
"
:
""
"
rightView
"
:
"
zdry
"
},{
"
show
"
:
false
,
"
text
"
:
'
矛盾调处
'
,
...
...
@@ -866,7 +868,7 @@ var modules_conf = [{
"
color
"
:
"
red
"
,
"
children
"
:[],
"
leftView
"
:{
"
view
"
:
"
tree_hswy
"
,
"
index
"
:[
8
]},
"
rightView
"
:
""
"
rightView
"
:
""
,
},{
"
text
"
:
'
志愿者服务站
'
,
"
show
"
:
false
,
...
...
public/components/leftview/tree_dq.vue
View file @
ea099f67
...
...
@@ -150,9 +150,11 @@ module.exports = {
parent
.
vue_right
.
widthData
=
item
.
width
+
'
px
'
;
parent
.
vue_right
.
heightData
=
item
.
height
+
'
px
'
;
//延迟加载以便能够保证子组件已经加载完毕再调用其方法
if
(
parent
.
vue_right
.
$refs
!=
undefined
&&
parent
.
vue_right
.
$refs
.
mychild
!=
undefined
){
setTimeout
(()
=>
{
parent
.
vue_right
.
$refs
.
mychild
.
show
(
item
);
},
300
);
}
},
open
:
function
(
item
,
n
,
dom
)
{
parent
.
vue_left
.
showright
(
item
);
// if (item.name == '红色网格') {
...
...
public/components/leftview/tree_hswy.vue
View file @
ea099f67
...
...
@@ -31,15 +31,14 @@
<h2
class=
"layui-colla-title"
v-bind:style=
"
{ backgroundColor: item.color }" @click="open(item, index, $event)">
{{
item
.
name
}}
</h2>
<div
class=
"layui-colla-content"
style=
"height: 217px; margin-left: 0px"
v-bind:title=
"item.name"
>
<div
style=
"width: 100%; height: 225px"
>
<div
class=
"layui-colla-item"
v-for=
"(item2, index) in item.children"
@
click=
"locate(item2)"
>
<div
class=
"layui-colla-title"
>
{{
item2
.
name
}}
<div
class=
"TreeWrap"
>
<div
style=
"cursor:pointer"
v-for=
"(item2, index) in item.children"
>
<a
@
click=
"locate(item2)"
>
{{
item2
.
name
}}
</a>
</div>
</div>
</div>
</div>
</div>
...
...
@@ -68,7 +67,7 @@ module.exports = {
marktype
:
"
49
"
,
text1
:
"
红队伍-红服务
"
,
name
:
"
红队伍-红服务
"
,
color
:
"
turquoise
"
,
color
:
"
coral
"
,
show
:
true
,
layers
:
[],
children
:
[
]
...
...
@@ -79,7 +78,7 @@ module.exports = {
marktype
:
"
7
"
,
text1
:
"
物业管理处
"
,
name
:
"
物业管理处
"
,
color
:
"
coral
"
,
color
:
"
turquoise
"
,
show
:
true
,
layers
:
[],
children
:
[]
...
...
@@ -173,8 +172,9 @@ module.exports = {
},
},
mounted
()
{
that
=
this
;
that
.
daylist
.
children
=
that
.
datax
;
debugger
that
=
this
;
that
.
daylist
[
0
].
children
=
that
.
datax
.
data
[
0
].
data
;
getByAjax
(
"
./business/queryAreaphotos/48,49
"
,
function
(
list
){
for
(
var
i
=
0
;
i
<
that
.
tree_list
.
length
;
i
++
)
{
let
tempList
=
list
.
filter
(
items
=>
{
return
items
.
typeid
==
that
.
tree_list
[
i
].
marktype
});
...
...
public/components/leftview/tree_jwrh.vue
View file @
ea099f67
...
...
@@ -134,9 +134,11 @@ module.exports = {
parent
.
vue_right
.
widthData
=
item
.
width
+
'
px
'
;
parent
.
vue_right
.
heightData
=
item
.
height
+
'
px
'
;
//延迟加载以便能够保证子组件已经加载完毕再调用其方法
if
(
parent
.
vue_right
.
$refs
!=
undefined
&&
parent
.
vue_right
.
$refs
.
mychild
!=
undefined
){
setTimeout
(()
=>
{
parent
.
vue_right
.
$refs
.
mychild
.
show
(
item
);
},
300
);
}
},
show
:
function
(
item
,
index
){
debugger
...
...
public/components/leftview/tree_ty.vue
View file @
ea099f67
...
...
@@ -206,15 +206,11 @@ module.exports = {
},
showphotos
:
function
(
item
)
{
if
(
item
!=
null
){
var
playsrc
=
{
data
:
[]};
var
arrayname
=
item
.
name
.
split
(
"
,
"
)
;
if
(
arrayname
.
length
>
1
){
name
=
arrayname
[
1
];
}
else
{
name
=
arrayname
[
0
];
}
var
playsrc
=
{
data
:
[]};
var
array
=
item
.
src
.
split
(
"
,
"
);
for
(
var
j
=
0
;
j
<
array
.
length
;
j
++
)
{
playsrc
.
data
.
push
({
src
:
array
[
j
],
alt
:
name
});
playsrc
.
data
.
push
({
src
:
array
[
j
],
alt
:
item
.
name1
});
}
layer
.
photos
({
photos
:
playsrc
,
...
...
@@ -326,26 +322,34 @@ module.exports = {
}
//遍历本模块的一级树
var
tempList
=
[];
for
(
var
j
=
0
;
j
<
this
.
data_filter
.
data
[
0
].
data
.
length
;
j
++
)
{
//遍历集合数据,塞入一级树结构中、
if
(
this
.
data_filter
.
data
[
0
].
data
[
j
].
ldls
&&
this
.
data_filter
.
data
[
0
].
data
[
j
].
ldls
.
strcontains
(
"
1
"
)
&&
j
<
44
)
{
tempList
.
push
(
this
.
data_filter
.
data
[
0
].
data
[
j
]);
}
}
//chilren tianchong
this
.
tree_list
[
2
].
children
=
tempList
;
// //遍历本模块的一级树
// var tempList = [];
// for (var j = 0; j
<
this
.
data_filter
.
data
[
0
].
data
.
length
;
j
++
)
{
// //遍历集合数据,塞入一级树结构中、
// if (
// this.data_filter.data[0].data[j].ldls &&
// this.data_filter.data[0].data[j].ldls.strcontains("1"
// ) && j
<
44
// ) {
// tempList.push(this.data_filter.data[0].data[j]);
// }
// }
// //chilren tianchong
// this.tree_list[2].children = tempList;
that
=
this
;
getByAjax
(
"
./business/queryAreaphotos/34,35,36,37,38
"
,
function
(
list
){
for
(
var
i
=
0
;
i
<
that
.
daylist
[
0
].
children
.
length
;
i
++
)
{
let
tempList
=
list
.
filter
(
items
=>
{
return
items
.
typeid
==
that
.
daylist
[
0
].
children
[
i
].
marktype
});
console
.
log
(
tempList
);
console
.
log
(
tempList
);
debugger
tempList
.
forEach
(
element
=>
{
let
array
=
element
.
name
.
split
(
"
,
"
);
if
(
array
.
length
>
0
){
element
.
name
=
array
[
0
];
}
else
if
(
array
.
length
>
1
){
element
.
name1
=
array
[
1
];}
return
element
;
});
that
.
daylist
[
0
].
children
[
i
].
children
=
tempList
;
}
});
...
...
public/components/leftview/treezyz.vue
View file @
ea099f67
...
...
@@ -7,12 +7,12 @@
<div
style=
"height: calc(100% - 60px);overflow-y:auto"
>
<div
class=
"layui-collapse collaps"
lay-filter=
"test3"
lay-accordion=
""
>
<div
class=
"layui-colla-item"
v-for=
"(item,index) in tree_list"
>
<h2
class=
"layui-colla-title"
v-bind:style=
"
{backgroundColor:item.color}" @click="open(item,$event)">
<h2
class=
"layui-colla-title"
v-bind:style=
"
{backgroundColor:item.color}" @click="open(item,
index,
$event)">
{{
item
.
name
}}
<img
v-show=
"item.icon&&index>2"
style=
"height:20px;width:20px;margin-top: 10px;float: right"
v-bind:src=
"item.icon"
>
</h2>
<div
class=
"layui-colla-content"
style=
"height:217px;height:99%;margin-left: 20px;"
v-bind:title=
"item.name"
>
<div
style=
"width:100%;height:
99
%;"
>
<div
style=
"width:100%;height:
40
%;"
>
<div
class=
"TreeWrap"
>
<div
v-for=
"(item1,index1) in item.children"
@
click=
"locate(item1)"
style=
"cursor:pointer"
>
{{
item1
.
name
}}
...
...
@@ -21,20 +21,51 @@
</div>
</div>
</div>
<div
class=
"layui-colla-item"
v-for=
"(item, index) in daylist"
>
<h2
class=
"layui-colla-title"
v-bind:style=
"
{ backgroundColor: item.color }" @click="open(item, index, $event)">
<div
class=
"layui-colla-item"
v-for=
"(item, index) in daylist"
>
<h2
class=
"layui-colla-title"
v-bind:style=
"
{ backgroundColor: item.color }" @click="open(item, index+1, $event)">
{{
item
.
name
}}
</h2>
<div
class=
"layui-colla-content"
style=
"height: 217px; margin-left: 0px"
v-bind:title=
"item.name"
>
<div
style=
"width: 100%; height: 225px"
>
<div
class=
"layui-colla-item"
v-for=
"(item2, index) in item.children"
@
click=
"showphotos(item2.children)"
>
<div
class=
"layui-colla-title"
>
<div
class=
"layui-colla-item"
v-for=
"(item2, index) in item.children"
>
<h2
class=
"layui-colla-title"
v-bind:style=
"
{ backgroundColor: item2.color }" @click="open2(item2, index, $event)"
>
{{
item2
.
name
}}
<img
v-show=
"item.icon"
style=
"height: 20px;
width: 20px;
margin-top: 10px;
float: right;
"
v-bind:src=
"item2.icon"
/>
</h2>
<div
class=
"layui-colla-content"
name=
"layui"
style=
"height: 217px; margin-left: 0px"
v-bind:title=
"item2.name"
>
<div
style=
"width: 100%; height: 225px"
>
<div
class=
"TreeWrap"
>
<div
v-for=
"(item3, index1) in item2.children"
style=
"cursor: pointer"
>
<a
@
click=
"showphotos(item3) "
>
{{
item3
.
name
}}
</a>
<!--
<a
@
click=
"showphotos(item3) "
v-text=
"getData(item3)"
>
</a>
<div
@
click=
"showphotos(item3) "
v-text=
"getData(item3)"
></div>
<a
@
click=
"showphotos(item3) "
v-text=
"item3.name!=''?item3.name.split(',')[0]:''"
>
</a>
-->
<img
v-show=
"item3.monitor"
src=
"/img/monitor.png"
width=
"12px"
height=
"12px"
@
click=
"play(item3.monitor)"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
@@ -71,7 +102,9 @@
text1
:
"
兴潮青年大学生志愿服务队
"
,
name
:
"
兴潮青年大学生志愿服务队
"
,
show
:
true
,
children
:
[]
,
children
:
[
{
name
:
"
2019
"
}
]
,
},
{
marktype
:
"
46
"
,
...
...
@@ -98,16 +131,24 @@
locate
:
function
(
item
){
parent
.
vue_left
.
locate
(
item
);
},
open
:
function
(
item
,
dom
){
$
(
"
.layui-colla-content
"
).
css
(
"
display
"
,
"
none
"
);
if
(
item
.
show
){
$
(
dom
.
srcElement
).
next
().
css
(
"
display
"
,
"
block
"
);
}
else
{
$
(
dom
.
srcElement
).
next
().
css
(
"
display
"
,
"
none
"
);
}
open
:
function
(
item
,
index
,
dom
){
$
(
"
.layui-colla-content
"
).
css
(
"
display
"
,
"
none
"
);
if
(
item
.
show
)
{
$
(
dom
.
srcElement
).
next
().
css
(
"
display
"
,
"
block
"
);
}
else
{
$
(
dom
.
srcElement
).
next
().
css
(
"
display
"
,
"
none
"
);
}
//其他逻辑
item
.
show
=!
item
.
show
;
item
.
show
=
!
item
.
show
;
},
open2
:
function
(
item
,
n
,
dom
)
{
$
(
"
#layui
"
).
css
(
"
display
"
,
"
none
"
);
if
(
item
.
show
)
{
$
(
dom
.
srcElement
).
next
().
css
(
"
display
"
,
"
block
"
);
}
else
{
$
(
dom
.
srcElement
).
next
().
css
(
"
display
"
,
"
none
"
);
}
item
.
show
=
!
item
.
show
;
},
showphotos
:
function
(
items
)
{
var
playsrc
=
{
data
:
[]};
...
...
@@ -136,14 +177,16 @@
}
},
mounted
(){
//挂载的时候执行
debugger
this
.
tree_list
[
0
].
children
=
this
.
data_filter
.
data
[
0
].
data
;
that
=
this
;
getByAjax
(
"
./business/queryAreaphotos/45,46,47
"
,
function
(
list
){
for
(
var
i
=
0
;
i
<
that
.
daylist
[
0
].
children
.
length
;
i
++
)
{
let
tempList
=
list
.
filter
(
items
=>
{
return
items
.
typeid
==
that
.
daylist
[
0
].
children
[
i
].
marktype
});
console
.
log
(
tempList
);
that
.
daylist
[
0
].
children
[
i
].
children
=
tempList
;
}
//
for (var i = 0; i
<
that
.
daylist
[
0
].
children
.
length
;
i
++
)
{
//
let tempList = list.filter(items => {return items.typeid==that.daylist[0].children[i].marktype});
//
console.log(tempList);
//
that.daylist[0].children[i].children = tempList;
//
}
});
}
...
...
public/components/rightview/dqfwzx.vue
View file @
ea099f67
<
template
>
<div>
<h1
class=
"bt_h1"
>
党群服务中心
</h1>
<h1
class=
"bt_h1"
>
兴卫村社区党建红色网格
</h1>
<div
class=
"table-a"
style=
"height: 700px; overflow-y: auto;"
>
<table
class=
"layui-table"
style=
"background-color: #ece5e500;"
>
<colgroup>
...
...
public/components/rightview/dwzx.vue
View file @
ea099f67
...
...
@@ -94,9 +94,8 @@
{
this
.
datax
.
lxfs1
=
templxfs
[
1
];
}
let
reg
=
new
RegExp
(
'
*(
'
,
‘
g
‘
)
this
.
datax
.
foreach
(
item
=>
{
item
=
item
.
substring
(
indexOf
(
"
(
"
)
"
+1,item.lastIndexOf(
"
)
"
)) ;
return '兴卫村社区居民'+item; })
debugger
this
.
datax
.
ejzb
=
'
兴卫村社区居民
'
+
this
.
datax
.
ejzb
.
substring
(
this
.
datax
.
ejzb
.
indexOf
(
'
(
'
)
+
1
,
this
.
datax
.
ejzb
.
lastIndexOf
(
"
)
"
))
;
}
...
...
public/components/rightview/gdgl.vue
View file @
ea099f67
...
...
@@ -16,7 +16,7 @@
<tbody
class=
"bg_tr"
>
<tr
v-for=
"(item,index) in datax"
>
<td
v-text=
"item.管理员"
></td>
<td
><div
>
item.工地名称
</div></td>
<td
><div
style=
"text-align: left;"
>
①大地土壤修复
<br/>
②大地土壤修复2
<br/>
③北京建工土壤修复
<br/>
④兴卫保障房三期项目
<br/>
⑤兴卫一待出让地块
</div></td>
</tr>
</tbody>
</table>
...
...
public/components/rightview/zyzfwz.vue
View file @
ea099f67
...
...
@@ -17,7 +17,7 @@
</thead>
</table>
</div>
<div
class=
"table-a"
style=
"overflow-y:auto;height:
362px
"
>
<div
class=
"table-a"
style=
"overflow-y:auto;height:
79%
"
>
<table
class=
"layui-table"
style=
"background-color: #ece5e500;"
>
<colgroup>
<col
width=
"40"
>
...
...
public/js_src/index_src.js
View file @
ea099f67
...
...
@@ -910,10 +910,15 @@ function listenLayer(v_layer, layerdata) {
require
([
"
js/bundle/incident.bundle.js
"
],
function
(
$root
)
{
incident
=
$root
[
'
incident
'
];
vue_right
.
currentView
=
layerdata
.
rightview
;
vue_right
.
widthData
=
layerdata
.
width
;
vue_right
.
heightData
=
layerdata
.
height
;
//延迟加载以便能够保证子组件已经加载完毕再调用其方法
if
(
vue_right
.
$refs
!=
undefined
&&
vue_right
.
$refs
.
mychild
!=
undefined
){
setTimeout
(()
=>
{
vue_right
.
$refs
.
mychild
.
show
(
evt
.
graphic
.
attributes
.
data
);
},
300
);
document
.
getElementById
(
'
rightvue
'
).
style
.
display
=
'
block
'
;
},
100
);
}
});
});
v_layer
.
on
(
'
mouse-move
'
,
function
(
evt
)
{
...
...
@@ -952,9 +957,11 @@ function listenLayer(v_layer, layerdata) {
incident
=
$root
[
'
incident
'
];
vue_right
.
currentView
=
layerdata
.
rightview
;
//延迟加载以便能够保证子组件已经加载完毕再调用其方法
if
(
vue_right
.
$refs
!=
undefined
&&
vue_right
.
$refs
.
mychild
!=
undefined
){
setTimeout
(()
=>
{
vue_right
.
$refs
.
mychild
.
show
(
evt
.
graphic
.
attributes
.
data
);
},
300
);
}
});
evt
.
graphic
.
setSymbol
(
null
);
...
...
@@ -1039,9 +1046,11 @@ function listenLayer(v_layer, layerdata) {
vue_right
.
widthData
=
layerdata
.
width
;
vue_right
.
heightData
=
layerdata
.
height
;
//延迟加载以便能够保证子组件已经加载完毕再调用其方法
if
(
vue_right
.
$refs
!=
undefined
&&
vue_right
.
$refs
.
mychild
!=
undefined
){
setTimeout
(()
=>
{
vue_right
.
$refs
.
mychild
.
show
(
data
.
data1
,
data
.
data2
);
},
300
);
}
});
});
// evt.graphic.setSymbol(null);
...
...
util/logs/info.log
View file @
ea099f67
...
...
@@ -280,3 +280,7 @@
[2023-07-17T10:01:36.545] [INFO] info - system/edit/gtqydata/0/GT////////begin
[2023-07-17T10:02:22.459] [INFO] info - system/edit/gtqydata/0/GT////////begin
[2023-07-17T10:03:22.454] [INFO] info - system/edit/gtqydata/0/GT////////begin
[2023-07-18T20:39:36.327] [INFO] info - system/edit/areabaseedit////////begin
[2023-07-18T20:39:36.486] [INFO] info - system/edit/areabaseedit////////end
[2023-07-18T20:41:54.079] [INFO] info - system/edit/areabaseedit////////begin
[2023-07-18T20:41:54.171] [INFO] info - system/edit/areabaseedit////////end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment