| | |
| | | </el-button> |
| | | </template> --> |
| | | |
| | | <!-- <template slot="menuLeft"> |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | type="warning" |
| | | size="mini" |
| | |
| | | @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 |
| | |
| | | ], |
| | | dicData: [ |
| | | { |
| | | label: "任务开始", |
| | | label: "任务待开始", |
| | | value: "2", |
| | | }, |
| | | { |
| | |
| | | }); |
| | | }, |
| | | beforeOpen(done, type) { |
| | | this.form.timeList = []; |
| | | this.form["timeList"][0]= this.form["time"]; |
| | | this.form["timeList"][1]= this.form["endtime"]; |
| | | |
| | | // console.log(type, "this.formthis.formthis.form"); |
| | | // console.log(type); |
| | | // if (["edit", "view"].includes(type)) { |
| | |
| | | done(); |
| | | return; |
| | | } |
| | | |
| | | this.form.timeList = []; |
| | | this.form["timeList"][0]= this.form["time"]; |
| | | this.form["timeList"][1]= this.form["endtime"]; |
| | | |
| | | if (this.form.line != "" && this.form != undefined) { |
| | | this.form["haveMap"] = "已绘制路径!"; |
| | | } else { |
| | |
| | | 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=1` |
| | | ); |
| | | }); |
| | | }, |