miaofuhao 2 miesięcy temu
rodzic
commit
32122f6cde

+ 0 - 1
apps/web-ele/src/views/Archive/HSSEManage/emergencyDrill/index.vue

@@ -82,7 +82,6 @@ const handleTaskClick = (taskId: number) => {
82 82
           @click="() => handleTaskClick(row.taskId)"
83 83
           >查看</el-button
84 84
         >
85
-        <el-button size="small" type="primary" plain>打印</el-button>
86 85
       </template>
87 86
     </BasicTable>
88 87
   </Page>

+ 4 - 1
apps/web-ele/src/views/Archive/HSSEManage/securityCheck/index.vue

@@ -6,7 +6,9 @@ import { Page } from '@vben/common-ui';
6 6
 import { useVbenVxeGrid } from '#/adapter/vxe-table';
7 7
 import { ElButton, ElSpace } from 'element-plus';
8 8
 import { tableColumns, SECURITY_CHECK_MOCK_DATA, queryFormSchema } from './securityCheck-data';
9
-
9
+import { useRouter } from 'vue-router';
10
+// 路由实例
11
+const router = useRouter();
10 12
 // 表单配置
11 13
 const formOptions: VbenFormProps = {
12 14
   commonConfig: {
@@ -37,6 +39,7 @@ const [WorkReportTable] = useVbenVxeGrid({ formOptions, gridOptions: workReportG
37 39
 // 查看按钮点击事件
38 40
 const handleView = (row: any) => {
39 41
   console.log('查看详情', row);
42
+  router.push(`/schedule/detail/${row.id}`);
40 43
   // TODO: 添加查看详情逻辑
41 44
 };
42 45
 </script>

+ 7 - 0
apps/web-ele/src/views/Archive/figuresManage/oilGunTement/index.vue

@@ -6,6 +6,12 @@ import { Page } from '@vben/common-ui';
6 6
 import { useVbenVxeGrid } from '#/adapter/vxe-table';
7 7
 import { ElButton, ElSpace } from 'element-plus';
8 8
 import { tableColumns, OIL_GUN_TEMENT_MOCK_DATA, queryFormSchema } from './oilGunTement-data';
9
+import { useRouter } from 'vue-router';
10
+// 路由实例
11
+const router = useRouter();
12
+
13
+
14
+
9 15
 
10 16
 // 表单配置
11 17
 const formOptions: VbenFormProps = {
@@ -49,6 +55,7 @@ const handleReset = () => {
49 55
 // 查看按钮点击事件
50 56
 const handleView = (row: any) => {
51 57
   console.log('查看数据:', row);
58
+  router.push(`/schedule/detail/${row.id}`);
52 59
   // TODO: 添加查看逻辑
53 60
 };
54 61
 

+ 0 - 3
apps/web-ele/src/views/Archive/visitorFeedback/photoTask/index.vue

@@ -226,9 +226,6 @@ function printTask(row: any) {
226 226
           <ElButton size="small" type="primary" plain @click="viewDetail(row)">
227 227
             查看
228 228
           </ElButton>
229
-          <ElButton size="small" type="default" plain @click="printTask(row)">
230
-            打印
231
-          </ElButton>
232 229
         </ElSpace>
233 230
       </template>
234 231
     </BasicTable>

+ 0 - 3
apps/web-ele/src/views/Archive/visitorFeedback/visitorCheckTask/index.vue

@@ -219,9 +219,6 @@ function handlePrint(row: any) {
219 219
           <ElButton size="small" type="primary" plain @click="handleView(row)">
220 220
             查看
221 221
           </ElButton>
222
-          <ElButton size="small" type="default" plain @click="handlePrint(row)">
223
-            打印
224
-          </ElButton>
225 222
         </ElSpace>
226 223
       </template>
227 224
     </BasicTable>

+ 7 - 6
apps/web-ele/src/views/schedule/detail/components/bidding.vue

@@ -99,6 +99,7 @@ const [StationStrategyTable] = useVbenVxeGrid({
99 99
 <style scoped>
100 100
 .task-detail {
101 101
   /* padding: 20px; */
102
+
102 103
   /* background-color: #fff;
103 104
   border-radius: 8px;
104 105
   box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); */
@@ -106,15 +107,15 @@ const [StationStrategyTable] = useVbenVxeGrid({
106 107
 
107 108
 .task-header {
108 109
   display: flex;
109
-  justify-content: space-between;
110 110
   align-items: flex-start;
111
-  margin-bottom: 20px;
111
+  justify-content: space-between;
112 112
   padding-bottom: 15px;
113
+  margin-bottom: 20px;
113 114
   border-bottom: 1px solid #e8e8e8;
114 115
 }
115 116
 
116 117
 .task-header .left h3 {
117
-  margin: 0 0 10px 0;
118
+  margin: 0 0 10px;
118 119
   font-size: 18px;
119 120
   color: #333;
120 121
 }
@@ -135,10 +136,10 @@ const [StationStrategyTable] = useVbenVxeGrid({
135 136
 }
136 137
 
137 138
 .table-section h4 {
138
-  margin: 0 0 15px 0;
139
+  margin: 0 0 15px;
139 140
   font-size: 16px;
140
-  color: #333;
141 141
   font-weight: 500;
142
+  color: #333;
142 143
 }
143 144
 
144 145
 :deep(.vxe-grid) {
@@ -150,8 +151,8 @@ const [StationStrategyTable] = useVbenVxeGrid({
150 151
 }
151 152
 
152 153
 :deep(.vxe-header--column) {
153
-  background-color: #fafafa;
154 154
   font-weight: 500;
155
+  background-color: #fafafa;
155 156
 }
156 157
 
157 158
 :deep(.vxe-cell) {