| | |
| | | <el-button type="primary" size="small" @click="addFun">新 增</el-button> |
| | | <el-button type="primary" size="small" @click="approvalFun">审 批</el-button> |
| | | <el-button type="primary" size="small" @click="approveFun">批 准</el-button> |
| | | <el-upload style="display: inline-block; padding: 0 6px" :action="action" :headers="uploadHeader" |
| | | :on-error="onError" :show-file-list="false" :on-success="onSuccess"> |
| | | <el-button size="small" type="primary">导 入</el-button> |
| | | </el-upload> |
| | | <el-button size="small" type="primary" @click="$refs.importDialog.open()">导 入</el-button> |
| | | <el-button size="small" @click="openDownloadDia">导出</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | <el-button type="primary" @click="addApi" :loading="loading">确 定</el-button> |
| | | </span></template> |
| | | </el-dialog> |
| | | <import-dialog |
| | | ref="importDialog" |
| | | title="导入重大风险因素分析及控制计划" |
| | | :action="action" |
| | | accept=".xls,.xlsx" |
| | | template-url="/import-templates/重大风险因素分析及控制计划导入模板.xlsx" |
| | | template-name="重大风险因素分析及控制计划导入模板.xlsx" |
| | | :tips="['表头必须与模板一致,不能增删列或修改列名']" |
| | | @success="initData" |
| | | /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | exportSignificantRiskFactors, |
| | | } from '@/api/cnas/systemManagement/measuresDealRisks.js' |
| | | import { mapGetters } from "@/utils/store-compat"; |
| | | import ImportDialog from '@/components/ImportDialog/index.vue' |
| | | export default { |
| | | components: { ImportDialog }, |
| | | data() { |
| | | return { |
| | | dialogVisible: false, |