(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-risk-check-check"],{"0ba2":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.request=function(t){return f.apply(this,arguments)},n("d3b7");var r=a(n("c7eb")),o=a(n("5530")),i=a(n("1da1")),c=a(n("442c")),s=n("662b"),u=c.default.base.pro;function f(){return f=(0,i.default)((0,r.default)().mark((function t(e){return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t,n){try{uni.showLoading({title:"加载中",mask:!0}),uni.request((0,o.default)((0,o.default)({},l(e)),{},{success:function(e){var a=e.data,r=a.code,o=a.msg;0===r?t(a):401===r?uni.showToast({title:o||"登录失效!",mask:!0,icon:"none",complete:function(){uni.navigateTo({url:"/pages/login/login"})}}):(n(a),uni.showToast({title:o,mask:!0,icon:"none"}))},fail:function(t){uni.showToast({title:t,mask:!0,icon:"none"}),n(t)},complete:function(t){uni.hideLoading()}}))}catch(a){uni.hideLoading(),n(a)}})));case 1:case"end":return t.stop()}}),t)}))),f.apply(this,arguments)}function l(t){var e=t.url;e=u+e;var n=(0,o.default)({},t.data),a=(0,o.default)({},t.header);a[c.default.TokenKey]=(0,s.getToken)(),a.appID=c.default.appID,a.appKey=c.default.appKey,a.appSecret=c.default.appSecret,a.permitTplId=c.default.permitTplId;var r=t.method||"get",i=t.dataType||"json",f={url:e,data:n,header:a,method:r,dataType:i};return f}},"1da1":function(t,e,n){"use strict";function a(t,e,n,a,r,o,i){try{var c=t[o](i),s=c.value}catch(u){return void n(u)}c.done?e(s):Promise.resolve(s).then(a,r)}n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function c(t){a(i,r,o,c,s,"next",t)}function s(t){a(i,r,o,c,s,"throw",t)}c(void 0)}))}},n("d3b7")},"33d7":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.cancelWorkflow=function(t){return(0,a.request)({url:"/wf/cancel/".concat(t),method:"GET"})},e.completeWorkflow=function(t){return(0,a.request)({url:"/wf/complete/".concat(t),method:"GET"})},e.getWorkflowById=function(t){return(0,a.request)({url:"/wf/getIns/".concat(t),method:"GET"})},e.handleWorkflow=function(t){return(0,a.request)({url:"/wf/handle",method:"POST",data:t})},e.startWorkflow=function(t){return(0,a.request)({url:"/wf/start/".concat(t),method:"GET"})},e.transferWorkflow=function(t){return(0,a.request)({url:"/wf/transfer",method:"POST",data:t})};var a=n("0ba2")},"442c":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={base:{dev:"http://192.168.3.5:8080",pro:"http://192.168.3.5:8080"},appID:"10001",appKey:"82a8bf439373e305",appSecret:"82a8bf439373e305",permitTplId:7,TokenKey:"Authorization",uploadFile:"http://192.168.3.5:8080"}},"5e6a":function(t,e,n){"use strict";n.r(e);var a=n("6c9b"),r=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"662b":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getToken=function(){return uni.getStorageSync(o)},e.removeToken=function(){return uni.removeStorageSync(o)},e.setToken=function(t){return uni.setStorageSync(o,t)};var r=a(n("442c")),o=r.default.TokenKey},"6c9b":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("4de4"),n("d3b7");var a=n("33d7"),r=n("3211"),o={data:function(){return{item:{title:"水位预{2号-770-32002}:采空区封堵完好,无渗水情况。"},flowData:{status:"",time:"",desc:"",attachList:[]},check:{status:"",time:"",desc:"",attachList:[]}}},onLoad:function(){this.init()},methods:{parseTime:r.parseTime,init:function(){this.getTask()},getTask:function(){var t=this,e=uni.getStorageSync("danger-info");this.item=e,(0,a.getWorkflowById)(e.wfInsId).then((function(e){t.listLoading=!1;var n=e.code,a=e.data,r=e.msg;0===n?t.flowData=a.activityInsRecordList.filter((function(t){return"rectify"===t.formCode}))[0]:t.$message.error(r)}))},onSubmit:function(){uni.navigateTo({url:"/pages/risk/check/form/form"})},onRectify:function(){uni.navigateTo({url:"/pages/risk/rectify/form/form"})}},destroyed:function(){uni.removeStorageSync("task-item")}};e.default=o},"79c8":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"task-page"},[n("div",{staticClass:"title"},[t._v(t._s(t.item.title))]),n("div",{staticClass:"info"},[n("div",{staticClass:"item"},[n("v-uni-view",{staticClass:"name"},[t._v("上报人")]),n("v-uni-view",{staticClass:"cont"},[t._v(t._s(t.item.curAccountName))])],1),n("div",{staticClass:"item"},[n("v-uni-view",{staticClass:"name"},[t._v("所属部门")]),n("v-uni-view",{staticClass:"cont"},[t._v(t._s(t.item.curGroupName))])],1),n("div",{staticClass:"item"},[n("v-uni-view",{staticClass:"name"},[t._v("发布时间")]),n("v-uni-view",{staticClass:"cont"},[t._v(t._s(t.parseTime(t.item.curActivityBeginTime)))])],1)]),t.flowData?n("div",{staticClass:"status"},[n("div",{staticClass:"head"},[t._v("整改过程")]),[n("v-uni-view",{staticClass:"flow-head"},[n("span",{staticClass:"flow-user"},[t._v(t._s(t.flowData.groupName)+"-"+t._s(t.flowData.accountName||"***"))]),n("v-uni-view",{staticClass:"flow-time"},[t._v(t._s(t.parseTime(t.flowData.actionTime)))])],1),n("div",{staticClass:"desc"},[t._v(t._s(t.flowData.actionRemark))]),n("div",{staticClass:"attach"},t._l(t.flowData.attachList,(function(t,e){return n("v-uni-view",{key:"attach-"+e,staticClass:"attach-item"},[n("v-uni-image",{staticClass:"image",attrs:{src:t.fileUrl,mode:"widthFix"}})],1)})),1)]],2):t._e(),n("v-uni-view",{staticClass:"footer",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSubmit.apply(void 0,arguments)}}},[t._v("验收")])],1)},r=[]},"813d":function(t,e,n){"use strict";var a=n("9052"),r=n.n(a);r.a},9052:function(t,e,n){var a=n("c2a8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("4f06").default;r("f5ee5a3e",a,!0,{sourceMap:!1,shadowMode:!1})},a9d6:function(t,e,n){"use strict";n.r(e);var a=n("79c8"),r=n("5e6a");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("813d");var i=n("f0c5"),c=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,"5d9e7b03",null,!1,a["a"],void 0);e["default"]=c.exports},b636:function(t,e,n){var a=n("e065");a("asyncIterator")},c2a8:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 水平间距 */\n/* 水平间距 */.task-page[data-v-5d9e7b03]{background-color:#f3f5fb;padding-bottom:%?120?%;height:100vh;overflow-y:auto}.task-page .title[data-v-5d9e7b03]{font-family:Source Han Sans CN;font-style:normal;font-weight:700;font-size:%?36?%;line-height:%?54?%;color:#212121;padding:0 %?32?%}.task-page .info[data-v-5d9e7b03]{padding:0 %?32?%;margin:%?40?% 0;background:#fff;border-radius:%?32?% %?32?% 0 0}.task-page .info .item[data-v-5d9e7b03]{border-bottom:%?1?% solid #eff1f3;padding:%?40?% %?32?%}.task-page .info .item .name[data-v-5d9e7b03]{font-size:%?28?%;color:#999;line-height:1}.task-page .info .item .cont[data-v-5d9e7b03]{font-size:%?30?%;color:#212121;line-height:1.5;padding-top:%?12?%}.task-page .info .item[data-v-5d9e7b03]:last-child{border-bottom:none}.task-page .status[data-v-5d9e7b03]{background-color:#fff;border-radius:%?32?% %?32?% 0 0;padding:%?48?% %?32?%}.task-page .status.check[data-v-5d9e7b03]{margin-top:%?24?%;background-repeat:no-repeat;background-position:100% 0}.task-page .status.check.pass[data-v-5d9e7b03]{background-image:url(/static/icon/pass.png)}.task-page .status.check.reject[data-v-5d9e7b03]{background-image:url(/static/icon/reject.png)}.task-page .status .head[data-v-5d9e7b03]{color:#212121;font-size:%?34?%;line-height:1;font-weight:700}.task-page .status .icon-empty[data-v-5d9e7b03]{display:block;width:%?160?%;margin:%?64?% auto 0}.task-page .status p[data-v-5d9e7b03]{font-size:%?24?%;line-height:%?28?%;color:#d5d5d5;text-align:center}.task-page .status .flow-head[data-v-5d9e7b03]{display:flex;justify-content:space-between;align-items:center;font-family:Abhaya Libre;font-style:normal;font-weight:400;font-size:%?24?%;line-height:%?48?%;padding:%?30?% 0 %?24?% 0;color:#999}.task-page .status .desc[data-v-5d9e7b03]{font-family:SF Pro Text;font-style:normal;font-weight:500;font-size:%?30?%;line-height:%?42?%;color:#434343;padding-bottom:%?24?%}.task-page .status .attach[data-v-5d9e7b03]{display:flex;flex-wrap:wrap}.task-page .status .attach .attach-item[data-v-5d9e7b03]{width:%?224?%;overflow:hidden;margin-right:%?7?%;margin-bottom:%?20?%}.task-page .status .attach .attach-item[data-v-5d9e7b03]:nth-child(3n){margin-right:0}.task-page .status .attach .attach-item .image[data-v-5d9e7b03]{display:block;width:%?224?%;border-radius:8px}.task-page .footer[data-v-5d9e7b03]{width:100%;height:%?136?%;background:#fff;border-radius:%?16?% %?16?% 0 0;position:fixed;left:0;bottom:0;text-align:center;color:#168dec;font-size:%?32?%;padding-top:%?20?%;letter-spacing:2px;border:1px solid #eaeaea}',""]),t.exports=e},c7eb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e.default=function(){return t};var t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(C){f=function(t,e,n){return t[e]=n}}function l(t,e,n,a){var r=e&&e.prototype instanceof p?e:p,i=Object.create(r.prototype),c=new S(a||[]);return o(i,"_invoke",{value:x(t,n,c)}),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(C){return{type:"throw",arg:C}}}t.wrap=l;var h={};function p(){}function v(){}function g(){}var m={};f(m,c,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(O([])));b&&b!==n&&r.call(b,c)&&(m=b);var w=g.prototype=p.prototype=Object.create(m);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var n;o(this,"_invoke",{value:function(o,i){function c(){return new e((function(n,c){(function n(o,i,c,s){var u=d(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==(0,a.default)(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,c,s)}),(function(t){n("throw",t,c,s)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,s)}))}s(u.arg)})(o,i,n,c)}))}return n=n?n.then(c,c):c()}})}function x(t,e,n){var a="suspendedStart";return function(r,o){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===r)throw o;return j()}for(n.method=r,n.arg=o;;){var i=n.delegate;if(i){var c=T(i,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===a)throw a="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a="executing";var s=d(t,e,n);if("normal"===s.type){if(a=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a="completed",n.method="throw",n.arg=s.arg)}}}function T(t,e){var n=e.method,a=t.iterator[n];if(void 0===a)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var r=d(a,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function O(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(c&&s){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var a=n.completion;if("throw"===a.type){var r=a.arg;E(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t},n("7a82"),n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("b636"),n("944a"),n("0c47"),n("23dc"),n("3410"),n("d9e2"),n("d401"),n("14d9"),n("159b"),n("131a"),n("26e9"),n("fb6a");var a=function(t){return t&&t.__esModule?t:{default:t}}(n("53ca"))}}]);