From 96a94a59c08f55712ba04eb413e7f61739f11f66 Mon Sep 17 00:00:00 2001 From: zhanghonglin <zhanghonglin@hnkhzn.com> Date: 星期二, 19 八月 2025 17:09:31 +0800 Subject: [PATCH] 定时一周自动清楚重量厚度,不合格背景红色提示、筛选功能 --- 项目代码/WCS/WIDESEAWCS_Client/src/views/taskinfo/thickness_hty.vue | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/thickness_hty.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/thickness_hty.vue" index 32765d2..7a59f8a 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/thickness_hty.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/thickness_hty.vue" @@ -10,11 +10,13 @@ :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" :table="table" + :extend="extend" ></view-grid> </template> <script> import extend from "@/extension/taskinfo/thickness_hty.js"; import { ref, defineComponent } from "vue"; + export default defineComponent({ setup() { const table = ref({ @@ -26,14 +28,23 @@ sortName: "createDate" }); const editFormFields = ref({}); - const editFormOptions = ref([ - - ]); + const editFormOptions = ref([]); const searchFormFields = ref({ - + qualified:"", }); const searchFormOptions = ref([ - + [ + { + title: "鏄惁鍚堟牸", + field: "qualified", + type: "select", + dataKey: "WeightThicknessEnum", + data: [ + { key: "0", value: "涓嶅悎鏍�" }, + { key: "1", value: "鍚堟牸" } + ] + } + ], ]); const columns = ref([ { @@ -108,10 +119,13 @@ type: "string", width: 100, align: "left", - bind: { key: "qualified", data: [ - {key: "0", value: "涓嶅悎鏍�"}, - {key: "1", value: "鍚堟牸"}, - ] }, + bind: { + key: "WeightThicknessEnum", + data: [ + { key: "0", value: "涓嶅悎鏍�" }, + { key: "1", value: "鍚堟牸" } + ] + } }, { field: "interval", @@ -125,15 +139,15 @@ title: "鍒涘缓浜�", type: "string", width: 90, - align: "left", + align: "left" }, { field: "createDate", title: "鍒涘缓鏃堕棿", type: "datetime", width: 150, - align: "left", - }, + align: "left" + } ]); const detail = ref({ cnName: "#detailCnName", -- Gitblit v1.9.3