-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcabinet_cell_Vv.xml
18 lines (18 loc) · 1.41 KB
/
cabinet_cell_Vv.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<GroupBox Name="GBDVcabinet_cell" cols="xs12 sm12 md12 lg12"><Ctrls>
<ListCtrl Name="cabinet_cell_vLst" ToolTip="ttp_cabinet_cell_v" Size="700,450" Heading="cell_row,20;cell_col,20;op_idx,55;op_code,55;cabinetid,55;cellid,55;uptime,150;opera,55;" loadedclick="0">
<DbDetails >
<Index>cellid</Index>
<DbTable>his.cabinet_cell c left join his.users u on c.opera=u.user_id</DbTable>
<Data>c.cell_row,c.cell_col,c.op_idx,c.op_code,c.cabinetid,c.cellid,c.uptime,u.user_name opera</Data>
<Order>cellid</Order></DbDetails>
<operator refresh="1" initial="0" firstpage="0" prepage="0" nextpage="0">
<op text="addone" mustselected="0"><if cond="!%{cabinetid}"><alert expr="cabinetid is Empty!"/><else/><submit next="$parent.cabinet_cell.GBDEDITcabinet_cell" function="reset"/><assign name="$parent.cabinet_cell.cabinetid" expr="%{cabinetid}"/><assign name="$parent.cabinet_cell.frmwndctrl" expr="%{this}"/></if></op>
<op text="modify"><DbDetails><Where>cellid='%{cabinet_cell_vLst[cellid]}'</Where></DbDetails><submit namelist="DbDetails" next="$parent.cabinet_cell.cabinet_cellLst"/><assign name="$parent.cabinet_cell.frmwndctrl" expr="%{this}"/></op>
<op text="delete" needconfirm="1"><DbDetails>
<DbTable>his.cabinet_cell</DbTable>
<Where>cellid='%{cabinet_cell_vLst[cellid]}'</Where>
<queryFormat>delete from %{table} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><submit/></op>
</operator>
</ListCtrl>
</Ctrls></GroupBox>