From 3471eeaf92a2ea32aa06ddfb231ee6c6d8b60bad Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 01 十二月 2025 08:41:12 +0800
Subject: [PATCH] 新增监管任务界面巡查人员统计信息

---
 src/views/fysp/task/components/CompSubTaskList.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/fysp/task/components/CompSubTaskList.vue b/src/views/fysp/task/components/CompSubTaskList.vue
index 818339f..51dd342 100644
--- a/src/views/fysp/task/components/CompSubTaskList.vue
+++ b/src/views/fysp/task/components/CompSubTaskList.vue
@@ -1,6 +1,6 @@
 <template>
   <el-row justify="space-between">
-    <el-text>鍗曟棩璁″垝</el-text>
+    <el-text>{{dateStr}}璁″垝</el-text>
     <div v-show="create && data && data.length > 0">
       <el-button
         icon="IconPrinter"
@@ -63,6 +63,7 @@
       </div>
     </el-scrollbar>
   </div>
+  <!-- 缂栬緫宸℃煡瀛愪换鍔� -->
   <el-dialog
     v-model="dialogVisible"
     width="600"
@@ -78,6 +79,7 @@
       @cancel="dialogVisible = false"
     ></CompSubTaskEdit>
   </el-dialog>
+  <!-- 宸℃煡鍗曚笅杞� -->
   <SceneInspectFile
     v-model="downloadDialog"
     :value="downloadSceneList"
@@ -85,13 +87,14 @@
 </template>
 <script setup>
 import { ref, computed, watch, onMounted, onUnmounted } from 'vue';
-import { ElMessageBox, ElNotification, ElMessage } from 'element-plus';
+import { ElMessageBox, ElNotification, ElMessage, dayjs } from 'element-plus';
 import CompSubTaskEdit from './CompSubTaskEdit.vue';
 import SceneInspectFile from '@/views/fysp/scene/SceneInspectFile.vue';
 import subtaskApi from '@/api/fysp/subtaskApi';
 
 const props = defineProps({
   modelValue: Array,
+  date: Date,
   height: {
     type: String,
     default: '70vh'
@@ -110,6 +113,8 @@
 
 const emit = defineEmits(['submit', 'add', 'remove', 'update:modelValue']);
 
+const dateStr = computed(()=> dayjs(props.date).format('MM鏈圖D鏃�'))
+
 function remove(item) {
   if (item.status == '鏈墽琛�') {
     ElMessageBox.confirm('鏄惁绉婚櫎鐩戠浠诲姟', `绉婚櫎纭`, {

--
Gitblit v1.9.3