From 69a9945103be1aef5008b597c085f095f6b67275 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期二, 14 六月 2022 14:26:31 +0800
Subject: [PATCH] 'lct'

---
 src/views/doublePreventAction/riskLevelManage/controlAction/index.vue |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/src/views/doublePreventAction/riskLevelManage/controlAction/index.vue b/src/views/doublePreventAction/riskLevelManage/controlAction/index.vue
index a2de204..6b12c45 100644
--- a/src/views/doublePreventAction/riskLevelManage/controlAction/index.vue
+++ b/src/views/doublePreventAction/riskLevelManage/controlAction/index.vue
@@ -147,6 +147,32 @@
                 <el-button type="primary" @click="submitAnalyseUnit()" v-show="ifShowSelf">确认</el-button>
             </div>
         </el-dialog>
+        <el-dialog
+            :visible.sync="importDialogFormVisible"
+            :modal-append-to-body="false"
+            :close-on-click-modal="false"
+            title="用户导入"
+            width="700px"
+        >
+            <el-form
+                ref="importForm"
+                label-position="right"
+                label-width="120px"
+                style="margin-left:50px;width:500px;"
+                element-loading-text="导入中..."
+            >
+                <el-form-item label="导入文件:">
+                    <input ref="importLabInput" type="file" accept=".xls, .xlsx" >
+                </el-form-item>
+                <el-form-item label="excel参考模板:">
+                    <el-button type="text" @click="viewHandle">下载模板</el-button>
+                </el-form-item>
+            </el-form>
+            <div slot="footer" class="dialog-footer">
+                <el-button @click="importDialogFormVisible = false">取消</el-button>
+                <el-button type="primary" @click="importToTable()">导入</el-button>
+            </div>
+        </el-dialog>
     </div>
 </template>
 
@@ -423,7 +449,7 @@
                             message: '导入成功',
                             type: 'success'
                         })
-                        this.getAnalyseUnitData()
+                        this.getRiskControlMeasureData()
                     } else {
                         parseError({ error: res.message, vm: this })
                     }

--
Gitblit v1.9.2