zengh
2022-02-11 de5bee9f351594a1c110b153885f5641e4e6b4cd
路线导航
3 files modified
10 ■■■■ changed files
public/map/index.html 4 ●●●● patch | view | raw | blame | history
public/map/widgets/task/task.js 3 ●●●● patch | view | raw | blame | history
src/views/activitys/policeTracking.vue 3 ●●●● patch | view | raw | blame | history
public/map/index.html
@@ -43,10 +43,10 @@
    if(ISinit == null){
      init(openId,null);
    }
    function locations() {
    function locations(res) {
      require(["dojo/topic"],
        function (topic) {
        topic.publish("location", "2323");
        topic.publish("location", res);
      }
      );
    }
public/map/widgets/task/task.js
@@ -189,8 +189,7 @@
      return (document.location.search.match(new RegExp("(?:^\\?|&)" + key + "=(.*?)(?=&|$)")) || ['', null])[1];
    },
    location: function (ces) {
      debugger
      alert("@3232")
      alert(ces)
    },
    open: function () {
      var that = this;
src/views/activitys/policeTracking.vue
@@ -396,7 +396,8 @@
    methods: {
      rowclick(row, column, event){
        var iframe = window.document.getElementById("mapDiv");
        iframe.contentWindow.locations();
        // console.log(row);
        iframe.contentWindow.locations(row.id);
      },
      onSubmit() {
        var that = this;