Commit 48b5a8e4 authored by 夏敏伟's avatar 夏敏伟

修改bug

parent a6d50d92
......@@ -52,7 +52,7 @@ var community_conf={
url:"wss_dh"
},
//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"],
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","wmcj"],
leftviewNameList:["list","tree","tree_dq","treezyz","tree_rmfx","tree_aby","tree_ty","tree_fl","tree_hjbh","tree_wmcj","tree_mdtc","tree_jwrh","tree_hswy"],
}
//党小组
......@@ -313,6 +313,8 @@ var serviceLayers_conf=[
// "event":"area",
"event":"rightview",
"rightview":"wmcj",
"width":"400px",
"height":"750px"
}, {
"index":5,
'text': '河流',
......
......@@ -25,7 +25,7 @@
<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" >
<h2 class="layui-colla-title" @click="item2.name=='组织设置'?locate(item2):showphotos2(item2.data, index)" >
<h2 class="layui-colla-title" @click="item2.name=='组织设置'?locate(item2.data):showphotos(item2, index)" >
{{ item2.name }}
<img v-show="item.icon" style="height: 20px; width: 20px; margin-top: 10px; float: right;" v-bind:src="item2.icon" />
</h2>
......@@ -135,19 +135,18 @@ module.exports = {
props: ["dataxself"],
methods: {
locate: function (item) {
item2=JSON.parse(JSON.stringify(item));
if(item2.name=='组织设置'){
item2.name='兴卫村社区新时代文明实践站';
debugger
if(item.length>0){
item2=JSON.parse(JSON.stringify(item[0]));
parent.vue_left.locate(item2);
}
parent.vue_left.locate(item2);
},
showright: function (item,n, dom) {
parent.vue_left.showright(item);
this.open(item, n, dom);
},
showphotos: function (item) {
debugger
if(item.event!=undefined){
//展示中间
parent.vue_left.showwmcs(item);
......@@ -168,6 +167,7 @@ module.exports = {
}
},
showphotos2: function (items) {
debugger
var playsrc={data: []};
for(var j = 0; j <items.length ; j++ )
{
......
......@@ -103,7 +103,7 @@
name: "兴潮青年大学生志愿服务队",
show: true,
children: [
{name:"2019"}
] ,
},
{
......@@ -182,11 +182,11 @@
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;
}
});
}
......
......@@ -94,8 +94,9 @@
{
this.datax.lxfs1=templxfs[1];
}
debugger
this.datax.ejzb='兴卫村社区居民'+this.datax.ejzb.substring(this.datax.ejzb.indexOf('(')+1,this.datax.ejzb.lastIndexOf(")")) ;
if(this.datax.ejzb.indexOf('(')>0){
this.datax.ejzb='兴卫村社区居民'+this.datax.ejzb.substring(this.datax.ejzb.indexOf('(')+1,this.datax.ejzb.lastIndexOf(")")) ;
}
}
......
<template>
<div>
<h1 class="bt_h1">河道管理</h1>
<div class="table-a">
<img src='img/zjg.png'>
<div>
<div >
<img src='img/zjg.png' style="width:98%;margin-left:1%">
</div>
</div>
</template>
......
......@@ -353,7 +353,7 @@ var vue_left = new Vue({
var layui_open_option = {
title: '<span class="layer_span6">文明城市创建工作测评参考</span>',
content: $("#wmcs"),
area: ['1280px', '660px'], //宽高
area: ['880px', '660px'], //宽高
type: 1
};
layerOpen(layui_open_option);
......@@ -915,7 +915,7 @@ function listenLayer(v_layer, layerdata) {
//延迟加载以便能够保证子组件已经加载完毕再调用其方法
if(vue_right.$refs!=undefined && vue_right.$refs.mychild !=undefined ){
setTimeout(() => {
vue_right.$refs.mychild.show(evt.graphic.attributes.data);
// vue_right.$refs.mychild.show(evt.graphic.attributes.data);
document.getElementById('rightvue').style.display = 'block';
}, 100);
}
......@@ -2500,9 +2500,11 @@ var vue_wmcs = new Vue({
computed: {
},
mounted() {
debugger
that=this;
getByAjax("./rest/areaanddetailquery/21/local_wmcs",function(list){
that.arr_datals=list;
debugger
that.arr_datawmcs=list;
});
}
});
......
......@@ -284,3 +284,23 @@
[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
[2023-07-19T16:33:20.795] [INFO] info - system/edit/areabaseedit////////begin
[2023-07-19T16:33:20.994] [INFO] info - system/edit/areabaseedit////////end
[2023-07-19T16:40:14.657] [INFO] info - system/edit/areabaseedit////////begin
[2023-07-19T16:40:14.783] [INFO] info - system/edit/areabaseedit////////end
[2023-07-19T17:26:02.462] [INFO] info - system/edit/areabaseedit////////begin
[2023-07-19T17:26:02.559] [INFO] info - system/edit/areabaseedit////////end
[2023-07-19T17:26:02.687] [INFO] info - system/edit/areadetailinsert/null/local_wmcs////////begin
[2023-07-19T17:26:07.784] [INFO] info - system/edit/areadetailinsert/null/local_wmcs////////end
[2023-07-19T17:32:24.785] [INFO] info - system/edit/areabaseedit////////begin
[2023-07-19T17:32:24.894] [INFO] info - system/edit/areabaseedit////////end
[2023-07-19T17:32:25.028] [INFO] info - system/edit/areadetailinsert/null/local_wmcs////////begin
[2023-07-19T17:32:25.160] [INFO] info - system/edit/areadetailinsert/null/local_wmcs////////end
[2023-07-19T17:33:03.519] [INFO] info - system/edit/areabaseedit////////begin
[2023-07-19T17:33:03.618] [INFO] info - system/edit/areabaseedit////////end
[2023-07-19T17:33:03.741] [INFO] info - system/edit/areadetailinsert/null/local_wmcs////////begin
[2023-07-19T17:33:03.870] [INFO] info - system/edit/areadetailinsert/null/local_wmcs////////end
[2023-07-19T17:33:36.422] [INFO] info - system/edit/areabaseedit////////begin
[2023-07-19T17:33:36.512] [INFO] info - system/edit/areabaseedit////////end
[2023-07-19T17:33:36.652] [INFO] info - system/edit/areadetailinsert/null/local_wmcs////////begin
[2023-07-19T17:33:36.791] [INFO] info - system/edit/areadetailinsert/null/local_wmcs////////end
......@@ -631,7 +631,7 @@
<tbody>
<tr v-for="(item,index) in arr_datawmcs" class="hj-td">
<td v-text="item.dw"></td>
<td><div>{{item.zyzb}}</div></td>
<td style="text-align: left;"><span v-html="item.zyzb"></span></td>
<td><a style="cursor: pointer;text-decoration:underline;" @click="showphotos(item.src)">查看照片</a></td>
</tr>
</tbody>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment