Browse Source

给整站的弹窗添加(点击弹窗蒙版层不关闭弹窗):close-on-click-modal="false"

hezhihong 1 year ago
parent
commit
a4d3999691
49 changed files with 59 additions and 49 deletions
  1. 1 0
      src/components/ImageUpload/index.vue
  2. 1 1
      src/components/RightToolbar/index.vue
  3. 1 1
      src/layout/components/NormDialog/index.vue
  4. 2 1
      src/views/APICONFIG/index.vue
  5. 1 1
      src/views/BONDED/index.vue
  6. 1 1
      src/views/BONDEDUPPLY/index.vue
  7. 1 1
      src/views/COUNSELINGMESSAGE/edit.vue
  8. 1 1
      src/views/COUNSELINGMESSAGE/task/index.vue
  9. 1 1
      src/views/ECONOMICSINDEX/index.vue
  10. 1 1
      src/views/ENTERPRISESCREENDATA/index.vue
  11. 1 1
      src/views/ENTERPRISETRADEPERFORMANCE/index.vue
  12. 1 1
      src/views/GARDENBASEDATA/index.vue
  13. 1 1
      src/views/GARDENDATA/index.vue
  14. 1 1
      src/views/GARDENTRADEDATA/index.vue
  15. 3 0
      src/views/GATHER/index.vue
  16. 1 1
      src/views/GATHERWARNING/index.vue
  17. 1 1
      src/views/GXZZQ/index.vue
  18. 1 1
      src/views/IMPORTANTPROJECT/index.vue
  19. 1 1
      src/views/INTEGRAL/index.vue
  20. 1 1
      src/views/OPSERVICE/index.vue
  21. 1 0
      src/views/QUESTION/questionService.vue
  22. 1 1
      src/views/RANK/index.vue
  23. 1 1
      src/views/REGISTERTASK/index.vue
  24. 1 1
      src/views/TOTEXPAREA/index.vue
  25. 2 2
      src/views/WEBSITE/index.vue
  26. 2 2
      src/views/monitor/job/index.vue
  27. 1 1
      src/views/monitor/job/log.vue
  28. 1 1
      src/views/monitor/operlog/index.vue
  29. 1 0
      src/views/news/task/index.vue
  30. 1 1
      src/views/norm/contrast.vue
  31. 1 1
      src/views/norm/contrastConfig.vue
  32. 1 1
      src/views/norm/quotaBonded.vue
  33. 1 1
      src/views/norm/quotafee.vue
  34. 2 2
      src/views/sys/index.vue
  35. 1 1
      src/views/system/config/index.vue
  36. 1 1
      src/views/system/dept/index.vue
  37. 1 1
      src/views/system/dict/data.vue
  38. 1 1
      src/views/system/dict/index.vue
  39. 1 1
      src/views/system/menu/index.vue
  40. 1 1
      src/views/system/notice/index.vue
  41. 1 1
      src/views/system/post/index.vue
  42. 2 2
      src/views/system/role/index.vue
  43. 1 1
      src/views/system/role/selectUser.vue
  44. 2 2
      src/views/system/user/index.vue
  45. 1 1
      src/views/system/user/profile/userAvatar.vue
  46. 1 0
      src/views/task/index.vue
  47. 1 1
      src/views/tool/gen/importTable.vue
  48. 1 1
      src/views/tool/gen/index.vue
  49. 3 1
      src/views/wf/index.vue

+ 1 - 0
src/components/ImageUpload/index.vue

@@ -33,6 +33,7 @@
       title="预览"
       width="800"
       append-to-body
+      :close-on-click-modal="false"
     >
       <img
         :src="dialogImageUrl"

+ 1 - 1
src/components/RightToolbar/index.vue

@@ -11,7 +11,7 @@
         <el-button size="mini" circle icon="el-icon-menu" @click="showColumn()" />
       </el-tooltip>
     </el-row>
-    <el-dialog :title="title" :visible.sync="open" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" append-to-body>
       <el-transfer
         :titles="['显示', '隐藏']"
         v-model="value"

+ 1 - 1
src/layout/components/NormDialog/index.vue

@@ -1,6 +1,6 @@
 <template>
     <!-- 指标详情模态框 -->
-    <el-dialog :title="title" :visible.sync="openDetail" append-to-body>
+    <el-dialog :title="title" :visible.sync="openDetail" :close-on-click-modal="false" append-to-body>
         <el-form ref="form" :model="form" :rules="rules" label-width="80px">
             <el-form-item label-width="100px" label="指标分类编号">
                 <el-input v-model="form.code"></el-input>

+ 2 - 1
src/views/APICONFIG/index.vue

@@ -219,7 +219,7 @@
     />
 
     <!-- 添加或修改数据接口api配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="70%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="70%" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="100px">
         <el-form-item label="接口编号" prop="apiCode">
           <el-input
@@ -311,6 +311,7 @@
       :visible.sync="openUpload"
       width="50%"
       append-to-body
+      :close-on-click-modal="false"
     >
       <el-form
         ref="uploadForm"

+ 1 - 1
src/views/BONDED/index.vue

@@ -110,7 +110,7 @@
     />
 
     <!-- 添加或修改保税区管理对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="100px">
         <el-form-item label="保税区名称" prop="bondedName">
           <el-input

+ 1 - 1
src/views/BONDEDUPPLY/index.vue

@@ -136,7 +136,7 @@
     />
 
     <!-- 添加或修改保税区供应链数据对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="35%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="35%" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="140px">
         <el-form-item label="录单单位名称" prop="lddwmc">
           <el-input v-model="form.lddwmc"></el-input>

+ 1 - 1
src/views/COUNSELINGMESSAGE/edit.vue

@@ -34,7 +34,7 @@
       <el-button type="primary" @click="submitForm">确 定</el-button>
       <el-button @click="$layer.close(layerid)">取 消</el-button>
     </div>
-    <el-dialog :visible.sync="dialogVisible" fullscreen append-to-body @close="dialogVisible = false">
+    <el-dialog :visible.sync="dialogVisible" :close-on-click-modal="false" fullscreen append-to-body @close="dialogVisible = false">
       <img width="100%" :src="form.fileUrl" alt="" />
     </el-dialog>
   </div>

+ 1 - 1
src/views/COUNSELINGMESSAGE/task/index.vue

@@ -53,7 +53,7 @@
           </el-form-item>
         </el-form>
 
-        <el-dialog :visible="BigImgVisible" fullscreen append-to-body @close="BigImgVisible = false">
+        <el-dialog :visible="BigImgVisible" :close-on-click-modal="false" fullscreen append-to-body @close="BigImgVisible = false">
           <img width="100%" :src="taskList.formobj.fileUrl" alt="" />
         </el-dialog>
       </el-tab-pane>

+ 1 - 1
src/views/ECONOMICSINDEX/index.vue

@@ -228,7 +228,7 @@
     />
 
     <!-- 添加或修改综合保税区经济运行主要指标对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="65%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="65%" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="220px">
         <el-form-item label="进出口总值" prop="jckzz">
           <el-input v-model="form.jckzz"></el-input>

+ 1 - 1
src/views/ENTERPRISESCREENDATA/index.vue

@@ -121,7 +121,7 @@
     />
 
     <!-- 添加或修改企业大屏所需供应商数据对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="供应商类型(三种) " prop="providerType">
           <!-- <el-select v-model="form.providerType" placeholder="请选择供应商类型(三种) " filterable>

+ 1 - 1
src/views/ENTERPRISETRADEPERFORMANCE/index.vue

@@ -157,7 +157,7 @@
     />
 
     <!-- 添加或修改企业贸易绩效数据(每个月填报)对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="40%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="40%" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="180px">
         <el-form-item label="规模以上工业产值" prop="gmysgycz">
           <el-input

+ 1 - 1
src/views/GARDENBASEDATA/index.vue

@@ -202,7 +202,7 @@
     />
 
     <!-- 添加或修改园区内企业基础数据对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="35%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="35%" append-to-body>
       <el-tabs v-model="tabMsg"  type="border-card">
         <el-tab-pane name="basicMsg" label="企业基本信息">
           <el-form ref="forms" :model="form" :rules="rules" label-width="180px">

+ 1 - 1
src/views/GARDENDATA/index.vue

@@ -105,7 +105,7 @@
     />
 
     <!-- 添加或修改企业园区大屏数据对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
 
        <el-form-item label="部门名称" prop="deptId">

+ 1 - 1
src/views/GARDENTRADEDATA/index.vue

@@ -146,7 +146,7 @@
     />
 
     <!-- 添加或修改园区贸易数据对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
       </el-form>
       <div slot="footer" class="dialog-footer">

+ 3 - 0
src/views/GATHER/index.vue

@@ -399,6 +399,7 @@
       :visible.sync="openUpload"
       width="50%"
       append-to-body
+      :close-on-click-modal="false"
     >
       <el-form
         ref="uploadForm"
@@ -456,6 +457,7 @@
       :visible.sync="open"
       width="50%"
       append-to-body
+      :close-on-click-modal="false"
     >
       <el-tabs
         v-if="this.form.type == 0"
@@ -550,6 +552,7 @@
       :visible.sync="openDetail"
       width="50%"
       append-to-body
+      :close-on-click-modal="false"
     >
       <el-tabs
         v-if="this.form.type == 0"

+ 1 - 1
src/views/GATHERWARNING/index.vue

@@ -185,7 +185,7 @@
     />
 
     <!-- 添加或修改数据采集预警对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="150px">
 <!--        <el-form-item label="数据类型(0=量化指标数据,1=月报表数据)" prop="type">-->
 <!--          <el-select v-model="form.type" placeholder="请选择数据类型(0=量化指标数据,1=月报表数据)" filterable>-->

+ 1 - 1
src/views/GXZZQ/index.vue

@@ -121,7 +121,7 @@
     />
 
     <!-- 添加或修改广西自治区数据对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="35%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="35%" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="100px">
         <el-form-item label="年份" prop="year">
           <el-date-picker

+ 1 - 1
src/views/IMPORTANTPROJECT/index.vue

@@ -191,7 +191,7 @@
     />
 
     <!-- 添加或修改重点项目数据							 对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="35%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="35%" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="180px">
         <el-form-item label="项目名称" prop="xmmc">
           <el-input v-model="form.xmmc" placeholder="请输入项目名称"></el-input>

+ 1 - 1
src/views/INTEGRAL/index.vue

@@ -170,7 +170,7 @@
     />
 
     <!-- 添加或修改保税区积分对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="50%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="50%" append-to-body>
       <el-table  :data="form.feeVoList">
         <el-table-column label="采集指标名称" align="center" prop="normfeeName">
           <template slot-scope="scope">

+ 1 - 1
src/views/OPSERVICE/index.vue

@@ -67,7 +67,7 @@
     <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
 
     <!-- 添加或修改运营服务对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="600px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="文件" prop="linkUrl">
           <el-upload :http-request="httprequest" :before-upload="uploadFile" :limit="1" class="upload-demo" action="#" :auto-upload="true" :on-change="handleChange" :file-list="fileList">

+ 1 - 0
src/views/QUESTION/questionService.vue

@@ -112,6 +112,7 @@
           :visible="BigImgVisible"
           fullscreen
           append-to-body
+          :close-on-click-modal="false"
           @close="BigImgVisible = false"
         >
           <img width="100%" :src="taskList.formobj.picture" alt="" />

+ 1 - 1
src/views/RANK/index.vue

@@ -109,7 +109,7 @@
     />
 
     <!-- 添加或修改广西保税区排名对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item prop="deptId"  label-width="100px" label="保税区名称">
           <el-select v-model="form.deptId" filterable default-first-option clearable placeholder="请选择保税区">

+ 1 - 1
src/views/REGISTERTASK/index.vue

@@ -110,7 +110,7 @@
             </el-col>
           </el-row>
         </el-form>
-        <el-dialog :visible="BigImgVisible" fullscreen append-to-body @close="BigImgVisible = false">
+        <el-dialog :visible="BigImgVisible" :close-on-click-modal="false" fullscreen append-to-body @close="BigImgVisible = false">
           <img width="100%" :src="getFormobjAttribute('fileUrl')" alt="" />
         </el-dialog>
       </el-tab-pane>

+ 1 - 1
src/views/TOTEXPAREA/index.vue

@@ -94,7 +94,7 @@
     />
 
     <!-- 添加或修改自治区数据对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item prop="year" label-width="120px" label="年份">
           <el-input v-model="form.year" placeholder="请输入年份"></el-input>

+ 2 - 2
src/views/WEBSITE/index.vue

@@ -70,7 +70,7 @@
     <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
 
     <!-- 添加或修改网站管理对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="600px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="100px">
         <el-row>
           <el-col :span="12">
@@ -131,7 +131,7 @@
       </div>
     </el-dialog>
 
-    <el-dialog :visible.sync="dialogVisible" fullscreen append-to-body @close="dialogVisible = false">
+    <el-dialog :visible.sync="dialogVisible" :close-on-click-modal="false" fullscreen append-to-body @close="dialogVisible = false">
       <img width="100%" :src="form.topPicture" alt="" />
     </el-dialog>
     <el-dialog :visible.sync="dialogVisible2" fullscreen append-to-body @close="dialogVisible2 = false">

+ 2 - 2
src/views/monitor/job/index.vue

@@ -154,7 +154,7 @@
     />
 
     <!-- 添加或修改定时任务对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="800px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="120px">
         <el-row>
           <el-col :span="12">
@@ -238,7 +238,7 @@
       </div>
     </el-dialog>
 
-    <el-dialog title="Cron表达式生成器" :visible.sync="openCron" append-to-body destroy-on-close class="scrollbar">
+    <el-dialog title="Cron表达式生成器" :visible.sync="openCron" :close-on-click-modal="false" append-to-body destroy-on-close class="scrollbar">
       <crontab @hide="openCron=false" @fill="crontabFill" :expression="expression"></crontab>
     </el-dialog>
 

+ 1 - 1
src/views/monitor/job/log.vue

@@ -144,7 +144,7 @@
     />
 
     <!-- 调度日志详细 -->
-    <el-dialog title="调度日志详细" :visible.sync="open" width="700px" append-to-body>
+    <el-dialog title="调度日志详细" :visible.sync="open" :close-on-click-modal="false" width="700px" append-to-body>
       <el-form ref="form" :model="form" label-width="100px" size="mini">
         <el-row>
           <el-col :span="12">

+ 1 - 1
src/views/monitor/operlog/index.vue

@@ -146,7 +146,7 @@
     />
 
     <!-- 操作日志详细 -->
-    <el-dialog title="操作日志详细" :visible.sync="open" width="700px" append-to-body>
+    <el-dialog title="操作日志详细" :visible.sync="open" :close-on-click-modal="false" width="700px" append-to-body>
       <el-form ref="form" :model="form" label-width="100px" size="mini">
         <el-row>
           <el-col :span="12">

+ 1 - 0
src/views/news/task/index.vue

@@ -76,6 +76,7 @@
           :visible="BigImgVisible"
           fullscreen
           append-to-body
+          :close-on-click-modal="false"
           @close="BigImgVisible = false"
         >
           <img width="100%" :src="taskList.formobj.picture" alt="" />

+ 1 - 1
src/views/norm/contrast.vue

@@ -98,7 +98,7 @@
     />
 
     <!-- 添加或修改对比模型公式对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
       </el-form>
       <div slot="footer" class="dialog-footer">

+ 1 - 1
src/views/norm/contrastConfig.vue

@@ -94,7 +94,7 @@
     />
 
     <!-- 添加或修改对比模型参数配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
       </el-form>
       <div slot="footer" class="dialog-footer">

+ 1 - 1
src/views/norm/quotaBonded.vue

@@ -167,7 +167,7 @@
     />
 
     <!-- 添加或修改辅助指标-综保区对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="900px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="900px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules">
         <el-form-item label-width="100px" label="保税区" prop="bondedName">
           <el-select

+ 1 - 1
src/views/norm/quotafee.vue

@@ -92,7 +92,7 @@
       />
 
       <!-- 添加或修改辅助指标明细对话框 -->
-      <el-dialog :title="title" :visible.sync="open" width="900px" append-to-body>
+      <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="900px" append-to-body>
         <el-form ref="form" :model="form" :rules="rules" label-width="80px">
 
           <el-form-item label-width="100px" prop="normId" label="指标分类">

+ 2 - 2
src/views/sys/index.vue

@@ -25,7 +25,7 @@
     <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
 
     <!-- 添加或修改系统管理对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="120px">
         <el-form-item label="系统名称">
           <el-input v-model="form.systemName" placeholder="请输入系统名称" maxlength="13"></el-input>
@@ -55,7 +55,7 @@
       </div>
     </el-dialog>
 
-    <el-dialog :visible.sync="dialogVisible" fullscreen append-to-body @close="dialogVisible = false">
+    <el-dialog :visible.sync="dialogVisible" :close-on-click-modal="false" fullscreen append-to-body @close="dialogVisible = false">
       <img width="100%" :src="form.systemPicture" alt="" />
     </el-dialog>
   </div>

+ 1 - 1
src/views/system/config/index.vue

@@ -148,7 +148,7 @@
     />
 
     <!-- 添加或修改参数配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="参数名称" prop="configName">
           <el-input v-model="form.configName" placeholder="请输入参数名称" />

+ 1 - 1
src/views/system/dept/index.vue

@@ -97,7 +97,7 @@
     </el-table>
 
     <!-- 添加或修改部门对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="600px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-row>
           <el-col :span="24" v-if="form.parentId !== 0">

+ 1 - 1
src/views/system/dict/data.vue

@@ -141,7 +141,7 @@
     />
 
     <!-- 添加或修改参数配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="字典类型">
           <el-input v-model="form.dictType" :disabled="true" />

+ 1 - 1
src/views/system/dict/index.vue

@@ -158,7 +158,7 @@
     />
 
     <!-- 添加或修改参数配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="字典名称" prop="dictName">
           <el-input v-model="form.dictName" placeholder="请输入字典名称" />

+ 1 - 1
src/views/system/menu/index.vue

@@ -103,7 +103,7 @@
     </el-table>
 
     <!-- 添加或修改菜单对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="680px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="680px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="100px">
         <el-row>
           <el-col :span="24">

+ 1 - 1
src/views/system/notice/index.vue

@@ -123,7 +123,7 @@
     />
 
     <!-- 添加或修改公告对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="780px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="780px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-row>
           <el-col :span="12">

+ 1 - 1
src/views/system/post/index.vue

@@ -124,7 +124,7 @@
     />
 
     <!-- 添加或修改岗位对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="岗位名称" prop="postName">
           <el-input v-model="form.postName" placeholder="请输入岗位名称" />

+ 2 - 2
src/views/system/role/index.vue

@@ -159,7 +159,7 @@
     />
 
     <!-- 添加或修改角色配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="100px">
         <el-form-item label="角色名称" prop="roleName">
           <el-input v-model="form.roleName" placeholder="请输入角色名称" />
@@ -211,7 +211,7 @@
     </el-dialog>
 
     <!-- 分配角色数据权限对话框 -->
-    <el-dialog :title="title" :visible.sync="openDataScope" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="openDataScope" :close-on-click-modal="false" width="500px" append-to-body>
       <el-form :model="form" label-width="80px">
         <el-form-item label="角色名称">
           <el-input v-model="form.roleName" :disabled="true" />

+ 1 - 1
src/views/system/role/selectUser.vue

@@ -1,6 +1,6 @@
 <template>
   <!-- 授权用户 -->
-  <el-dialog title="选择用户" :visible.sync="visible" width="800px" top="5vh" append-to-body>
+  <el-dialog title="选择用户" :visible.sync="visible" :close-on-click-modal="false" width="800px" top="5vh" append-to-body>
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
       <el-form-item label="用户名称" prop="userName">
         <el-input

+ 2 - 2
src/views/system/user/index.vue

@@ -205,7 +205,7 @@
     </el-row>
 
     <!-- 添加或修改用户配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="600px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-row>
           <el-col :span="12">
@@ -312,7 +312,7 @@
     </el-dialog>
 
     <!-- 用户导入对话框 -->
-    <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+    <el-dialog :title="upload.title" :visible.sync="upload.open" :close-on-click-modal="false" width="400px" append-to-body>
       <el-upload
         ref="upload"
         :limit="1"

+ 1 - 1
src/views/system/user/profile/userAvatar.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <div class="user-info-head" @click="editCropper()"><img v-bind:src="options.img" title="点击上传头像" class="img-circle img-lg" /></div>
-    <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body @opened="modalOpened"  @close="closeDialog">
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="800px" append-to-body @opened="modalOpened"  @close="closeDialog">
       <el-row>
         <el-col :xs="24" :md="12" :style="{height: '350px'}">
           <vue-cropper

+ 1 - 0
src/views/task/index.vue

@@ -135,6 +135,7 @@
         width="60%"
         :title="subTitle + '审核'"
         :visible.sync="innerVisible"
+        :close-on-click-modal="false"
         append-to-body
         center
         @close="qx()"

+ 1 - 1
src/views/tool/gen/importTable.vue

@@ -1,6 +1,6 @@
 <template>
   <!-- 导入表 -->
-  <el-dialog title="导入表" :visible.sync="visible" width="800px" top="5vh" append-to-body>
+  <el-dialog title="导入表" :visible.sync="visible" :close-on-click-modal="false" width="800px" top="5vh" append-to-body>
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
       <el-form-item label="表名称" prop="tableName">
         <el-input

+ 1 - 1
src/views/tool/gen/index.vue

@@ -166,7 +166,7 @@
       @pagination="getList"
     />
     <!-- 预览界面 -->
-    <el-dialog :title="preview.title" :visible.sync="preview.open" width="80%" top="5vh" append-to-body class="scrollbar">
+    <el-dialog :title="preview.title" :visible.sync="preview.open" :close-on-click-modal="false" width="80%" top="5vh" append-to-body class="scrollbar">
       <el-tabs v-model="preview.activeName">
         <el-tab-pane
           v-for="(value, key) in preview.data"

+ 3 - 1
src/views/wf/index.vue

@@ -135,7 +135,7 @@
     />
 
     <!-- 添加或修改流程模板对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="60%" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="60%" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="140px">
         <el-form-item label="流程编码" prop="procode">
           <el-input
@@ -193,6 +193,7 @@
     <el-dialog
       title="流程节点"
       :visible.sync="openProname"
+      :close-on-click-modal="false"
       width="90%"
       append-to-body
     >
@@ -272,6 +273,7 @@
     <el-dialog
       :title="Protitle"
       :visible.sync="openProAddOrEdit"
+      :close-on-click-modal="false"
       width="60%"
       append-to-body
     >