Commit d7386651 authored by wangjinjing's avatar wangjinjing

init

parent e23b4c02
var createError = require('http-errors');
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
var logger = require('morgan');
var session = require('express-session');
var restRouter = require('./routes/restRouter');
var loginRouter = require('./routes/loginRouter');
var businessRouter = require('./routes/businessRouter');
var pageRouter = require('./routes/pageRouter');
var editRouter=require('./routes/editRouter');
var model=require('./util/model');
require('./util/string');
var app = express();
//模板引擎
var ejs=require('ejs');
app.set('views', path.join(__dirname, 'views/'));
app.engine('html',ejs.__express);
app.set('view engine', 'html');
app.use(logger('dev'));
app.use(express.json());
app.use(express.urlencoded({
extended: false
}));
app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public')));
// 使用 session 中间件
app.use(session({
secret: 'secret', // 对session id 相关的cookie 进行签名
resave: true,
saveUninitialized: false, // 是否保存未初始化的会话
cookie: {
maxAge: 1000 * 60 * 60*8, // 设置 session 的有效时间,单位毫秒
},
name:require('./application.json').session_name
}));
//拦截器对登录人进行操作进行拦截
app.use(function (req, res, next) {
console.log(req.session.user);
var url = req.originalUrl;
if (url == "/login" || url == "/logout" || url == "/validateuser") { //登录不拦截
next();
} else { //开始拦截
if (req.session.user) {
next();
} else if (req.headers["x-requested-with"] == "XMLHttpRequest") { //ajax的请求返回json提醒
res.json({
resultStatus: model.resultStatus.expired
});
} else { //非ajax的请求调转登录页
// res.redirect('/login');
res.redirect('/login');
}
}
});
//restful服务
app.use('/rest', restRouter);
app.use('/edit', editRouter);
app.use('/pagedetail', pageRouter);
app.use('/', loginRouter);
app.use('/business', businessRouter);
app.use('/localx', require("./routes/localRouter"));
app.use('/export', require("./routes/exportRouter"));
// 错误捕获
app.use(function (err,x, req, res, next) {
// res.json({
// resultStatus: model.resultStatus.error(err)
// });
res.json(err);
});
module.exports = app;
This diff is collapsed.
{
"oracle": {
"user": "xwsq",
"password": "xwsq",
"connectString": "192.168.168.212:1523/helowin"
},
"port":"4082",
"session_name":"xwsq.connect.sid",
"artemis":{
"appkey":"20481782",
"appsecret":"69v2kEzZw4y4RBHtmLpv"
},
"order":{
"1":["zjhm", "type", "cjlb", "cjdj", "cjzh", "jhr", "jtzz", "jhrlxdh", "bz"],
"3":["zjhm", "type", "sqfzr", "mj","fj","bz"],
"7":["zjhm", "type", "jsxm", "ylrgx", "jsjzdz", "jslxfs", "sfnrzfgmfw", "jzdz", "hjdz"],
"4":["zjhm", "type", "zywtjmd", "fzr","fzrdh"],
"10":["zjhm", "type", "jrtype", "xjyzt", "bddh", "gzdw", "tyzjh"]
}
}
{
"lockfileVersion": 1
}
<template>
<div>
<h1 class="bt_h1">安全生产</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>道路保洁员</th>
<th>小区保洁员</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.gly"></td>
<td v-text="item.dlbjy"></td>
<td v-text="item.xqbjy"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{gly:"彭林",dlbjy:"21名",xqbjy:"108名"}],
datadl:[{dlgly:"彭林",dlmc:"兴兴路、兴卫路、经五路、华电北路"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">档案管理</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col>
<col>
<col>
<col>
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>安置户</th>
<th>购买户</th>
<th>住宅</th>
<th>门面</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.gly"></td>
<td v-text="item.azh"></td>
<td v-text="item.gmh"></td>
<td v-text="item.zz"></td>
<td v-text="item.mm"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{gly:"高翠琴",azh:"403户",gmh:"7666户",zz:"8069户",mm:"201户"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">党群服务中心</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>道路保洁员</th>
<th>小区保洁员</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.gly"></td>
<td v-text="item.dlbjy"></td>
<td v-text="item.xqbjy"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{gly:"彭林",dlbjy:"21名",xqbjy:"108名"}],
datadl:[{dlgly:"彭林",dlmc:"兴兴路、兴卫路、经五路、华电北路"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">工地管理</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="100">
<col >
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>工地名称</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.gly"></td>
<td v-text="item.gdmc"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{gly:"彭林",gdmc:"尧红路栖霞段工地、江苏大地土壤修复工地、北京建工土壤修复工地"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">公共服务</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>道路保洁员</th>
<th>小区保洁员</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.gly"></td>
<td v-text="item.dlbjy"></td>
<td v-text="item.xqbjy"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{gly:"彭林",dlbjy:"21名",xqbjy:"108名"}],
datadl:[{dlgly:"彭林",dlmc:"兴兴路、兴卫路、经五路、华电北路"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">河道管理</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>河长</th>
<th>河长度</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.name"></td>
<td v-text="item.cd"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{name:"赵九铭",cd:"0.6公里"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">环境保护</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>道路保洁员</th>
<th>小区保洁员</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.gly"></td>
<td v-text="item.dlbjy"></td>
<td v-text="item.xqbjy"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{gly:"彭林",dlbjy:"21名",xqbjy:"108名"}],
datadl:[{dlgly:"彭林",dlmc:"兴兴路、兴卫路、经五路、华电北路"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">环境卫生</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>道路保洁员</th>
<th>小区保洁员</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.gly"></td>
<td v-text="item.dlbjy"></td>
<td v-text="item.xqbjy"></td>
</tr>
</tbody>
</table>
<h1 class="bt_h1">道路信息</h1>
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>道路管理员</th>
<th>道路名称</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datadl">
<td v-text="item.dlgly"></td>
<td v-text="item.dlmc"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{gly:"彭林",dlbjy:"21名",xqbjy:"108名"}],
datadl:[{dlgly:"彭林",dlmc:"兴兴路、兴卫路、经五路、华电北路"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">街面秩序</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="90">
<col width="90">
<col >
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>企业信息管理员</th>
<th>企业</th>
<th>个体</th>
<th>总数</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.qyxxgly"></td>
<td v-text="item.qy"></td>
<td v-text="item.gt"></td>
<td v-text="item.zs"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[{qyxxgly:"张菁",qy:"183家",gt:"297家",zs:"480家"}]
}
},
props:["title"],
methods:{
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<div style="height: 60px; text-align: center; font-size: 20px; display: block; font-weight: bold; background-color: #0071a9; color: #fff; line-height: 60px; ">
<span class="lib_title">{{dataxself.title}}</span>
</div>
<div style="height: calc(100% - 60px)">
<div style="height:50px">
<span style="margin-left:15px">筛选:</span>
<input v-model="searchText" type="text" style="width:162px;height: 22px;margin-top: 12px;margin-left: 15px">
</div>
<div style="overflow-y:auto;height: calc(100% - 50px)">
<table class="public_table" >
<tbody>
<tr v-for="(item,index) in data_filter" @click="locate(item)">
<td v-text="item.name"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
searchText:""
}
},
props:["dataxself"],
methods:{
locate:function(item){
parent.vue_left.locate(item);
}
},
computed:{
datax:{
set:function(value){
//this.dataxself=value;
//console.log(value);
},get:function(){
return this.dataxself.data[0].data;
//console.log(this.dataxself);
}
},
data_filter: function () {
console.log(this.datax);
if (this.searchText) {
var temp = [];
for (var i = 0; i < this.datax.length; i++) {
if (this.datax[i].name&&this.datax[i].name.strcontains(this.searchText)) {
temp.push(this.datax[i]);
}
}
return temp;
}
return this.datax;
}
},
mounted(){//挂载的时候执行
//console.log(this.moduleTitle);
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
This diff is collapsed.
<template>
<div>
<div style="height: 60px; text-align: center; font-size: 20px; display: block; font-weight: bold; background-color: #0071a9; color: #fff; line-height: 60px; ">
<span class="lib_title">{{dataxself.title}}</span>
</div>
<input type="text" v-model="search" style="height: 24px; text-align: center; line-height: 24px; width:95%;margin: 5px;">
<div style="height: calc(100% - 84px);overflow-y:auto">
<div>
<div class="layui-colla-item" v-for="(item,index) in data_filter" style="width:100%;height:100%;">
<h4 class="layui-colla-title" v-bind:style="{backgroundColor:item.color}" >
<div lass="layui-colla-item" @click="locate(item,index,$event)" style="float:left"> {{item.name}}</div>
<img style="height:25px;width:26px;margin-top: 10px;float: right;margin-right: 10px;" src="img/zfy.png" @click="locus(item,index,$event)">
<img v-show="item.deviceId.indexOf('PU_')>-1" style="height:25px;width:26px;margin-top: 10px;float: right;margin-right: 5px;" src="img/photo.png" @click="open(item,index,$event)">
</h4>
</div>
</div>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
search:"",
}
},
props:["dataxself"],
methods:{
locate:function(item){
parent.vue_left.locate(item);
},open:function(item){
layui_open_option = {
type: 2,
title: '<span class="layer_span9">执法记录仪</span>',
area: ['977px', '678px'], //宽高
content: "/intercom?device_id="+item.deviceId
};
layerOpen(layui_open_option);
},
locus:function(item){
parent.vue_left.playPaths(item);
}
},
computed:{
datax:{
set:function(value){
},get:function(){
return this.dataxself.data[0].data;
}
},data_filter: function () {
var _search = this.search;
if (_search) {
var temp = [];
if(this.datax){
for (var i = 0; i < this.datax.length; i++) {
if (this.datax[i].name&&this.datax[i].name.strcontains(_search)) {
console.log(this.datax[i]);
temp.push(this.datax[i]);
}
}
return temp;
}
}
return this.datax;
}
},
mounted(){//挂载的时候执行
}
}
</script>
<style >
@import "../../js/jquery-2.2.3.js";
</style>
<template>
<div>
<div style="height: 60px; text-align: center; font-size: 20px; display: block; font-weight: bold; background-color: #0071a9; color: #fff; line-height: 60px; ">
<span class="lib_title">{{dataxself.title}}</span>
</div>
<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,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;margin-left: 20px;" v-bind:title="item.name" >
<div style="width:100%;height:225px;">
<div class="TreeWrap">
<div v-for="(item1,index1) in item.children" @click="locate(item1)" style="cursor:pointer">
{{item1.name}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
searchText:"",
tree_list:[
{
"marktype": "3",
"text1": '党建阵地',
"name": '党建阵地',
"color": 'turquoise',
"show": true,
"layers": [],
"children": [],
"extenddata":"sd",
"icon":"img/icon/du.png",
},
{
"marktype": "13",
"text1": '党群',
"name": '党群',
"color": '#ADD8E6',
"show": true,
"layers": [],
"children": [],
"icon":"img/icon/dbh.png"
}
]
}
},
props:["dataxself"],
methods:{
locate:function(item){
parent.vue_left.locate(item);
},open:function(item,n,dom){
$(".layui-colla-content").css("display","none");
if(item.show){
$(dom.srcElement).next().css("display","block");
}else{
$(dom.srcElement).next().css("display","none");
}
console.log(n);
//其他逻辑
if(n==1&&item.show){
parent.vue_top.setLayerStatusbyId(this.data_filter.data[0].layerID,true);
parent.vue_top.setLayerStatusbyId(this.data_filter.data[1].layerID,true);
parent.vue_top.setLayerStatusbyId(this.data_filter.data[2].layerID,true);
parent.vue_top.setLayerStatusbyId(this.data_filter.data[3].layerID,true);
}
if(n==0){
parent.vue_top.setLayerStatusbyId(this.data_filter.data[3].layerID,!item.show);
parent.vue_top.setLayerStatusbyId(this.data_filter.data[2].layerID,true);
parent.vue_top.setLayerStatusbyId(this.data_filter.data[1].layerID,true);
parent.vue_top.setLayerStatusbyId(this.data_filter.data[0].layerID,true);
}
item.show=!item.show;
}
},
computed:{
datax:{
set:function(value){
},get:function(){
return this.dataxself;
}
},data_filter: function () {
return this.datax;
}
},
mounted(){//挂载的时候执行
this.tree_list[0].children=this.data_filter.data[0].data;
this.tree_list[1].children=this.data_filter.data[3].data;
}
}
</script>
<style >
/* @import "../../js/layui/css/layui.css"; */
</style>
<template>
<div>
<div style="height: 60px; text-align: center; font-size: 20px; display: block; font-weight: bold; background-color: #0071a9; color: #fff; line-height: 60px; ">
<span class="lib_title">{{dataxself.title}}</span>
</div>
<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,index,$event)">
{{item.name}}
<img v-show="item.icon" style="height:20px;width:20px;margin-top: 10px;float: right" v-bind:src="item.icon">
</h2>
<div class="layui-colla-content" style="height:217px;margin-left: 20px;" v-bind:title="item.name" >
<div style="width:100%;height:225px;">
<div class="TreeWrap">
<div v-for="(item1,index1) in item.children" @click="locate(item1)" style="cursor:pointer">
{{item1.name}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
searchText:"",
tree_list:[
{
"marktype": "1",
"text1": '涉稳人头',
"name": '涉稳人头',
"color": 'turquoise',
"show": true,
"layers": [],
"children": [],
"icon":"img/rmfx.png",
},
{
"marktype": "2",
"text1": '涉军人头',
"name": '涉军人头',
"color": 'teal',
"show": true,
"layers": [],
"children": [],
"icon":"img/rmfx.png",
},
{
"marktype": "3",
"text1": '涉外企业',
"name": '涉外企业',
"color": 'cornflowerblue',
"show": true,
"layers": [],
"children": [],
"icon":"img/rmfx.png",
}
,
{
"marktype": "4",
"text1": '暂住外籍人员',
"name": '暂住外籍人员',
"color": 'coral',
"show": true,
"layers": [],
"children": [],
"icon":"img/rmfx.png",
},
{
"marktype": "5",
"text1": '涉疆人员',
"name": '涉疆人员',
"color": 'OliveDrab',
"show": false,
"layers": [],
"children": [],
"extenddata":"soldier",
"icon":"img/rmfx.png",
},
{
"marktype": "6",
"text1": '宗教场所',
"name": '宗教场所',
"color": '#129c29',
"show": true,
"layers": [],
"children": [],
"icon":"img/rmfx.png",
"extenddata":"cj"
},
{
"marktype": "7",
"text1": '防线网格员',
"name": '防线网格员',
"color": '#9ACD32',
"show": true,
"layers": [],
"children": [],
"icon":"img/rmfx.png",
},
{
"marktype": "8",
"text1": '防线网格信息',
"name": '防线网格信息',
"color": '#778899',
"show": false,
"layers": [],
"children": [],
"icon":"img/rmfx.png",
"extenddata":"60djlr"
}
]
}
},
props:["dataxself"],
methods:{
locate:function(item){
parent.vue_left.locate(item);
},
open:function(item,n,dom){
$(".layui-colla-content").css("display","none");
if(item.show){
$(dom.srcElement).next().css("display","block");
}else{
$(dom.srcElement).next().css("display","none");
}
if(n==6&&item.show){
parent.vue_top.setLayerStatusbyId(this.data_filter.data[0].layerID,true);
parent.vue_top.setLayerStatusbyId(this.data_filter.data[1].layerID,true);
}
if(n!=6){
parent.vue_top.setLayerStatusbyId(this.data_filter.data[1].layerID,!item.show);
parent.vue_top.setLayerStatusbyId(this.data_filter.data[0].layerID,true);
}
//其他逻辑
item.show=!item.show;
}
},
computed:{
datax:{
set:function(value){
//this.dataxself=value;
//console.log(value);
},get:function(){
return this.dataxself;
//console.log(this.dataxself);
}
},data_filter: function () {
return this.datax;
}
},
mounted(){//挂载的时候执行
for (var i = 0; i < this.tree_list.length-2; i++) { //遍历本模块的一级树
var tempList=[];
console.log(this.data_filter.data[0].length);
for (var j = 0; j < this.data_filter.data[0].data.length; j++) { //遍历集合数据,塞入一级树结构中
if (this.data_filter.data[0].data[j].marktype && this.data_filter.data[0].data[j].marktype.strcontains(this.tree_list[i].marktype)) {
tempList.push(this.data_filter.data[0].data[j]);
}
}
//chilren tianchong
this.tree_list[i].children=tempList;
}
this.tree_list[6].children=this.data_filter.data[1].data;
}
}
</script>
<style >
/* @import "../../js/layui/css/layui.css"; */
</style>
This diff is collapsed.
<template>
<div>
<div style="height: 60px; text-align: center; font-size: 20px; display: block; font-weight: bold; background-color: #0071a9; color: #fff; line-height: 60px; ">
<span class="lib_title">{{dataxself.title}}</span>
</div>
<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)">
{{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 class="TreeWrap">
<div v-for="(item1,index1) in item.children" @click="locate(item1)" style="cursor:pointer">
{{item1.name}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
searchText:"",
tree_list:[
{
"marktype": "9",
"text1": '志愿者服务站',
"name": '志愿者服务站',
"show": true,
"layers": [],
"children": [],
"extenddata":"sd",
"icon":"img/icon/du.png",
},
{
"marktype": "27",
"text1": '志愿者名单',
"name": '志愿者名单',
"show": true,
"layers": [],
"children": [],
"extenddata":"mpwk",
"icon":"img/icon/fang.png",
}
]
}
},
props:["dataxself"],
methods:{
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");
}
//其他逻辑
item.show=!item.show;
}
},
computed:{
datax:{
set:function(value){
//this.dataxself=value;
//console.log(value);
},get:function(){
return this.dataxself;
//console.log(this.dataxself);
}
},data_filter: function () {
return this.datax;
}
},
mounted(){//挂载的时候执行
console.log("zdry"+this.data_filter.data);
this.tree_list[0].children=this.data_filter.data[0].data;
this.tree_list[1].children=this.data_filter.data[1].data;
}
}
</script>
<style >
/* @import "../../js/layui/css/layui.css"; */
</style>
<template>
<div>
<h1 class="bt_h1">安全生产</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>道路保洁员</th>
<th>小区保洁员</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.管理员"></td>
<td v-text="item.道路保洁员"></td>
<td v-text="item.小区保洁员"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[]
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/aqsc",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<div class="layui-tab-item layui-show" style="color: black">
<h2 style="color:white" >负责人信息</h2>
<table class="shuju_table">
<tr>
<td style="text-align:center;">总负责人</td>
<td>姓 名</td>
<td>电 话</td>
</tr>
<tr v-for="(item,index) in datax_fzr">
<td></td>
<td v-text="item.xm"></td>
<td v-text="item.dh"></td>
</tr>
</table>
<h2 style="color:white">基本信息</h2>
<table class="shuju_table">
<tr v-for="(item,index) in datax">
<td v-text="item.key" style="text-align:center">整体面积</td>
<td v-text="item.value">0.57</td>
</tr>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax: this.dataself.data,
datax_fzr:this.dataself.data_fzr,
}
},
props:["dataself"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
console.log(this.dataself);
}
}
</script>
<style scoped>
</style>
<template>
<div>
<h1 class="bt_h1">档案管理</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col>
<col>
<col>
<col>
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>安置户</th>
<th>购买户</th>
<th>住宅</th>
<th>门面</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.管理员"></td>
<td v-text="item.安置户"></td>
<td v-text="item.购买户"></td>
<td v-text="item.住宅"></td>
<td v-text="item.门面"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[]
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/dagl",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<div class="table-a">自2019年社区被团中央评为全国青少年“零受害”、“零犯罪”双零试点社区以来,社区以“社区大脑”网格化信息指挥中心为基础,把试点工作与社会治理创新有机结合,通过公安部门后台数据推送,针对有犯罪苗头青年及时采取干预,通过开展法制教育进社区、困境少年结队帮扶、青少年心理辅导等系列活动,持续提升青少年群体教育帮助和预防犯罪工作水平,目前我社区辖区内青少年受害人数、青少年犯罪人数均为零。
</div>
div>
</template>
<script>
module.exports = {
data: function () {
return {
datax: [],
};
},
props: ["title"],
methods: {},
computed: {},
mounted() {
//挂载的时候执行
},
};
</script>
<style scoped>
.bt_h1 {
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a {
padding: 10px;
color: white;
font-size: 23px;
text-indent: 2em;
letter-spacing: 5px;
font-family: monospace;
}
.table-a table {
border: 1px solid #f00;
}
.bg_tr tr:hover {
background-color: #ece5e500 !important;
}
.bg_tr {
color: #fff;
}
.bg_tr td {
text-align: center;
}
.tr_th {
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th {
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">党群服务中心</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>支部名称</th>
<th>支部书记</th>
<th>支部信息</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.支部名称"></td>
<td v-text="item.支部书记"></td>
<td v-text="item.支部信息"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[]
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/dqfw",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div class="layui-tab-item layui-show" style="color: black">
<h1 class="bt_h1">{{datax.ejzb}}</h1>
<div style="height: 400px;overflow:auto;margin-top:10px">
<h2 style="color:white" >负责人信息</h2>
<table class="layui-table" style="background-color: #ece5e500;">
<tbody class="bg_tr">
<tr>
<td ></td>
<td>姓 名</td>
<td>电 话</td>
<td>职 务</td>
</tr>
<tr>
<td style="text-align:center">支部书记</td>
<td v-text="datax.ejzbsj"></td>
<td v-text="datax.sjlxfs"></td>
<td>二级支部书记</td>
</tr>
<tr>
<td style="text-align:center">委员</td>
<td v-text="datax.xzz"></td>
<td v-text="datax.lxfs"></td>
<td v-text="datax.xsdxzqk"></td>
</tr>
<tr>
<td style="text-align:center">委员</td>
<td v-text="datax.xzz1"></td>
<td v-text="datax.lxfs1"></td>
<td v-text="datax.xsdxzqk1"></td>
</tr>
</tbody>
</table>
<h2 style="color:white">基本信息</h2>
<table class="layui-table" style="background-color: #ece5e500;">
<tbody class="bg_tr">
<tr>
<td>二级支部名称</td>
<td v-text="datax.ejzb"></td>
</tr>
<tr>
<td>党组织地址</td>
<td v-text="datax.address"></td>
</tr>
<tr>
<td>人数</td>
<td v-text="datax.rs"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax: {}
}
},
props:["dataxself"],
methods:{
show:function(v_data){
this.datax=v_data;
let tempxzz=this.datax.xzz.split(',');
if(tempxzz.length>0)
{
this.datax.xzz=tempxzz[0];
}
if(tempxzz.length>1)
{
this.datax.xzz1=tempxzz[1];
}
let temp2=this.datax.xsdxzqk.split(',');
if(temp2.length>0)
{
this.datax.xsdxzqk=temp2[0];
}
if(temp2.length>1)
{
this.datax.xsdxzqk1=temp2[1];
}
let templxfs=this.datax.lxfs.split(',');
if(templxfs.length>0)
{
this.datax.lxfs=templxfs[0];
}
if(temp2.length>1)
{
this.datax.lxfs1=templxfs[1];
}
}
},
computed:{
},
mounted(){//挂载的时候执行
console.log(this.dataxself);
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
.zp-div{
float:left;height:175px;width:100%;overflow-y:auto;margin-top:5px;
}
.zpk-div:hover{
box-shadow: 0 2px 10px rgba(236, 1, 1, 0.2);
transform: translate3d(0, -2px, 0);
transition: .5s;
}
.zpk-div{
width:80px;height:80px;float:left;margin-left:13px;margin-top: 10px;
}
</style>
<template>
<div>
<h1 class="bt_h1">五类重点青少年</h1>
<div class="table-a">
<div class="layui-tab-item layui-show" style="color: black">
<h2 style="color: white">负责人信息</h2>
<table class="shuju_table">
<tr>
<td></td>
<td>姓 名</td>
<td>电 话</td>
<td>职 务</td>
</tr>
<tr>
<td style="text-align: center">负责人</td>
<td>张枫</td>
<td>13851869557</td>
<td>党委书记</td>
</tr>
<tr>
<td style="text-align: center">负责人</td>
<td>阮玲</td>
<td>15062279270</td>
<td>社区主任</td>
</tr>
</table>
<h2 style="color: white">基本信息</h2>
<table class="shuju_table">
<tr>
<td style="text-align: center">不良行为青少年群体</td>
<td>0人</td>
</tr>
<tr>
<td style="text-align: center">闲散青少年群体</td>
<td>0人</td>
</tr>
<tr>
<td style="text-align: center">流浪乞讨青少年群体</td>
<td>0人</td>
</tr>
<tr>
<td style="text-align: center">服刑在教青少年群体</td>
<td>0人</td>
</tr>
<tr>
<td style="text-align: center">流动留守青少年群体</td>
<td>70人</td>
</tr>
</table>
</div>
</div>
</div>
</template>
<script>
module.exports = {
data: function () {
return {
datax: [],
};
},
props: ["title"],
methods: {},
computed: {},
mounted() {
//挂载的时候执行
},
};
</script>
<style scoped>
.bt_h1 {
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
</style>
<template>
<div>
<h1 class="bt_h1">防疫人员</h1>
<div class="table-a" style="overflow-y:auto;height: 800px;">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="100">
<col >
</colgroup>
<thead>
<tr >
<td colspan="13" align='center'>近期往返武汉人员信息</td>
</tr>
<tr style="color:#fff;">
<th>户号</th>
<th>姓名</th>
<th>证件号码</th>
<th>来宁时间</th>
<th>联系电话</th>
<th>支部书记</th>
<th>网格长</th>
<th>物业主任</th>
<th>定时询问人员</th>
<th>民警</th>
<th>是否自行隔离</th>
<th>隔离到期</th>
<th>状态(14天)</th>
</tr>
</thead>
<tbody >
<tr v-for="(item,index) in datax">
<td v-text="item.hh==null?'':item.hh"></td>
<td v-text="item.name==null?'':item.name"></td>
<td v-text="item.zjhm==null?'':item.zjhm"></td>
<td v-text="item.lnsj==null?'':item.lnsj"></td>
<td v-text="item.lxdh==null?'':item.lxdh"></td>
<td v-text="item.zb==null?'':item.zb"></td>
<td v-text="item.wgz==null?'':item.wgz"></td>
<td v-text="item.wy"></td>
<td v-text="item.dsxwry"></td>
<td v-text="item.zyz"></td>
<td v-text="item.sfzdgl"></td>
<td v-text="item.gldq"></td>
<td v-text="item.zt"></td>
</tr>
</tbody>
</table>
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="100">
<col >
</colgroup>
<thead>
<tr >
<td colspan="7" align='center'>居家隔离人员信息</td>
</tr>
<tr style="color:#fff;">
<th>户号</th>
<th>姓名</th>
<th>身份证号</th>
<th>年龄</th>
<th>性别</th>
<th>联系方式</th>
<th>隔离原因</th>
</tr>
</thead>
<tbody >
<tr v-for="(item,index) in jjdata">
<td v-text="item.hh==null?'':item.hh"></td>
<td v-text="item.name==null?'':item.name"></td>
<td v-text="item.zjhm==null?'':item.zjhm"></td>
<td v-text="item.age==null?'':item.age"></td>
<td v-text="item.xb==null?'':item.xb"></td>
<td v-text="item.lxdh==null?'':item.lxdh"></td>
<td v-text="item.bz==null?'':item.bz"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[],
jjdata:[]
}
},
props:["dataxself"],
methods:{
show:function(v_data,jjdata){
this.datax=v_data;
this.jjdata=jjdata;
}
},
computed:{
},
mounted(){//挂载的时候执行
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 3px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: left;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: left;
}
.layui-table td, .layui-table th {
position: relative;
padding: 3px 5px;
min-height: 20px;
line-height: 20px;
font-size: 14px;
}
</style>
<template>
<div>
<h1 class="bt_h1">工地管理</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="100">
<col >
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>工地名称</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.管理员"></td>
<td v-text="item.工地名称"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[]
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/gdgl",function(data){
// debugger;
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">公共服务</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>工地名称</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.管理员"></td>
<td v-text="item.工地名称"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[],
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/ggfw",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">河道管理</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>河长</th>
<th>河长度</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.河长"></td>
<td v-text="item.河长度"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[]
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/hdgl",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">环境保护</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>道路保洁员</th>
<th>小区保洁员</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.管理员"></td>
<td v-text="item.道路保洁员"></td>
<td v-text="item.小区保洁员"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[],
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/hjbh",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">环境卫生</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>管理员</th>
<th>道路保洁员</th>
<th>小区保洁员</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.管理员"></td>
<td v-text="item.道路保洁员"></td>
<td v-text="item.小区保洁员"></td>
</tr>
</tbody>
</table>
<h1 class="bt_h1">道路信息</h1>
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>道路管理员</th>
<th>道路名称</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.道路管理员"></td>
<td v-text="item.道路名称"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[],
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/hjws",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">街面秩序</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="90">
<col width="90">
<col >
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>企业信息管理员</th>
<th>企业</th>
<th>个体</th>
<th>总数</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.企业信息管理员"></td>
<td v-text="item.企业"></td>
<td v-text="item.个体"></td>
<td v-text="item.总数"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[]
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/jmzx",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<div style="height: 60px; text-align: center; font-size: 20px; display: block; font-weight: bold; background-color: #0071a9; color: #fff; line-height: 60px; ">
</div>
<div style="height: calc(100% - 60px)">
<div style="height:50px">
<span style="margin-left:15px">筛选:</span>
<input v-model="searchText" type="text" style="width:162px;height: 22px;margin-top: 12px;margin-left: 15px">
</div>
<div style="overflow-y:auto;height: calc(100% - 50px)">
<table class="public_table" >
<tbody>
<tr v-for="(item,index) in data_filter" @click="locate(item)">
<td v-text="item.name"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
debugger;
return {
searchText:""
}
},
props:["dataxself"],
methods:{
locate:function(item){
parent.vue_left.locate(item);
}
},
computed:{
datax:{
set:function(value){
//this.dataxself=value;
//console.log(value);
},get:function(){
debugger;
return this.dataxself.data[0].data;
//console.log(this.dataxself);
}
},
data_filter: function () {
console.log(this.datax);
if (this.searchText) {
var temp = [];
for (var i = 0; i < this.datax.length; i++) {
if (this.datax[i].name&&this.datax[i].name.strcontains(this.searchText)) {
temp.push(this.datax[i]);
}
}
return temp;
}
return this.datax;
}
},
mounted(){//挂载的时候执行
console.log(this.dataxself);
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div>
<h1 class="bt_h1">人口管理</h1>
<div id="myEchart" style="width:100%;height:380px"></div>
<div id="myldrkEchart" style="width:100%;height:380px"></div>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
}
},
props:[],
methods:{
},
mounted(){//挂载的时候执行
getByAjax("../rest/year",function(data){
initchart(data[0]);
});
getByAjax("../business/ldrktjBybuilding",function(data){
initbuldingchart(data);
});
}
}
function initchart(data){
var temp=[];
console.log(data);
for(var item in data){
temp.push({value:data[item],name:item});
}
console.log(temp);
var echart = echarts.init(document.getElementById("myEchart"));
option = {
tooltip: {
trigger: 'item',
formatter: "{a} {b}: {c}<br/> ({d}%)"
},
title: {
text: '人口按年龄占比',
left: 'center',
textStyle: {
color: 'white',
fontSize: '12',
},
},
color: ['#1CBCD6', '#FF4500', 'yellow', '#FFEFD5','#A52A2A','#71C671'],
series: [
{
// name: '年龄段',
type: 'pie',
radius: ['30%', '60%'],
avoidLabelOverlap: false,
label: {
normal: {
show: false,
position: 'center'
},
emphasis: {
show: true,
textStyle: {
fontSize: '30',
fontWeight: 'bold'
}
}
},
labelLine: {
normal: {
show: false
}
},
data: temp
}
]
};
echart.setOption(option);
}
function initbuldingchart(data){
var temprk=[];
console.log(data);
$.each(data, function (index, item) {
console.log(item);
temprk.push({value:item.total,name:item.name});
});
console.log(temprk);
var echartrk = echarts.init(document.getElementById("myldrkEchart"));
option = {
tooltip: {
trigger: 'item',
formatter: "{b}:<br/> {c} ({d}%)"
},
title: {
text: '流动人口小区占比',
left: 'center',
textStyle: {
color: 'white',
fontSize: '12',
},
},
color: ['#1CBCD6', '#FF4500', 'yellow', '#FFEFD5','#A52A2A','#71C671'],
series: [
{
// name: '小区',
type: 'pie',
radius: ['40%', '60%'],
avoidLabelOverlap: false,
label: {
normal: {
show: false,
position: 'center'
},
emphasis: {
show: true,
textStyle: {
fontSize: '30',
fontWeight: 'bold'
}
}
},
labelLine: {
normal: {
show: false
}
},
data: temprk
}
]
};
echartrk.setOption(option);
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div >
<h1 class="bt_h1">事项详情</h1>
<div class="table-a" style="height:410px;overflow-y: auto;">
<ul class="wtxq-ul" style=" list-style-type: none;">
<li>
<span>用户名称:</span>
<div>
<p v-text="cxxqdata.userName"></p>
</div>
</li>
<li>
<span>地址:</span>
<div>
<p v-text="cxxqdata.address"></p>
</div>
</li>
<li>
<span>事项状态:</span>
<div>
<p v-text="cxxqdata.caseStatus"></p>
</div>
</li>
<li>
<span>事项类型:</span>
<div>
<p v-text="cxxqdata.caseType"></p>
</div>
</li>
<li>
<span>处置建议:</span>
<div>
<p v-text="cxxqdata.disposeAdvice"></p>
</div>
</li>
<li>
<span>经度:</span>
<div>
<p v-text="cxxqdata.longitude"></p>
</div>
</li>
<li>
<span>纬度:</span>
<div>
<p v-text="cxxqdata.latitude"></p>
</div>
</li>
<li>
<span>创建时间:</span>
<div>
<p v-text="cxxqdata.submitTime"></p>
</div>
</li>
<li>
<span>事项描述:</span>
<ul style="list-style-type:none;">
<li v-for="(item,index) in cxxqdata.descriptions" style="border-bottom: none;">
<p style="margin-left: 40px;">
<a style="cursor: pointer;color:white;text-decoration: underline" @click="showpicture(item.descriptionId)">
{{item.description}}
</a>
</p>
</li>
</ul>
</li>
</ul>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
cxxqdata:{id:"",address:""}
}
},
props:["title"],
methods:{
show:function(item){
this.getData(item,res=>{
this.cxxqdata=res;
});
},getData:function(item,callback){
if(item.caseStatus=="处理中"){
var buffer = incident.CaseIdentifyRequest.encode({
token: uuid(),
request: {
caseId: item.id
}
}).finish();
$.ajax({
type: "POST",
url: 'https://geothinking.club/community/v2/case/identify',
contentType: "application/json; charset=utf-8",
data: JSON.stringify({
buffer: buffer
}),
dataType: "json",
success: function(res) {
var resultDecoded = incident.CaseIdentifyResponse.decode(res.data);
(resultDecoded.response)&&( this.cxxqdata=resultDecoded.response);
callback(resultDecoded.response);
},
error: function(message) {
}
});
}else{
var buffer = incident.DisposeIdentifyRequest.encode({
token: uuid(),
request: {
disposeId:item.id
}
}).finish();
$.ajax({
type: "POST",
url: 'https://geothinking.club/community/v2/dispose/identify',
contentType: "application/json; charset=utf-8",
data: JSON.stringify({
buffer: buffer
}),
dataType: "json",
success: function(res) {
var resultDecoded = incident.DisposeIdentifyResponse.decode(res.data);
(resultDecoded.response)&&( this.cxxqdata=resultDecoded.response);
callback(resultDecoded.response);
},
error: function(message) {
}
});
}
},showpicture:function(descriptionId){
var buffer = incident.PhotosQueryRequest.encode({
token: uuid(),
request: {
descriptionId: descriptionId
}
}).finish();
$.ajax({
type: "POST",
url: 'https://geothinking.club/community/v2/photos/query',
contentType: "application/json; charset=utf-8",
data: JSON.stringify({
buffer: buffer
}),
dataType: "json",
success: function(res) {
var resultDecoded = incident.PhotosQueryResponse.decode(res.data);
if(resultDecoded.response.length>0){
var xxx=resultDecoded.response.map(element => {
return {src:element}
});
var json = { title: "照片", data:xxx };
layer.photos({
photos: json,
anim: 5
});
}else{
layer.msg("暂无照片");
}
},
error: function(message) {
}
});
}
},
computed:{
}
}
function setx(){
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.wtxq-ul li{
line-height: 42px;
float: left;
border-bottom: 1px solid #ddd;
margin-left: 20px;
width: 348px;
}
.wtxq-ul li span{
float: left;
font-size: 16px;
color: white;
width: 118px;
padding-top: 3px;
}
.wtxq-ul li div{
margin-left: 20px;
float: left;
}
.wtxq-ul li p{
float: left;
font-size: 16px;
color: white;
width: 100%;
word-wrap: break-word;
height: 40px;
margin-top: 4px;
}
</style>
<template>
<div>
<h1 class="bt_h1">食品安全</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col>
<col >
</colgroup>
<thead>
<tr style="color:#fff;" class="tr_th">
<th>安全员</th>
<th>餐饮店数量</th>
</tr>
</thead>
<tbody class="bg_tr">
<tr v-for="(item,index) in datax">
<td v-text="item.安全员"></td>
<td v-text="item.餐饮店数量"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax:[]
}
},
props:["title"],
methods:{
},
computed:{
},
mounted(){//挂载的时候执行
var that=this;
getByAjax("./rest/moduledataquery/spaq",function(data){
that.datax=JSON.parse(data[0].content);
});
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
<template>
<div class="layui-tab-item layui-show" style="color: black">
<h1 class="bt_h1">兴卫村社区党委</h1>
<div style="height: 400px;overflow:auto;">
<h2 style="color:white" >负责人信息</h2>
<table class="layui-table" style="background-color: #ece5e500;">
<tbody class="bg_tr">
<tr>
<td ></td>
<td>姓 名</td>
<td>电 话</td>
<td>职 务</td>
</tr>
<tr>
<td style="text-align:center">支部书记</td>
<td v-text="datax.ejzbsj"></td>
<td v-text="datax.sjlxfs"></td>
<td>二级支部书记</td>
</tr>
<tr>
<td style="text-align:center">委员</td>
<td v-text="datax.xzz"></td>
<td v-text="datax.lxfs"></td>
<td v-text="datax.xsdxzqk"></td>
</tr>
<tr>
<td style="text-align:center">委员</td>
<td v-text="datax.xzz1"></td>
<td v-text="datax.lxfs1"></td>
<td v-text="datax.xsdxzqk1"></td>
</tr>
</tbody>
</table>
<h2 style="color:white">基本信息</h2>
<table class="layui-table" style="background-color: #ece5e500;">
<tbody class="bg_tr">
<tr>
<td>二级支部名称</td>
<td v-text="datax.ejzb"></td>
</tr>
<tr>
<td>党组织地址</td>
<td v-text="datax.address"></td>
</tr>
<tr>
<td>人数</td>
<td v-text="datax.rs"></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
datax: {}
}
},
props:["dataxself"],
methods:{
show:function(v_data){
this.datax=v_data;
let tempxzz=this.datax.xzz.split(',');
if(tempxzz.length>0)
{
this.datax.xzz=tempxzz[0];
}
if(tempxzz.length>1)
{
this.datax.xzz1=tempxzz[1];
}
let temp2=this.datax.xsdxzqk.split(',');
if(temp2.length>0)
{
this.datax.xsdxzqk=temp2[0];
}
if(temp2.length>1)
{
this.datax.xsdxzqk1=temp2[1];
}
let templxfs=this.datax.lxfs.split(',');
if(templxfs.length>0)
{
this.datax.lxfs=templxfs[0];
}
if(temp2.length>1)
{
this.datax.lxfs1=templxfs[1];
}
}
},
computed:{
},
mounted(){//挂载的时候执行
console.log(this.dataxself);
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 8px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
.zp-div{
float:left;height:175px;width:100%;overflow-y:auto;margin-top:5px;
}
.zpk-div:hover{
box-shadow: 0 2px 10px rgba(236, 1, 1, 0.2);
transform: translate3d(0, -2px, 0);
transition: .5s;
}
.zpk-div{
width:80px;height:80px;float:left;margin-left:13px;margin-top: 10px;
}
</style>
This diff is collapsed.
<template>
<div>
<h1 class="bt_h1">物业公司详情</h1>
<div class="table-a">
<table class="layui-table" style="background-color: #ece5e500;">
<colgroup>
<col width="140">
<col width="140">
<col>
</colgroup>
<tbody class="bg_tr">
<tr>
<td>片区</td>
<td v-text="obj.pq"></td>
</tr>
<tr>
<td>物业公司名称</td>
<td v-text="obj.wygs"></td>
</tr>
<tr >
<td>项目经理 </td>
<td v-text="(obj.xmjl?obj.xmjl:'')+'('+(obj.lxdh?obj.lxdh:'')+')'"></td>
</tr>
<tr>
<td>保安主管</td>
<td v-text="obj.bazg"></td>
</tr>
<tr>
<td>保洁主管</td>
<td v-text="obj.bjzg"></td>
</tr>
<tr>
<td>保安人数</td>
<td v-text="obj.bars"></td>
</tr>
<tr>
<td>保洁人数</td>
<td v-text="obj.bjrs"></td>
</tr>
<tr>
<td>收费员</td>
<td v-text="obj.sfy"></td>
</tr>
<tr>
<td>维修员</td>
<td v-text="obj.wxy"></td>
</tr>
<tr>
<td>营业执照</td>
<td ><a @click="showPicture()" style="color:white;cursor:pointer;text-decoration:underline">查看照片</a></td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
module.exports = {
data: function() {
return {
obj:{
pq:"",wygs:"",xmjl:"",lxdh:"",bazg:"",bjzg:"",bars:"",bjrs:"",id:"",sfy:"",wxy:""
},
folderid:"",
}
},
props:["dataxself"],
methods:{
show:function(item){
debugger;
this.folderid=item.typeid;
getByAjax("./localx/areadetail/"+item.extenddata+"/"+item.id,data=>{
this.obj=data[0];
});
},
showPicture:function(){
console.log(this.obj);
if(this.obj.id){
getByAjax("./rest/queryphotos/"+this.obj.id+"/"+ this.folderid,result=>{
var json = { title: "照片", data:result };
layer.photos({
photos: json,
anim: 5
});
});
}
}
},
computed:{
}
}
</script>
<style scoped>
.bt_h1{
text-align: center;
font-size: 20px;
color: white;
font-weight: 500;
margin-top: 5px;
}
.table-a table{border:1px solid #F00}
.bg_tr tr:hover{
background-color: #ece5e500 ! important;
}
.bg_tr{
color: #fff;
}
.bg_tr td{
text-align: center;
}
.tr_th{
background: linear-gradient(#415dc0, #9aaab5);
}
.tr_th th{
text-align: center;
}
</style>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
var _0xd6d4=["\x75\x73\x65\x72","\u65E0\u6743\u9650\u8FDB\u5165","\x6D\x73\x67","\x70\x61\x72\x73\x65","\x66\x6F\x72\x6D","\x72\x65\x6E\x64\x65\x72","\x75\x73\x65","\x74\x69\x74\x6C\x65","\x61\x72\x65\x61","\x63\x6F\x6E\x74\x65\x6E\x74","\x35\x30\x70\x78","\u786E\u5B9A","\u5173\u95ED","\x63\x6C\x6F\x73\x65","\x6F\x70\x65\x6E","\x23\x62\x61\x73\x65\x6D\x61\x6E\x61\x67\x65","\u5F20\u67AB","\x31\x33\x38\x35\x31\x38\x36\x39\x35\x35\x37","\u515A\u59D4\u4E66\u8BB0","\u962E\u73B2\x09","\x31\x35\x30\x36\x32\x32\x37\x39\x32\x37\x30","\u793E\u533A\u4E3B\u4EFB","\u6574\u4F53\u9762\u79EF","\x33\x2E\x38\u5E73\u65B9\u516C\u91CC","\u603B\u623F\u680B\u6570","\x33\x34\x39","\u6237\x20\x20\x20\u6570","\x38\x30\x36\x39","\u4EBA\u53E3\u603B\u6570","\x33\x2E\x32\x32\u4E07\u4EBA","\u4F01\u4E1A\u6570","\x31\x38\x33","\u4E2A\u4F53\u6237\u6570","\x32\x39\x37","\x2E\x2E\x2F\x72\x65\x73\x74\x2F\x67\x72\x69\x64\x71\x75\x65\x72\x79\x2F\x78\x77\x73\x71","\x64\x61\x74\x61\x78","\x67\x72\x69\x64","\x6C\x65\x6E\x67\x74\x68","\u672A\u67E5\u627E\u5230\u6570\u636E","\x23\x63\x6F\x6D\x6D\x75\x6E\x69\x74\x79\x6D\x61\x6E\x61\x67\x65","\u7F16\u8F91\u7F51\u683C\u4FE1\u606F","\x66\x6F\x6E\x74\x2D\x77\x65\x69\x67\x68\x74\x3A\x20\x37\x30\x30\x3B","\x2E\x63\x6F\x6D\x6D\x75\x6E\x69\x74\x79\x62\x6A\x74\x63\x63\x2D\x64\x69\x76","\x37\x30\x30\x70\x78","\x34\x30\x30\x70\x78","\x78\x71","\x61\x73\x73\x69\x67\x6E","\u662F\u5426\u786E\u5B9A\u8981\u4FDD\u5B58\uFF1F","\u53D6\u6D88","\x2E\x2E\x2F\x65\x64\x69\x74\x2F\x75\x70\x64\x61\x74\x65\x63\x6F\x6D\x6D\x75\x6E\x69\x74\x79","\u4FDD\u5B58\u6210\u529F","\x73\x65\x74","\u4FDD\u5B58\u5931\u8D25","\x63\x6F\x6E\x66\x69\x72\x6D","\x23\x63\x6F\x6D\x6D\x75\x6E\x69\x74\x79\x5F\x65\x64\x69\x74","\x2E\x2E\x2F\x72\x65\x73\x74\x2F\x6D\x6F\x64\x75\x6C\x65\x71\x75\x65\x72\x79","\x23\x6D\x6F\x64\x75\x6C\x65\x6D\x61\x6E\x61\x67\x65","","\u7F16\u8F91\u4EBA\u5458\u4FE1\u606F","\x2E\x6D\x6F\x64\x75\x6C\x65\x62\x6A\x74\x63\x63\x2D\x64\x69\x76","\x36\x31\x30\x70\x78","\x63\x6F\x6E\x74\x65\x6E\x74\x6F\x62\x6A","\x2E\x2E\x2F\x65\x64\x69\x74\x2F\x75\x70\x64\x61\x74\x65\x6D\x6F\x64\x75\x6C\x65","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x69\x64","\x23\x6D\x6F\x64\x75\x6C\x65\x5F\x65\x64\x69\x74","\x5B\x5D"];var myUser=getCookie(_0xd6d4[0]);if(!myUser){layer[_0xd6d4[2]](_0xd6d4[1])}else {myUser= JSON[_0xd6d4[3]](myUser)};layui[_0xd6d4[6]]([_0xd6d4[4]],function(){form= layui[_0xd6d4[4]];form[_0xd6d4[5]]();querycommunity();querymodule()});function layerOpen(_0x4f82x3,_0x4f82x4){layer[_0xd6d4[14]]({type:1,title:_0x4f82x3[_0xd6d4[7]],area:_0x4f82x3[_0xd6d4[8]],content:_0x4f82x3[_0xd6d4[9]],offset:[_0xd6d4[10]],btn:[_0xd6d4[11],_0xd6d4[12]],resize:false,yes:function(_0x4f82x5,_0x4f82x6){if(_0x4f82x4){_0x4f82x4(_0x4f82x5)}else {layer[_0xd6d4[13]](_0x4f82x5)}}})}var vue_baseedit= new Vue({el:_0xd6d4[15],data:{fzrs:[{xm:_0xd6d4[16],dh:_0xd6d4[17],zw:_0xd6d4[18]},{xm:_0xd6d4[19],dh:_0xd6d4[20],zw:_0xd6d4[21]}],jbxx:[{key:_0xd6d4[22],value:_0xd6d4[23]},{key:_0xd6d4[24],value:_0xd6d4[25]},{key:_0xd6d4[26],value:_0xd6d4[27]},{key:_0xd6d4[28],value:_0xd6d4[29]},{key:_0xd6d4[30],value:_0xd6d4[31]},{key:_0xd6d4[32],value:_0xd6d4[33]}]},methods:{save:function(){alert(1)}}});function querycommunity(){getByAjax(_0xd6d4[34],(_0x4f82x9)=>{vue_communitydata[_0xd6d4[35]]= _0x4f82x9[_0xd6d4[36]];if(_0x4f82x9[_0xd6d4[37]]== 0){layer[_0xd6d4[2]](_0xd6d4[38])}})}var vue_communitydata= new Vue({el:_0xd6d4[39],data:{datax:[]},methods:{query:function(){querycommunity()},edit:function(_0x4f82xb,_0x4f82x5){var _0x4f82x3={title:[_0xd6d4[40],_0xd6d4[41]],content:$(_0xd6d4[42]),area:[_0xd6d4[43],_0xd6d4[44]]};vue_communityedit[_0xd6d4[45]]= Object[_0xd6d4[46]]({},_0x4f82xb);layerOpen(_0x4f82x3,(_0x4f82xc)=>{layer[_0xd6d4[53]](_0xd6d4[47],{btn:[_0xd6d4[11],_0xd6d4[48]]},function(_0x4f82xd){layer[_0xd6d4[13]](_0x4f82xd);postByAjax(_0xd6d4[49],vue_communityedit[_0xd6d4[45]],(_0x4f82x9)=>{if(_0x4f82x9){layer[_0xd6d4[2]](_0xd6d4[50]);Vue[_0xd6d4[51]](vue_communitydata[_0xd6d4[35]],_0x4f82x5,vue_communityedit[_0xd6d4[45]])}else {layer[_0xd6d4[2]](_0xd6d4[52])}});layer[_0xd6d4[13]](_0x4f82xc)})})}}});var vue_communityedit= new Vue({el:_0xd6d4[54],data:{xq:{}}});function querymodule(){getByAjax(_0xd6d4[55],(_0x4f82x9)=>{vue_moduledata[_0xd6d4[35]]= _0x4f82x9;if(_0x4f82x9[_0xd6d4[37]]== 0){layer[_0xd6d4[2]](_0xd6d4[38])}})}var vue_moduledata= new Vue({el:_0xd6d4[56],data:{datax:[],condition:{name:_0xd6d4[57],xb:_0xd6d4[57],zjhm:_0xd6d4[57],unrelation:false,temporary:false,party:false,expire:false},totals:0},methods:{query:function(){querymodule()},edit:function(_0x4f82xb,_0x4f82x5){var _0x4f82x3={title:[_0xd6d4[58],_0xd6d4[41]],content:$(_0xd6d4[59]),area:[_0xd6d4[43],_0xd6d4[60]]};vue_moduleedit[_0xd6d4[45]]= _0x4f82xb;vue_moduleedit[_0xd6d4[61]]= JSON[_0xd6d4[3]](vue_moduleedit[_0xd6d4[45]][_0xd6d4[9]]);layerOpen(_0x4f82x3,(_0x4f82xc)=>{layer[_0xd6d4[53]](_0xd6d4[47],{btn:[_0xd6d4[11],_0xd6d4[48]]},function(_0x4f82xd){layer[_0xd6d4[13]](_0x4f82xd);postByAjax(_0xd6d4[62],{content:JSON[_0xd6d4[63]](vue_moduleedit[_0xd6d4[61]]),id:_0x4f82xb[_0xd6d4[64]]},(_0x4f82x9)=>{if(_0x4f82x9){layer[_0xd6d4[2]](_0xd6d4[50]);vue_moduleedit[_0xd6d4[45]][_0xd6d4[9]]= JSON[_0xd6d4[63]](vue_moduleedit[_0xd6d4[61]]);Vue[_0xd6d4[51]](vue_moduledata[_0xd6d4[35]],_0x4f82x5,vue_moduleedit[_0xd6d4[45]])}else {layer[_0xd6d4[2]](_0xd6d4[52])}});layer[_0xd6d4[13]](_0x4f82xc)})})}}});var vue_moduleedit= new Vue({el:_0xd6d4[65],data:{xq:{content:_0xd6d4[66]},contentobj:null}})
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg"><symbol id="plyr-captions-off" viewBox="0 0 18 18"><path d="M1 1c-.6 0-1 .4-1 1v11c0 .6.4 1 1 1h4.6l2.7 2.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3l2.7-2.7H17c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1H1zm4.52 10.15c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41C8.47 4.96 7.46 3.76 5.5 3.76c-1.9 0-3.61 1.44-3.61 3.7 0 2.26 1.65 3.69 3.63 3.69zm7.57 0c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41c-.28-1.15-1.29-2.35-3.25-2.35-1.9 0-3.61 1.44-3.61 3.7 0 2.26 1.65 3.69 3.63 3.69z" fill-rule="evenodd" fill-opacity=".5"/></symbol><symbol id="plyr-captions-on" viewBox="0 0 18 18"><path d="M1 1c-.6 0-1 .4-1 1v11c0 .6.4 1 1 1h4.6l2.7 2.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3l2.7-2.7H17c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1H1zm4.52 10.15c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41C8.47 4.96 7.46 3.76 5.5 3.76c-1.9 0-3.61 1.44-3.61 3.7 0 2.26 1.65 3.69 3.63 3.69zm7.57 0c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41c-.28-1.15-1.29-2.35-3.25-2.35-1.9 0-3.61 1.44-3.61 3.7 0 2.26 1.65 3.69 3.63 3.69z" fill-rule="evenodd"/></symbol><symbol id="plyr-enter-fullscreen" viewBox="0 0 18 18"><path d="M10 3h3.6l-4 4L11 8.4l4-4V8h2V1h-7zM7 9.6l-4 4V10H1v7h7v-2H4.4l4-4z"/></symbol><symbol id="plyr-exit-fullscreen" viewBox="0 0 18 18"><path d="M1 12h3.6l-4 4L2 17.4l4-4V17h2v-7H1zM16 .6l-4 4V1h-2v7h7V6h-3.6l4-4z"/></symbol><symbol id="plyr-fast-forward" viewBox="0 0 18 18"><path d="M7.875 7.171L0 1v16l7.875-6.171V17L18 9 7.875 1z"/></symbol><symbol id="plyr-muted" viewBox="0 0 18 18"><path d="M12.4 12.5l2.1-2.1 2.1 2.1 1.4-1.4L15.9 9 18 6.9l-1.4-1.4-2.1 2.1-2.1-2.1L11 6.9 13.1 9 11 11.1zM3.786 6.008H.714C.286 6.008 0 6.31 0 6.76v4.512c0 .452.286.752.714.752h3.072l4.071 3.858c.5.3 1.143 0 1.143-.602V2.752c0-.601-.643-.977-1.143-.601L3.786 6.008z"/></symbol><symbol id="plyr-pause" viewBox="0 0 18 18"><path d="M6 1H3c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h3c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zM12 1c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h3c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1h-3z"/></symbol><symbol id="plyr-play" viewBox="0 0 18 18"><path d="M15.562 8.1L3.87.225C3.052-.337 2 .225 2 1.125v15.75c0 .9 1.052 1.462 1.87.9L15.563 9.9c.584-.45.584-1.35 0-1.8z"/></symbol><symbol id="plyr-restart" viewBox="0 0 18 18"><path d="M9.7 1.2l.7 6.4 2.1-2.1c1.9 1.9 1.9 5.1 0 7-.9 1-2.2 1.5-3.5 1.5-1.3 0-2.6-.5-3.5-1.5-1.9-1.9-1.9-5.1 0-7 .6-.6 1.4-1.1 2.3-1.3l-.6-1.9C6 2.6 4.9 3.2 4 4.1 1.3 6.8 1.3 11.2 4 14c1.3 1.3 3.1 2 4.9 2 1.9 0 3.6-.7 4.9-2 2.7-2.7 2.7-7.1 0-9.9L16 1.9l-6.3-.7z"/></symbol><symbol id="plyr-rewind" viewBox="0 0 18 18"><path d="M10.125 1L0 9l10.125 8v-6.171L18 17V1l-7.875 6.171z"/></symbol><symbol id="plyr-volume" viewBox="0 0 18 18"><path d="M15.6 3.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4C15.4 5.9 16 7.4 16 9c0 1.6-.6 3.1-1.8 4.3-.4.4-.4 1 0 1.4.2.2.5.3.7.3.3 0 .5-.1.7-.3C17.1 13.2 18 11.2 18 9s-.9-4.2-2.4-5.7z"/><path d="M11.282 5.282a.909.909 0 0 0 0 1.316c.735.735.995 1.458.995 2.402 0 .936-.425 1.917-.995 2.487a.909.909 0 0 0 0 1.316c.145.145.636.262 1.018.156a.725.725 0 0 0 .298-.156C13.773 11.733 14.13 10.16 14.13 9c0-.17-.002-.34-.011-.51-.053-.992-.319-2.005-1.522-3.208a.909.909 0 0 0-1.316 0zM3.786 6.008H.714C.286 6.008 0 6.31 0 6.76v4.512c0 .452.286.752.714.752h3.072l4.071 3.858c.5.3 1.143 0 1.143-.602V2.752c0-.601-.643-.977-1.143-.601L3.786 6.008z"/></symbol></svg>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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