Lou
2023-12-13 32dd198e62dfde3f43088183df7f14bad2dbf8ec
Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_web
1 files modified
16 ■■■■ changed files
src/views/task/eCall/index.vue 16 ●●●● patch | view | raw | blame | history
src/views/task/eCall/index.vue
@@ -210,7 +210,7 @@
                //       trigger: "blur",
                //     },
                //   ],
                // },
                // },
                {
                  label: "标准地址",
                  search: true,
@@ -228,7 +228,7 @@
            formatter: (row) => {
              return row.addressName
              // if (!row.districtName) return ''
              // return row.districtName + '-' + row.unit  + row.building  + row.room
              // return row.districtName + '-' + row.unit  + row.building  + row.room
            },
            onLoad: ({ page, value, data }, callback) => {
              //首次加载去查询对应的值
@@ -267,7 +267,7 @@
              value: 'addressCode'
            }
          },
          {
            label: "现场图片",
            prop: "imageUrls",
@@ -285,7 +285,7 @@
            },
            span: 24,
          },
          {
            label: "事件简述",
            prop: "remark",
@@ -328,15 +328,15 @@
    "form.location": {
      // form是表单或者表格绑定的数据集,v-model='form'
      handler(val) {
        var that = this;
        if (val) {
        if (typeof val == "string") {
          console.log(val,7777)
          var arr = val.split(",");
          console.log(val,88888)
          //经纬度替换
          this.form.lat = arr[0];
          this.form.lng = arr[1];
          this.form.lat = arr[1];
          this.form.lng = arr[0];
          // this.form.location = arr[2];
        }
      },