1 line
25 KiB
JavaScript
1 line
25 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"03c6":function(n,t,e){"use strict";e.r(t);var o=e("fcbd"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=i.a},"11f8":function(n,t,e){var o=e("c86c");t=o(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.index-undo[data-v-088952bc]{background-color:#fff}.index-undo .undo-title[data-v-088952bc]{padding:%?20?%;border-bottom:%?1?% solid #f1f1f1}.index-undo .undo-menu[data-v-088952bc]{padding:%?20?%}.index-undo .undo-menu .menu-item[data-v-088952bc]{width:33.33%;padding:%?30?%;text-align:center;border-bottom:%?1?% solid #f1f1f1;border-right:%?1?% solid #f1f1f1}.index-undo .undo-menu .menu-item uni-image[data-v-088952bc]{width:%?80?%;height:%?80?%}.index-undo .undo-menu .menu-item[data-v-088952bc]:nth-child(3n+3){border-right:none}.index-undo .undo-menu .menu-item[data-v-088952bc]:nth-child(n+4){border-bottom:none}',""]),n.exports=t},"172a":function(n,t,e){"use strict";e("6a54");var o=e("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.auditOaWorkflow=function(n,t){return new Promise((function(e,o){n.context.post({url:i.default.auditOaWorkflow,data:t,success:function(n){e(n)},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.auditUndo=function(n,t,e){return new Promise((function(o,i){n.context.post({url:t,data:e,success:function(n){o(n)},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.getNextTask=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.getNextTask,data:t,success:function(n){0==n.data.code?e(n.data):wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.listRunWorkflowImage=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.listRunWorkflowImage,data:t,success:function(n){0==n.data.code?e(n.data):wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.queryNextDealUser=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.queryNextDealUser,data:t,success:function(n){if(0!=n.data.code)o("未包含数据");else{var t=n.data.data;e(t)}},fail:function(n){o(n)}})}))},t.queryOaWorkflow=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.queryOaWorkflow,data:t,success:function(n){0==n.data.code?e(n.data):wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.queryOaWorkflowForm=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.queryOaWorkflowForm,data:t,success:function(n){0==n.data.code?e(n.data):wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.queryOaWorkflowFormData=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.queryOaWorkflowFormData,data:t,success:function(n){0==n.data.code?e(n.data):wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.queryOaWorkflowUser=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.queryOaWorkflowUser,data:t,success:function(n){0==n.data.code?e(n.data):wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.queryOaWorkflowUserHisTaskFormData=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.queryOaWorkflowUserHisTaskFormData,data:t,success:function(n){0==n.data.code?e(n.data):wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.queryOaWorkflowUserTaskFormData=function(n,t){return new Promise((function(e,o){n.context.get({url:i.default.queryOaWorkflowUserTaskFormData,data:t,success:function(n){0==n.data.code?e(n.data):wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.saveOaWorkflowFormData=function(n,t){return new Promise((function(e,o){n.context.post({url:i.default.saveOaWorkflowFormData,data:t,success:function(n){e(n)},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.updateOaWorkflowFormData=function(n,t){return new Promise((function(e,o){n.context.post({url:i.default.updateOaWorkflowFormData,data:t,success:function(n){e(n)},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},e("bf0f");var i=o(e("9494"))},"2cb6":function(n,t,e){"use strict";e.r(t);var o=e("c315"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=i.a},3318:function(n,t,e){"use strict";e.r(t);var o=e("49fc1"),i=e("b09d");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);e("4b18");var u=e("828b"),r=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"088952bc",null,!1,o["a"],void 0);t["default"]=r.exports},"3ad5":function(n,t,e){var o=e("c86c");t=o(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.index-undo[data-v-496109ef]{background-color:#fff}.index-undo .undo-title[data-v-496109ef]{padding:%?20?%;border-bottom:%?1?% solid #f1f1f1}.index-undo .undo-menu[data-v-496109ef]{padding:%?20?%}.index-undo .undo-menu .menu-item[data-v-496109ef]{width:33.33%;padding:%?30?%;text-align:center;border-right:%?1?% solid #f1f1f1}.index-undo .undo-menu .menu-item uni-image[data-v-496109ef]{width:%?80?%;height:%?80?%}.index-undo .undo-menu .menu-item .work-icon[data-v-496109ef]{font-size:%?64?%;color:#368cfe}.index-undo .undo-menu .menu-item[data-v-496109ef]:nth-child(3n+3){border-right:none}.index-undo .undo-menu .menu-item[data-v-496109ef]:nth-child(n+3){border-bottom:none}',""]),n.exports=t},"49fc1":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var o=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"index-undo"},[e("v-uni-view",{staticClass:"undo-title"},[e("v-uni-text",{staticClass:"text-bold"},[n._v(" "+n._s(n.$t("components.vc-index.index-undo.工作待办"))+" ")])],1),e("v-uni-view",{staticClass:"undo-menu flex justify-start flex-wrap"},n._l(n.undoMenus,(function(t,o){return e("v-uni-view",{key:o,staticClass:"menu-item",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n._toPage(t)}}},[e("v-uni-view",{staticStyle:{position:"relative"}},[e("v-uni-image",{attrs:{src:t.icon}}),e("v-uni-view",[e("v-uni-text",[n._v(n._s(t.name))])],1),t.undoCount>0?e("v-uni-view",{staticClass:"cu-tag badge"},[[n._v(n._s(t.undoCount>99?"99+":t.undoCount))]],2):n._e()],1)],1)})),1)],1)},i=[]},"4b18":function(n,t,e){"use strict";var o=e("a3c6"),i=e.n(o);i.a},5245:function(n,t,e){"use strict";var o=e("b480"),i=e.n(o);i.a},5650:function(n,t,e){var o=e("6e2e");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[n.i,o,""]]),o.locals&&(n.exports=o.locals);var i=e("967d").default;i("30c13e84",o,!0,{sourceMap:!1,shadowMode:!1})},5750:function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var o=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"index-undo"},[e("v-uni-view",{staticClass:"undo-title"},[e("v-uni-text",{staticClass:"text-bold"},[n._v(" "+n._s(n.$t("components.vc-index.index-undo-work.工作单")))])],1),e("v-uni-view",{staticClass:"undo-menu flex justify-start flex-wrap"},n._l(n.undoMenus,(function(t,o){return e("v-uni-view",{key:o,staticClass:"menu-item",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n._toPage(t)}}},[e("v-uni-view",{staticStyle:{position:"relative"}},[e("v-uni-view",{staticClass:"work-icon"},[n._v(n._s(t.name))]),"/pages/work/copyWork"==t.url?e("v-uni-view",{staticClass:"margin-top-sm"},[e("v-uni-text",[n._v(" "+n._s(n.$t("components.vc-index.index-undo-work.送我")))])],1):e("v-uni-view",{staticClass:"margin-top-sm"},[e("v-uni-text",[n._v(n._s(n.$t("components.vc-index.index-undo-work.工作单")))])],1),t.undoCount>0?e("v-uni-view",{staticClass:"cu-tag badge"},[[n._v(n._s(t.undoCount>99?"99+":t.undoCount))]],2):n._e()],1)],1)})),1)],1)},i=[]},"58ca":function(n,t,e){var o=e("d40b");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[n.i,o,""]]),o.locals&&(n.exports=o.locals);var i=e("967d").default;i("499eb2bc",o,!0,{sourceMap:!1,shadowMode:!1})},"5e65":function(n,t,e){"use strict";e.r(t);var o=e("acd6"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=i.a},"66ea":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var o=function(){var n=this,t=n.$createElement,e=n._self._c||t;return n.oaWorkflowFlows&&n.oaWorkflowFlows.length>0?e("v-uni-view",{staticClass:"index-undo"},[e("v-uni-view",{staticClass:"undo-title"},[e("v-uni-text",{staticClass:"text-bold"},[n._v("OA待办")])],1),e("v-uni-view",{staticClass:"cu-list grid margin-top",class:"col-3"},n._l(n.oaWorkflowFlows,(function(t,o){return e("v-uni-view",{key:o,staticClass:"cu-item",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.todoOaWorkflow(t)}}},[e("v-uni-view",{class:["cuIcon-form","text-red"]},[t.undoCount>0?e("v-uni-view",{staticClass:"cu-tag badge"},[[n._v(n._s(t.undoCount>99?"99+":t.undoCount))]],2):n._e()],1),e("v-uni-text",[n._v(n._s(t.flowName))])],1)})),1)],1):n._e()},i=[]},"6e2e":function(n,t,e){var o=e("c86c");t=o(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.index-undo[data-v-6ec352fe]{background-color:#fff}.index-undo .undo-title[data-v-6ec352fe]{padding:%?20?%;border-bottom:%?1?% solid #f1f1f1}.index-undo .undo-menu[data-v-6ec352fe]{padding:%?20?%}.index-undo .undo-menu .menu-item[data-v-6ec352fe]{width:33.33%;padding:%?30?%;text-align:center;border-bottom:%?1?% solid #f1f1f1;border-right:%?1?% solid #f1f1f1}.index-undo .undo-menu .menu-item uni-image[data-v-6ec352fe]{width:%?80?%;height:%?80?%}.index-undo .undo-menu .menu-item[data-v-6ec352fe]:nth-child(3n+3){border-right:none}.index-undo .undo-menu .menu-item[data-v-6ec352fe]:nth-child(n+4){border-bottom:none}',""]),n.exports=t},"6eeb":function(n,t,e){"use strict";var o=e("58ca"),i=e.n(o);i.a},"7cd3":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var o=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",[e("v-uni-view",{staticClass:"header flex justify-around align-center"},n._l(n.headerMenus,(function(t,o){return e("v-uni-view",{key:o,staticClass:"header-item ",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n._toPage(t)}}},[e("v-uni-view",{staticStyle:{position:"relative"}},[e("v-uni-image",{attrs:{src:t.icon}}),e("v-uni-view",[e("v-uni-text",[n._v(n._s(t.name))])],1),t.undoCount>0?e("v-uni-view",{staticClass:"cu-tag badge"},[[n._v(n._s(t.undoCount>99?"99+":t.undoCount))]],2):n._e()],1)],1)})),1)],1)},i=[]},8940:function(n,t,e){"use strict";var o=e("5650"),i=e.n(o);i.a},9136:function(n,t,e){"use strict";e("6a54");var o=e("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(e("fe02")),a=o(e("3318")),u=o(e("d1aa")),r=o(e("cf52")),d=e("ab74"),c=e("7fee"),s={data:function(){return{undo:{allocation:"0",collection:"0",complaint:"0",contractApply:"0",contractChange:"0",inspectionTaskCount:0,itemReleaseCount:0,maintainanceTaskCount:0,ownerSettledApplyCount:0,purchase:"0",repair:"0",visitUndoCount:0,workSendCount:0,workUndDoCount:0,workUndoCopyCount:0}}},components:{indexHeader:i.default,indexUndo:a.default,indexUndoOa:r.default,indexUndoWork:u.default},onLoad:function(){this.java110Context.onLoad();var n=this;setTimeout((function(){n.$refs.indexHeaderRef._initData(n.undo),n.$refs.indexUndoRef._initData(n.undo),n.$refs.indexUndoWorkRef._initData(n.undo)}),1e3)},onShow:function(){var n=this;setTimeout((function(){n.$refs.indexUndoOaRef._queryOaWorkFlow()}),1e3),this._loadUndoData()},methods:{_loadUndoData:function(){var n=this;(0,d.queryUndoCount)(this,{communityId:(0,c.getCurrentCommunity)().communityId,page:1,row:10}).then((function(t){n.undo=t.data,n.$refs.indexHeaderRef._initData(n.undo),n.$refs.indexUndoRef._initData(n.undo),n.$refs.indexUndoWorkRef._initData(n.undo)}))}}};t.default=s},a3c6:function(n,t,e){var o=e("11f8");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[n.i,o,""]]),o.locals&&(n.exports=o.locals);var i=e("967d").default;i("71b5cf7e",o,!0,{sourceMap:!1,shadowMode:!1})},ab74:function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.listStaffPrivileges=function(n){n.context.get({url:n.url.listStaffPrivileges,data:{a:"123"},success:function(n){var t=n.data,e=[];t.datas.forEach((function(n){e.push(n.pId)})),uni.setStorageSync("hc_staff_privilege",JSON.stringify(e))},fail:function(n){}})},t.loadActivitys=function(n,t){return new Promise((function(e,o){n.context.get({url:n.url.listActivitiess,data:t,success:function(n){e(n)},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.loadAdvert=function(n,t){return new Promise((function(e,o){n.context.get({url:n.url.listAdvertPhoto,data:t,success:function(n){e(n)},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.loadCategory=function(){return{pageone:[{name:"维修工单",src:"/static/image/index_repair.png",href:"/pages/repairOrder/repairOrder"},{name:"维修待办",src:"/static/image/index_dealRepair.png",href:"/pages/repairDispatch/repairDispatch"},{name:"巡检打卡",src:"/static/image/index_inspection.png",href:"/pages/inspection/inspection"},{name:"投诉待办",src:"/static/image/index_complaint.png",href:"/pages/complaintList/complaintList"},{name:"公告",src:"/static/image/index_notice.png",href:"/pages/notice/notice"},{name:"房产查询",src:"/static/image/index_bill.png",href:"/pages/roomDetail/roomDetail"},{name:"收银台",src:"/static/image/payOweFee.png",href:"/pages/roomPayFee/roomPayFee"},{name:"水电抄表",src:"/static/image/index_meter.png",href:"/pages/meterReading/meterReading"}],pagetwo:[{name:"空置房",src:"/static/image/index_complaint.png",href:"/pages/applyRoom/applyRoom"}]}},t.loadCategoryMenus=function(n,t){return new Promise((function(e,o){n.context.get({url:n.url.queryMenus,data:t,success:function(n){var t=n.data;null==t||void 0==t||t.length,e(t)},fail:function(n){console.log(123123123,n),wx.showToast({title:n,icon:"none",duration:2e3})}})}))},t.queryUndoCount=function(n,t){return new Promise((function(e,o){n.context.get({url:n.url.queryUndoCount,data:t,success:function(n){e(n.data)},fail:function(n){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},e("bf0f"),e("2797"),e("aa9c"),e("d4b5")},acd6:function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"indexUndoWork",data:function(){return{undoMenus:[]}},methods:{_initData:function(n){this.undoMenus=[{name:this.$t("components.vc-index.index-undo-work.发"),url:"/pages/work/startWork",undoCount:n.workSendCount,pri:"502021052747070004"},{name:this.$t("components.vc-index.index-undo-work.办"),url:"/pages/work/doWork",undoCount:n.workUndDoCount,pri:"502021052762260006"},{name:this.$t("components.vc-index.index-undo-work.抄"),url:"/pages/work/copyWork",undoCount:n.workUndoCopyCount,pri:"502021052707250008"}]},_toPage:function(n){uni.navigateTo({url:n.url})}}};t.default=o},b09d:function(n,t,e){"use strict";e.r(t);var o=e("ba38"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=i.a},b480:function(n,t,e){var o=e("3ad5");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[n.i,o,""]]),o.locals&&(n.exports=o.locals);var i=e("967d").default;i("57ab5dad",o,!0,{sourceMap:!1,shadowMode:!1})},ba38:function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"indexAc",data:function(){return{undoMenus:[]}},methods:{_initData:function(n){this.undoMenus=[{icon:"/static/image/index_apply_audit.png",name:this.$t("components.vc-index.index-undo.采购待办"),url:"/pages/resource/purchaseApplyAuditOrders",undoCount:n.purchase,pri:"502021052747070004"},{icon:"/static/image/index_itemout_audit.png",name:this.$t("components.vc-index.index-undo.领用待办"),url:"/pages/resource/itemOutAuditOrders",undoCount:n.collection,pri:"502021052762260006"},{icon:"/static/image/index_allocation.png",name:this.$t("components.vc-index.index-undo.调拨待办"),url:"/pages/resource/allocationStorehouseAuditOrders",undoCount:n.allocation,pri:"502021052707250008"},{icon:"/static/image/index_complaint.png",name:this.$t("components.vc-index.index-undo.物品放行"),url:"/pages/itemRelease/itemRelease",undoCount:n.itemReleaseCount,pri:"502023011673900012"},{icon:"/static/image/index_repair.png",name:this.$t("components.vc-index.index-undo.访客待办"),url:"/pages/visit/visit",undoCount:n.visitUndoCount,pri:"502023012597990035"}]},_toPage:function(n){this.java110Context.hasPrivilege(n.pri)?uni.navigateTo({url:n.url}):uni.showToast({icon:"none",title:this.$t("components.vc-index.index-undo.无权限,请联系管理员")})}}};t.default=o},be66:function(n,t,e){"use strict";e.r(t);var o=e("9136"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=i.a},c315:function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"indexHeader",data:function(){return{headerMenus:[]}},methods:{_initData:function(n){this.headerMenus=[{icon:"/static/image/index/i_complaint.png",name:this.$t("components.vc-index.index-header.投诉待办"),url:"/pages/complaintList/complaintList",undoCount:n.complaint,pri:"502021012519810021"},{icon:"/static/image/index/i_repair.png",name:this.$t("components.vc-index.index-header.报修待办"),url:"/pages/repairDispatch/repairDispatch",undoCount:n.repair,pri:"502021012507510017"},{icon:"/static/image/index/i_inspection.png",name:this.$t("components.vc-index.index-header.巡检打卡"),url:"/pages/inspection/inspection",undoCount:n.inspectionTaskCount,pri:"502021012567490019"},{icon:"/static/image/index/i_machine.png",name:this.$t("components.vc-index.index-header.设备保养"),url:"/pages/maintainance/maintainance",undoCount:n.maintainanceTaskCount,pri:"502022110923120007"}]},_toPage:function(n){this.java110Context.hasPrivilege(n.pri)?uni.navigateTo({url:n.url}):uni.showToast({icon:"none",title:this.$t("components.vc-index.index-header.无权限,联系管理员")})}}};t.default=o},ca49:function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var o=function(){var n=this.$createElement,t=this._self._c||n;return t("v-uni-view",{staticClass:"vc-index"},[t("index-header",{ref:"indexHeaderRef"}),t("v-uni-view",{staticClass:"margin-top"},[t("index-undo",{ref:"indexUndoRef"})],1),t("v-uni-view",{staticClass:"margin-top"},[t("index-undo-work",{ref:"indexUndoWorkRef"})],1),t("v-uni-view",{staticClass:"margin-top"},[t("index-undo-oa",{ref:"indexUndoOaRef"})],1)],1)},i=[]},cf52:function(n,t,e){"use strict";e.r(t);var o=e("66ea"),i=e("03c6");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);e("8940");var u=e("828b"),r=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"6ec352fe",null,!1,o["a"],void 0);t["default"]=r.exports},d1aa:function(n,t,e){"use strict";e.r(t);var o=e("5750"),i=e("5e65");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);e("5245");var u=e("828b"),r=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"496109ef",null,!1,o["a"],void 0);t["default"]=r.exports},d40b:function(n,t,e){var o=e("c86c");t=o(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.header[data-v-26b6d232]{width:100%;\n /** #ifndef H5 **/height:%?220?%;\n /** #endif **/\n /** #ifdef H5 **/height:%?300?%;\n /** #endif **/background-color:#368cfe;color:#fff}.header .header-item[data-v-26b6d232]{text-align:center}.header .header-item uni-image[data-v-26b6d232]{height:%?80?%;width:%?80?%}',""]),n.exports=t},f305:function(n,t,e){"use strict";e.r(t);var o=e("ca49"),i=e("be66");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);var u=e("828b"),r=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"f6295108",null,!1,o["a"],void 0);t["default"]=r.exports},fcbd:function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=e("172a"),i={name:"indexUndoOa",data:function(){return{oaWorkflowFlows:[]}},methods:{_queryOaWorkFlow:function(){var n=this;(0,o.queryOaWorkflow)(this,{page:1,row:100,state:"C",flowType:"1001"}).then((function(t){console.log(t.data),n.oaWorkflowFlows=t.data}))},todoOaWorkflow:function(n){uni.navigateTo({url:"/pages/newOaWorkflowUndo/newOaWorkflowUndo?flowId="+n.flowId+"&flowName="+n.flowName})}}};t.default=i},fe02:function(n,t,e){"use strict";e.r(t);var o=e("7cd3"),i=e("2cb6");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);e("6eeb");var u=e("828b"),r=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"26b6d232",null,!1,o["a"],void 0);t["default"]=r.exports}}]); |