text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6a8bbc2c","chunk-2364b51c"],{"093d":function(module,__webpack_exports__,__webpack_require__){"use strict";(function($){var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("7f7f"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("28a5"),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("c5f6"),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_2__),axios__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("bc3a"),axios__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_3__);__webpack_exports__["a"]={name:"process",props:{allcommshow:{type:Number,default:1},validateFun:Function,contentPath:{type:String,default:"/ei-web/"},exValue:{type:Object,default:function(){return{result:!0,extendParam:{depAudit:"1057",docType:"1"}}}}},watch:{taskId:function(e){var t=this;axios__WEBPACK_IMPORTED_MODULE_3___default.a.get(this.contentPath+"workflowProcess/getProcessCommandJSON?taskId="+this.taskId,{taskId:this.taskId}).then(function(e){t.commandes=e.data}).catch(function(e){}),this.showAndHidForm(this.pshow,this.phid)}},data:function(){return{isShowBtn:!1,btnId:"",btnName:"",btnJson:"",taskProcessDescValue:"",submitCount:0,commandes:null,instId:"",taskId:"",formUri:"",formUriView:"",pshow:"",phid:"",theRequest:{},extendParam:"",abc:""}},mounted:function(){window.location;var e=this.$route.query;this.theRequest=e,this.instId=this.theRequest.instId,this.taskId=this.theRequest.taskId,this.formUri=this.theRequest.formUri,this.formUriView=this.theRequest.formUriView},methods:{showAndHidForm:function(e,t){if(null!=e&&""!==e)for(var a=e.split(","),s=0;s<a.length;s++)$("#"+a[s]).show();if(null!=t&&""!==t)for(var i=t.split(","),n=0;n<i.length;n++)$("#"+i[n]).attr("style","display:none").hide()},beforeCommandShow:function(){return!0},btnHandel:function(e){var t=e.fixParam_BeforeHandleJS,a=(e.type,"");"undefined"!=typeof t&&null!=t&&""!=t?(this.$emit("update"),a="",this.extendParam=""):"fixParam_BeforeHandleJS"===e.id?(this.$emit("update"),a="",this.extendParam=""):"fixParam_BeforeHandleJS2"===e.id&&(this.$emit("updateDetail"),a="",this.extendParam=""),"undefined"!=typeof a&&null!=a&&""!=a||(a=""),this.doProcessTask("",e.name,e.id,e.type,e,this.extendParam)},doProcessTask:function(e,t,a,s,i,n){document.documentElement.scrollTop=0,this.processTask(t,a,s,i,n)},processTask:function(e,t,a,s,i){var n=this;this.confirmMessage("确认进行"+e+"操作？",function(e){if(e){document.documentElement.scrollTop=0;var o=n.taskProcessDescValue;if(""===o)return void n.alertMessage("请填写处理意见，最大长度为2000字符！");if(o.length>2e3)return void n.alertMessage("处理意见超长，最大长度为2000字符！");var r={instId:n.instId,taskId:n.taskId,commandId:t,commandType:a,processDesc:encodeURIComponent(n.taskProcessDescValue),formParam:i},l=!!s.fixParam_taskProcessDescFlag&&s.fixParam_taskProcessDescFlag,c=s.fixParam_taskProcessDescMessage?s.fixParam_taskProcessDescMessage:"";if("true"===l&&""===r.processDesc)return""===c&&(c="请填写处理意见！"),void n.alertMessage(c);if("rollBackTaskByExpression"===a){if(""===r.processDesc)return void n.alertMessage("请填写意见！")}else try{var d=saveDataMy();if(!d)return}catch(v){}if("modifyForm"===a){var u=s.fixParam_title;u&&""!==u||(u="修改");var _={toobarTitle:u},m=s.fixParam_url;return m&&""!==m||(m=n.formUri),m=appendParams(m,{submitBtnShow:"false"}),void n.getPageWin("layout",window).openWindow(800,600,_.toobarTitle,m,_,function(){parent.refreshCenterRegion()})}if("pending"===a){_={toobarTitle:"请选择转办人"},m=s.fixParam_url;if(m){var p=s.fixParam_width,f=s.fixParam_height;p||(p=800),f||(f=600),n.getPageWin("layout",window).openWindow(p,f,_.toobarTitle,m,_,function(){var e=n.getPageWin("layout",window).invokeResult;e&&e.result&&(e.selectUserId&&(r["pendingUserId"]=e.selectUserId),n.execProcessTask(r))})}else n.execProcessTask(r);return}if("rollBackTaskByTaskId"===a){_={toobarTitle:"请选择任务"},m="../jsps/process/listRollBackTaskList.jsp?taskId="+n.taskId+"&instId="+n.instId+"&commandId="+t+"&commandType="+a+"&processDesc="+encodeURIComponent(encodeURIComponent($("#taskProcessDesc").val()))+"&bizKey="+$("#keyValues").val();return openWindow(800,600,_.toobarTitle,m,_,function(){}),!1}if("rollBack"==a){_={toobarTitle:"请选择节点"},m="../jsps/process/listRollBackNodeList.jsp?taskId="+taskId+"&instId="+instId+"&commandId="+t+"&commandType="+a+"&processDesc="+encodeURIComponent(encodeURIComponent($("#taskProcessDesc").val()))+"&bizKey="+$("#keyValues").val();return openWindow(480,320,_.toobarTitle,m,_,function(){}),!1}if("submit"!=a){u=s.fixParam_title;u&&""!=u||(u="修改");_={toobarTitle:u},m=s.fixParam_url;if(m){p=s.fixParam_width,f=s.fixParam_height;p||(p=800),f||(f=600),n.getPageWin("layout",window).openWindow(p,f,_.toobarTitle,m,_,function(){var e=getPageWin("layout",window).invokeResult;if(e&&e.result){if(e.taskProcessDesc){var t=$("#taskProcessDesc").val();t=""==t?e.taskProcessDesc:t+","+e.taskProcessDesc,$("#taskProcessDesc").val(t)}n.execProcessTask(r)}})}else n.execProcessTask(r);return}if(!n.validate())return void alertMessage("表单验证不通过,请重新填写");n.execProcessTask(r)}})},confirmMessage:function(e,t){$.messager.confirm("提示",e,t)},alertMessage:function(e,t){$.messager.alert("提示",e,"info",t)},getPageWin:function(e,t){var a=this.getParentPageWin(e,t);return a},getParentPageWin:function(e,t){var a=t;return("undefined"===typeof a.pageId||a.pageId!=e)&&null!=a.parent?a.location.href!=a.parent.location.href?this.getPageWin(e,a.parent):null:a},execProcessTask:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.submitCount;a++,1===a&&("general"==e.commandType&&(console.log("执行同意接口"),this.$emit("action")),axios__WEBPACK_IMPORTED_MODULE_3___default.a.get(this.contentPath+"workflowProcess/processTask?"+"instId=".concat(e.instId,"&taskId=").concat(e.taskId,"&commandId=").concat(e.commandId,"&commandType=").concat(e.commandType,"&processDesc=").concat(e.processDesc,"&formParam=").concat(JSON.stringify(e.formParam)),e).then(function(e){var a=e.data;a.result?t.alertMessage(a.successMessage,function(){var e=t.getListviewWin(window);null==e?t.getPageWin("fpPortal",window).closeWindow():t.getListviewWin(window).closeWindow()}):(t.submitCount=0,t.alertMessage(a.errorMessage,function(){var e=t.getListviewWin(window);null==e?t.getPageWin("fpPortal",window).closeWindow():t.getListviewWin(window).closeWindow()}))}))},getListviewWin:function(e){var t=e;return"undefined"===typeof t.listviewId&&null!=t.parent?t.location.href!=t.parent.location.href?this.getListviewWin(t.parent):null:t},taskProcessDescCheck:function(){var e="",t=0,a=$("#taskProcessDesc").val();return e=""==a?'{"result":false,"errorMsg":"请填写退回理由！"}':'{"result":true,"extendParam":'+t+"}",e},saveData2:function saveData2(fn,data2){try{var mark=this.saveDataBefore();if(!mark)return}catch(e){}var result=this.validate(),editWin=getEditWin(window),inJCEdit=null!=editWin;"false"==parameterJsonObj.inJCEdit&&(inJCEdit=!1),result&&($.messager.progress({title:"正在处理,请稍等..."}),$("#dataForm").form("submit",{url:"../action/bizObjectBase!save.action",async:!1,onSubmit:function(){return!0},success:function success(data){$.messager.progress("close"),execProcessTask(data2);var dataObj=eval("("+data+")");if(dataObj.result){"new"==dealMark&&(keyValues=dataObj.attribute.keyValues,dealMark="update",document.getElementsByName("keyValues")[0].value=keyValues,document.getElementsByName("dealMark")[0].value=dealMark);try{saveDataAfter()}catch(e){}}if(inJCEdit){if(getEditWin(window).assetExist=!0,getEditWin(window).keyValues=dataObj.attribute.keyValues,null!=fn)return fn(dataObj)}else if($.messager.progress("close"),dataObj.result){var listviewWin=getListviewWin(window);null!=listviewWin&&listviewWin.refresh(),$.messager.alert("提示",dataObj.successMessage,"info",function(){if(null!=fn)return fn(dataObj)})}else $.messager.alert("提示",dataObj.errorMessage,"info",function(){if(null!=fn)return fn(dataObj)})}}))},getEditWin:function(e){var t=e;return"undefined"===typeof t.integrationEditorId&&null!=t.parent?t.location.href!=t.parent.location.href?this.getEditWin(t.parent):null:t},validate:function(){return!0},saveDataBefore:function(){return!0}}}}).call(this,__webpack_require__("1157"))},"1d5d":function(e,t,a){},"1e82":function(e,t,a){"use strict";var s=a("1d5d"),i=a.n(s);i.a},"4bdb":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.instId,expression:"instId"}],attrs:{id:"instId",type:"hidden"},domProps:{value:e.instId},on:{input:function(t){t.target.composing||(e.instId=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.taskId,expression:"taskId"}],attrs:{id:"taskId",type:"hidden"},domProps:{value:e.taskId},on:{input:function(t){t.target.composing||(e.taskId=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.formUri,expression:"formUri"}],attrs:{id:"formUri",type:"hidden"},domProps:{value:e.formUri},on:{input:function(t){t.target.composing||(e.formUri=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.formUriView,expression:"formUriView"}],attrs:{id:"formUriView",type:"hidden"},domProps:{value:e.formUriView},on:{input:function(t){t.target.composing||(e.formUriView=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.pshow,expression:"pshow"}],attrs:{id:"pshow",type:"hidden"},domProps:{value:e.pshow},on:{input:function(t){t.target.composing||(e.pshow=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.phid,expression:"phid"}],attrs:{id:"phid",type:"hidden"},domProps:{value:e.phid},on:{input:function(t){t.target.composing||(e.phid=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.contentPath,expression:"contentPath"}],attrs:{id:"contentPath",type:"hidden"},domProps:{value:e.contentPath},on:{input:function(t){t.target.composing||(e.contentPath=t.target.value)}}}),e._v(" "),a("table",{staticClass:"addtable",staticStyle:{"margin-top":"0px","margin-bottom":"10px"},attrs:{id:"formToolBarTable",width:"100%",border:"0",cellspacing:"0",cellpadding:"0"}},[e._m(0),e._v(" "),a("tr",{staticStyle:{borderTop:"1px solid #eee"}},[a("td",{staticClass:"td_name",staticStyle:{width:"20%"}},[e._v("处理意见")]),e._v(" "),a("td",{staticClass:"td_value",staticStyle:{width:"82%"},attrs:{colspan:"3"}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.taskProcessDescValue,expression:"taskProcessDescValue"}],staticStyle:{width:"100%",height:"60px"},attrs:{name:"taskProcessDesc",id:"taskProcessDesc"},domProps:{value:e.taskProcessDescValue},on:{input:function(t){t.target.composing||(e.taskProcessDescValue=t.target.value)}}})])]),e._v(" "),a("tr",[a("td",{staticClass:"td_name",staticStyle:{width:"18%"}}),e._v(" "),a("td",{staticClass:"td_value drawablel",staticStyle:{width:"82%"},attrs:{colspan:"3",id:"processToolBar"}},[1===e.allcommshow?e._l(e.commandes,function(t,s){return a("button",{key:s,staticClass:"el-button el-button--primary el-button--small",attrs:{id:t.id,type:"primary"},on:{click:function(a){return e.btnHandel(t)}}},[e._v(e._s(t.name))])}):e._e(),e._v(" "),0===!e.allcommshow?e._l(e.commandes,function(t,s){return t.fixParam_BeforeShowJS?a("button",{key:s,staticClass:"el-button el-button--primary el-button--small",attrs:{id:t.id,type:"primary"},on:{click:function(a){return e.btnHandel(t)}}},[e._v(e._s(t.name))]):e._e()}):e._e()],2)])])])},i=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("tr",[a("td",{attrs:{colspan:"4"}},[a("div",{staticClass:"panel-header panel-title",staticStyle:{"border-left":"0px","border-right":"0px","border-top":"0px","margin-top":"1px","margin-bottom":"1px"}},[e._v("流程审批")])])])}],n=a("093d"),o=n["a"],r=(a("1e82"),a("2877")),l=Object(r["a"])(o,s,i,!1,null,"6a664fdc",null);t["default"]=l.exports},a248:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"LCdetail"},[a("span",{staticClass:"title"},[e._v("申请信息")]),e._v(" "),a("el-row",e._l(e.data,function(t,s,i){return a("el-col",{key:i,attrs:{span:12}},[a("div",{staticClass:"left"},[e._v(e._s(e._f("getTitle")(s))+" ：")]),e._v(" "),a("div",{staticClass:"right"},[e._v(e._s(t))])])}),1),e._v(" "),a("span",{staticClass:"title"},[e._v("审批信息")]),e._v(" "),a("iframe",{staticClass:"shenhexinxi",attrs:{src:e.url}}),e._v(" "),a("process",{attrs:{"content-path":"/oa-web/","ex-value":e.exValue},on:{action:e.action}})],1)},i=[],n=a("4bdb"),o={components:{process:n["default"]},filters:{getTitle:function(e){return"applicantDepartment"===e?"所在部门":"applicantName"===e?"姓名":"applyName"===e?"会议名称":"applyNo"===e?"表单号":"createDt"===e?"申请日期":"meetingAmount"===e?"会议费用":"meetingEndTime"===e?"会议结束时间":"meetingName"===e?"会议名称":"meetingPerson"===e?"参会人员":"meetingPlace"===e?"会议地点":"meetingStartTime"===e?"会议开始时间":"personCount"===e?"会议人数":"remark"===e?"备注":void 0}},data:function(){return{dialogFormVisible:!1,data:{},url:"",exValue:{}}},mounted:function(){var e=this;console.log("jijijijiji"),this.$store.dispatch("LC/meetingCostDetail",this.$route.query.projectId).then(function(t){for(var a in t.data)"applyStatus"!==a&&"applyTime"!==a&&"createBy"!==a&&"meetingEndTimeLong"!==a&&"meetingStartTimeLong"!==a&&"attachment"!==a||delete t.data[a];console.log(t),e.data=t.data,e.url="/sysweb/action/showListview.action?listViewId=fixflowProcessInfosListView&instId="+e.$route.query.instId+"&listViewFileName=fixflowProcessInfosListViewFirst&frameInd="+e.$route.query.frameInd})},methods:{showDialog:function(e){this.dialogFormVisible=!this.dialogFormVisible},action:function(e){this.exValue={result:!0,extendParam:{depAudit:"1057",docType:"1"}}}}},r=o,l=a("2877"),c=Object(l["a"])(r,s,i,!1,null,null,null);t["default"]=c.exports}}]);