From e7aca776f3e42c412786627ac3c6d9c462910d3a Mon Sep 17 00:00:00 2001 From: 1098226878 <1098226878@qq.com> Date: Thu, 9 Sep 2021 12:26:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=B7=A5=E4=BD=9C=E5=8A=9E?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newOaWorkflowDoing.html | 120 ++++++++++++++++++ .../newOaWorkflowDoing/newOaWorkflowDoing.js | 47 +++++++ 2 files changed, 167 insertions(+) create mode 100644 public/pages/property/newOaWorkflowDoing/newOaWorkflowDoing.html create mode 100644 public/pages/property/newOaWorkflowDoing/newOaWorkflowDoing.js diff --git a/public/pages/property/newOaWorkflowDoing/newOaWorkflowDoing.html b/public/pages/property/newOaWorkflowDoing/newOaWorkflowDoing.html new file mode 100644 index 000000000..cee31b06f --- /dev/null +++ b/public/pages/property/newOaWorkflowDoing/newOaWorkflowDoing.html @@ -0,0 +1,120 @@ +
+
+
+
+
+
我的待办
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
我的已办
+
+
+
+
+
+ +
+
+ +
+
+ +
+ + + +
+
+ +
+
+
+
+
+ +
\ No newline at end of file diff --git a/public/pages/property/newOaWorkflowDoing/newOaWorkflowDoing.js b/public/pages/property/newOaWorkflowDoing/newOaWorkflowDoing.js new file mode 100644 index 000000000..7da3720b9 --- /dev/null +++ b/public/pages/property/newOaWorkflowDoing/newOaWorkflowDoing.js @@ -0,0 +1,47 @@ +/** + 入驻小区 +**/ +(function (vc) { + var DEFAULT_PAGE = 1; + var DEFAULT_ROWS = 100; + vc.extends({ + data: { + newOaWorkflowManageInfo: { + newOaWorkflows: [], + conditions: { + state: 'C' + } + } + }, + _initMethod: function () { + vc.component._listNewOaWorkflows(DEFAULT_PAGE, DEFAULT_ROWS); + }, + _initEvent: function () { + + }, + methods: { + _listNewOaWorkflows: function (_page, _rows) { + + vc.component.newOaWorkflowManageInfo.conditions.page = _page; + vc.component.newOaWorkflowManageInfo.conditions.row = _rows; + var param = { + params: vc.component.newOaWorkflowManageInfo.conditions + }; + + //发送get请求 + vc.http.apiGet('/oaWorkflow/queryOaWorkflow', + param, + function (json, res) { + var _newOaWorkflowManageInfo = JSON.parse(json); + $that.newOaWorkflowManageInfo.newOaWorkflows = _newOaWorkflowManageInfo.data; + }, function (errInfo, error) { + console.log('请求失败处理'); + } + ); + }, + _toGo:function(_url){ + vc.jumpToPage(_url); + } + } + }); +})(window.vc);