南昌市物联网技防平台-前端
zengh
2021-07-22 310f3e332e58db24a4410533134737e20440d252
修改意见问题修复
3 files modified
42 ■■■■■ changed files
src/components/real-popup/main.vue 2 ●●● patch | view | raw | blame | history
src/views/realTimePolice/real.vue 35 ●●●●● patch | view | raw | blame | history
src/views/system/cs.vue 5 ●●●●● patch | view | raw | blame | history
src/components/real-popup/main.vue
@@ -672,7 +672,7 @@
                            setTimeout(() => {
                                that.$router.push({
                                    path: "/realTimePolice/real",
                                    query: that.form,
                                    // query: that.form,
                                });
                            }, 10);
src/views/realTimePolice/real.vue
@@ -89,6 +89,15 @@
          }}
        </el-tag>
      </template>
      <template slot-scope="{ row }" slot="alarmbs">
        <el-tag
        >{{
          row.alarmbs == "0" ? "一般警情" : row.alarmbs == "1" ? "误报警情" : row.alarmbs == "2" ? "重大警情" : "暂无"
          }}
        </el-tag>
      </template>
      <template slot-scope="{ row }" slot="cid">
        <el-tag
          >{{
@@ -359,7 +368,33 @@
            editDisplay: true,
            viewDisplay: true,
          },
          {
              label: "警情标识",
              prop: "alarmbs",
              width: 90,
              search: true,
              searchSpan: 3,
              slot: true,
              type: "select",
              dicData: [
                {
                  label: "一般警情",
                  value: "0",
                },
                {
                  label: "误报警情",
                  value: "1",
                },
                {
                  label: "严重警情",
                  value: "2",
                }
              ],
              addDisplay: false,
              editDisplay: false,
              viewDisplay: false,
            }, {
            label: "接警人",
            prop: "alarmPeople",
            width: 90,
src/views/system/cs.vue
@@ -730,6 +730,11 @@
          if (val) {
            //地址截取,从县/区开始截取,并且取从县区第一个出现的位置开始
            var address = val.formattedAddress.toString();
            //经纬度替换
            this.form.wd = val.latitude;
            this.form.jd = val.longitude; //经纬度替换
            if (address.search("县") != -1) {
              this.form.address = address.substring(
                address.indexOf("县") + 1,