liuhaining 7 달 전
부모
커밋
b1760cd689
4개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 0
      src/pages/data/allocation/allocation.vue
  2. 2 2
      src/pages/data/scene/scene.vue
  3. 0 1
      src/store/algo/LocAlgo2.js
  4. 1 0
      src/views/tmap/t-map.vue

+ 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)