From 7411561962ca6e45e32844d7a626a6e89b8292e5 Mon Sep 17 00:00:00 2001
From: jiazx0107 <jiazx0107@163.com>
Date: 星期六, 17 一月 2026 16:59:56 +0800
Subject: [PATCH] 调整出入库通知单功能
---
fzzy-igdss-view/src/main/java/com/fzzy/igds/ConfByDept.view.xml | 57 +++++++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 43 insertions(+), 14 deletions(-)
diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/igds/ConfByDept.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/igds/ConfByDept.view.xml
index e7007b1..4bc359d 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/igds/ConfByDept.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/igds/ConfByDept.view.xml
@@ -132,11 +132,7 @@
</DataType>
</Model>
<View layout="padding:10">
- <ClientEvent name="onReady">
-
-/**
-* 鍑哄叆搴撻厤缃�
-*/
+ <ClientEvent name="onReady">//鍑哄叆搴撻厤缃�
inoutConf = function(){
var cur = view.get("#dgMain").get("selection");
if(cur){
@@ -147,24 +143,21 @@
$notify("璇峰厛閫夋嫨搴撳尯鈥︹��");
}
};
-
-/**
-* 鎶撴媿閰嶇疆
-*/
+
+// 鎶撴媿閰嶇疆
snapConf = function(){
var cur = view.get("#dgMain").get("selection");
if(cur){
var deptId = cur.get("id");
var url = "/com.fzzy.igds.SnapConf.d?deptId="+ deptId;
- window.$openTab("鎶撴媿閰嶇疆", url);
+ view.get("#iFrameSnap").set("path", url);
+ view.get("#dialogSnap").show();
}else{
$notify("璇峰厛閫夋嫨搴撳尯鈥︹��");
}
};
-/**
-* 宸℃閰嶇疆
-*/
+//宸℃閰嶇疆
patrolConf = function(){
var cur = view.get("#dgMain").get("selection");
if(cur){
@@ -176,10 +169,33 @@
}
};
+//宸ュ崟閰嶇疆
+workOrderConf = function(){
+ var cur = view.get("#dgMain").get("selection");
+ if(cur){
+ var deptId = cur.get("id");
+ var url = "/com.fzzy.work.WorkOrderConf.d?deptId="+ deptId;
+ window.$openTab("宸ュ崟閰嶇疆", url);
+ }else{
+ $notify("璇峰厛閫夋嫨搴撳尯鈥︹��");
+ }
+};
+
+//娴佸獟浣撻厤缃�
+cameraMediaConf = function(){
+ var cur = view.get("#dgMain").get("selection");
+ if(cur){
+ var deptId = cur.get("id");
+ var url = "/com.fzzy.igds.CameraMedia.d?deptId="+ deptId;
+ window.$openTab("娴佸獟浣撻厤缃�", url);
+ }else{
+ $notify("璇峰厛閫夋嫨搴撳尯鈥︹��");
+ }
+};
//鎿嶄綔
renderCell1 = function(arg,self){
var data = arg.data;
- var htm = "<a onClick='inoutConf()' class='a-btn1'>鍑哄叆搴撻厤缃�</a>&nbsp;|&nbsp;<a onClick='snapConf()' class='a-btn2'>鎶撴媿閰嶇疆</a>&nbsp;|&nbsp;<a onClick='patrolConf()' class='a-btn4'>宸℃閰嶇疆</a>";
+ var htm = "<a onClick='inoutConf()' class='a-btn1'>鍑哄叆搴撻厤缃�</a>&nbsp;|&nbsp;<a onClick='snapConf()' class='a-btn2'>鎶撴媿閰嶇疆</a>&nbsp;|&nbsp;<a onClick='patrolConf()' class='a-btn4'>宸℃閰嶇疆</a>&nbsp;|&nbsp;<a onClick='workOrderConf()' class='a-btn2'>宸ュ崟瀹℃壒</a>&nbsp;|&nbsp;<a onClick='cameraMediaConf()' class='a-btn1'>娴佸獟浣撻厤缃�</a>";
arg.dom.innerHTML = htm;
};

</ClientEvent>
@@ -220,5 +236,18 @@
</DataColumn>
</DataGrid>
</Container>
+ <Dialog id="dialogSnap">
+ <Property name="width">50%</Property>
+ <Property name="height">90%</Property>
+ <Property name="iconClass">fa fa-tasks</Property>
+ <Property name="caption">鎶撴媿閰嶇疆</Property>
+ <Buttons/>
+ <Children>
+ <IFrame id="iFrameSnap">
+ <Property name="width">100%</Property>
+ </IFrame>
+ </Children>
+ <Tools/>
+ </Dialog>
</View>
</ViewConfig>
--
Gitblit v1.9.3