From c2fd0bf273c19874d7f1a4f6f6a304ac723b42e3 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 22 九月 2025 09:50:48 +0800
Subject: [PATCH] 2025.9.22 扬尘月度简报分解数据产品(基础-现场巡查、中间-月度巡查简报)完成

---
 src/views/fysp/support/JingAnNightConstruction.vue |   37 +++++++++++++++++++++++++++++++++----
 1 files changed, 33 insertions(+), 4 deletions(-)

diff --git a/src/views/fysp/support/JingAnNightConstruction.vue b/src/views/fysp/support/JingAnNightConstruction.vue
index c4066bf..2c2f90f 100644
--- a/src/views/fysp/support/JingAnNightConstruction.vue
+++ b/src/views/fysp/support/JingAnNightConstruction.vue
@@ -4,9 +4,19 @@
     :total-count="total"
     @search="onSearch"
     :extraHeight="tabsHeaderHeight"
+    :defaultPageSize="10"
   >
-    <!-- <template #options> </template>
-    <template #buttons> </template> -->
+    <template #options>
+      <FYOptionLocation
+        :disabled="true"
+        :checkStrictly="false"
+        :initValue="false"
+        :allOption="false"
+        :level="3"
+        v-model:value="formSearch._locations"
+      ></FYOptionLocation>
+    </template>
+    <!-- <template #buttons> </template> -->
     <template #table-column>
       <el-table-column
         fixed="left"
@@ -36,6 +46,11 @@
       />
       <el-table-column prop="ncPerson" label="鐢宠浜�" width="110" />
       <el-table-column prop="ncApplyContent" label="鐢宠鍐呭" width="110" />
+      <el-table-column prop="ncStartDate" label="鐢宠鏃堕棿" width="110">
+        <template #default="{ row }">
+          {{ $fm.formatYMD(row.ncCreateTime) }}
+        </template>
+      </el-table-column>
       <el-table-column prop="ncStartDate" label="宸ユ湡寮�濮�" width="110">
         <template #default="{ row }">
           {{ $fm.formatYMD(row.ncStartDate) }}
@@ -82,7 +97,7 @@
     />
     <template #footer>
       <el-button @click="dialog = false">鍙栨秷</el-button>
-      <el-button type="primary" @click="submit" :disabled="!selectedSVUser"
+      <el-button type="primary" @click="submit" :disabled="!selectedSVUser?.svUserId"
         >纭畾</el-button
       >
     </template>
@@ -97,6 +112,16 @@
 
 const tabsHeaderHeight = inject('tabsHeaderHeight', 0);
 
+const formSearch = ref({
+  _locations: {
+    pCode: '31',
+    pName: '涓婃捣甯�',
+    cCode: '3100',
+    cName: '涓婃捣甯�',
+    dCode: '310106',
+    dName: '闈欏畨鍖�'
+  }
+});
 // 澶滈棿鏂藉伐璁板綍鍙婃�绘暟
 const data = ref([]);
 const total = ref(0);
@@ -152,7 +177,11 @@
 
 function itemEdit(row) {
   selectedRow.value = row;
-  selectedSVUser.value = row._user;
+  selectedSVUser.value = {
+    svUserId: row._user?.guid,
+    svUserName: row._user?.realname,
+    ...row._user
+  };
   dialog.value = true;
 }
 

--
Gitblit v1.9.3