cgp 2 hete
szülő
commit
7c429f5596
1 módosított fájl, 18 hozzáadás és 25 törlés
  1. 18 25
      src/views/qw/companyCustomer/index.vue

+ 18 - 25
src/views/qw/companyCustomer/index.vue

@@ -616,7 +616,7 @@
       <!-- 快捷认领提示(仅在快捷认领模式下显示) -->
       <div v-if="isQuickClaimMode" style="color: #E6A23C; font-size: 14px; margin-bottom: 15px; padding: 10px; background: #fdf6ec; border-radius: 4px;">
         <i class="el-icon-warning"></i>
-        请完整填写以下信息(带*为必填),其中病情主诉、现病史、现用药情况、过敏史至少填写一项
+        请完整填写以下信息(带*为必填),其中病情主诉、现用药情况、过敏史至少填写一项
       </div>
 
       <el-form
@@ -672,11 +672,11 @@
             <el-input type="textarea" v-model="form.patientMainComplaint" placeholder="患者病情主诉" :rows="3" :disabled="isDetail" />
           </el-form-item>
         </div>
-        <div style="margin-bottom: 15px">
-          <el-form-item label="现病史" prop="presentIllness" style="margin-bottom: 0">
-            <el-input type="textarea" v-model="form.presentIllness" placeholder="请输入现病史" :rows="3" :disabled="isDetail" />
-          </el-form-item>
-        </div>
+<!--        <div style="margin-bottom: 15px">-->
+<!--          <el-form-item label="现病史" prop="presentIllness" style="margin-bottom: 0">-->
+<!--            <el-input type="textarea" v-model="form.presentIllness" placeholder="请输入现病史" :rows="3" :disabled="isDetail" />-->
+<!--          </el-form-item>-->
+<!--        </div>-->
         <div style="margin-bottom: 15px">
           <el-form-item label="现用药情况" prop="currentMedication" style="margin-bottom: 0">
             <el-input type="textarea" v-model="form.currentMedication" placeholder="请输入现用药情况" :rows="3" :disabled="isDetail" />
@@ -846,14 +846,14 @@
               :rows="3"
             />
           </el-form-item>
-          <el-form-item label="现病史" prop="presentIllness">
-            <el-input
-              type="textarea"
-              v-model="claimForm.presentIllness"
-              placeholder="请输入现病史"
-              :rows="3"
-            />
-          </el-form-item>
+<!--          <el-form-item label="现病史" prop="presentIllness">-->
+<!--            <el-input-->
+<!--              type="textarea"-->
+<!--              v-model="claimForm.presentIllness"-->
+<!--              placeholder="请输入现病史"-->
+<!--              :rows="3"-->
+<!--            />-->
+<!--          </el-form-item>-->
           <el-form-item label="现用药情况" prop="currentMedication">
             <el-input
               type="textarea"
@@ -1905,7 +1905,6 @@ export default {
         claimNumber: '',
         kdzlAddWechatStatus: null,
         patientMainComplaint: '',
-        presentIllness: '',
         currentMedication: '',
         allergyHistory: ''
       },
@@ -2987,7 +2986,6 @@ export default {
                 claimNumber: '',
                 kdzlAddWechatStatus: null,
                 patientMainComplaint: '',
-                presentIllness: '',
                 currentMedication: '',
                 allergyHistory: ''
               };
@@ -3027,7 +3025,6 @@ export default {
                 claimNumber: '',
                 kdzlAddWechatStatus: null,
                 patientMainComplaint: '',
-                presentIllness: '',
                 currentMedication: '',
                 allergyHistory: ''
               };
@@ -3047,16 +3044,15 @@ export default {
         if (!valid) return;
 
         // 校验四个文本域至少填写一项
-        const { patientMainComplaint, presentIllness, currentMedication, allergyHistory } = this.claimForm;
+        const { patientMainComplaint, currentMedication, allergyHistory } = this.claimForm;
         const hasAny = [
           patientMainComplaint,
-          presentIllness,
           currentMedication,
           allergyHistory
         ].some(val => val && val.trim() !== '');
 
         if (!hasAny) {
-          this.$message.error('患者病情主诉、现病史、现用药情况、过敏史至少填写一项');
+          this.$message.error('患者病情主诉、现用药情况、过敏史至少填写一项');
           return;
         }
 
@@ -3083,7 +3079,6 @@ export default {
               claimPhone: this.claimForm.claimNumber,
               kdzlAddWechatStatus: this.claimForm.kdzlAddWechatStatus,
               patientMainComplaint: this.claimForm.patientMainComplaint,
-              presentIllness: this.claimForm.presentIllness,
               currentMedication: this.claimForm.currentMedication,
               allergyHistory: this.claimForm.allergyHistory
             };
@@ -3141,7 +3136,6 @@ export default {
         doctorId: null,
         doctorName: null,
         patientMainComplaint: null,
-        presentIllness: null,
         currentMedication: null,
         allergyHistory: null,
       };
@@ -3200,16 +3194,15 @@ export default {
 
         // ========== 第二步:快捷认领模式下,额外校验 ==========
         if (this.isQuickClaimMode) {
-          const { patientMainComplaint, presentIllness, currentMedication, allergyHistory } = this.form;
+          const { patientMainComplaint, currentMedication, allergyHistory } = this.form;
           const hasAny = [
             patientMainComplaint,
-            presentIllness,
             currentMedication,
             allergyHistory
           ].some(val => val && val.trim() !== '');
 
           if (!hasAny) {
-            this.$message.error('病情主诉、现病史、现用药情况、过敏史至少填写一项');
+            this.$message.error('病情主诉、现用药情况、过敏史至少填写一项');
             return;
           }