Requirements:
引用
Description of Enhancement
When MNR is conducting audits on industry reports have another box on the general information form for the report # that is being audited. This can then link the two inspections together.
Analysis
An inspection report with the purpose of ‘Audit’ will be linked to one inspection report,
Add a new attribute to the foip.inspection table called audited_inspection_id. Add a new field on the New Inspection page under Purpose field call Audited Inspection Number and make it linkable so that the user can click on the number to bring up that inspection. Add the Audited Inspection Number field to the General Info Page, View All Details page, View Details page, Print page and Download page. Only show the Audited Inspection Number when the purpose of the inspection report is ‘Audit’
To help the user pick the correct inspection number use the FMU, Licence Number, approval number, to show a list of inspections. The list should contain the Inspection Date, inspection number, FMU, Block Name, Inspection Status, Inspector, Other location. In the following format:
function auditedInspectionNumberSelectorUpdate(ain) {
var myForm = document.forms.inspectionGeneralInfo;
if (ain == null)
return ;
myForm.auditedInspectionNumber.value = ain;
//<a href="http://localhost:9080/foip-app/inspectionView.do?inspectionId=2010" target="_blank"></a>
var ainElement = document.getElementById("auditedInspectionNumber");
var ainLink = document.createElement('a');
var ainText = document.createTextNode(ain);
ainLink.appendChild(ainText);
ainLink.setAttribute("href", "<%=request.getContextPath()%>/inspectionView.do?inspectionId=" + ain);
ainLink.setAttribute("target", "_blank");
ainElement.parentNode.appendChild(ainLink);
}
加拿大的森林管理系统。
分享到:
相关推荐
And you’ll learn how to capitalize on trends like server-side JavaScript and NoSQL data stores, as well as new frameworks that make JavaScript more manageable and testable as a first-class language....
《Head-First JavaScript Programming》是一本面向初学者的JavaScript编程指南,旨在帮助读者深入理解JavaScript语言的核心概念,并通过实践来提升编程技能。该书的2017版更新了最新的JavaScript语言特性,确保读者...
The authors have built the first 3D, kneed, two-legged passive-dynamic walking machine. Since the work of T. McGeer (1990, 1991), the concept of passive dynamics has added insight into animal ...
The first Z value shown corresponds to the lower left corner of the map and the following values correspond to the increasing X positions along the bottom row of the grid file. This file has a total ...
The first space-qualified Klessydra RISC-V microcontroller to be launched on a satellite,Digital System Lab at Sapienza University of Rome
By the end of the module, you'll be saved of a lot of trial and error and developmental headaches, and you will be on the road to becoming a JavaScript expert. In the last leg of this course, you ...
6. **创建和操作DOM**:jQuery允许我们方便地创建新的DOM对象,如`var message = $("<span>Call 1-555-jquery-air to book this tour</span>")`。然后可以使用`before()`, `after()`, `prepend()`, `append()`等方法...
First, you need a sensible, practical toolset on which to carry out the work. Second, for many self-learners, cost is an issue; the tools mustn’t be expensive. Third, they mustn’t be difficult to ...
- ADD: The property TFlexPanel.GridControl moved to the public section and is now available for writing (during the writing, the standard grid object TFlexGrid is released, and a user's one is set)....
JavaScript language elements and how to use them effectively, and how to easily and efficiently add powerful new functionality to HTML documents and Java applets. The JavaScript Bible, Gold Edition ...
“For those not ready to tackle the complexities of Objective-C, this is a great way to get started building iPhone apps. If you know the basics of HTML, JavaScript, and CSS, you’ll be building apps ...
First, the content provider has more control over the user experience, since it has to use few intermediary ISPs. Second, it can save money by sending less traffic into provider networks. Third, if ...
This book also covers everything you need to know in order to use JavaScript to design, develop, and deploy mobile apps. Key Topics Introduction to HTML CSS Basics Advanced CSS styling Introduction...
Adaptive continuous-time line equalizer for correcting the first post-cursor ISI Adaptive continuous-time line equalizer for correcting the first post-cursor ISI Adaptive continuous-time line ...
《Head First JavaScript源码》是2010年出版的一本中文版JavaScript学习书籍的源码,这本书以其独特的视觉设计和易理解的方式深入浅出地介绍了JavaScript编程语言。JavaScript是一种广泛应用于网页和网络应用的脚本...
This book is the secret to unlocking your programming potentials within a very short amount of time! Learn how to program using Python, and carve your own bright future! Whether you are an expert, ...
create your first apps, use the built-in components, and start creating your components. Next we’ll move into intermediate concepts such as using forms, using APIs, routing to different pages, and ...
How to use the Document Object Model to change your web pages without making your users click buttons, If you've ever read a Head First book, you know what to expect -- a visually rich format ...