(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/officialDocManagement/circulate"],{"30c8":function(t,e,n){},3863:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){t.showPopupBottom=!0},t.e1=function(e){t.showPopupBottom=!1})},s=[]},"47c7":function(t,e,n){"use strict";n.r(e);var i=n("7163"),o=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=o.a},7163:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(){n.e("components/uni-popup").then(function(){return resolve(n("9cb3"))}.bind(null,n)).catch(n.oe)},o={data:function(){return{pageList:[],documentListType:"",documentId:"",cardShowList:[],selectAllList:[],showPopupBottom:!1,isSelectAll:!1,readContent:"",personList:[]}},components:{uniPopup:i},methods:{getList:function(){var e=this;e.$request.get({action_type:"getDocumentPerson",documentListType:this.documentListType,documentId:this.documentId}).then((function(n){n.ResultCode&&"100"==n.ResultCode?(e.pageList=n.Data.List,e.readContent=n.Data.SUGGESTION,e.personList=[],e.pageList.forEach((function(t,n){e.cardShowList[n]=!0,t.SELECTED=!1,e.selectAllList[n]=!1,e.personList[n]=[];var i=t.userList.filter((function(t){return t.SELECTED&&e.personList[n].push(t.USER_ID),1==t.SELECTED}));i.length==t.userList.length&&(e.selectAllList[n]=!0,t.SELECTED=!0)}))):e.pageList=[],t.hideLoading()}))},hidePopup:function(){this.showPopupBottom=!1},isShowCard:function(t){var e=this;e.cardShowList[t]=!e.cardShowList[t],e.$forceUpdate()},selectAll:function(t,e){var n=this,i=this.pageList[t].SELECTED=n.selectAllList[t]=e||!n.selectAllList[t];n.pageList[t].userList.forEach((function(t){t.SELECTED=i}))},checkboxChange:function(t,e){var n=t.detail.value;this.pageList[e].SELECTED=n.length==this.pageList[e].userList.length,this.personList[e]=n,this.$forceUpdate()},selectPage:function(){var t=this,e=this.isSelectAll=!this.isSelectAll;t.selectAllList.map((function(n,i){e!=n&&t.selectAll(i,e)}))},upReader:function(){var e=this,n=[];this.personList.forEach((function(t){n=n.concat(t)})),e.$request.post({action_type:"documentCirculate",suggestion:this.readContent,readingIds:n.toString(),documentId:this.documentId}).then((function(n){"100"==n.ResultCode?(t.showToast({title:n.ResultDesc}),e.readContent="",setTimeout((function(){t.navigateBack({delta:1}),e.$eventHub.$emit("docCirculate",!0)}),1e3)):t.showToast({title:n.ResultDesc,icon:"none"})}))}},onLoad:function(e){t.showLoading({title:"正在加载"}),this.documentListType=e.type,this.documentId=e.id,this.getList()}};e.default=o}).call(this,n("543d")["default"])},af32:function(t,e,n){"use strict";n.r(e);var i=n("3863"),o=n("47c7");for(var s in o)"default"!==s&&function(t){n.d(e,t,(function(){return o[t]}))}(s);n("cfd60");var c,u=n("f0c5"),a=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"1553efbc",null,!1,i["a"],c);e["default"]=a.exports},cfd60:function(t,e,n){"use strict";var i=n("30c8"),o=n.n(i);o.a},d600:function(t,e,n){"use strict";(function(t){n("5fd4");i(n("66fd"));var e=i(n("af32"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["d600","common/runtime","common/vendor"]]]);