From 83928adb1c68a4093e7457db248760b8ad1b4f22 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 02 四月 2026 14:16:09 +0800
Subject: [PATCH] 测试完成

---
 /dev/null                                          |    0 
 src/components/Regular/index.vue                   |   22 +++-
 src/views/patient/patient/hospital.vue             |  125 +++++++++++++++++++++++++++++++
 src/views/Satisfaction/configurationmyd/index.vue  |   14 ++-
 src/components/AskRegular/index.vue                |   16 +++-
 src/views/patient/propaganda/particty.vue          |    4 +
 src/views/patient/propaganda/QuestionnaireTask.vue |    4 +
 7 files changed, 170 insertions(+), 15 deletions(-)

diff --git "a/dist \0502\051.zip" "b/dist \0502\051.zip"
deleted file mode 100644
index a864390..0000000
--- "a/dist \0502\051.zip"
+++ /dev/null
Binary files differ
diff --git "a/dist \0503\051.zip" "b/dist \0503\051.zip"
deleted file mode 100644
index 2dab64e..0000000
--- "a/dist \0503\051.zip"
+++ /dev/null
Binary files differ
diff --git a/dist.zip b/dist.zip
deleted file mode 100644
index a9d30e9..0000000
--- a/dist.zip
+++ /dev/null
Binary files differ
diff --git a/src/components/AskRegular/index.vue b/src/components/AskRegular/index.vue
index 8e135a3..7073c23 100644
--- a/src/components/AskRegular/index.vue
+++ b/src/components/AskRegular/index.vue
@@ -14,10 +14,18 @@
         ></el-col>
         <el-col :span="12"
           ><el-form-item label="寮傚父鎻愰啋">
-            <el-radio-group v-model="radio">
-              <el-radio :label="3">鏄�</el-radio>
-              <el-radio :label="6">鍚�</el-radio>
-            </el-radio-group>
+            <el-select v-model="item.isabnormal" placeholder="璇烽�夋嫨鐘舵��">
+              <el-option :value="0" label="姝e父" :style="{ color: '#67C23A' }">
+                <span style="color: #67c23a">鈼� 姝e父</span>
+              </el-option>
+
+              <el-option :value="2" label="璀﹀憡" :style="{ color: '#FFBA00' }">
+                <span style="color: #ffba00">鈼� 璀﹀憡</span>
+              </el-option>
+              <el-option :value="1" label="寮傚父" :style="{ color: '#f75c5c' }">
+                <span style="color: #f75c5c">鈼� 寮傚父</span>
+              </el-option>
+            </el-select>
           </el-form-item></el-col
         >
         <el-col :span="12" v-if="intent"
diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index 30d359f..86c2bc4 100644
--- a/src/components/Regular/index.vue
+++ b/src/components/Regular/index.vue
@@ -18,13 +18,21 @@
               </el-input> </el-form-item
           ></el-col>
           <el-col :span="12"
-            ><el-form-item label="寮傚父鎻愰啋">
-              <el-radio-group v-model="item.isabnormal">
-                <el-radio :label="1">鏄�</el-radio>
-                <el-radio :label="0">鍚�</el-radio>
-              </el-radio-group>
-            </el-form-item></el-col
-          >
+          ><el-form-item label="寮傚父鎻愰啋">
+            <el-select v-model="item.isabnormal" placeholder="璇烽�夋嫨鐘舵��">
+              <el-option :value="0" label="姝e父" :style="{ color: '#67C23A' }">
+                <span style="color: #67c23a">鈼� 姝e父</span>
+              </el-option>
+
+              <el-option :value="2" label="璀﹀憡" :style="{ color: '#FFBA00' }">
+                <span style="color: #ffba00">鈼� 璀﹀憡</span>
+              </el-option>
+              <el-option :value="1" label="寮傚父" :style="{ color: '#f75c5c' }">
+                <span style="color: #f75c5c">鈼� 寮傚父</span>
+              </el-option>
+            </el-select>
+          </el-form-item></el-col
+        >
           <!-- <el-col :span="12" v-if="intent"
             ><el-form-item label="閫夐」鑺傜偣">
               <el-input
diff --git a/src/views/Satisfaction/configurationmyd/index.vue b/src/views/Satisfaction/configurationmyd/index.vue
index b35f056..7034876 100644
--- a/src/views/Satisfaction/configurationmyd/index.vue
+++ b/src/views/Satisfaction/configurationmyd/index.vue
@@ -62,9 +62,6 @@
                   placeholder="璇烽�夋嫨妯℃澘"
                   clearable
                   filterable
-                  :disabled="
-                    !templateForm.templateType || templateOptionsLoading
-                  "
                   @change="handleTemplateChange"
                   style="width: 100%"
                 >
@@ -315,7 +312,6 @@
                         filterable
                         clearable
                         multiple
-                        collapse-tags
                         style="width: 100%"
                         @change="handleConfigChange(question)"
                       >
@@ -834,6 +830,16 @@
             questionCount: 0,
           };
         }
+// 鍔犺浇妯℃澘璇︽儏鏁版嵁
+        this.templateLoading = true;
+        this.loading = true;
+        this.questionList = [];
+
+        if (this.templateForm.templateType === 1) {
+          this.loadQuestionnaireTemplateDetail();
+        } else if (this.templateForm.templateType === 2) {
+          this.loadFollowupTemplateDetail();
+        }
       } else {
         this.currentTemplateInfo = null;
         this.questionList = [];
diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue
index 1db8cc4..5e1df14 100644
--- a/src/views/patient/patient/hospital.vue
+++ b/src/views/patient/patient/hospital.vue
@@ -119,6 +119,18 @@
               >淇敼</el-button
             >
           </el-col> -->
+<el-col :span="1.5">
+  <el-button
+    type="warning"
+    plain
+    icon="el-icon-plus"
+    size="medium"
+    :disabled="multiple"
+    @click="handleBatchAddTask"
+  >
+    鎵归噺娣诲姞浠诲姟
+  </el-button>
+</el-col>
           <el-col :span="1.5">
             <el-button
               type="danger"
@@ -323,7 +335,114 @@
         />
       </el-col>
     </el-row>
+<!-- 鎵归噺娣诲姞浠诲姟寮圭獥 -->
+<el-dialog
+  title="鎵归噺娣诲姞浠诲姟"
+  :visible.sync="batchTaskVisible"
+  width="90%"
+  append-to-body
+>
+  <el-row :gutter="20">
+    <!-- 宸︿晶锛氶�変腑鎮h�呭垪琛� -->
+    <el-col :span="12">
+      <div class="batch-patient-section">
+        <h4>閫変腑鎮h�咃紙{{ selectedPatients.length }}浜猴級</h4>
+        <el-table
+          :data="selectedPatients"
+          border
+          style="width: 100%"
+          size="small"
+        >
+          <el-table-column prop="patname" label="濮撳悕" width="100" />
+          <el-table-column prop="sex" label="鎬у埆" width="80">
+            <template slot-scope="scope">
+              {{ scope.row.sex === 1 ? "鐢�" : "濂�" }}
+            </template>
+          </el-table-column>
+          <el-table-column
+            label="鍑洪櫌鏃堕棿"
+            align="center"
+            key="endtime"
+            prop="endtime"
+          >
+            <template slot-scope="scope">
+              <span>{{ formatTime(scope.row.endtime) }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column prop="inhospno" label="浣忛櫌鍙�" />
+          <el-table-column prop="deptname" label="绉戝" />
+        </el-table>
+      </div>
+    </el-col>
 
+    <!-- 鍙充晶锛氫换鍔″垪琛� -->
+    <el-col :span="12">
+      <div class="batch-task-section">
+        <h4>浠诲姟鍒楄〃锛堣閫夋嫨1涓换鍔★級</h4>
+        <el-table
+          :data="taskList"
+          border
+          style="width: 100%"
+          size="small"
+          @current-change="handleTaskSelectionChange"
+          highlight-current-row
+        >
+          <el-table-column
+            label="浠诲姟鍚嶇О"
+            fixed
+            align="center"
+            key="taskName"
+            prop="taskName"
+            :show-overflow-tooltip="true"
+          />
+
+          <el-table-column
+            label="鏈嶅姟椤圭洰"
+            align="center"
+            key="templatename"
+            prop="templatename"
+            :show-overflow-tooltip="true"
+          />
+
+          <el-table-column
+            label="鍒涘缓浜�"
+            align="center"
+            key="createBy"
+            prop="createBy"
+            :show-overflow-tooltip="true"
+          />
+          <el-table-column
+            label="鍒涘缓鏃堕棿"
+            sortable
+            align="center"
+            prop="createTime"
+          >
+            <template slot-scope="scope">
+              <span>{{ formatTime(scope.row.createTime) }}</span>
+            </template>
+          </el-table-column>
+          <template #empty>
+            <div class="empty-message">
+              <i class="el-icon-warning"></i>
+              <span>鎮h�呯瀹ゆ棤鍖归厤鏈嶅姟</span>
+            </div>
+          </template>
+        </el-table>
+      </div>
+    </el-col>
+  </el-row>
+
+  <!-- 搴曢儴鎸夐挳 -->
+  <div slot="footer" class="dialog-footer">
+    <el-button @click="batchTaskVisible = false">鍙� 娑�</el-button>
+    <el-button
+      type="primary"
+      :loading="batchLoading"
+      @click="submitBatchTask"
+      >鍒涘缓浠诲姟</el-button
+    >
+  </div>
+</el-dialog>
     <!-- 鐢ㄦ埛瀵煎叆瀵硅瘽妗� -->
     <el-dialog
       :title="upload.title"
@@ -470,6 +589,12 @@
       // 榛樿瀵嗙爜
       initPassword: undefined,
       amendtag: false, //鏄惁淇敼
+      // 鎵归噺浠诲姟鐩稿叧鏁版嵁
+    batchTaskVisible: false, // 寮圭獥鍙鎬�
+    selectedPatients: [], // 閫変腑鐨勬偅鑰呭垪琛�
+    taskList: [], // 浠诲姟鍒楄〃
+    selectedTask: null, // 閫変腑鐨勪换鍔�
+    batchLoading: false, // 鎵归噺鎻愪氦鍔犺浇鐘舵��
       // 鏃ユ湡鑼冨洿
       dateRange: [],
       source: [
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index e51100c..1b4d397 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -1299,6 +1299,10 @@
         this.form.serviceType == 15
       ) {
         this.checkboxlist = [
+           {
+            value: "1",
+            label: "浜哄伐",
+          },
           {
             value: "3",
             label: "鏅鸿兘璇煶",
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index 20612be..afa4d50 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -1331,6 +1331,10 @@
         ];
       } else if (this.form.serviceType == 6) {
         this.checkboxlist = [
+           {
+            value: "1",
+            label: "浜哄伐",
+          },
           {
             value: "3",
             label: "鏅鸿兘璇煶",

--
Gitblit v1.9.3