| | |
| | | handleUpdate(row) { |
| | | this.title = '文件变更申请' |
| | | this.addInfo = this.HaveJson(row) |
| | | this.file = null |
| | | this.addDialogVisible = true |
| | | }, |
| | | // 查看附件 |
| | |
| | | </div> |
| | | <div class="btns" style="padding-left: 30px;"> |
| | | <el-button v-if="addPower" size="small" type="primary" |
| | | @click="addDialogVisible = true, addInfo = {}, radio = '发放'">添加发放记录</el-button> |
| | | @click="addDialogVisible = true, addInfo = {}, radio = '发放', file = null">添加发放记录</el-button> |
| | | <el-button v-if="outPower" :loading="outLoading" size="small" type="primary" @click="handleOut">导出</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | handleUpdate(row) { |
| | | this.addInfo = this.HaveJson(row) |
| | | this.radio = '回收' |
| | | this.file = null |
| | | this.addDialogVisible = true |
| | | }, |
| | | // 审核 |
| | |
| | | </div> |
| | | <div class="btns"> |
| | | <el-button size="small" type="primary" |
| | | @click="addDialogVisible = true, addInfo = {}, currentFile = {}, title = '文件变更申请'">文件变更申请</el-button> |
| | | @click="addDialogVisible = true, addInfo = {}, currentFile = {}, title = '文件变更申请', file = null">文件变更申请</el-button> |
| | | <el-button :loading="outLoading" size="small" type="primary" @click="handleOut">导出</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | this.addInfo = this.HaveJson(row) |
| | | let alterBeforeCode = this.addInfo.alterBeforeCode |
| | | this.getCurrentFile(alterBeforeCode) |
| | | this.file = null |
| | | this.addDialogVisible = true |
| | | }, |
| | | // 预览 |
| | |
| | | <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button> |
| | | </div> |
| | | <div class="btns" style="padding-left: 30px;"> |
| | | <el-button size="small" type="primary" @click="addDialogVisible = true, addInfo = {}">文件作废申请</el-button> |
| | | <el-button size="small" type="primary" |
| | | @click="addDialogVisible = true, addInfo = {}, file = null">文件作废申请</el-button> |
| | | <el-button :loading="outLoading" size="small" type="primary" @click="handleOut">导出</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | exportOutManageRecordCheck(this.queryParams).then(res => { |
| | | this.outLoading = false |
| | | if (res.code == 201) return this.$message.error('导出失败') |
| | | let url = this.javaApi + '/word/' + res.message |
| | | let url = this.javaApi + '/word/' + res.data |
| | | this.$download.saveAs(url, '文件审批记录') |
| | | }) |
| | | }, |
| | |
| | | method: '修订', |
| | | } |
| | | this.title = '新增' |
| | | this.file = null |
| | | this.addDialogVisible = true; |
| | | }, |
| | | // 导出 |
| | |
| | | handleEdit(row) { |
| | | this.addInfo = row |
| | | this.title = '修改' |
| | | this.file = null |
| | | this.addDialogVisible = true; |
| | | }, |
| | | // 审批 |