From 8d48c59d5d3bcc4148ef97dc6f98e3a8cf9ca436 Mon Sep 17 00:00:00 2001 From: hjg <hjg@123.com> Date: 星期一, 18 三月 2024 08:42:49 +0800 Subject: [PATCH] 显示排队序号 --- WebContent/basic/js/vehicleTask.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/WebContent/basic/js/vehicleTask.js b/WebContent/basic/js/vehicleTask.js index 863d01e..e6763a6 100644 --- a/WebContent/basic/js/vehicleTask.js +++ b/WebContent/basic/js/vehicleTask.js @@ -86,7 +86,11 @@ } self.vList = ko.observableArray(); - + self.getSdepartName = function (sdepartNo) { + if(sdepartNo == '08') return "涔夌憺鏂版潗"; + if(sdepartNo == '04') return "鏄庢嘲绉戞妧"; + if(sdepartNo == '06') return "閮戝窞鏄庢嘲"; + } //鍘傚尯 self.cqVal=ko.observable(0); self.cqList=ko.observableArray(); @@ -109,6 +113,7 @@ pageInit(); }); + function pageInit() { I.sendBtn.click(function (e) { e.preventDefault(); -- Gitblit v1.9.3