| | |
| | | |
| | | >导出卷内目录</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-col :span="1.2"> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | |
| | | >导入模板下载</el-button> |
| | | </el-col> |
| | | |
| | | <el-col v-if="sho" :span="1.5"> |
| | | <el-col v-if="sho" :span="1.2"> |
| | | |
| | | <el-upload |
| | | action="" |
| | |
| | | |
| | | </el-upload> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-col :span="1.1"> |
| | | <el-button type="success" |
| | | plain |
| | | icon="el-icon-edit" |
| | | size="mini" |
| | | @click="handleImport" |
| | | v-hasPermi="['system:materials:edit']" |
| | | >查看附件</el-button> |
| | | </el-col> |
| | | <el-col :span="1.2"> |
| | | <el-button |
| | | v-if="sho" |
| | | type="success" |
| | |
| | | </el-upload> |
| | | </el-dialog> |
| | | </el-col> |
| | | |
| | | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | |
| | | this.download('system/materials/exportDir', { |
| | | ids: this.ids.join(','), |
| | | // exportType: 'selected' |
| | | }, `materiaDir_selected_${new Date().getTime()}.xls`) |
| | | }, this.recordStrId+ ` 卷内目录.xls`) |
| | | } else { |
| | | // 显示导出全部数据的提示 |
| | | this.$message.info('正在导出符合当前查询条件的所有数据...'); |
| | | // 没有选中行时,导出当前查询条件的数据 |
| | | this.download('system/materials/exportDir', { |
| | | ...this.queryParams |
| | | }, `materiaDir_${new Date().getTime()}.xls`) |
| | | }, this.recordStrId+` 卷内目录.xls`) |
| | | } |
| | | }, |
| | | /** 导出按钮操作 - 支持导出选中行或全部数据 */ |
| | |
| | | this.download('system/materials/export', { |
| | | ids: this.ids.join(','), |
| | | // exportType: 'selected' |
| | | }, `materials_selected_${new Date().getTime()}.xls`) |
| | | }, this.recordStrId+` 电子文件信息.xls`) |
| | | } else { |
| | | // 显示导出全部数据的提示 |
| | | this.$message.info('正在导出符合当前查询条件的所有数据...'); |
| | | // 没有选中行时,导出当前查询条件的数据 |
| | | this.download('system/materials/export', { |
| | | ...this.queryParams |
| | | }, `materials_${new Date().getTime()}.xls`) |
| | | }, this.recordStrId+` 电子文件信息.xls`) |
| | | } |
| | | }, |
| | | |
| | |
| | | // alert(userId) |
| | | // alert(this.queryParams.archiveRecordsId) |
| | | // alert(row.sysUser.userName) |
| | | this.$modal.confirm('确认要取消该用户的"' + '' + '"授权吗?').then(function() { |
| | | this.$modal.confirm('确认要取消该用户的授权吗?').then(function() { |
| | | return delArchiverecordstouserByReIdAndUid({ recordId: recordId, userId: userId }) |
| | | }).then(() => { |
| | | // this.getList() |