浏览代码

list.js——导出
LDPSD/formeditFL.html——呈批时限
WJCBD/formeditFL.html——呈批时限

ZYjames 1 周之前
父节点
当前提交
52dd22655f

+ 6 - 0
tpl/shouwenbg/LDPSD/formeditFL.html

@@ -178,6 +178,12 @@
                                                 </div>
                                                 <div class="sp-line-gray"></div>
                                             </div>
+                                            <div class="form-item" ng-if="!ctl.hide('show','CPSX')">
+                                                <div class="sp-col-30" style="line-height:32px;" title="呈批时限">呈批时限:</div>
+                                                <div class="sp-col-70">
+                                                    <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.CPSX" ng-disabled="ctl.hide('readonly','CPSX')" ng-change="ctl.changeFiled('CPSX')" />
+                                                </div>
+                                            </div>
                                             <div class="form-item" ng-if="!ctl.hide('show','BT')">
                                                 <div class="sp-col-30" style="line-height:32px;" title="公文标题">公文标题:</div>
                                                 <div class="sp-col-70">

+ 4 - 0
tpl/shouwenbg/LDPSD/js/formeditFL.js

@@ -249,6 +249,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$interval", "$sc
     }
 
     self.readonly = {
+        CPSX: false,
         JJCD: false,
         SWLB: false,
         SWBH: false,
@@ -275,6 +276,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$interval", "$sc
         USAGE: false
     }
     self.show = {
+        CPSX: false,
         JJCD: false,
         SWLB: false,
         SWBH: false,
@@ -526,6 +528,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$interval", "$sc
                 USAGE: res.data.SW_LDPSCBD.USAGE
             }
             self.readonly = {
+                CPSX: res.data.SW_LDPSCBD["CPSX.EREADONLY"] == "true",
                 JJCD: res.data.SW_LDPSCBD["JJCD.EREADONLY"] == "true",
                 SWLB: res.data.SW_LDPSCBD["SWLB.EREADONLY"] == "true",
                 SWBH: res.data.SW_LDPSCBD["SWBH.EREADONLY"] == "true",
@@ -552,6 +555,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$interval", "$sc
                 USAGE: res.data.SW_LDPSCBD["USAGE.EREADONLY"] == "true"
             }
             self.show = {
+                CPSX: res.data.SW_LDPSCBD["CPSX.ESHOW"] == "true",
                 JJCD: res.data.SW_LDPSCBD["JJCD.ESHOW"] == "true",
                 SWLB: res.data.SW_LDPSCBD["SWLB.ESHOW"] == "true",
                 SWBH: res.data.SW_LDPSCBD["SWBH.ESHOW"] == "true",

+ 3 - 3
tpl/shouwenbg/LDPSD/js/formeditZW.js

@@ -684,7 +684,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$sce", function
         .success(function (obj) {
             var res = strToJson(s4.decryptData_CBC(obj.data));
             self.data = {
-							CPSX: res.data.SW_ZJWWJCBD.CPSX == "" ? "" : sp.format(res.data.SW_ZJWWJCBD.CPSX),
+                CPSX: res.data.SW_LDPSCBD.CPSX == "" ? "" : sp.format(res.data.SW_LDPSCBD.CPSX),
                 ID: res.data.SW_LDPSCBD.ID,
                 APPCODE: res.data.SW_LDPSCBD.APPCODE,
                 JJCD: res.data.SW_LDPSCBD.JJCD == "" ? self.JJCD[0].CODE : res.data.SW_LDPSCBD.JJCD,
@@ -717,7 +717,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$sce", function
                 USAGE: res.data.SW_LDPSCBD.USAGE
             }
             self.readonly = {
-							CPSX: true,
+                CPSX: res.data.SW_LDPSCBD["CPSX.EREADONLY"] == "true",
                 JJCD: res.data.SW_LDPSCBD["JJCD.EREADONLY"] == "true",
 								SWLB: res.data.SW_LDPSCBD["SWLB.EREADONLY"] == "true",
                 SWBH: res.data.SW_LDPSCBD["SWBH.EREADONLY"] == "true",
@@ -744,7 +744,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$sce", function
                 USAGE: res.data.SW_LDPSCBD["USAGE.EREADONLY"] == "true"
             }
             self.show = {
-							  CPSX:  res.data.SW_ZJWWJCBD["CPSX.ESHOW"] == "true",
+							  CPSX:  res.data.SW_LDPSCBD["CPSX.ESHOW"] == "true",
                 JJCD: res.data.SW_LDPSCBD["JJCD.ESHOW"] == "true",
 								SWLB: res.data.SW_LDPSCBD["SWLB.ESHOW"] == "true",
                 SWBH: res.data.SW_LDPSCBD["SWBH.ESHOW"] == "true",

+ 6 - 0
tpl/shouwenbg/WJCBD/formeditFL.html

@@ -184,6 +184,12 @@
                                                 </div>
                                                 <div class="sp-line-gray"></div>
                                             </div>
+                                            <div class="form-item" ng-if="!ctl.hide('show','CPSX')">
+                                                <div class="sp-col-30" style="line-height:32px;" title="呈批时限">呈批时限:</div>
+                                                <div class="sp-col-70">
+                                                    <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.CPSX" ng-disabled="ctl.hide('readonly','CPSX')" ng-change="ctl.changeFiled('CPSX')" />
+                                                </div>
+                                            </div>
                                             <div class="form-item" ng-if="!ctl.hide('show','BT')">
                                                 <div class="sp-col-30" style="line-height:32px;" title="公文标题">公文标题:</div>
                                                 <div class="sp-col-70">

+ 4 - 0
tpl/shouwenbg/WJCBD/js/formeditFL.js

@@ -249,6 +249,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$interval", "$sc
     }
 
     self.readonly = {
+        CPSX: false,
         JJCD: false,
         MIJI: false,
         SWBH: false,
@@ -268,6 +269,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$interval", "$sc
         USAGE: false
     }
     self.show = {
+        CPSX: false,
         JJCD: false,
         MIJI: false,
         SWBH: false,
@@ -510,6 +512,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$interval", "$sc
                 SWQXLX:res.data.SW_ZJWWJCBD.SWQXLX==""?res.data.SW_ZJWWJCBD.SFDB != "C01"?"办理":"督办":res.data.SW_ZJWWJCBD.SWQXLX
             }
             self.readonly = {
+                CPSX: res.data.SW_ZJWWJCBD["CPSX.EREADONLY"] == "true",
                 JJCD: res.data.SW_ZJWWJCBD["JJCD.EREADONLY"] == "true",
                 MIJI: res.data.SW_ZJWWJCBD["MIJI.EREADONLY"] == "true",
                 SWBH: res.data.SW_ZJWWJCBD["SWBH.EREADONLY"] == "true",
@@ -534,6 +537,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$interval", "$sc
                 USAGE: res.data.SW_ZJWWJCBD["USAGE.EREADONLY"] == "true"
             }
             self.show = {
+                CPSX: res.data.SW_ZJWWJCBD["CPSX.ESHOW"] == "true",
                 JJCD: res.data.SW_ZJWWJCBD["JJCD.ESHOW"] == "true",
                 MIJI: res.data.SW_ZJWWJCBD["MIJI.ESHOW"] == "true",
                 SWBH: res.data.SW_ZJWWJCBD["SWBH.ESHOW"] == "true",

+ 3 - 1
tpl/shouwenbg/js/list.js

@@ -536,17 +536,19 @@ app.controller("listCtrl", ["$scope", "$http", "$timeout", "$interval", function
             { header: "来文单位", key: "LWDW", width: 20 },
             { header: "来文文号", key: "LWWH", width: 20 },
             { header: "来文日期", key: "LWRQ", width: 25 },
+            { header: "督办时限", key: "DBSX", width: 25 },
             { header: "上一节点转办时间", key: "RECEIVEDATE", width: 25 }
         ]
         self.listExcel = self.list.map(function (item) {
             return {
-                JJCD: item.JJCD,
+                JJCD: item.JJCD1,
                 FLOWNAME: item.FLOWNAME,
                 SWBH: item.SWBH,
                 TITLE: item.TITLE,
                 LWDW: item.LWDW,
                 LWWH: item.LWWH,
                 LWRQ: item.LWRQ,
+                DBSX: item.DBSX,
                 RECEIVEDATE: item.RECEIVEDATE
             }
         })