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);