From 8c3d15eae99d51193e20ff222dedf96cdba57b33 Mon Sep 17 00:00:00 2001 From: tanghaolin <1723298894@qq.com> Date: 星期二, 15 四月 2025 09:21:43 +0800 Subject: [PATCH] 删除多余照片 --- src/views/EecLabel.vue | 57 +++++++++++++++++++++------------------------------------ 1 files changed, 21 insertions(+), 36 deletions(-) diff --git a/src/views/EecLabel.vue b/src/views/EecLabel.vue index 4f9c1ed..6b0e304 100644 --- a/src/views/EecLabel.vue +++ b/src/views/EecLabel.vue @@ -84,7 +84,7 @@ </svg> 璇︾粏</span > - <span class="table-detail-span" @click="clickDetailCertifcate(scope.row)" v-if="false" + <span class="table-detail-span" @click="clickDetailCertifcate(scope.row)" v-if="true" ><svg t="1739500034021" class="detail-icon" @@ -96,38 +96,18 @@ height="128" > <path - d="M0 115.2m76.8 0l870.4 0q76.8 0 76.8 76.8l0 640q0 76.8-76.8 76.8l-870.4 0q-76.8 0-76.8-76.8l0-640q0-76.8 76.8-76.8Z" - fill="#1989FA" - opacity=".3" - p-id="34307" + d="M18.731707 12.487805m499.512195 0l0 0q499.512195 0 499.512196 499.512195l0 0q0 499.512195-499.512196 499.512195l0 0q-499.512195 0-499.512195-499.512195l0 0q0-499.512195 499.512195-499.512195Z" + fill="#478BFF" + fill-opacity=".1" + p-id="11765" ></path> <path - d="M563.2 396.8m25.6 0l281.6 0q25.6 0 25.6 25.6l0 0q0 25.6-25.6 25.6l-281.6 0q-25.6 0-25.6-25.6l0 0q0-25.6 25.6-25.6Z" - fill="#1989FA" - p-id="34308" - ></path> - <path - d="M563.2 512m25.6 0l281.6 0q25.6 0 25.6 25.6l0 0q0 25.6-25.6 25.6l-281.6 0q-25.6 0-25.6-25.6l0 0q0-25.6 25.6-25.6Z" - fill="#1989FA" - p-id="34309" - ></path> - <path - d="M563.2 640m25.6 0l140.8 0q25.6 0 25.6 25.6l0 0q0 25.6-25.6 25.6l-140.8 0q-25.6 0-25.6-25.6l0 0q0-25.6 25.6-25.6Z" - fill="#1989FA" - p-id="34310" - ></path> - <path - d="M294.4 422.4m-140.8 0a140.8 140.8 0 1 0 281.6 0 140.8 140.8 0 1 0-281.6 0Z" - fill="#1989FA" - p-id="34311" - ></path> - <path - d="M261.1584 611.5328l-73.0624 126.5536-88.6912-51.2 69.0432-119.5776a191.3088 191.3088 0 0 0 92.7104 44.224z m162.816-47.4496l66.9696 116.0064-88.6784 51.2-69.6832-120.6912a191.4496 191.4496 0 0 0 91.392-46.5152z" - fill="#1989FA" - p-id="34312" + d="M718.04878 761.756098h-349.658536a74.926829 74.926829 0 0 1-74.926829-74.92683v-399.609756a24.97561 24.97561 0 0 1 24.975609-24.97561h349.658537a24.97561 24.97561 0 0 1 24.97561 24.97561v299.707317h99.902439v99.902439a74.926829 74.926829 0 0 1-74.92683 74.92683z m-24.975609-124.878049v49.951219a24.97561 24.97561 0 1 0 49.951219 0v-49.951219h-49.951219z m-299.707317-249.756098v49.95122h199.804878v-49.95122h-199.804878z m0 99.902439v49.95122h199.804878v-49.95122h-199.804878z m0 99.902439v49.95122h124.878048v-49.95122h-124.878048z" + fill="#478BFF" + p-id="11766" ></path> </svg> - 璇佷功</span + 涓嬪崟</span > </template> </el-table-column> @@ -198,7 +178,7 @@ </el-form-item> <el-form-item label="澶囨淇℃伅" prop="RecordNumber"> <div style="padding-left: 30px; background-color: rgb(243 250 255)"> - <el-form label-width="200px" > + <el-form label-width="200px"> <el-form-item v-for="(item, index) in state.m_OtherDetailInfo.List" :key="index" :label="item.name" prop="Standard"> <span>{{ item.value }}</span> </el-form-item> @@ -244,7 +224,7 @@ let state = reactive({ m_formData: { ProductModel: '', - ProductType: 1, + ProductType: 2, RecordNumber: '', }, allEecProduct: [], @@ -276,15 +256,13 @@ List: '', RecordTime: '', }, - typeSelect: 1, + typeSelect: 2, // 鍒嗙被閫夐」 type: [ { name: '娉�', tag: 1 }, { name: '瀹圭Н寮忕┖鍘嬫満', tag: 2 }, { name: '閫氶鏈�', tag: 3 }, { name: '鍐锋按鏈虹粍', tag: 4 }, - { name: '鐢靛姏鍙樺帇鍣�', tag: 5 }, - { name: '宸ヤ笟閿呯倝', tag: 6 }, { name: '鐢垫満', tag: 7 }, ], m_PageLoading: false, @@ -404,8 +382,15 @@ // router.push(`/product/${currentProduct.Id}`); }; const clickDetailCertifcate = (row: any) => { - state.m_detailDialogInfo = row; - dialogVisibleCertifcate.value = true; + // state.m_detailDialogInfo = row; + // dialogVisibleCertifcate.value = true; + // 鎵惧埌褰撳墠鐐瑰嚮鐨勪骇鍝� + const currentProduct = state.m_dispTableData.find((item) => item.id === row.id); + if (currentProduct) { + // 淇濆瓨浜у搧淇℃伅鍒發ocalStorage + localStorage.setItem('currentProduct', JSON.stringify(currentProduct)); + } + router.push(`/product/${currentProduct.Id}`); }; const getProductDetail = async (productModel) => { -- Gitblit v1.9.3