From 323e576c64129723df20fd18effb20d96d8d18b3 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期一, 22 七月 2024 10:27:50 +0800 Subject: [PATCH] 工单更新 --- src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts b/src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts index 96365ce..432efb1 100644 --- a/src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts +++ b/src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts @@ -4,7 +4,7 @@ * @version: * @Date: 2024-06-19 20:34:27 * @LastEditors: Ben Lin - * @LastEditTime: 2024-07-21 20:55:33 + * @LastEditTime: 2024-07-22 02:58:01 */ import { Ref, h, ref, render, unref } from 'vue'; @@ -40,7 +40,7 @@ const isPrint = (type: number) => type === 5; const isPackage = (type: number) => type === 6; const ActionColumn: BasicColumn = { - width: 220, + width: 180, title: '鎿嶄綔', dataIndex: 'action', slots: { customRender: 'action' }, @@ -256,9 +256,22 @@ }); break; case 'set': - case 'setRot': openRvModal(true, { rotId: selectVals.value['ROUTE_CODE'], slotName: slotName }); break; + case 'setRot': + const id = { + ID: params['record'].ID, + Name: 'WoRouteBinding', + CODE: params['record'].ITEM_CODE, + Title: `宸ュ崟[${params['record'].ITEM_CODE}]宸ヨ壓缁戝畾`, + colSlots: [] /* 琛ㄦ牸鍐呯殑鏌ヨ琛ㄥ崟瀛楁鐨勬彃妲藉垪琛紝涓�鑸敤浜庡脊鍑洪�夋嫨妗嗘寜閽� */, + crudColSlots: [] /* 澧炲垹鏀硅〃鍗曞瓧娈电殑鎻掓Ы鍒楄〃锛屼竴鑸敤浜庡脊鍑洪�夋嫨妗嗘寜閽� */, + dense: true, + pageTitle: `宸ュ崟宸ヨ壓缁戝畾`, + pageContent: `杩欓噷鏄鐞嗗伐鍗曠殑宸ヨ壓缁戝畾锛屼竴涓伐鍗曞彲浠ョ粦瀹氬涓伐鑹鸿矾绾縛, + }; + go(`/WoRouteBinding/CP/${encodeURI(JSON.stringify(id))}`); + break; } }, }; -- Gitblit v1.9.3