diff --git a/src/views/enforce/enforcementPlanAdd.vue b/src/views/enforce/enforcementPlanAdd.vue
index f311821..d5564ca 100644
--- a/src/views/enforce/enforcementPlanAdd.vue
+++ b/src/views/enforce/enforcementPlanAdd.vue
@@ -88,7 +88,7 @@
-
+
@@ -101,6 +101,7 @@ import {addEnforcementInspectionProgram,queryUserInfo} from '@/api/enforce'
import {getDict} from '../../api/Home'
import {uploadFile} from '../../util/fileUpload'
import { reactive, ref } from "vue";
+import { showConfirmDialog } from 'vant';
const { useMy } = $globalStore
const router = useRouter();
@@ -149,20 +150,24 @@ const goBack = () => {
const submit = () =>{
- // console.log(submitData);
- showSuccessToast('保存成功');
- addEnforcementInspectionProgram(submitData,success =>{
-
- console.log(success)
- //跳转企业二维码地址
- if(success.success){
- console.log("保存成功");
- showSuccessToast('保存成功');
- goBack();
- }
- },error=>{
- console.log("保存失败")
- })
+ showConfirmDialog({
+ title: '标题',
+ message: '如果解决方法是丑陋的,那就肯定还有更好的解决方法,只是还没有发现而已。',
+ }).then(() => {
+ showSuccessToast('保存成功');
+ addEnforcementInspectionProgram(submitData,success =>{
+ console.log(success)
+ //跳转企业二维码地址
+ if(success.success){
+ console.log("保存成功");
+ showSuccessToast('保存成功');
+ goBack();
+ }
+ },error=>{
+ console.log("保存失败")
+ })
+ }).catch(() => {});
+
}
//消息提醒
// const toast = showLoadingToast({
diff --git a/src/views/enterprise/enterpriseInspectionDetail.vue b/src/views/enterprise/enterpriseInspectionDetail.vue
index aaacbd7..cbe5271 100644
--- a/src/views/enterprise/enterpriseInspectionDetail.vue
+++ b/src/views/enterprise/enterpriseInspectionDetail.vue
@@ -8,29 +8,29 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+