(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/auditingPop/transfer"],{"0109":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=n("2f62");function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,s)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o={data:function(){return{postData:{PROINST_ID:"",FINANCEPROINST_ID:"",NOWACTINST_ID:"",PROINST_NEXTID:4e3},TransferUserList:[],isExpense:!1,isSubmit:!1,pickerIndex:0}},computed:i({},(0,s.mapGetters)({users:"getUser"})),methods:i(i({},(0,s.mapMutations)(["isGetTodoList","shouldReLoadingList"])),{},{pickerChange:function(t){this.pickerIndex=t.mp.detail.value},getTransferUser:function(){var e=this,n={};n=this.isExpense?{action_type:"GetFlowTransferUser",action_data:e.users.uid,PROINST_ID:e.postData.FINANCEPROINST_ID,NextACTDEF_IDS:e.postData.NOWACTINST_ID,TransferType:1,UserId:e.users.sid}:{action_type:"GetNextStepUser",businessType:e.postData.businessType,PROINST_ID:e.postData.PROINST_ID,NextStepId:e.postData.NOWACTINST_ID,IsTransfer:1,USER_ID:e.users.UserId},this.$request.get(n).then((function(n){t.hideLoading(),e.TransferUserList=n.Data.List}))},postFn:function(){var e=this;if(!e.isSubmit){if(!e.TransferUserList[e.pickerIndex])return t.showToast({title:"请选择移交人员后提交。",icon:"none"}),!1;var n={action_type:"ProcessApproval",businessType:e.postData.businessType,PROINST_ID:e.postData.PROINST_ID,PROINST_NEXTID:e.postData.PROINST_NEXTID,NOWACTINST_IDS:e.postData.NOWACTINST_ID,NextSTAFF_ID:e.TransferUserList[e.pickerIndex].USER_ID};this.isSubmit=!0,this.$request.post(n).then((function(n){e.isSubmit=!1,"100"===n.ResultCode?(t.$emit(e.postData.businessType,!0),e.isGetTodoList(!0),e.shouldReLoadingList(!0),t.showToast({title:n.ResultDesc,success:function(){setTimeout((function(){t.navigateBack({delta:1})}),200)}})):t.showToast({title:n.ResultDesc||"操作错误",icon:"none"})}))}}}),onUnload:function(){this.$util.addUserBehavior()},onLoad:function(e){t.showLoading({title:"正在加载"}),this.postData=e,this.postData.PROINST_NEXTID=4e3,this.getTransferUser()}};e.default=o}).call(this,n("543d")["default"])},"6e5a":function(t,e,n){"use strict";var s;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return s}));var r=function(){var t=this,e=t.$createElement;t._self._c},i=[]},ab8a:function(t,e,n){"use strict";(function(t){n("40da");s(n("66fd"));var e=s(n("fd20"));function s(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},df42:function(t,e,n){"use strict";n.r(e);var s=n("0109"),r=n.n(s);for(var i in s)"default"!==i&&function(t){n.d(e,t,(function(){return s[t]}))}(i);e["default"]=r.a},e032:function(t,e,n){"use strict";var s=n("f692"),r=n.n(s);r.a},f692:function(t,e,n){},fd20:function(t,e,n){"use strict";n.r(e);var s=n("6e5a"),r=n("df42");for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("e032");var a,o=n("f0c5"),u=Object(o["a"])(r["default"],s["b"],s["c"],!1,null,"7b4a8930",null,!1,s["a"],a);e["default"]=u.exports}},[["ab8a","common/runtime","common/vendor"]]]);