liuhaining há 7 meses atrás
pai
commit
b1760cd689

+ 1 - 0
src/pages/data/allocation/allocation.vue

@@ -50,6 +50,7 @@
         this.goChang()
       },
       methods: {
+        // 编辑
         handleClick(row) {
           console.log(row);
 

+ 2 - 2
src/pages/data/scene/scene.vue

@@ -54,8 +54,8 @@
       methods: {
         onSubmit() {
           console.log('submit!');
-          var value = "北航测试"
-          let change = `update dat_map_zhurong set desc = "`+value+`" where name = "北航";`
+          var value = "30001,30002,30003,30006"
+          let change = `update dat_map_zhurong set  site_list = '${value}' where name = "北航";`
           let msg = {
             cmd: 'update',
             data: {

+ 0 - 1
src/store/algo/LocAlgo2.js

@@ -194,7 +194,6 @@ export default {
               }
             }
         },
-
         LocAlgo2Person(statePer,state){
                   let data = state.dataParam;
                   console.log(data)

+ 1 - 0
src/views/tmap/t-map.vue

@@ -727,6 +727,7 @@ export default {
       this.Drawline()
 
     },
+    // 画矩形图
     Drawline(){
       console.log(map.state.card_arry_x)
       console.log(map.state.card_arry_y)