mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	v3.5.0 修复关闭confirm提示框控制台报错问题
This commit is contained in:
		| @@ -373,7 +373,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |         }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -400,7 +400,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '${table.classComment}.xls'); |           this.downloadExcel(response, '${table.classComment}.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|         }) |         }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -104,7 +104,7 @@ export default { | |||||||
|         this.$store.dispatch('LogOut').then(() => { |         this.$store.dispatch('LogOut').then(() => { | ||||||
|           location.href = '/index'; |           location.href = '/index'; | ||||||
|         }) |         }) | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -72,7 +72,7 @@ service.interceptors.response.use(res => { | |||||||
|           // } |           // } | ||||||
|           location.href = '/index'; |           location.href = '/index'; | ||||||
|         }) |         }) | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } else if (code === 500) { |     } else if (code === 500) { | ||||||
|       Message({ |       Message({ | ||||||
|         message: msg, |         message: msg, | ||||||
|   | |||||||
| @@ -159,7 +159,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|         this.getList(); |         this.getList(); | ||||||
|         this.msgSuccess("删除成功"); |         this.msgSuccess("删除成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -239,7 +239,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|         this.getList(); |         this.getList(); | ||||||
|         this.msgSuccess("删除成功"); |         this.msgSuccess("删除成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     getUserNickname(userId) { |     getUserNickname(userId) { | ||||||
|       for (const user of this.users) { |       for (const user of this.users) { | ||||||
|   | |||||||
| @@ -434,7 +434,7 @@ export default { | |||||||
|           that.getList(); |           that.getList(); | ||||||
|           that.msgSuccess("删除成功"); |           that.msgSuccess("删除成功"); | ||||||
|         }) |         }) | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 部署按钮操作 */ |     /** 部署按钮操作 */ | ||||||
|     handleDeploy(row) { |     handleDeploy(row) { | ||||||
| @@ -448,7 +448,7 @@ export default { | |||||||
|           that.getList(); |           that.getList(); | ||||||
|           that.msgSuccess("部署成功"); |           that.msgSuccess("部署成功"); | ||||||
|         }) |         }) | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 流程表单的详情按钮操作 */ |     /** 流程表单的详情按钮操作 */ | ||||||
|     handleFormDetail(row) { |     handleFormDetail(row) { | ||||||
| @@ -500,7 +500,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|         this.getList(); |         this.getList(); | ||||||
|         this.msgSuccess(statusState + "成功"); |         this.msgSuccess(statusState + "成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导入按钮操作 */ |     /** 导入按钮操作 */ | ||||||
|     handleImport() { |     handleImport() { | ||||||
|   | |||||||
| @@ -212,7 +212,7 @@ export default { | |||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, 'API 访问日志.xls'); |         this.downloadExcel(response, 'API 访问日志.xls'); | ||||||
|         this.exportLoading = false; |         this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -214,7 +214,7 @@ export default { | |||||||
|           this.msgSuccess("修改成功"); |           this.msgSuccess("修改成功"); | ||||||
|           this.getList(); |           this.getList(); | ||||||
|         }); |         }); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -234,7 +234,7 @@ export default { | |||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, 'API 错误日志.xls'); |         this.downloadExcel(response, 'API 错误日志.xls'); | ||||||
|         this.exportLoading = false; |         this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -264,7 +264,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -282,7 +282,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '参数配置.xls'); |           this.downloadExcel(response, '参数配置.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -195,7 +195,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|         this.getList(); |         this.getList(); | ||||||
|         this.msgSuccess("删除成功"); |         this.msgSuccess("删除成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -229,7 +229,7 @@ export default { | |||||||
|           return runJob(row.id); |           return runJob(row.id); | ||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.msgSuccess("执行成功"); |           this.msgSuccess("执行成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 任务详细信息 */ |     /** 任务详细信息 */ | ||||||
|     handleView(row) { |     handleView(row) { | ||||||
| @@ -303,7 +303,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 更新状态操作 */ |     /** 更新状态操作 */ | ||||||
|     handleChangeStatus(row, open) { |     handleChangeStatus(row, open) { | ||||||
| @@ -319,7 +319,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|         this.getList(); |         this.getList(); | ||||||
|         this.msgSuccess(statusStr + "成功"); |         this.msgSuccess(statusStr + "成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -334,7 +334,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '定时任务.xls'); |           this.downloadExcel(response, '定时任务.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -173,7 +173,7 @@ export default { | |||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, '定时任务日志.xls'); |         this.downloadExcel(response, '定时任务日志.xls'); | ||||||
|         this.exportLoading = false; |         this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -430,7 +430,7 @@ export default { | |||||||
|         return exportAppExcel(params); |         return exportAppExcel(params); | ||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, '支付应用信息.xls'); |         this.downloadExcel(response, '支付应用信息.xls'); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** |     /** | ||||||
|      * 根据商户名称模糊匹配商户信息 |      * 根据商户名称模糊匹配商户信息 | ||||||
|   | |||||||
| @@ -273,7 +273,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -293,7 +293,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '支付商户信息.xls'); |           this.downloadExcel(response, '支付商户信息.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -473,7 +473,7 @@ export default { | |||||||
|         return exportOrderExcel(params); |         return exportOrderExcel(params); | ||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, '支付订单.xls'); |         this.downloadExcel(response, '支付订单.xls'); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** |     /** | ||||||
|      * 根据商户名称模糊匹配商户信息 |      * 根据商户名称模糊匹配商户信息 | ||||||
|   | |||||||
| @@ -442,7 +442,7 @@ export default { | |||||||
|         return exportRefundExcel(params); |         return exportRefundExcel(params); | ||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, '退款订单.xls'); |         this.downloadExcel(response, '退款订单.xls'); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** |     /** | ||||||
|      * 根据商户名称模糊匹配商户信息 |      * 根据商户名称模糊匹配商户信息 | ||||||
|   | |||||||
| @@ -298,7 +298,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -259,7 +259,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -274,7 +274,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '字典数据.xls'); |           this.downloadExcel(response, '字典数据.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -240,7 +240,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -260,7 +260,7 @@ export default { | |||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, '字典类型.xls'); |         this.downloadExcel(response, '字典类型.xls'); | ||||||
|         this.exportLoading = false; |         this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -233,7 +233,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|         this.getList(); |         this.getList(); | ||||||
|         this.msgSuccess("删除成功"); |         this.msgSuccess("删除成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -253,7 +253,7 @@ export default { | |||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, '错误码.xls'); |         this.downloadExcel(response, '错误码.xls'); | ||||||
|         this.exportLoading = false; |         this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -137,7 +137,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '登录日志.xls'); |           this.downloadExcel(response, '登录日志.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -320,7 +320,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -245,7 +245,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -224,7 +224,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '操作日志.xls'); |           this.downloadExcel(response, '操作日志.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -231,7 +231,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -246,7 +246,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '岗位数据.xls'); |           this.downloadExcel(response, '岗位数据.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -496,7 +496,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -511,7 +511,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '角色数据.xls'); |           this.downloadExcel(response, '角色数据.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -92,7 +92,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("强退成功"); |           this.msgSuccess("强退成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -242,7 +242,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|         this.getList(); |         this.getList(); | ||||||
|         this.msgSuccess("删除成功"); |         this.msgSuccess("删除成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -283,7 +283,7 @@ export default { | |||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, '短信日志.xls'); |         this.downloadExcel(response, '短信日志.xls'); | ||||||
|         this.exportLoading = false; |         this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 详细按钮操作 */ |     /** 详细按钮操作 */ | ||||||
|     handleView(row) { |     handleView(row) { | ||||||
|   | |||||||
| @@ -324,7 +324,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|         this.getList(); |         this.getList(); | ||||||
|         this.msgSuccess("删除成功"); |         this.msgSuccess("删除成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -344,7 +344,7 @@ export default { | |||||||
|       }).then(response => { |       }).then(response => { | ||||||
|         this.downloadExcel(response, '短信模板.xls'); |         this.downloadExcel(response, '短信模板.xls'); | ||||||
|         this.exportLoading = false; |         this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 发送短息按钮 */ |     /** 发送短息按钮 */ | ||||||
|     handleSendSms(row) { |     handleSendSms(row) { | ||||||
|   | |||||||
| @@ -236,7 +236,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -256,7 +256,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '租户.xls'); |           this.downloadExcel(response, '租户.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -589,7 +589,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -607,7 +607,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '用户数据.xls'); |           this.downloadExcel(response, '用户数据.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导入按钮操作 */ |     /** 导入按钮操作 */ | ||||||
|     handleImport() { |     handleImport() { | ||||||
|   | |||||||
| @@ -218,8 +218,7 @@ export default { | |||||||
|             '提示', |             '提示', | ||||||
|             { |             { | ||||||
|               type: 'warning' |               type: 'warning' | ||||||
|             } |             }).catch(() => {}); | ||||||
|           ) |  | ||||||
|           return |           return | ||||||
|         } |         } | ||||||
|         if (astBody[0].type === 'ExportDefaultDeclaration') { |         if (astBody[0].type === 'ExportDefaultDeclaration') { | ||||||
|   | |||||||
| @@ -381,8 +381,7 @@ export default { | |||||||
|         () => { |         () => { | ||||||
|           this.drawingList = [] |           this.drawingList = [] | ||||||
|           this.idGlobal = 100 |           this.idGlobal = 100 | ||||||
|         } |         }).catch(() => {}); | ||||||
|       ) |  | ||||||
|     }, |     }, | ||||||
|     drawingItemCopy(item, list) { |     drawingItemCopy(item, list) { | ||||||
|       let clone = deepClone(item) |       let clone = deepClone(item) | ||||||
|   | |||||||
| @@ -213,7 +213,7 @@ export default { | |||||||
|           return syncCodegenFromDB(row.id); |           return syncCodegenFromDB(row.id); | ||||||
|       }).then(() => { |       }).then(() => { | ||||||
|           this.msgSuccess("同步成功"); |           this.msgSuccess("同步成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 打开导入表弹窗 */ |     /** 打开导入表弹窗 */ | ||||||
|     openImportTable() { |     openImportTable() { | ||||||
| @@ -335,7 +335,7 @@ export default { | |||||||
|       }).then(() => { |       }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     // 取消按钮 |     // 取消按钮 | ||||||
|     cancel() { |     cancel() { | ||||||
|   | |||||||
| @@ -243,7 +243,7 @@ export default { | |||||||
|         }).then(() => { |         }).then(() => { | ||||||
|           this.getList(); |           this.getList(); | ||||||
|           this.msgSuccess("删除成功"); |           this.msgSuccess("删除成功"); | ||||||
|         }) |       }).catch(() => {}); | ||||||
|     }, |     }, | ||||||
|     /** 导出按钮操作 */ |     /** 导出按钮操作 */ | ||||||
|     handleExport() { |     handleExport() { | ||||||
| @@ -263,7 +263,7 @@ export default { | |||||||
|         }).then(response => { |         }).then(response => { | ||||||
|           this.downloadExcel(response, '字典类型.xls'); |           this.downloadExcel(response, '字典类型.xls'); | ||||||
|           this.exportLoading = false; |           this.exportLoading = false; | ||||||
|       }) |       }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV