| | |
| | | plain |
| | | @click="handlDetails(scope.$index, scope.row)" |
| | | >{{ $t("dataApply.details") }}</el-button> |
| | | <el-button |
| | | v-show="scope.row.guid != null" |
| | | type="success" |
| | | size="mini" |
| | | plain |
| | | @click="handlDownload(scope.$index, scope.row)" |
| | | >{{ $t("common.download") }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | :title="$t('dataApply.details')" |
| | | :visible.sync="dialogDetailsVisible" |
| | | width="50%" |
| | | :before-close="handleClose" |
| | | > |
| | | <div> |
| | | <el-form |
| | |
| | | </el-table> |
| | | </div> |
| | | </el-dialog> |
| | | <iframe |
| | | id="downFrame" |
| | | src="" |
| | | style="display: none; border: 0; padding: 0; height: 0; width: 0" |
| | | ></iframe> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | apply_updateForReject, |
| | | apply_updateForResubmit, |
| | | } from "../../api/api"; |
| | | import $ from 'jquery' |
| | | import { getToken } from '@/utils/auth'; |
| | | export default { |
| | | //import引入的组件需要注入到对象中才能使用 |
| | | components: { |
| | |
| | | return this.$message.error("列表调用失败"); |
| | | } |
| | | this.detailsFrom.tableData = data1.result; |
| | | |
| | | }, |
| | | async handleReApply(index, row) { |
| | | const data = await apply_updateForResubmit({ applyid: row.id }); |
| | |
| | | this.detailsFrom.statued = row.status; |
| | | this.dialogDetailsVisible = true; |
| | | }, |
| | | async handlDownload(index, row) { |
| | | |
| | | var token = getToken() |
| | | var url = BASE_URL + "/dataLib/downloadFile?token=" + token + "&guid=" + row.guid; |
| | | $("#downFrame").attr("src", url).click(); |
| | | }, |
| | | matchState(state = "", reg) { |
| | | var row = state.row; |
| | | if ( |