zhongrj
2023-11-15 f6ccd78b39f502c7daadc5434d28c6104c260c88
src/views/activitys/real.vue
@@ -64,7 +64,7 @@
        </el-button>
      </template> -->
      <!-- <template slot="menuLeft">
      <template slot="menuLeft">
        <el-button
          type="warning"
          size="mini"
@@ -73,15 +73,15 @@
          @click="handleExport"
          >导出
        </el-button>
        <el-button
        <!-- <el-button
          type="warning"
          size="mini"
          plain
          icon="el-icon-pie-chart"
          @click="handleExportStatis"
          >导出报表
        </el-button>
      </template> -->
        </el-button> -->
      </template>
      <template slot-scope="{ row }" slot="jtype">
        <el-tag
@@ -698,8 +698,8 @@
        } else {
          that.form.map = {
            formattedAddress: "",
            latitude: 28.699957,
            longitude: 115.862118,
            latitude: 35.4998344672,
            longitude: 112.867332758,
          };
        }
      },
@@ -849,6 +849,7 @@
      let that = this;
      row.time = row.timeList[0];
      row.endtime = row.timeList[1];
      // debugger
      update(row).then(
        () => {
          this.onLoad(this.page);
@@ -1358,13 +1359,13 @@
    //数据导出
    handleExport() {
      this.$confirm("是否导出实时警情数据?", "提示", {
      this.$confirm("是否导出任务数据?", "提示", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      }).then(() => {
        window.open(
          `/api/alarm/alarm/export-alarm?beginTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&waringType=${this.$route.query.waringType}&timeDesc=${this.$route.query.timeDesc}`
          `/api/taskqd/export-task?rname=${this.$route.query.rname}&jurisdiction=${this.$route.query.jurisdiction}&rtype=${this.$route.query.rtype}&tasktype=0`
        );
      });
    },