| | |
| | | <el-form ref="formData" :model="formData" label-width="100px"> |
| | | <div style="padding: 10px; "> |
| | | <el-button type="primary" size="small" @click="printClick">报表打印</el-button> |
| | | <el-button type="primary" size="small" @click="printClickWeb">报表打印(网页)</el-button> |
| | | </div> |
| | | <el-table v-loading="loading" :data="printdata" ref="printTable" max-height="540" |
| | | @selection-change="handleSelectionChange" :row-class-name="rowSysIndex" border> |
| | |
| | | handlePrint() { |
| | | this.openPrint = true |
| | | }, |
| | | printClickWeb() { |
| | | const routeUrl = this.$router.resolve({ path: '/hBarPlanPrintWeb',query:{linterid:this.linterid.toString(),Type:this.Type.toString(),OpenTmp: encodeURIComponent(this.rowForm.模板名称)} }); |
| | | window.open(routeUrl.href, '_blank'); |
| | | }, |
| | | printClick() { |
| | | const routeUrl = this.$router.resolve({ path: '/hBarPlanPrint',query:{linterid:this.linterid.toString(),Type:this.Type.toString(),OpenTmp: encodeURIComponent(this.rowForm.模板名称)} }); |
| | | window.open(routeUrl.href, '_blank'); |