Procházet zdrojové kódy

申请职位确认

gcz před 2 roky
rodič
revize
a54adb832b

+ 9 - 2
src/views/CooperativeEnterprise/EnterprisePosition/EnterprisePositionIndex.vue

@@ -3,7 +3,7 @@
  * @Author: gcz
  * @Date: 2022-08-23 15:06:48
  * @LastEditors: gcz
- * @LastEditTime: 2022-08-24 10:38:44
+ * @LastEditTime: 2022-08-25 18:00:22
  * @FilePath: \veterans_client_web\src\views\CooperativeEnterprise\EnterprisePosition\EnterprisePositionIndex.vue
  * @Copyright: Copyright (c) 2016~2022 by gcz, All Rights Reserved. 
 -->
@@ -200,11 +200,18 @@ export default {
       }   
     },
     applyJob(){
-      applyJob({postId:this.positionId}).then(res=>{
+      this.$confirm("您确认申请该职位吗?", "提示", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      }).then(()=>{
+        applyJob({postId:this.positionId}).then(res=>{
           if(res.code==200){
             this.showTipPopup = true
           }
         })
+      })
+      
     }
   },
 };