(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-task-taskList-taskList"],{"0338":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return r}));var r={uniDataCheckbox:n("9416").default},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))]),t.items.length>0?n("div",{staticClass:"info"},t._l(t.items,(function(e){return n("div",{staticClass:"item-checklist"},[n("v-uni-view",{staticClass:"name"},[t._v("检查防水是否完好检查防水是否完好检查防水是否完好检查防水是否完好检查防水是否完好")]),n("v-uni-view",{staticClass:"cont"},[n("uni-data-checkbox",{attrs:{localdata:t.checkState},on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.changeCheck(e)}},model:{value:e.state,callback:function(n){t.$set(e,"state",n)},expression:"item.state"}})],1)],1)})),0):n("v-uni-view",{staticClass:"empty"},[t._v("没有可检查项")]),t.items.length>0?n("v-uni-view",{staticClass:"footer",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSubmit.apply(void 0,arguments)}}},[t._v("提交")]):t._e()],1)},o=[]},"1da1":function(t,e,n){"use strict";function r(t,e,n,r,a,o,i){try{var c=t[o](i),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,a)}n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(a,o){var i=t.apply(e,n);function c(t){r(i,a,o,c,u,"next",t)}function u(t){r(i,a,o,c,u,"throw",t)}c(void 0)}))}},n("d3b7")},"1f1e":function(t,e,n){"use strict";n.r(e);var r=n("0338"),a=n("e29a");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("63d6");var i=n("f0c5"),c=Object(i["a"])(a["default"],r["b"],r["c"],!1,null,"aa710746",null,!1,r["a"],void 0);e["default"]=c.exports},"257e":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},n("d9e2"),n("d401")},"262e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,r.default)(t,e)},n("d9e2"),n("d401"),n("7a82");var r=function(t){return t&&t.__esModule?t:{default:t}}(n("b380"))},"2caf":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=(0,a.default)();return function(){var n,a=(0,r.default)(t);if(e){var i=(0,r.default)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,o.default)(this,n)}},n("4ae1"),n("d3b7"),n("f8c9");var r=i(n("7e84")),a=i(n("d967")),o=i(n("99de"));function i(t){return t&&t.__esModule?t:{default:t}}},5595:function(t,e,n){var r=n("9f68");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("73dce54e",r,!0,{sourceMap:!1,shadowMode:!1})},"63d6":function(t,e,n){"use strict";var r=n("5595"),a=n.n(r);a.a},6495:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.createChecklist=function(t){return(0,r.request)({url:"/goaf/goafChecklist/add",method:"POST",data:t})},e.createChecklistItem=function(t){return(0,r.request)({url:"/goaf/goafChecklist/add",method:"POST",data:t})},e.deleteChecklistById=function(t){return(0,r.request)({url:"/goaf/goafChecklist/deletechecklist/".concat(t),method:"DELETE"})},e.deleteChecklistItemById=function(t){return(0,r.request)({url:"/goaf/goafChecklist/deletecheckitemlist/".concat(t),method:"DELETE"})},e.getChecklist=function(t){return(0,r.request)({url:"/goaf/goafChecklist/list",params:t})},e.getChecklistById=function(t){return(0,r.request)({url:"/goaf/goafChecklist/".concat(t)})},e.getChecklistByPage=function(t){return(0,r.request)({url:"/goaf/goafChecklist/page",params:t})},e.getChecklistItemById=function(t){return(0,r.request)({url:"/goaf/goafChecklist/checklistitem/".concat(t)})},e.updateChecklist=function(t){return(0,r.request)({url:"/goaf/goafChecklist/update",method:"PUT",data:t})},e.updateChecklistItem=function(t){return(0,r.request)({url:"/goaf/goafChecklist/update",method:"PUT",data:t})};var r=n("0ba2")},"7e84":function(t,e,n){"use strict";function r(t){return e.default=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,n("131a"),n("3410")},"99de":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(e&&("object"===(0,r.default)(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.default)(t)},n("d9e2"),n("d401");var r=o(n("53ca")),a=o(n("257e"));function o(t){return t&&t.__esModule?t:{default:t}}},"9f68":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/* 水平间距 */\n/* 水平间距 */.task-page[data-v-aa710746]{background-color:#f3f5fb;height:100vh}.task-page .title[data-v-aa710746]{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-aa710746]{padding:0 %?10?%;margin:%?40?% 0 0;padding-bottom:%?150?%;background:#fff;border-radius:%?32?% %?32?% 0 0}.task-page .info .item-checklist[data-v-aa710746]{display:flex;justify-content:space-between;padding:%?18?% %?20?%;border-bottom:%?1?% solid #eff1f3}.task-page .info .item-checklist .name[data-v-aa710746]{flex:1}.task-page .info .item-checklist .cont[data-v-aa710746]{padding-left:%?20?%;width:%?200?%;display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box}.task-page .empty[data-v-aa710746]{text-align:center;font-size:%?28?%;margin-top:10%;color:#666}.task-page .footer[data-v-aa710746]{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-top:%?1?% solid #eaeaea}',""]),t.exports=e},b380:function(t,e,n){"use strict";function r(t,n){return e.default=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,n)}n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,n("131a")},b636:function(t,e,n){var r=n("e065");r("asyncIterator")},bb00:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.batchUpdateCheckTaskDoingItem=function(t,e){return(0,r.request)({url:"/check/task/doing/item/batchUpdate/".concat(t,"/").concat(e),method:"PUT"})},e.cancelCheckTask=function(t){return(0,r.request)({url:"/check/task/cancel/".concat(t),method:"PUT"})},e.completeCheckTask=function(t){return(0,r.request)({url:"/check/task/complete/".concat(t),method:"PUT"})},e.getCheckTaskByList=function(t){return(0,r.request)({url:"/goaf/goaftask/list",method:"GET",data:t})},e.getCheckTaskByPage=function(t){return(0,r.request)({url:"/check/task/page",header:{"content-type":"application/x-www-form-urlencoded"},data:t})},e.getTaskDetailById=function(t){return(0,r.request)({url:"/check/task/view/"+t})},e.handleCheckTask=function(t){return(0,r.request)({url:"/goaf/goaftask/completed",method:"POST",data:t})},e.manageTaskById=function(t){return(0,r.request)({url:"/check/task/handle/"+t,method:"PUT"})},e.transferCheckTask=function(t){return(0,r.request)({url:"/check/task/transfer",method:"PUT",data:t})},n("99af");var r=n("0ba2")},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,a=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(E){l=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var a=e&&e.prototype instanceof p?e:p,i=Object.create(a.prototype),c=new L(r||[]);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(E){return{type:"throw",arg:E}}}t.wrap=f;var h={};function p(){}function v(){}function g(){}var y={};l(y,c,(function(){return this}));var m=Object.getPrototypeOf,k=m&&m(m(j([])));k&&k!==n&&a.call(k,c)&&(y=k);var b=g.prototype=p.prototype=Object.create(y);function w(t){["next","throw","return"].forEach((function(e){l(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,u){var s=d(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==(0,r.default)(f)&&a.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)})(o,i,n,c)}))}return n=n?n.then(c,c):c()}})}function x(t,e,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return I()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var c=P(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"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function P(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,P(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var a=d(r,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,h;var o=a.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 O(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function j(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,r=function e(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(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 r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(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 r=function(t){return t&&t.__esModule?t:{default:t}}(n("53ca"))},d967:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}},n("d3b7"),n("f8c9"),n("4ae1")},e023:function(t,e,n){"use strict";(function(t){n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("5530"));n("d3b7"),n("159b");var o=n("3211"),i=n("6495"),c=n("bb00"),u={data:function(){return{userData:{},item:{title:"水位预{2号-770-32002}:采空区封堵完好,无渗水情况。"},flow:{status:"",time:"",desc:"",attachList:[]},items:[],checkState:[{value:1,text:"通过"},{value:0,text:"不通过"}]}},onLoad:function(){this.init()},methods:{parseTime:o.parseTime,init:function(){var t=this,e=uni.getStorageSync("task-item");this.userData=uni.getStorageSync("accountInfo"),(0,i.getChecklistItemById)(e.checklistId).then((function(e){t.items=e.data}))},changeCheck:function(e){e.state||uni.showModal({title:"提示",content:"请确认".concat(e.title,"状态为否"),success:function(e){e.confirm?t("log","用户点击确定"," at pages/task/taskList/taskList.vue:59"):e.cancel&&t("log","用户点击取消"," at pages/task/taskList/taskList.vue:61")}})},onSubmit:function(){var t=this,e=uni.getStorageSync("task-item"),n="",r="",o=0;this.dataList.forEach((function(t){1===t.state?r+=t.checkItemPass+",":(o=1,n+=t.checklistItemContent+"不通过,")})),r=r.substring(0,r.length-1),n=n.substring(0,n.length-1),(0,c.handleCheckTask)((0,a.default)((0,a.default)({},e),{},{handleAccountId:this.userData.userId,handleAccountName:this.userData.userName,handlePositionId:this.userData.positionId,handlePositionName:this.userData.positionName,handleGroupId:this.userData.groupId,handleGroupName:this.userData.groupName,status:1,checkResult:o,checkItemPass:r,checkItemNopass:n})).then((function(){t.dialogVisible=!1,t.$emit("success"),1===o&&(uni.setStorageSync("submit-data",(0,a.default)((0,a.default)({},e),{},{handleAccountId:t.userData.userId,handleAccountName:t.userData.userName,handlePositionId:t.userData.positionId,handlePositionName:t.userData.positionName,handleGroupId:t.userData.groupId,handleGroupName:t.userData.groupName,status:1,checkResult:o,checkItemPass:r,checkItemNopass:n})),uni.navigateTo({url:"/pages/task/submit/submit"}))}))}}};e.default=u}).call(this,n("0de9")["log"])},e29a:function(t,e,n){"use strict";n.r(e);var r=n("e023"),a=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=a.a}}]);