|
@@ -1,7 +1,9 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
|
|
|
xmlns:s="library://ns.adobe.com/flex/spark"
|
|
|
- xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%" xmlns:ui="com.jtgh.yjpt.common.component.ui.*" xmlns:cus="com.jtgh.yjpt.common.cus.*"
|
|
|
+ xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"
|
|
|
+ xmlns:ui="com.jtgh.yjpt.common.component.ui.*"
|
|
|
+ xmlns:cus="com.jtgh.yjpt.common.cus.*"
|
|
|
creationComplete="init(event)">
|
|
|
<fx:Declarations>
|
|
|
<!-- 将非可视元素(例如服务、值对象)放在此处 -->
|
|
@@ -9,23 +11,24 @@
|
|
|
<fx:Script>
|
|
|
<![CDATA[
|
|
|
import com.jtgh.yjpt.common.BusinessContext;
|
|
|
-
|
|
|
import com.jtgh.yjpt.common.Global;
|
|
|
import com.jtgh.yjpt.common.TypeBase;
|
|
|
- import com.jtgh.yjpt.common.util.Utils;
|
|
|
- import com.jtgh.yjpt.vo.cginfo.CgInfoVo;
|
|
|
+ import com.jtgh.yjpt.common.util.Utils;
|
|
|
+ import com.jtgh.yjpt.vo.cginfo.CgInfoVo;
|
|
|
|
|
|
import mx.collections.ArrayCollection;
|
|
|
+ import mx.events.CloseEvent;
|
|
|
import mx.events.FlexEvent;
|
|
|
import mx.managers.CursorManager;
|
|
|
import mx.rpc.events.ResultEvent;
|
|
|
import mx.utils.ObjectUtil;
|
|
|
- import mx.events.CloseEvent;
|
|
|
|
|
|
import spark.events.GridSelectionEvent;
|
|
|
+
|
|
|
+ import com.jtgh.yjpt.model.cginfo.CgInfoModel;
|
|
|
|
|
|
[Bindable]
|
|
|
- public var thisData:CgInfoVo;
|
|
|
+ public var cgInfoModel:CgInfoModel;
|
|
|
|
|
|
protected function getSzgq():void
|
|
|
{
|
|
@@ -35,54 +38,94 @@
|
|
|
|
|
|
protected function init(event:FlexEvent):void
|
|
|
{
|
|
|
-
|
|
|
+ Utils.callRemote("cgInfoController","getCgRelatedInfo",function(r:ResultEvent):void{
|
|
|
+ var bc:BusinessContext=r.result as BusinessContext;
|
|
|
+ cgInfoModel.cgStorageList = bc.getAttribute("storage") as ArrayCollection;
|
|
|
+ cgInfoModel.opList = bc.getAttribute("op") as ArrayCollection;
|
|
|
+ },cgInfoModel.thisData.id);
|
|
|
}
|
|
|
|
|
|
/** 是否有设计资料 */
|
|
|
- protected function designInfoFun(chk:CheckBox):void
|
|
|
+ protected function haveDesignInfoFun():void
|
|
|
{
|
|
|
- haveDesignInfo.selected = false;
|
|
|
- lackDesignInfo.selected = false;
|
|
|
- chk.selected = true;
|
|
|
+ if(haveDesignInfo.selected)
|
|
|
+ lackDesignInfo.selected = false;
|
|
|
+ else
|
|
|
+ lackDesignInfo.selected = true;
|
|
|
}
|
|
|
+ protected function lackDesignInfoFun():void
|
|
|
+ {
|
|
|
+ if(lackDesignInfo.selected)
|
|
|
+ haveDesignInfo.selected = false;
|
|
|
+ else
|
|
|
+ haveDesignInfo.selected = true;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/** 是否有建造工程资料(竣工资料) */
|
|
|
- protected function completionInfoFun(chk:CheckBox):void
|
|
|
+ protected function haveCompletionInfoFun():void
|
|
|
{
|
|
|
- haveCompletionInfo.selected = false;
|
|
|
- lackCompletionInfo.selected = false;
|
|
|
- chk.selected = true;
|
|
|
+ if(haveCompletionInfo.selected){
|
|
|
+ lackCompletionInfo.selected = false;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ lackCompletionInfo.selected = true;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- /** 是否对储罐进行过定期检测 */
|
|
|
- protected function regularDetectionFun(chk:CheckBox):void
|
|
|
+ protected function lackCompletionInfoFun():void
|
|
|
{
|
|
|
- isRegularDetection.selected = false;
|
|
|
- notRegularDetection.selected = false;
|
|
|
- chk.selected = true;
|
|
|
+ if(lackCompletionInfo.selected){
|
|
|
+ haveCompletionInfo.selected = false;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ haveCompletionInfo.selected = true;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|
|
|
- private function doSaveCheck():Boolean{
|
|
|
- return true;
|
|
|
+
|
|
|
+ /** 是否对储罐进行过定期检测 */
|
|
|
+ protected function isRegularDetectionFun():void
|
|
|
+ {
|
|
|
+ if(isRegularDetection.selected){
|
|
|
+ notRegularDetection.selected = false;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ notRegularDetection.selected = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ protected function notRegularDetectionFun():void
|
|
|
+ {
|
|
|
+ if(notRegularDetection.selected){
|
|
|
+ isRegularDetection.selected = false;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ isRegularDetection.selected = true;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- public function doSave():void
|
|
|
+
|
|
|
+ /** 是否对储罐进行过维修 */
|
|
|
+ protected function isRepairedFun():void
|
|
|
{
|
|
|
- if(!doSaveCheck()){
|
|
|
- return;
|
|
|
+ if(isRepaired.selected){
|
|
|
+ notRepaired.selected = false;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ notRepaired.selected = true;
|
|
|
}
|
|
|
-
|
|
|
- var method:String="add";
|
|
|
- if(thisData.id > 0){
|
|
|
- method="edit";
|
|
|
+ }
|
|
|
+ protected function notRepairedFun():void
|
|
|
+ {
|
|
|
+ if(notRepaired.selected){
|
|
|
+ isRepaired.selected = false;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ isRepaired.selected = true;
|
|
|
}
|
|
|
- Utils.callRemote("cgInfoController",method,function(r:ResultEvent):void{
|
|
|
- this.dispatchEvent(new CloseEvent(CloseEvent.CLOSE));
|
|
|
- },this.functionId,this.zcVo,zcyhList,this.delList);
|
|
|
-
|
|
|
}
|
|
|
|
|
|
+
|
|
|
public function doPopupClose(view:DisplayObject):void
|
|
|
{
|
|
|
Utils.doCloseConfirm(function():void{
|
|
@@ -94,41 +137,41 @@
|
|
|
</fx:Script>
|
|
|
<s:VGroup width="100%" height="100%" paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5">
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
- <cus:QLabel width="135" text="{resourceManager.getString('check','zc.szd')}" notNull="true"/>
|
|
|
- <cus:QComboBox width="200" id="szd" selectedVO="{thisData.szd==null?Global.user.szd:thisData.szd}" comboxClass="SzdEditSelect"
|
|
|
+ <cus:QLabel width="135" text="{resourceManager.getString('check','zc.szd')}" notNull="true"/>
|
|
|
+ <cus:QComboBox width="200" id="szd" selectedVO="{cgInfoModel.thisData.szd==null?Global.user.szd:cgInfoModel.thisData.szd}" comboxClass="SzdEditSelect"
|
|
|
parentId="{Global.szd.id}" change="getSzgq()"/>
|
|
|
<cus:QLabel width="135" text="建造日期" notNull="true"/>
|
|
|
- <ui:DateTime width="200" id="buildDate" dateTime="{thisData.buildDate}" />
|
|
|
+ <ui:DateTime width="200" id="buildDate" dateTime="{cgInfoModel.thisData.buildDate}" />
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="{resourceManager.getString('check','zc.szgq')}" notNull="true"/>
|
|
|
- <cus:QComboBox width="200" id="szgq" selectedVO="{thisData.szgq}"
|
|
|
- comboxClass="GqBySzdSelect" parentId="{thisData.szd==null?Global.user.szd:thisData.szd}"/>
|
|
|
+ <cus:QComboBox width="200" id="szgq" selectedVO="{cgInfoModel.thisData.szgq}"
|
|
|
+ comboxClass="GqBySzdSelect" parentId="{cgInfoModel.thisData.szd==null?Global.user.szd:cgInfoModel.thisData.szd}"/>
|
|
|
<cus:QLabel width="135" text="储罐编号" notNull="true"/>
|
|
|
- <cus:QTextInput width="200" text="@{thisData.bh}"/>
|
|
|
+ <cus:QTextInput width="200" text="@{cgInfoModel.thisData.bh}"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="{resourceManager.getString('common','gkjyr')}" notNull="true"/>
|
|
|
- <cus:QComboBox id="jyr" selectedVO="{thisData.jyr}" comboxClass="JyrSelect"
|
|
|
- parentId="{thisData.szd==null?Global.user.szd:thisData.szd}" width="200" />
|
|
|
+ <cus:QComboBox id="jyr" selectedVO="{cgInfoModel.thisData.jyr}" comboxClass="JyrSelect"
|
|
|
+ parentId="{cgInfoModel.thisData.szd==null?Global.user.szd:cgInfoModel.thisData.szd}" width="200" />
|
|
|
<cus:QLabel width="135" text="储罐形式" notNull="true"/>
|
|
|
- <cus:QTextInput width="200" text="@{thisData.cgForm}"/>
|
|
|
+ <cus:QTextInput width="200" text="@{cgInfoModel.thisData.cgForm}"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="联系人"/>
|
|
|
- <cus:QTextInput width="200" text="@{thisData.contactPerson}"/>
|
|
|
+ <cus:QTextInput width="200" text="@{cgInfoModel.thisData.contactPerson}"/>
|
|
|
<cus:QLabel width="135" text="储罐容积" />
|
|
|
- <cus:QTextInput width="200" text="@{thisData.cgVolume.toString()}"/>
|
|
|
+ <cus:QTextInput width="200" id="cgVolume" type="double" text="{cgInfoModel.thisData.cgVolume.toString()=='NaN'?'':cgInfoModel.thisData.cgVolume.toString()}"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="联系电话"/>
|
|
|
- <cus:QTextInput width="200" text="@{thisData.contactPhone}"/>
|
|
|
+ <cus:QTextInput width="200" text="@{cgInfoModel.thisData.contactPhone}"/>
|
|
|
<cus:QLabel width="135" text="储罐材质"/>
|
|
|
- <cus:QTextInput width="200" text="@{thisData.cgMaterial}"/>
|
|
|
+ <cus:QTextInput width="200" text="@{cgInfoModel.thisData.cgMaterial}"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="联系人邮箱"/>
|
|
|
- <cus:QTextInput width="547" text="@{thisData.contactEmail}"/>
|
|
|
+ <cus:QTextInput width="547" text="@{cgInfoModel.thisData.contactEmail}"/>
|
|
|
</s:HGroup>
|
|
|
</s:VGroup>
|
|
|
<s:BorderContainer width="100%" borderVisible="false" height="32" backgroundColor="#00FFFF">
|
|
@@ -140,8 +183,12 @@
|
|
|
</s:BorderContainer>
|
|
|
<s:VGroup width="100%" height="100%" paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5">
|
|
|
<s:HGroup>
|
|
|
- <s:Label text="储存介质" fontWeight="bold" paddingLeft="10" />
|
|
|
- <ui:DataGrid id="grid1" width="80%" height="110">
|
|
|
+ <s:VGroup>
|
|
|
+ <s:Label text="储存介质" fontWeight="bold" paddingLeft="10" width="115" />
|
|
|
+ <s:Button label="{resourceManager.getString('common','btn.add')}" click="{cgInfoModel.addStorage()}" skinClass="skins.cus.ButtonSkin"/>
|
|
|
+ </s:VGroup>
|
|
|
+
|
|
|
+ <ui:DataGrid id="grid1" width="567" height="110" dataProvider="{cgInfoModel.cgStorageList}">
|
|
|
<ui:columns>
|
|
|
<s:ArrayList>
|
|
|
<ui:DataGridColumn dataField="commodityName" headerText="货种名称"/>
|
|
@@ -150,25 +197,38 @@
|
|
|
<ui:DataGridColumn dataField="fireRisk" headerText="火灾危险性"/>
|
|
|
<ui:DataGridColumn dataField="dangerChemical" headerText="危险化学品"/>
|
|
|
<ui:DataGridColumn dataField="toxicChemical" headerText="剧毒化学品" />
|
|
|
+ <ui:DataGridColumn headerText="{resourceManager.getString('common','btn.cz')}"
|
|
|
+ type="{TypeBase.MULTIBUTTON}" editFunction="{cgInfoModel.editStorage}" delFunction="{cgInfoModel.delStorage}"/>
|
|
|
</s:ArrayList>
|
|
|
</ui:columns>
|
|
|
</ui:DataGrid>
|
|
|
</s:HGroup>
|
|
|
|
|
|
+ <s:BorderContainer width="100%" borderVisible="false" height="32" >
|
|
|
+ </s:BorderContainer>
|
|
|
+
|
|
|
<s:HGroup>
|
|
|
- <s:Label text="近3个月作业情况" fontWeight="bold" paddingLeft="10" />
|
|
|
- <ui:DataGrid id="grid2" width="80%" height="110">
|
|
|
+ <s:VGroup>
|
|
|
+ <s:Label text="近3个月作业情况" fontWeight="bold" paddingLeft="10" width="115" />
|
|
|
+ <s:Button label="{resourceManager.getString('common','btn.add')}" click="{cgInfoModel.addOpCondition()}" skinClass="skins.cus.ButtonSkin"/>
|
|
|
+ </s:VGroup>
|
|
|
+
|
|
|
+ <ui:DataGrid id="grid2" width="567" height="110" dataProvider="{cgInfoModel.opList}">
|
|
|
<ui:columns>
|
|
|
<s:ArrayList>
|
|
|
<ui:DataGridColumn dataField="operationTime" headerText="作业时间"/>
|
|
|
<ui:DataGridColumn dataField="operationCommodityName" headerText="作业货种"/>
|
|
|
<ui:DataGridColumn dataField="operationPressure" headerText="作业压力MPa"/>
|
|
|
<ui:DataGridColumn dataField="operationTemp" headerText="作业温度℃"/>
|
|
|
+ <ui:DataGridColumn headerText="{resourceManager.getString('common','btn.cz')}"
|
|
|
+ type="{TypeBase.MULTIBUTTON}" editFunction="{cgInfoModel.editOpCondition}" delFunction="{cgInfoModel.delOpCondition}"/>
|
|
|
</s:ArrayList>
|
|
|
</ui:columns>
|
|
|
</ui:DataGrid>
|
|
|
</s:HGroup>
|
|
|
|
|
|
+ <s:BorderContainer width="100%" borderVisible="false" height="32" >
|
|
|
+ </s:BorderContainer>
|
|
|
<s:BorderContainer width="100%" borderVisible="false" height="32" >
|
|
|
<s:HGroup width="100%" verticalAlign="middle" horizontalAlign="center">
|
|
|
<s:Label text="储罐设计及检测维护信息" fontWeight="bold" paddingLeft="10"/>
|
|
@@ -176,60 +236,106 @@
|
|
|
</s:BorderContainer>
|
|
|
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
- <cus:QLabel width="135" text="是否有设计资料"/>
|
|
|
- <ui:CheckBox id="haveDesignInfo" selected="{'Y'==thisData.haveDesignInfo}" label="是" valueCommit="designInfoFun(this.haveDesignInfo)"/>
|
|
|
- <ui:CheckBox id="lackDesignInfo" selected="{'N'==thisData.haveDesignInfo}" label="否" valueCommit="designInfoFun(this.lackDesignInfo)"/>
|
|
|
+ <cus:QLabel width="200" text="是否有设计资料"/>
|
|
|
+ <ui:CheckBox id="haveDesignInfo" selected="{'Y'==cgInfoModel.thisData.haveDesignInfo}" label="是" valueCommit="haveDesignInfoFun()"/>
|
|
|
+ <ui:CheckBox id="lackDesignInfo" selected="{'N'==cgInfoModel.thisData.haveDesignInfo}" label="否" valueCommit="lackDesignInfoFun()"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="设计单位名称"/>
|
|
|
- <cus:QTextInput width="547" text="@{thisData.designOrgName}"/>
|
|
|
+ <cus:QTextInput width="547" text="@{cgInfoModel.thisData.designOrgName}"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="设计单位资质"/>
|
|
|
- <cus:QTextInput width="547" text="@{thisData.designOrgQualification}"/>
|
|
|
+ <cus:QTextInput width="547" text="@{cgInfoModel.thisData.designOrgQualification}"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="设计压力MPa"/>
|
|
|
- <cus:QTextInput width="200" text="@{thisData.designPressure.toString()}"/>
|
|
|
+ <cus:QTextInput width="200" id="designPressure" type="double" text="{cgInfoModel.thisData.designPressure.toString() =='NaN'?'':cgInfoModel.thisData.designPressure.toString()}"/>
|
|
|
<cus:QLabel width="135" text="设计温度℃"/>
|
|
|
- <cus:QTextInput width="200" text="@{thisData.designTemp.toString()}"/>
|
|
|
+ <cus:QTextInput width="200" id="designTemp" type="double" text="{cgInfoModel.thisData.designTemp.toString() =='NaN'?'':cgInfoModel.thisData.designTemp.toString()}"/>
|
|
|
</s:HGroup>
|
|
|
+
|
|
|
+
|
|
|
+ <s:BorderContainer width="100%" borderVisible="false" height="32" >
|
|
|
+ </s:BorderContainer>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
- <cus:QLabel width="135" text="是否有建造工程资料(竣工资料)"/>
|
|
|
- <ui:CheckBox id="haveCompletionInfo" selected="{'Y'==thisData.haveCompletionInfo}" label="是" valueCommit="completionInfoFun(this.haveCompletionInfo)"/>
|
|
|
- <ui:CheckBox id="lackCompletionInfo" selected="{'N'==thisData.haveCompletionInfo}" label="否" valueCommit="completionInfoFun(this.lackCompletionInfo)"/>
|
|
|
+ <cus:QLabel width="200" text="是否有建造工程资料(竣工资料)"/>
|
|
|
+ <ui:CheckBox id="haveCompletionInfo" selected="{'Y'==cgInfoModel.thisData.haveCompletionInfo}" label="是" valueCommit="haveCompletionInfoFun()"/>
|
|
|
+ <ui:CheckBox id="lackCompletionInfo" selected="{'N'==cgInfoModel.thisData.haveCompletionInfo}" label="否" valueCommit="lackCompletionInfoFun()"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="建造单位名称"/>
|
|
|
- <cus:QTextInput width="547" text="@{thisData.buildOrgName}"/>
|
|
|
+ <cus:QTextInput width="547" text="@{cgInfoModel.thisData.buildOrgName}"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
<cus:QLabel width="135" text="建造单位资质"/>
|
|
|
- <cus:QTextInput width="547" text="@{thisData.buildOrgQualification}"/>
|
|
|
+ <cus:QTextInput width="547" text="@{cgInfoModel.thisData.buildOrgQualification}"/>
|
|
|
</s:HGroup>
|
|
|
+
|
|
|
+ <s:BorderContainer width="100%" borderVisible="false" height="32" >
|
|
|
+ </s:BorderContainer>
|
|
|
+ <!-- 是否对储罐进行过定期检测-->
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
- <cus:QLabel width="135" text="是否对储罐进行过定期检测"/>
|
|
|
- <ui:CheckBox id="isRegularDetection" selected="{'Y'==thisData.isRegularDetection}" label="是" valueCommit="regularDetectionFun(this.isRegularDetection)"/>
|
|
|
- <ui:CheckBox id="notRegularDetection" selected="{'N'==thisData.isRegularDetection}" label="否" valueCommit="regularDetectionFun(this.notRegularDetection)"/>
|
|
|
+ <cus:QLabel width="200" text="是否对储罐进行过定期检测"/>
|
|
|
+ <ui:CheckBox id="isRegularDetection" selected="{'Y'==cgInfoModel.thisData.isRegularDetection}" label="是" valueCommit="isRegularDetectionFun()"/>
|
|
|
+ <ui:CheckBox id="notRegularDetection" selected="{'N'==cgInfoModel.thisData.isRegularDetection}" label="否" valueCommit="notRegularDetectionFun()"/>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
- <cus:QLabel width="135" text="检测时间"/>
|
|
|
- <cus:QLabel width="250" text="检测机构"/>
|
|
|
- <cus:QLabel width="250" text="检测结论"/>
|
|
|
+ <s:HGroup width="210" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QLabel width="150" text="检测时间"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="230" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QLabel width="150" text="检测机构"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="230" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QLabel width="150" text="检测结论"/>
|
|
|
+ </s:HGroup>
|
|
|
</s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
- <ui:DateTime width="135" id="buildDate" dateTime="{thisData.detectionTime}" />
|
|
|
- <cus:QTextInput width="200" text="@{thisData.detectionOrg}"/>
|
|
|
- <cus:QTextInput width="200" text="@{thisData.detectionConclusion}"/>
|
|
|
+ <s:HGroup width="210" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <ui:DateTime width="200" id="detectionTime" dateTime="{cgInfoModel.thisData.detectionTime}" />
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="230" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QTextInput width="220" text="@{cgInfoModel.thisData.detectionOrg}"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="230" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QTextInput width="220" text="@{cgInfoModel.thisData.detectionConclusion}"/>
|
|
|
+ </s:HGroup>
|
|
|
</s:HGroup>
|
|
|
+
|
|
|
+ <s:BorderContainer width="100%" borderVisible="false" height="32" >
|
|
|
+ </s:BorderContainer>
|
|
|
+ <!--是否对储罐进行过维修-->
|
|
|
+ <s:HGroup width="100%" verticalAlign="middle">
|
|
|
+ <cus:QLabel width="200" text="是否对储罐进行过维修"/>
|
|
|
+ <ui:CheckBox id="isRepaired" selected="{'Y'==cgInfoModel.thisData.isRepaired}" label="是" valueCommit="isRepairedFun()"/>
|
|
|
+ <ui:CheckBox id="notRepaired" selected="{'N'==cgInfoModel.thisData.isRepaired}" label="否" valueCommit="notRepairedFun()"/>
|
|
|
+ </s:HGroup>
|
|
|
<s:HGroup width="100%" verticalAlign="middle">
|
|
|
- <cus:QLabel width="135" text="是否对储罐进行过维修"/>
|
|
|
- <ui:CheckBox id="isRepaired" selected="{'Y'==thisData.isRepaired}" label="是" valueCommit="repairedFun(this.isRepaired)"/>
|
|
|
- <ui:CheckBox id="notRepaired" selected="{'N'==thisData.isRepaired}" label="否" valueCommit="repairedFun(this.notRepaired)"/>
|
|
|
+ <s:HGroup width="210" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QLabel width="150" text="维修时间"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="230" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QLabel width="150" text="维修部位"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="230" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QLabel width="150" text="维修方式"/>
|
|
|
+ </s:HGroup>
|
|
|
</s:HGroup>
|
|
|
+ <s:HGroup width="100%" verticalAlign="middle">
|
|
|
+ <s:HGroup width="210" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <ui:DateTime width="200" id="repairTime" dateTime="{cgInfoModel.thisData.repairTime}" />
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="230" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QTextInput width="220" text="@{cgInfoModel.thisData.repairPart}"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="230" verticalAlign="middle" horizontalAlign="center">
|
|
|
+ <cus:QTextInput width="220" text="@{cgInfoModel.thisData.repairWay}"/>
|
|
|
+ </s:HGroup>
|
|
|
+ </s:HGroup>
|
|
|
|
|
|
<s:HGroup width="100%" horizontalAlign="center">
|
|
|
- <s:Button id="save" label="{resourceManager.getString('common','btn.save')}" click="{doSave()}" skinClass="skins.cus.ButtonSkin"/>
|
|
|
+ <s:Button id="save" label="{resourceManager.getString('common','btn.save')}" click="{cgInfoModel.doSave()}" skinClass="skins.cus.ButtonSkin"/>
|
|
|
<s:Button id="close" label="{resourceManager.getString('common','btn.close')}" click="{doPopupClose(this)}" skinClass="skins.cus.ButtonSkin"/>
|
|
|
</s:HGroup>
|
|
|
|