(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b9384758"],{"4f31":function(t,o,e){"use strict";e("65df")},"4fc7":function(t,o,e){"use strict";e.r(o);var n=function(){var t=this,o=t._self._c;return o("div",{staticClass:"ids-update-block-group"},[t.blockGroupInfo?o("iDSCompHandleBlockGroup",{attrs:{inputBlockGroupInfo:t.blockGroupInfo,callBackConfirm:t.onConfirm}}):t._e()],1)},r=[],c=e("2f62"),i=e("4532"),u=e("5b75");function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function l(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,n)}return e}function s(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?l(Object(e),!0).forEach((function(o){p(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function p(t,o,e){return o=f(o),o in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function f(t){var o=b(t,"string");return"symbol"===a(o)?o:String(o)}function b(t,o){if("object"!==a(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,o||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}var m={name:"iDS-UpdateBlockGroup",components:{iDSCompHandleBlockGroup:u["a"]},data:function(){return{blockGroupInfo:null}},computed:{},methods:s(s(s({onConfirm:function(t){var o=this;this.updateBlockGroup({id:this.blockGroupID,authorization:{Authorization:"Bearer "+i["a"].vm.getUserToken()},data:t,vm:i["a"].vm}).then((function(){o.$router.back()}),(function(){}))},mFetchBlockGroupByOID:function(){var t=this;this.fetchBlockGroupByOID({id:this.blockGroupID,authorization:{Authorization:"Bearer "+i["a"].vm.getUserToken()},vm:i["a"].vm}).then((function(){t.blockGroupInfo=t.getBlockGroupInfo()}),(function(){}))},changeView:function(){i["a"].vm.setTitle("修改试块组"),i["a"].vm.setBackDisabled(!1),i["a"].vm.setBackIcon("arrow_back"),i["a"].vm.setBottomNavVisible(!1),i["a"].vm.setBottomBtnVisible(!1),i["a"].vm.setMsgInputVisible(!1),i["a"].vm.setMenuDisabled(!0),i["a"].vm.setContentHeight({value:"calc(".concat(window.innerHeight,"px - 48px")+")"})}},Object(c["c"])("block",["getBlockGroupInfo"])),Object(c["b"])("block",["updateBlockGroup","fetchBlockGroupByOID"])),Object(c["d"])("block",["setBlockGroupOID"])),created:function(){console.log("调试代码"),null!=i["a"].vm.getUserToken()&&null!=i["a"].vm.getUserId()?(this.blockGroupID=this.$route.params.blockGroupID,this.setBlockGroupOID({blockGroupID:this.blockGroupID}),this.mFetchBlockGroupByOID(),this.changeView()):window.location.href="/"},mounted:function(){},beforeDestroy:function(){i["a"].vm.setMenuDisabled(!0),i["a"].vm.setMenuItems([]),i["a"].vm.setMenuIcon("")}},k=m,v=(e("4f31"),e("2877")),h=Object(v["a"])(k,n,r,!1,null,null,null);o["default"]=h.exports},"65df":function(t,o,e){}}]);