瀏覽代碼

24进博展数据更新

13127578837 9 月之前
父節點
當前提交
4fa94d429b
共有 5 個文件被更改,包括 212 次插入131 次删除
  1. 2 1
      proxy-dev.js
  2. 0 1
      src/components/mixins/map-data1.js
  3. 6 23
      src/components/unitBox/index.vue
  4. 0 1
      src/http/api.js
  5. 204 105
      src/views/security-plan.vue

+ 2 - 1
proxy-dev.js

@@ -29,7 +29,8 @@ module.exports = {
         },
         "/api": { //和mhapi互换
             // 原有api
-                // target: 'http://32.0.15.107:8080/api/', //杨强闵行
+            //     target: 'http://32.0.15.107:8080/api/', //杨强闵行
+            // target: 'http://32.0.15.107:8080/api',
             target: 'http://10.236.244.108:8083/api',
             ws: true, // 代理websockets
             changeOrigin: true,

+ 0 - 1
src/components/mixins/map-data1.js

@@ -1639,7 +1639,6 @@ export default {
                     // console.log(query[i].mapGridName)
                     queryName = queryName ? `${queryName},'${query[i].mapGridName}'` : `'${query[i].mapGridName}'`
                 }
-
                 // queryName = queryName + ",'涞港星苑筹备组','爱博四村居委','爱博五村居委','爱博二村居委','爱博一村居委','爱博三村居委','万科润园居委','华美路一居委','华美路二居委','沙茂居委','航华一村2居委','航华一村5居委','航华一村7居委','航华一村6居委'"
                 // console.log(queryName)
                 setTimeout(() => {

+ 6 - 23
src/components/unitBox/index.vue

@@ -31,12 +31,11 @@
         </el-row>
     </div> 
 
-     
 
     <!-- 养老  医疗机构清单 表格 -->
     <!-- <div>{{ arrayData }}</div> -->
-    <div class="rightBotContent" v-else-if="typeValue==29||typeValue==30" style="margin-top:15px;height: calc(100% - .7rem)">
-        <el-table  ref="reportTable" height="100%" :data="arrayData"  class="transparentTableRow" style="width: 100%"
+    <div class="rightBotContent" v-if="typeValue==29||typeValue==30" style="margin-top:15px;">
+        <el-table  ref="reportTable"  :data="arrayData"  class="transparentTableRow" style="width: 100%;height: 24vh;overflow: scroll"
             @mouseenter="autoScroll(true)" @mouseleave="autoScroll()">
             <el-table-column align="left" label="单位名称" prop="facilityName" show-overflow-tooltip></el-table-column>
             <!-- <el-table-column align="left" label="设施类型"  prop="facilityType"></el-table-column> -->
@@ -98,13 +97,8 @@
    
 
 </template>
-
 <script>
-
 import linstener from "@c/mixins/linstener";
-
-
-
 import bar from "@c/bar/index2";
 export default {
     mixins: [linstener],
@@ -114,7 +108,6 @@ export default {
         arrayData:{ type: Array, default: () => [] },
         staticData:{type: Object, default: () => {} },
         type:{type:Number}
-
     },
     mixins: [linstener],
     data() {
@@ -277,21 +270,11 @@ export default {
         };
     },
     watch: {
-       "props.typeValue" :function(val){
-        alert(val)
-        // console.log(this.staticData)
-
+        typeValue(val){
+            console.log("typeValue",val,this.typeValue)
+            // this.typeValue = val
+            // console.log(this.typeValue)
         }
-
-    },
-    mounted() {
-
-    },
-    created() {
-        setTimeout(() => {
-            this.autoScroll()
-
-        }, 2000)
     },
     methods: {
         staticsPoint(val){

+ 0 - 1
src/http/api.js

@@ -1,5 +1,4 @@
 let api = {
-    // dt: "/api/atlas/encrypt", //地图跨域
     // dt: "/api/atlas/encrypt", //地图跨域
     dt: "/prod-api/service-fire/atlas/encrypt", //地图跨域
     sp: "/video-api/kiop-gateway-core/4G/device/ext", //视频

+ 204 - 105
src/views/security-plan.vue

@@ -1157,107 +1157,206 @@ export default {
 
             // 大中网格数据渲染 start
             tableDataGrid:[],
-            tableDataBigGrid:[{
-                    id: '闵S1(华漕网格)',
-                    count1: '1361',
-                    count2: '499',
-                    count3: '355',
-                },
-                {
-                    id: '闵S2(新虹网格)',
-                    count1: '1674',
-                    count2: '564',
-                    count3: '491',
-                },
-                {
-                    id: '闵S3(七宝网格)',
-                    count1: '1585',
-                    count2: '487',
-                    count3: '391',
-                },{
-                    id: '闵S4(虹桥网格)',
-                    count1: '1412',
-                    count2: '577',
-                    count3: '402',
-                }],
-
-
-
-
+            tableDataBigGrid:[
+                // 2023
+                // {
+                // id: '闵S1(华漕网格)',
+                // count1: '1361',
+                // count2: '499',
+                // count3: '355',
+                // },
+                // {
+                // id: '闵S2(新虹网格)',
+                // count1: '1674',
+                // count2: '564',
+                // count3: '491',
+                // },
+                // {
+                // id: '闵S3(七宝网格)',
+                // count1: '1585',
+                // count2: '487',
+                // count3: '391',
+                // },{
+                // id: '闵S4(虹桥网格)',
+                // count1: '1412',
+                // count2: '577',
+                // count3: '402',
+                // }
 
-            
-            tableDataMiddleGrid:[{
-                    id: '闵S1-1(华漕网格)',
-                    count1: '225',
-                    count2: '90',
-                    count3: '66',
-                },
-                {
-                    id: '闵S1-2(华漕网格)',
-                    count1: '141',
-                    count2: '57',
-                    count3: '44',
-                },
-                {
-                    id: '闵S1-3(华漕网格)',
-                    count1: '164',
-                    count2: '58',
-                    count3: '39',
-                },{
-                    id: '闵S1-4(华漕网格)',
-                    count1: '537',
-                    count2: '197',
-                    count3: '130',
-                },{
-                    id: '闵S1-5(华漕网格)',
-                    count1: '253',
-                    count2: '83',
-                    count3: '66',
-                },{
-                    id: '闵S2-1(新虹网格)',
-                    count1: '627',
-                    count2: '138',
-                    count3: '93',
-                },{
-                    id: '闵S2-2(新虹网格)',
-                    count1: '225',
-                    count2: '111',
-                    count3: '104',
-                },{
-                    id: '闵S2-3(新虹网格)',
-                    count1: '395',
-                    count2: '78',
-                    count3: '76',
-                },{
-                    id: '闵S2-4(新虹网格)',
-                    count1: '425',
-                    count2: '253',
-                    count3: '196',
-                },{
-                    id: '闵S3-1(七宝网格)',
-                    count1: '394',
-                    count2: '158',
-                    count3: '105',
-                },{
-                    id: '闵S3-2(七宝网格)',
-                    count1: '171',
-                    count2: '48',
-                    count3: '34',
-                },{
-                    id: '闵S3-3(七宝网格)',
-                    count1: '344',
-                    count2: '306',
-                    count3: '131',
-                },{
-                     id: '闵S4-1(虹桥网格)',
-                    count1: '893',
-                    count2: '346',
-                    count3: '272',
-                },{ id: '闵S4-2(虹桥网格)',
-                    count1: '499',
-                    count2: '125',
-                    count3: '115',
-                }],
+                // 2024
+                {
+                    id: '闵S1(华漕网格)',
+                    count1: '1117',
+                    count2: '342',
+                    count3: '203',
+                },
+                {
+                    id: '闵S2(新虹网格)',
+                    count1: '798',
+                    count2: '141',
+                    count3: '122',
+                },
+                {
+                    id: '闵S3(七宝网格)',
+                    count1: '1264',
+                    count2: '300',
+                    count3: '244',
+                },
+                {
+                    id: '闵S4(虹桥网格)',
+                    count1: '918',
+                    count2: '264',
+                    count3: '217',
+                }
+        ],
+        tableDataMiddleGrid:[
+            // 2023
+                // {
+                // id: '闵S1-1(华漕网格)',
+                // count1: '225',
+                // count2: '90',
+                // count3: '66',
+                // },
+                // {
+                // id: '闵S1-2(华漕网格)',
+                // count1: '141',
+                // count2: '57',
+                // count3: '44',
+                // },
+                // {
+                // id: '闵S1-3(华漕网格)',
+                // count1: '164',
+                // count2: '58',
+                // count3: '39',
+                // },{
+                // id: '闵S1-4(华漕网格)',
+                // count1: '537',
+                // count2: '197',
+                // count3: '130',
+                // },{
+                // id: '闵S1-5(华漕网格)',
+                // count1: '253',
+                // count2: '83',
+                // count3: '66',
+                // },{
+                // id: '闵S2-1(新虹网格)',
+                // count1: '627',
+                // count2: '138',
+                // count3: '93',
+                // },{
+                // id: '闵S2-2(新虹网格)',
+                // count1: '225',
+                // count2: '111',
+                // count3: '104',
+                // },{
+                // id: '闵S2-3(新虹网格)',
+                // count1: '395',
+                // count2: '78',
+                // count3: '76',
+                // },{
+                // id: '闵S2-4(新虹网格)',
+                // count1: '425',
+                // count2: '253',
+                // count3: '196',
+                // },{
+                // id: '闵S3-1(七宝网格)',
+                // count1: '394',
+                // count2: '158',
+                // count3: '105',
+                // },{
+                // id: '闵S3-2(七宝网格)',
+                // count1: '171',
+                // count2: '48',
+                // count3: '34',
+                // },{
+                // id: '闵S3-3(七宝网格)',
+                // count1: '344',
+                // count2: '306',
+                // count3: '131',
+                // },{
+                // id: '闵S4-1(虹桥网格)',
+                // count1: '893',
+                // count2: '346',
+                // count3: '272',
+                // },{ id: '闵S4-2(虹桥网格)',
+                // count1: '499',
+                // count2: '125',
+                // count3: '115',
+                // }
+                // 2024
+                {
+                    id: '闵S1-1(华漕网格)',
+                    count1: '109',
+                    count2: '48',
+                    count3: '28',
+                },
+                {
+                    id: '闵S1-2(华漕网格)',
+                    count1: '97',
+                    count2: '44',
+                    count3: '27',
+                },
+                {
+                    id: '闵S1-3(华漕网格)',
+                    count1: '156',
+                    count2: '47',
+                    count3: '32',
+                },{
+                    id: '闵S1-4(华漕网格)',
+                    count1: '434',
+                    count2: '126',
+                    count3: '68',
+                },{
+                    id: '闵S1-5(华漕网格)',
+                    count1: '269',
+                    count2: '66',
+                    count3: '39',
+                },{
+                    id: '闵S2-1(新虹网格)',
+                    count1: '282',
+                    count2: '44',
+                    count3: '39',
+                },{
+                    id: '闵S2-2(新虹网格)',
+                    count1: '122',
+                    count2: '51',
+                    count3: '48',
+                },{
+                    id: '闵S2-3(新虹网格)',
+                    count1: '180',
+                    count2: '23',
+                    count3: '23',
+                },{
+                    id: '闵S2-4(新虹网格)',
+                    count1: '214',
+                    count2: '146',
+                    count3: '107',
+                },{
+                    id: '闵S3-1(七宝网格)',
+                    count1: '316',
+                    count2: '92',
+                    count3: '75',
+                },{
+                    id: '闵S3-2(七宝网格)',
+                    count1: '243',
+                    count2: '47',
+                    count3: '33',
+                },{
+                    id: '闵S3-3(七宝网格)',
+                    count1: '701',
+                    count2: '159',
+                    count3: '136',
+                },{
+                    id: '闵S4-1(虹桥网格)',
+                    count1: '642',
+                    count2: '79',
+                    count3: '64',
+                },{ id: '闵S4-2(虹桥网格)',
+                    count1: '271',
+                    count2: '61',
+                    count3: '58',
+                }
+            ],
 
 
             tableDataBasic:[
@@ -1896,7 +1995,7 @@ export default {
         // this.anbao(null, 3);//大网格
         this.dwgjcmcAndhzzx()//大网格名称及会展中心 
         // this.anbaoMap()
-        this.getFireSiteDuty(); //各站点执勤实力
+        // this.getFireSiteDuty(); //各站点执勤实力
         this.selectVideo(); //视频在线
         // this.sadianSelect(this.checkedArray.checkedData[0]);  //撒点
         this.getStaticData(this.value111)   //疏导区社会单位情况统计
@@ -3093,14 +3192,14 @@ export default {
                                         }
                                         if (data[i].gridMemderViceList[ii].personnelType == 5) {
                                             if (gridData[i].type3) {
-                                                gridData[i].type3 = `${gridData[i].type3}</br>                           ${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
+                                                gridData[i].type3 = `${gridData[i].type3}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
                                             } else {
                                                 gridData[i].type3 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
                                             }
                                         }
                                         if (data[i].gridMemderViceList[ii].personnelType == 6) {
                                             if (gridData[i].type4) {
-                                                gridData[i].type4 = `${gridData[i].type4}</br>                               ${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
+                                                gridData[i].type4 = `${gridData[i].type4}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
                                             } else {
                                                 gridData[i].type4 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
                                             }
@@ -3123,7 +3222,7 @@ export default {
                                         }
                                         if (data[i].gridMemderViceList[ii].personnelType == 9) {
                                             if (gridData[i].type3) {
-                                                gridData[i].type3 = `${gridData[i].type3}</br>                           ${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
+                                                gridData[i].type3 = `${gridData[i].type3}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
                                             } else {
                                                 gridData[i].type3 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
                                             }
@@ -3132,7 +3231,7 @@ export default {
                                     if (id == 16) {
                                         if (data[i].gridMemderViceList[ii].personnelType == 10) {
                                             if (gridData[i].type1) {
-                                                gridData[i].type1 = `${gridData[i].type1}</br>                           ${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
+                                                gridData[i].type1 = `${gridData[i].type1}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
                                             } else {
                                                 gridData[i].type1 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
                                             }