(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["views"],{"095a":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("basic-container",[t("avue-form",{attrs:{option:e.option},on:{"tab-click":e.handleTabClick,submit:e.handleSubmit},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)],1)},n=[],s=(i("7f7f"),i("cadc")),r=i("c0c7"),o=i("8237"),c=i.n(o),l=i("d9a3"),d={data:function(){return{index:0,option:s["default"],form:{}}},created:function(){this.handleWitch()},methods:{handleSubmit:function(e,t){var i=this;0===this.index?Object(r["updateInfo"])(e).then((function(e){e.data.success?i.$message({type:"success",message:"修改信息成功!"}):i.$message({type:"error",message:e.data.msg}),t()}),(function(e){window.console.log(e),t()})):Object(r["updatePassword"])(c()(e.oldPassword),c()(e.newPassword),c()(e.newPassword1)).then((function(e){e.data.success?i.$message({type:"success",message:"修改密码成功!"}):i.$message({type:"error",message:e.data.msg}),t()}),(function(e){window.console.log(e),t()}))},handleWitch:function(){var e=this;0===this.index&&Object(r["getUserInfo"])().then((function(t){var i=t.data.data;e.form={id:i.id,avatar:i.avatar,name:i.name,realName:i.realName,phone:i.phone,email:i.email}}))},handleTabClick:function(e){this.index=l["a"].toInt(e.index),this.handleWitch()}}},h=d,u=i("2877"),p=Object(u["a"])(h,a,n,!1,null,null,null);t["default"]=p.exports},"09c7":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("avue-data-box",{attrs:{option:e.option,animation:!0}})],1)},n=[],s=(i("c54a"),i("8a8b")),r=(i("7208"),{name:"Statistic",data:function(){return{userId:"",countByServer:!0,option:{span:6,data:[{click:this.handleItemAClick,title:"物品主数据",count:1723,icon:"iconfont iconicon_doc",color:"rgb(49, 180, 141)",uiUrl:"/MasterData/items?id=wupin@name=物品主数据",countUrl:"priceIndexController/countNeedConfirmPlan"},{click:this.handleItemBClick,title:"人员主数据",count:1225,icon:"iconfont iconicon_dispose",color:"rgb(56, 161, 242)",uiUrl:"/MasterData/items?id=renyuan@@name=人员主数据",countUrl:"priceIndexController/countPricingPlan"},{click:this.handleItemCClick,title:"Part",count:523,icon:"el-icon-setting",color:"rgb(117, 56, 199)",uiUrl:"/MasterData/items?id=10@@name=Part",countUrl:"priceIndexController/countNeedFeedbackPlan"},{click:this.handleItemDClick,title:"供应商主数据",count:0,icon:"iconfont iconicon_work",color:"rgb(255, 102, 51)",uiUrl:"/MasterData/items?id=gongyingshang@@name=供应商主数据",countUrl:"priceIndexController/countMyUnCreatePricePlan"}]}}},created:function(){this.userId=sessionStorage.userId,Object(s["getList"])("/api/ubcs-code/mdmCount/getMdmCounts",{id:this.userId}).then((function(e){console.log(e)}))},computed:function(){},methods:{handleItemAClick:function(){this.$router.push({path:"/MasterData/items?id=wupin@name=物品主数据"})},handleItemBClick:function(){this.$router.push({path:"/MasterData/items?id=renyuan@@name=人员主数据"})},handleItemCClick:function(){this.$router.push({path:"/MasterData/items?id=10@@name=Part"})},handleItemDClick:function(){this.$router.push({path:"/MasterData/items?id=gongyingshang@@name=供应商主数据"})}}}),o=r,c=i("2877"),l=Object(c["a"])(o,a,n,!1,null,"7bd1d775",null);t["default"]=l.exports},"222a":function(e,t,i){"use strict";i("4e51")},"4b9f":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("basic-container",[t("div",{staticClass:"wel"},[t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-platform-eleme",text:"开始菜单1",time:"1",background:"/img/bg/bg3.jpg",color:"#d56259"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-eleme",text:"开始菜单2",time:"2",background:"/img/bg/bg2.jpg",color:"#419ce7"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-delete-solid",text:"开始菜单3",time:"3",color:"#56b69b"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-delete",text:"开始菜单4",time:"4",color:"#d44858"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-s-tools",text:"开始菜单5",time:"5",color:"#3a1f7e"}}),t("basic-block",{attrs:{width:410,height:e.height,icon:"el-icon-setting",text:"开始菜单6",time:"6",background:"/img/bg/bg1.jpg",dept:"这是一段很长的很长很长很长的描述这是一段很长的很长很长很长的描述",color:"#422829"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-user-solid",text:"开始菜单7",time:"7",color:"#613cbd"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-star-off",text:"开始菜单8",time:"8",color:"#da542e"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-goods",text:"开始菜单9",time:"9",color:"#2e8aef"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-circle-check",text:"开始菜单10",time:"10",color:"#3d17b8"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-s-platform",text:"开始菜单11",time:"11",color:"#e31462"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-s-fold",text:"开始菜单12",time:"12",color:"#d9532d"}}),t("basic-block",{attrs:{width:410,height:e.height,icon:"el-icon-s-open",text:"开始菜单13",time:"13",dept:"这是一段很长的很长很长很长的描述这是一段很长的很长很长很长的描述",color:"#b72147"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-s-flag",text:"开始菜单14",time:"14",color:"#01a100"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-s-data",text:"开始菜单15",time:"15",color:"#0c56bf"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-s-grid",text:"开始菜单16",time:"16",color:"#0098a9"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-s-release",text:"开始菜单17",time:"17",background:"/img/bg/bg2.jpg",color:"#209bdf"}}),t("basic-block",{attrs:{width:e.width,height:e.height,icon:"el-icon-s-home",text:"开始菜单18",time:"18",background:"/img/bg/bg3.jpg",color:"#603bbc"}}),t("basic-block",{attrs:{width:515,height:e.height,icon:"el-icon-s-promotion",text:"开始菜单19",time:"19",dept:"这是一段很长的很长很长很长的描述这是一段很长的很长很长很长的描述",color:"#009bad"}}),t("basic-block",{attrs:{width:515,height:e.height,icon:"el-icon-s-custom",text:"开始菜单20",time:"20",background:"/img/bg/bg4.jpg",dept:"这是一段很长的很长很长很长的描述这是一段很长的很长很长很长的描述",color:"#d74e2a"}})],1)])},n=[],s={data:function(){return{width:200,height:120}}},r=s,o=(i("fac8"),i("2877")),c=Object(o["a"])(r,a,n,!1,null,null,null);t["default"]=c.exports},"4e3c":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-col",{attrs:{span:24}},[t("third-register")],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("basic-container",{attrs:{title:"主数据统计"}},[t("Statistic")],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("basic-container",{attrs:{title:"待办流程任务"}},[t("avue-crud",{ref:"crud",attrs:{"table-loading":e.loading,data:e.todoData,option:e.todoOption,page:e.page},on:{"on-load":e.onLoad,"cell-click":e.cellHandle,"update:page":function(t){e.page=t}},scopedSlots:e._u([{key:"menu",fn:function(i){var a=i.size,n=i.row,s=i.index;return[t("el-button",{attrs:{icon:"el-icon-check",type:"text",size:a},on:{click:function(t){return e.gotodo(n,s)}}},[e._v("执行")])]}}])})],1)],1)],1),t("el-dialog",{attrs:{title:"修改密码",visible:e.dialogFormVisible,"append-to-body":"","close-on-press-escape":!1,"before-close":e.Xdelhandle},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules}},[t("el-form-item",{attrs:{label:"原密码","label-width":e.formLabelWidth,prop:"oldPassword"}},[t("el-input",{attrs:{autocomplete:"off"},model:{value:e.form.oldPassword,callback:function(t){e.$set(e.form,"oldPassword",t)},expression:"form.oldPassword"}})],1),t("el-form-item",{attrs:{label:"新密码","label-width":e.formLabelWidth,prop:"newPassword"}},[t("el-input",{attrs:{autocomplete:"off"},model:{value:e.form.newPassword,callback:function(t){e.$set(e.form,"newPassword",t)},expression:"form.newPassword"}})],1),t("el-form-item",{attrs:{label:"确认密码","label-width":e.formLabelWidth,prop:"newPassword1"}},[t("el-input",{attrs:{autocomplete:"off"},model:{value:e.form.newPassword1,callback:function(t){e.$set(e.form,"newPassword1",t)},expression:"form.newPassword1"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.delhandle}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.addok}},[e._v("确 定")])],1)],1)],1)},n=[],s=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),r=i("5880"),o=i("c0c7"),c=i("8237"),l=i.n(c),d=i("0a5a"),h=i("09c7"),u=(i("c54a"),i("7208")),p=i("1e69");function g(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function f(e){for(var t=1;t'+e.variables.processName+"-"+e.taskName+""}},{label:"上一步处理时间",sortable:!0,width:150,prop:"createTime"},{label:"上一步操作人",sortable:!0,width:120,prop:"historyActivityAssigneName"},{label:"流程描述",prop:"processDesc",overHidden:!0,formatter:function(e){return e.variables.processDesc}},{label:"所属流程模板",sortable:!0,overHidden:!0,prop:"categoryName"}]},noticeData:[{img:"/img/bg/vip1.png",title:"史蒂夫·乔布斯 关注了你",subtitle:"05-08 15:08",tag:"已经开始",status:0},{img:"/img/bg/vip2.png",title:"斯蒂夫·沃兹尼亚克 关注了你",subtitle:"05-08 15:08",tag:"未开始",status:1},{img:"/img/bg/vip3.png",title:"蒂姆·库克 关注了你",subtitle:"05-08 15:08",status:3,tag:"有错误"},{img:"/img/bg/vip4.png",title:"比尔·费尔南德斯 关注了你",subtitle:"05-08 15:08",status:4,tag:"已完成"}],logActiveNames:["28"],userarr:[],userid:"",updataArr:[],dialogFormVisible:!1,form:{oldPassword:"",newPassword:"",newPassword1:""},rules:{oldPassword:[{required:!0,message:"请输入原密码",trigger:"blur"}],newPassword:[{required:!0,message:"请输入新密码",trigger:"blur"}],newPassword1:[{required:!0,message:"请输确认密码",trigger:"blur"}]}}},created:function(){this.updataArr=JSON.parse(localStorage.getItem("updataid")),this.userid=this.$store.state.user.upadatastatus.user_id;var e=localStorage.getItem("pageFlag");null===e&&(this.checkhandle(),localStorage.setItem("pageFlag",!0))},computed:f({},Object(r["mapGetters"])(["userInfo","flowRoutes"])),methods:{handleChange:function(e){window.console.log(e)},Xdelhandle:function(){Object(d["c"])(),this.dialogFormVisible=!1},delhandle:function(){Object(d["c"])(),this.dialogFormVisible=!1},addok:function(){var e=this;this.dialogFormVisible=!1,Object(o["updatePassword"])(l()(this.form.oldPassword),this.form.newPassword,this.form.newPassword1).then((function(t){200==t.data.code&&e.$message({type:"success",message:"修改成功!"})})).catch((function(t){console.log(t),e.checkhandle()}))},checkhandle:function(){var e=this;"0"!=this.updataArr.user_id&&"000000"!==this.updataArr.tenant_id&&Object(o["check"])(this.userid).then((function(t){t.data.data>0?e.$message({type:"warning",message:"你还有".concat(t.data.data,"天就要修改密码了")}):-1==t.data.data?(e.$message({type:"warning",message:"密码策略已被修改,请重新修改密码!"}),setTimeout((function(){e.dialogFormVisible=!0}),1500)):t.data.data})).catch((function(e){console.log(e)}))},onLoad:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0;var a=f(f({},this.query),{},{category:i.category?Object(u["a"])(i.category):null});Object(p["todoList"])(e.currentPage,e.pageSize,Object.assign(i,a)).then((function(e){var i=e.data.data;t.page.total=i.total,t.todoData=i.records,t.loading=!1})).catch((function(e){t.$message.error(e),t.loading=!1}))},cellHandle:function(e,t,i,a){"taskName"==t.property&&this.gotodo(e)},gotodo:function(e,t){this.$router.push({path:"/work/process/".concat(Object(u["b"])(this.flowRoutes,e.category),"/handle/").concat(e.taskId,"/").concat(e.processInstanceId,"/").concat(e.businessId)})}}},b=m,w=(i("222a"),i("2877")),v=Object(w["a"])(b,a,n,!1,null,null,null);t["default"]=v.exports},"4e51":function(e,t,i){},6486:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("basic-container",[t("el-row",[t("el-col",{attrs:{span:12}},[t("avue-crud",{ref:"crud",attrs:{option:e.option,"table-loading":e.loading,data:e.dataParent,page:e.pageParent,permission:e.permissionList,"before-open":e.beforeOpen},on:{"row-del":e.rowDel,"row-update":e.rowUpdate,"row-save":e.rowSave,"row-click":e.handleRowClick,"search-change":e.searchChange,"search-reset":e.searchReset,"selection-change":e.selectionChange,"current-change":e.currentChange,"size-change":e.sizeChange,"refresh-change":e.refreshChange,"on-load":e.onLoadParent},scopedSlots:e._u([{key:"isSealed",fn:function(i){var a=i.row;return[t("el-tag",[e._v(e._s(0===a.isSealed?"否":"是"))])]}}]),model:{value:e.formParent,callback:function(t){e.formParent=t},expression:"formParent"}},[t("template",{slot:"menuLeft"},[e.permission.dict_delete?t("el-button",{attrs:{type:"danger",size:"small",icon:"el-icon-delete",plain:""},on:{click:e.handleDelete}},[e._v("删 除\n ")]):e._e()],1)],2)],1),t("el-col",{attrs:{span:12}},[t("avue-crud",{ref:"crudChild",attrs:{option:e.option,"table-loading":e.loading,data:e.dataChild,page:e.pageChild,permission:e.permissionList,"before-open":e.beforeOpenChild},on:{"row-del":e.rowDelChild,"row-update":e.rowUpdateChild,"row-save":e.rowSaveChild,"search-change":e.searchChangeChild,"search-reset":e.searchResetChild,"selection-change":e.selectionChangeChild,"current-change":e.currentChangeChild,"size-change":e.sizeChangeChild,"refresh-change":e.refreshChangeChild,"on-load":e.onLoadChild},scopedSlots:e._u([{key:"isSealed",fn:function(i){var a=i.row;return[t("el-tag",[e._v(e._s(0===a.isSealed?"否":"是"))])]}}]),model:{value:e.formChild,callback:function(t){e.formChild=t},expression:"formChild"}},[t("template",{slot:"menuLeft"},[e.permission.dict_delete?t("el-button",{attrs:{type:"danger",size:"small",icon:"el-icon-delete",plain:""},on:{click:e.handleDelete}},[e._v("删 除\n ")]):e._e()],1)],2)],1)],1)],1)],1)},n=[],s=(i("8e6e"),i("456d"),i("6762"),i("2fdb"),i("ac6a"),i("ade3")),r=i("7754"),o=i("5880");function c(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function l(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0,Object(r["getParentList"])(e.currentPage,e.pageSize,Object.assign(i,this.query)).then((function(e){var i=e.data.data;t.pageParent.total=i.total,t.dataParent=i.records,t.loading=!1,t.selectionClear()}))},onLoadChild:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0,Object(r["getChildList"])(e.currentPage,e.pageSize,this.parentId,Object.assign(i,this.query)).then((function(e){var i=e.data.data;t.pageChild.total=i.total,t.dataChild=i.records,t.loading=!1,t.selectionClear()}))}}},h=d,u=i("2877"),p=Object(u["a"])(h,a,n,!1,null,null,null);t["default"]=p.exports},"6e96":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("basic-container",[t("div",{staticClass:"dialogwarp"},[t("div",{staticClass:"dialogwarp_tab"},[t("el-card",{staticClass:"dialogwarp_tab_card"},[t("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"业务数据信息",name:"first"}},[t("businesswork",{ref:"businesswork",attrs:{ids:e.ids,templateId:e.templateId,taskId:e.taskId,modelKey:e.modelKey,codeClassifyOid:e.codeClassifyOid,stageAttrs:e.stageAttrs}})],1),t("el-tab-pane",{attrs:{label:"流程跟踪",name:"second"}},[t("avue-crud",{ref:"crud",attrs:{data:e.flowList,option:e.option}}),t("el-row",{staticClass:"row-bg",staticStyle:{"margin-top":"20px"}},[t("flow-design",{attrs:{"is-display":!0,"process-instance-id":e.processInstanceId}})],1)],1)],1)],1)],1),t("div",{staticClass:"dialogwarp_card"},[t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("当前任务:")]),t("span",[e._v(e._s(e.title))])]),t("div",{staticStyle:{width:"100%"}},[t("p",[e._v("请在下方输入您的审批意见:")]),t("el-input",{attrs:{type:"textarea",rows:4,placeholder:"请输入内容","show-word-limit":""},model:{value:e.opinionVal,callback:function(t){e.opinionVal=t},expression:"opinionVal"}})],1),t("div",{staticStyle:{width:"100%"}},[t("p",[e._v("审批意见附件:")]),t("el-upload",{staticStyle:{width:"100%"},attrs:{drag:"",action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[t("i",{staticClass:"el-icon-upload"}),t("div",{staticClass:"el-upload__text"},[e._v("将文件拖到此处,或"),t("em",[e._v("点击上传")])])])],1),t("div",{staticStyle:{width:"100%"}},[t("p",[e._v("已上传审批文件:")]),t("el-card",{staticClass:"box-card"},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,stripe:""}},[t("el-table-column",{attrs:{prop:"date",label:"文件名"}}),t("el-table-column",{attrs:{prop:"name",label:"上传人 "}}),t("el-table-column",{attrs:{prop:"address",label:"操作"}})],1)],1)],1),t("div",{staticStyle:{"margin-top":"20px"}},e._l(e.btnList,(function(i,a){return t("el-button",{key:a,attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handelExecute(i)}}},[e._v(e._s(i.toName))])})),1)])],1)])])},n=[],s=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),r=(i("96cf"),i("1da1")),o=i("fc8c"),c=i("5821"),l=i("c54a");function d(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function h(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0,Object(r["getParentList"])(e.currentPage,e.pageSize,Object.assign(i,this.query)).then((function(e){var i=e.data.data;t.pageParent.total=i.total,t.dataParent=i.records,t.loading=!1,t.selectionClear()}))},onLoadChild:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0,Object(r["getChildList"])(e.currentPage,e.pageSize,this.parentId,Object.assign(i,this.query)).then((function(e){var i=e.data.data;t.pageChild.total=i.total,t.dataChild=i.records,t.loading=!1,t.selectionClear()}))}}},h=d,u=i("2877"),p=Object(u["a"])(h,a,n,!1,null,null,null);t["default"]=p.exports},eaa2:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("basic-container",[t("avue-form",{attrs:{option:e.option},on:{submit:e.handleSubmit},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1),t("basic-container",[t("flow-design",{attrs:{"is-display":!0,"process-definition-id":e.processDefinitionId}})],1)],1)},n=[],s=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),r=i("fc8c");function o(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function c(e){for(var t=1;t