From 3a45da15c947c2d478a44a51bd0f926647b1b841 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 11 四月 2025 16:33:17 +0800
Subject: [PATCH] 提交

---
 company/src/components/enterprise/confirmJobType.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/company/src/components/enterprise/confirmJobType.vue b/company/src/components/enterprise/confirmJobType.vue
index b371ad2..638a430 100644
--- a/company/src/components/enterprise/confirmJobType.vue
+++ b/company/src/components/enterprise/confirmJobType.vue
@@ -55,15 +55,18 @@
         methods: {
             open (title, arr) {
                 this.title = title
+                this.dw = ''
+                this.gz = ''
                 this.form.solutionId = arr.solutionId
                 this.data = arr.seleData
                 this.visible = true
+                this.options=[]
                 this.getFindListByDTO()
             },
             getFindListByDTO () {
                 findListByDTO({
                     solutionId: this.form.solutionId,
-                    dataType: 2
+                    // dataType: 0
                 }).then(res => {
                     this.dispatching = res
                 })
@@ -82,6 +85,10 @@
                     })
             },
             confirm() {
+              if(!this.dw || !this.gz){
+                this.$message.error("璇峰厛閫夋嫨娲鹃仯鍗曚綅鍜屽伐绉嶏紒")
+                return;
+              }
                 let obj = {
                     workTypeName: '',
                     worktypeId: '',

--
Gitblit v1.9.3