1 line
38 KiB
JavaScript
1 line
38 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2c0b72c6"],{"0748":function(e,t,a){"use strict";a.r(t);a("b0c0"),a("ac1f"),a("841c"),a("9911");var C=a("9f9f"),T={class:"hotime-table",style:{width:"100%",display:"contents"}},x={style:{padding:"10px"}},E=Object(C.r)("添加 "),P=Object(C.r)("删除 "),M=Object(C.r)("上传 "),U=Object(C.r)("搜索:"),I=Object(C.r)("查看 "),S={key:0,style:{}},A=Object(C.r)("选择 "),z=Object(C.r)("办结 "),$=Object(C.r)("办结 "),B=Object(C.r)("详情 "),F=Object(C.r)("操作 "),H=Object(C.r)("删除 "),W=Object(C.o)("p",{style:{color:"#67c23a"}},"群众信息",-1),R=Object(C.o)("p",{style:{color:"#67c23a"}},"办理信息",-1),q={class:"dialog-footer"},K=Object(C.r)("取消"),V=Object(C.r)("办理");var n,r,l,u=a("b85c"),i=(a("a9e3"),a("4e82"),a("4de4"),a("8e1d")),o=a("2934"),c=a("c1df"),s=a.n(c),b=a("83c5"),c=a("8f33"),c={props:{routerPath:String,routerQuery:Object,routerId:Number,editDialogPath:String},components:{BasicFormInfo:i.a,Info:c.a},data:function(){return{isCollapse:!0,formInfo:"",showCheckForm:!1,skeleton:!0,templateData:{},nowSearchTree:null,treeConfig:{},removeList:[],showTreeTabName:null,matterDialogVisible:!1,matterDialog:{show:!1,userId:0,matterOrderID:0},showTabLabel:!0,formAddTree:{},form:{pageSize:10,page:1},tableTotalWidth:0,total:20,cellStyle:{padding:"2px 0px","text-align":"center",height:"40px"},headerCellStyle:{padding:"5px 0px","text-align":"center",color:"#000000",background:"darkgray",height:"40px"},shortcuts:[{text:"最近一周",value:(e=new Date,(t=new Date).setTime(t.getTime()-6048e5),[t,e])},{text:"最近一个月",value:(t=new Date,(e=new Date).setTime(e.getTime()-2592e6),[e,t])},{text:"最近三个月",value:(e=new Date,(t=new Date).setTime(t.getTime()-7776e6),[t,e])}],tableData:[],filterText:"",defaultProps:{}};var e,t},methods:{checkColumn:function(e){b.a.$emit("table:"+this.editDialogPath,e),b.a.$emit("tabs-edit-close",{name:"Table",path:this.templateData.path,routerId:this.routerId})},sortAble:function(e){return("number"==e.type||"time"==e.type)&&"custom"},setCollapse:function(){this.isCollapse=!this.isCollapse},getTableMinWidth:function(e,t,a,n){function r(e){for(var t=0,a=0;a<e.length;a++){var n=e.charCodeAt(a);1<=n&&n<=126||65376<=n&&n<=65439?t++:t+=2}return t}var l,i=r(n+2),o=Object(u.a)(e);try{for(o.s();!(l=o.n()).done;){var c,s=l.value;null==s[t]||i<(c=r(s[t]+""))&&(i=c)}}catch(e){o.e(e)}finally{o.f()}return i=350<(i=10*(i+a))?350:i},matterOrderEdit:function(){var e=this,t=this;t.matterDialog.show=!1,this.$confirm("是否办结","办结提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.c)(window.Hotime.data.name+"/"+e.templateData.name+"/"+t.matterDialog.matterOrderID,{status:2,finish_time:parseInt((new Date).getTime()/1e3),admin_id:window.user.id}).then(function(e){0==e.status?(t.$message({type:"success",message:"办结成功!"}),t.formDebounce(t)):t.$message({type:"error",message:"办结失败!"})})}).catch(function(){e.$message({type:"info",message:"已取消办结"})})},checkForm:function(e){this.showCheckForm=!0,this.formInfo=e||JSON.stringify({form:[],files:[]})},clickInfo:function(e,t){null!=this.routerPath&&0<this.routerPath.length?b.a.$emit("tabs",{name:"Info",path:e+"/info",id:t}):null!=this.editDialogPath?b.a.$emit("tabs-edit",{name:"Info",path:e+"/info",id:t}):this.$router.push({path:e+"/info",query:{id:t}})},clickEdit:function(e,t){null!=this.routerPath&&0<this.routerPath.length?b.a.$emit("tabs",{name:"Edit",path:e+"/edit",id:t}):null!=this.editDialogPath?b.a.$emit("tabs-edit",{name:"Edit",path:e+"/edit",id:t}):this.$router.push({path:e+"/edit",query:{id:t}})},clickAdd:function(e,t){null!=this.routerPath&&0<this.routerPath.length?b.a.$emit("tabs",{name:"Add",path:e+"/add",query:t}):null!=this.editDialogPath?b.a.$emit("tabs-edit",{name:"Add",path:e+"/add",query:t}):this.$router.push({path:e+"/add",query:t})},clickUpload:function(){var a=this,e={name:"Table",path:window.Hotime.tableMapData.org.path,title:window.Hotime.tableMapData.org.parent.label+"-"+window.Hotime.tableMapData.org.label};b.a.$emit("dialog-edit",e),b.a.$off("table:"+window.Hotime.tableMapData.org.path),b.a.$on("table:"+window.Hotime.tableMapData.org.path,function(e){Object(o.g)({org_id:e.id},function(e,t){null!=e&&(a.$message({type:"success",message:"上传成功!"}),a.formDebounce(a))})})},clickLink:function(e,t){e={name:"Info",path:window.Hotime.tableMapData[e].path+"/info",id:t,routerId:this.routerId,title:window.Hotime.tableMapData[e].parent.label+"-"+window.Hotime.tableMapData[e].label};null!=this.routerPath&&0<this.routerPath.length?b.a.$emit("tabs",e):null!=this.editDialogPath?b.a.$emit("tabs-edit",e):b.a.$emit("dialog",e)},finishMatter:function(e,t){this.matterDialog.userId=t,this.matterDialog.matterOrderID=e,this.matterDialog.show=!0},finishOrder:function(e){var t=this,a=this;this.$confirm("是否办结","办结提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.c)(window.Hotime.data.name+"/"+t.templateData.name+"/"+e,{status:2}).then(function(e){0==e.status?(a.$message({type:"success",message:"办结成功!"}),a.formDebounce(a)):a.$message({type:"error",message:"办结失败!"})})}).catch(function(){t.$message({type:"info",message:"已取消办结"})})},formatter:function(e,t,a){if(null!=a&&(t.property=a),null==this.tempMapItems[t.property]||"time"!=this.tempMapItems[t.property].type)return e[t.property];t=e[t.property];return null==t?"":s()(1e3*t).format("YYYY-MM-DD HH:mm:ss")},removeListClick:function(){var n=this,r=this,l=this.removeList.length;0!=l?this.$confirm("此操作将删除"+this.removeList.length+"条数据,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var e,t=Object(u.a)(n.removeList);try{for(t.s();!(e=t.n()).done;){var a=e.value;Object(o.b)(window.Hotime.data.name+"/"+n.templateData.name+"/"+a.id).then(function(){0==--l&&(r.$message({type:"success",message:"删除成功!"}),r.removeList=[],r.formDebounce(r))})}}catch(e){t.e(e)}finally{t.f()}}):r.$message({type:"warning",message:"没有选择要删除的数据!"})},removeRow:function(e){var t=this,a=this;this.$confirm("此操作将进行删除操作,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)(window.Hotime.data.name+"/"+t.templateData.name+"/"+e).then(function(e){0==e.status?(a.$message({type:"success",message:"删除成功!"}),a.formDebounce(a)):a.$message({type:"warn",message:e.error.msg})})})},treeNodeClick:function(e,t){null!=this.nowSearchTree&&(this.form.page=1,this.form[this.nowSearchTree.name]=e.id)},tabClick:function(e){this.form.page=1,this.form[this.nowSearchTree.name]=null,this.nowSearchTree=this.treeConfig[e.paneName],this.filterText=""},loadNode:function(e,t){var a=window.Hotime;if(0===e.level){var n={label:a.data.label};return n[this.nowSearchTree.value]=a.data.label,this.formAddTree[this.nowSearchTree.name]=null,t([n])}e=e.data.id;null==(this.formAddTree[this.nowSearchTree.name]=e)&&(this.formAddTree[this.nowSearchTree.name]=null,e=0),Object(o.e)(a.data.name+"/"+this.nowSearchTree.link,{parent_id:e,pageSize:100}).then(function(e){0==e.status&&t(e.result.data)})},formDebounce:(n=function(e){var t=window.Hotime;e.search(t.data.name,e)},r=200,function(e){l&&clearTimeout(l),l=setTimeout(function(){n(e)},r)}),sortChange:function(e){null!=e.prop?"descending"===e.order?this.form.sort=e.prop+" DESC":this.form.sort=e.prop+" ASC":this.form.sort=null},filterNode:function(e,t){return!e||-1!==t[this.nowSearchTree.value].indexOf(e)},handleSizeChange:function(e){},search:function(e,t){Object(o.e)(e+"/"+t.templateData.name,t.form).then(function(e){t.tableData=e.result.data,t.total=e.result.count,t.skeleton=!1})},handleSelectionChange:function(e){this.removeList=e}},watch:{filterText:function(e){null!=this.$refs["tree:"+this.nowSearchTree.name]&&this.$refs["tree:"+this.nowSearchTree.name].filter(e)},form:{handler:function(){this.formDebounce(this)},deep:!(l="")}},mounted:function(){var e=window.Hotime;if(null!=e.mapData[this.routerPath]){if(this.templateData=e.mapData[this.routerPath],null!=this.routerQuery)for(var t in this.routerQuery)this.form[t]=this.routerQuery[t]}else if(null!=this.editDialogPath){if(this.templateData=e.mapData[this.editDialogPath],null!=this.routerQuery)for(var a in this.routerQuery)this.form[a]=this.routerQuery[a]}else this.templateData=e.mapData[this.$route.path];if(null!=this.templateData){if(this.treeConfig={},this.tempMapItems={},null!=this.templateData.columns){var n,r=Object(u.a)(this.templateData.columns);try{for(r.s();!(n=r.n()).done;){var l=n.value;null==l.value&&(l.value=l.name),this.tempMapItems[l.value]=l}}catch(e){r.e(e)}finally{r.f()}}if(this.nowSearchTree=null,this.showTabLabel=!0,this.defaultProps={},null!=this.templateData.search){var i,o=Object(u.a)(this.templateData.search);try{for(o.s();!(i=o.n()).done;){var c=i.value;this.defaultProps[c.name]={children:"children",label:c.value,isLeaf:"leaf"},"tree"==c.type&&null!=this.routerPath||("tree"!=c.type?this.form[c.name]=c.value:(this.treeConfig[c.name]=c,null==this.nowSearchTree?(this.nowSearchTree=c,this.showTreeTabName=this.nowSearchTree.name):this.showTabLabel=!1))}}catch(e){o.e(e)}finally{o.f()}}this.formDebounce(this)}}};a("dce6");c.render=function(e,t,a,n,r,l){var i=Object(C.U)("el-button"),o=Object(C.U)("el-affix"),c=Object(C.U)("el-input"),s=Object(C.U)("el-tree"),u=Object(C.U)("el-tab-pane"),b=Object(C.U)("el-tabs"),m=Object(C.U)("el-aside"),f=Object(C.U)("el-form-item"),d=Object(C.U)("el-option"),j=Object(C.U)("el-select"),h=Object(C.U)("el-date-picker"),p=Object(C.U)("el-form"),O=Object(C.U)("el-table-column"),_=Object(C.U)("el-link"),g=Object(C.U)("el-table"),y=Object(C.U)("el-pagination"),k=Object(C.U)("el-skeleton"),w=Object(C.U)("el-main"),D=Object(C.U)("BasicFormInfo"),v=Object(C.U)("el-dialog"),L=Object(C.U)("Info");return Object(C.L)(),Object(C.n)("div",T,[Object(C.s)(o,{position:"bottom",offset:0,style:{position:"absolute","z-index":"10",bottom:"0px"}},{default:Object(C.jb)(function(){return[null!=r.showTreeTabName?(Object(C.L)(),Object(C.l)(i,{key:0,size:"medium",icon:r.isCollapse?"el-icon-s-fold":"el-icon-s-unfold",onClick:l.setCollapse,plain:"",style:Object(C.C)([{height:"56px","text-align":"start","padding-left":"12px",border:"0","border-radius":"0",left:"-5px"},{width:r.isCollapse?"200px":"40px"}])},{default:Object(C.jb)(function(){return[Object(C.kb)(Object(C.o)("span",null,"收起/展开",512),[[C.gb,r.isCollapse]])]}),_:1},8,["icon","onClick","style"])):Object(C.m)("",!0)]}),_:1}),null!=r.showTreeTabName?(Object(C.L)(),Object(C.l)(m,{key:0,class:Object(C.B)({"not-show-tab-label":r.showTabLabel}),style:Object(C.C)([{width:r.isCollapse?"200px":"40px"},{background:"white",padding:"10px 5px 0 5px"}])},{default:Object(C.jb)(function(){return[Object(C.s)(c,{placeholder:"输入关键字进行过滤",clearable:"",modelValue:r.filterText,"onUpdate:modelValue":t[0]||(t[0]=function(e){return r.filterText=e}),"suffix-icon":"el-icon-search"},null,8,["modelValue"]),Object(C.s)(b,{modelValue:r.showTreeTabName,"onUpdate:modelValue":t[1]||(t[1]=function(e){return r.showTreeTabName=e}),style:{height:"calc( 100% - 37px)","margin-top":"5px"},"tab-position":"top",onTabClick:l.tabClick},{default:Object(C.jb)(function(){return[(Object(C.L)(!0),Object(C.n)(C.b,null,Object(C.S)(r.treeConfig,function(e){return Object(C.L)(),Object(C.l)(u,{key:e.type,lazy:"",label:e.label,name:e.name},{default:Object(C.jb)(function(){return[Object(C.s)(s,{class:"filter-tree",props:r.defaultProps[e.name],load:l.loadNode,ref:"tree:"+e.name,onNodeClick:l.treeNodeClick,lazy:"",accordion:"","filter-node-method":l.filterNode},null,8,["props","load","onNodeClick","filter-node-method"])]}),_:2},1032,["label","name"])}),128))]}),_:1},8,["modelValue","onTabClick"])]}),_:1},8,["class","style"])):Object(C.m)("",!0),Object(C.s)(w,{style:{padding:"0px","margin-left":"5px",background:"white"}},{default:Object(C.jb)(function(){return[Object(C.o)("div",x,[Object(C.s)(k,{rows:5,animated:"",loading:r.skeleton},{default:Object(C.jb)(function(){return[Object(C.s)(p,{ref:"form",model:r.form,"label-width":"2px",style:{display:"flex","align-items":"center","flex-wrap":"wrap"}},{default:Object(C.jb)(function(){return[Object(C.s)(f,{style:{"margin-right":"10px","min-width":"160px"}},{default:Object(C.jb)(function(){return[Object(C.kb)(Object(C.s)(i,{type:"primary",icon:"el-icon-plus",onClick:t[2]||(t[2]=function(e){return l.clickAdd(r.templateData.path,r.formAddTree)})},{default:Object(C.jb)(function(){return[E]}),_:1},512),[[C.gb,null!=r.templateData.Auth.add&&r.templateData.Auth.add]]),Object(C.kb)(Object(C.s)(i,{plain:"",type:"danger",icon:"el-icon-delete",disabled:null==r.removeList[0],onClick:l.removeListClick},{default:Object(C.jb)(function(){return[P]}),_:1},8,["disabled","onClick"]),[[C.gb,null!=r.templateData.Auth.delete&&r.templateData.Auth.delete]]),Object(C.kb)(Object(C.s)(i,{type:"warning",onClick:t[3]||(t[3]=function(e){return l.clickUpload(r.templateData.path,r.formAddTree)})},{default:Object(C.jb)(function(){return[M]}),_:1},512),[[C.gb,null!=r.templateData.Auth.upload&&r.templateData.Auth.upload]])]}),_:1}),null!=r.templateData.search?(Object(C.L)(),Object(C.n)(C.b,{key:0},[Object(C.s)(f,null,{default:Object(C.jb)(function(){return[U]}),_:1}),(Object(C.L)(!0),Object(C.n)(C.b,null,Object(C.S)(r.templateData.search,function(t){return Object(C.L)(),Object(C.n)(C.b,null,["select"==t.type?(Object(C.L)(),Object(C.l)(f,{key:t.type},{default:Object(C.jb)(function(){return[Object(C.s)(j,{modelValue:r.form[t.name],"onUpdate:modelValue":function(e){return r.form[t.name]=e},placeholder:"请选择",style:{width:"88px"}},{default:Object(C.jb)(function(){return[(Object(C.L)(!0),Object(C.n)(C.b,null,Object(C.S)(t.options,function(e){return Object(C.L)(),Object(C.l)(d,{label:e.name,value:null!=e.value?e.value:"",key:e.name},null,8,["label","value"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue"])]}),_:2},1024)):Object(C.m)("",!0),"search"==t.type&&"daterange"==t.name?(Object(C.L)(),Object(C.l)(f,{label:"",key:t.type},{default:Object(C.jb)(function(){return[Object(C.s)(h,{modelValue:r.form[t.name],"onUpdate:modelValue":function(e){return r.form[t.name]=e},type:"datetimerange","value-format":"X",shortcuts:r.shortcuts,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",style:{width:"220px"}},null,8,["modelValue","onUpdate:modelValue","shortcuts"])]}),_:2},1024)):Object(C.m)("",!0),"search"==t.type&&"keyword"==t.name?(Object(C.L)(),Object(C.l)(f,{key:t.type},{default:Object(C.jb)(function(){return[Object(C.s)(c,{modelValue:r.form[t.name],"onUpdate:modelValue":function(e){return r.form[t.name]=e},clearable:"","prefix-icon":"el-icon-search",placeholder:"请输入关键字",style:{"min-width":"200px",width:"30vw"}},null,8,["modelValue","onUpdate:modelValue"])]}),_:2},1024)):Object(C.m)("",!0)],64)}),256))],64)):Object(C.m)("",!0)]}),_:1},8,["model"]),Object(C.s)(g,{data:r.tableData,style:{width:"100%","margin-bottom":"20px","margin-top":"5px"},onSortChange:l.sortChange,stripe:"",fit:"",border:"",size:"mini","cell-style":r.cellStyle,onSelectionChange:l.handleSelectionChange,"header-cell-style":r.headerCellStyle},{default:Object(C.jb)(function(){return[Object(C.s)(O,{fixed:"",type:"selection",width:"40"}),Object(C.s)(O,{fixed:"",label:"序号",width:"45",type:"index",align:"center"},{default:Object(C.jb)(function(e){return[Object(C.o)("span",null,Object(C.Y)((r.form.page-1)*r.form.pageSize+e.$index+1),1)]}),_:1}),(Object(C.L)(!0),Object(C.n)(C.b,null,Object(C.S)(r.templateData.columns,function(a){return Object(C.L)(),Object(C.n)(C.b,{key:a.type},[null==a.link?(Object(C.L)(),Object(C.n)(C.b,{key:0},[null==a.options&&0!=a.list&&"form"!==a.type?(Object(C.L)(),Object(C.l)(O,{key:0,"show-overflow-tooltip":"",prop:a.value,label:a.label,width:"id"==a.value?l.getTableMinWidth(r.tableData,a.value,5,a.label):l.getTableMinWidth(r.tableData,a.value,4,a.label),sortable:l.sortAble(a)},{default:Object(C.jb)(function(t){return["id"==a.value?(Object(C.L)(),Object(C.l)(_,{key:0,icon:"el-icon-link",href:"javascript:;",onClick:function(e){return l.clickLink(r.templateData.table,t.row[a.name])}},{default:Object(C.jb)(function(){return[Object(C.r)(Object(C.Y)(t.row[a.value]),1)]}),_:2},1032,["onClick"])):Object(C.m)("",!0),"id"!=a.value?(Object(C.L)(),Object(C.n)(C.b,{key:1},[Object(C.r)(Object(C.Y)(l.formatter(t.row,a,a.value)),1)],64)):Object(C.m)("",!0)]}),_:2},1032,["prop","label","width","sortable"])):Object(C.m)("",!0),"form"===a.type&&0!=a.list?(Object(C.L)(),Object(C.l)(O,{key:1,prop:a.value,width:"80",label:a.label},{default:Object(C.jb)(function(t){return[Object(C.s)(i,{type:"info",size:"mini",onClick:function(e){return l.checkForm(t.row[a.value])}},{default:Object(C.jb)(function(){return[I]}),_:2},1032,["onClick"])]}),_:2},1032,["prop","label"])):Object(C.m)("",!0),null!=a.options&&0!=a.list?(Object(C.L)(),Object(C.l)(O,{key:2,width:l.getTableMinWidth(a.options,"name",2,a.label),prop:a.value,label:a.label},{default:Object(C.jb)(function(t){return[(Object(C.L)(!0),Object(C.n)(C.b,null,Object(C.S)(a.options,function(e){return Object(C.L)(),Object(C.n)("div",{key:e.name},[t.row[a.value]==e.value?(Object(C.L)(),Object(C.n)("span",S,Object(C.Y)(e.name),1)):Object(C.m)("",!0)])}),128))]}),_:2},1032,["width","prop","label"])):Object(C.m)("",!0)],64)):Object(C.m)("",!0),null!=a.link?(Object(C.L)(),Object(C.n)(C.b,{key:1},[0!=a.list?(Object(C.L)(),Object(C.l)(O,{key:0,width:l.getTableMinWidth(r.tableData,a.link+"_"+a.name+"_"+a.value,5,a.label),prop:"control",label:a.label},{default:Object(C.jb)(function(t){return[""!=t.row[a.link+"_"+a.name+"_"+a.value]&&null!=t.row[a.link+"_"+a.name+"_"+a.value]?(Object(C.L)(),Object(C.l)(_,{key:0,icon:"el-icon-link",href:"javascript:;",onClick:function(e){return l.clickLink(a.link,t.row[a.name])}},{default:Object(C.jb)(function(){return[Object(C.r)(Object(C.Y)(t.row[a.link+"_"+a.name+"_"+a.value]),1)]}),_:2},1032,["onClick"])):Object(C.m)("",!0)]}),_:2},1032,["width","label"])):Object(C.m)("",!0)],64)):Object(C.m)("",!0)],64)}),128)),Object(C.s)(O,{fit:"",label:""}),null!=a.editDialogPath?(Object(C.L)(),Object(C.l)(O,{key:0,prop:"control",fixed:"right",label:"操作",width:"110px"},{default:Object(C.jb)(function(t){return[Object(C.s)(i,{type:"success",size:"mini",onClick:function(e){return l.checkColumn(t.row)}},{default:Object(C.jb)(function(){return[A]}),_:2},1032,["onClick"])]}),_:1})):Object(C.m)("",!0),null==a.editDialogPath?(Object(C.L)(),Object(C.l)(O,{key:1,prop:"control",fixed:"right",label:"操作",width:"210px"},{default:Object(C.jb)(function(t){return[1==r.templateData.Auth.finishOrder&&"2"!=t.row.status?(Object(C.L)(),Object(C.l)(i,{key:0,type:"success",size:"mini",onClick:function(e){return l.finishOrder(t.row.id)}},{default:Object(C.jb)(function(){return[z]}),_:2},1032,["onClick"])):Object(C.m)("",!0),1==r.templateData.Auth.finishMatter&&"2"!=t.row.status?(Object(C.L)(),Object(C.l)(i,{key:1,type:"success",size:"mini",onClick:function(e){return l.finishMatter(t.row.id,t.row.user_id)}},{default:Object(C.jb)(function(){return[$]}),_:2},1032,["onClick"])):Object(C.m)("",!0),1==r.templateData.Auth.info?(Object(C.L)(),Object(C.l)(i,{key:2,type:"info",size:"mini",onClick:function(e){return l.clickInfo(r.templateData.path,t.row.id)}},{default:Object(C.jb)(function(){return[B]}),_:2},1032,["onClick"])):Object(C.m)("",!0),1==r.templateData.Auth.edit?(Object(C.L)(),Object(C.l)(i,{key:3,type:"primary",size:"mini",onClick:function(e){return l.clickEdit(r.templateData.path,t.row.id)}},{default:Object(C.jb)(function(){return[F]}),_:2},1032,["onClick"])):Object(C.m)("",!0),1==r.templateData.Auth.delete?(Object(C.L)(),Object(C.l)(i,{key:4,type:"danger",size:"mini",onClick:function(e){return l.removeRow(t.row.id)}},{default:Object(C.jb)(function(){return[H]}),_:2},1032,["onClick"])):Object(C.m)("",!0)]}),_:1})):Object(C.m)("",!0)]}),_:1},8,["data","onSortChange","cell-style","onSelectionChange","header-cell-style"]),r.form.pageSize<r.total?(Object(C.L)(),Object(C.l)(y,{key:0,onSizeChange:l.handleSizeChange,style:{"text-align":"right","padding-right":"10px","padding-bottom":"10px",background:"white"},currentPage:r.form.page,"onUpdate:currentPage":t[4]||(t[4]=function(e){return r.form.page=e}),"page-size":r.form.pageSize,layout:"total,prev, pager, next, jumper",background:"",total:r.total},null,8,["onSizeChange","currentPage","page-size","total"])):Object(C.m)("",!0)]}),_:1},8,["loading"])])]}),_:1}),Object(C.s)(v,{title:"信息","close-on-click-modal":!1,modelValue:r.showCheckForm,"onUpdate:modelValue":t[5]||(t[5]=function(e){return r.showCheckForm=e}),"destroy-on-close":"",onClose:t[6]||(t[6]=function(e){return r.showCheckForm=!1}),width:"40%","lock-scroll":""},{default:Object(C.jb)(function(){return[Object(C.s)(D,{basicForm:r.formInfo},null,8,["basicForm"])]}),_:1},8,["modelValue"]),Object(C.s)(v,{modelValue:r.matterDialog.show,"onUpdate:modelValue":t[8]||(t[8]=function(e){return r.matterDialog.show=e}),title:"办结内容",width:"70%","destroy-on-close":"",center:""},{footer:Object(C.jb)(function(){return[Object(C.o)("span",q,[Object(C.s)(i,{onClick:t[7]||(t[7]=function(e){return r.matterDialog.show=!1})},{default:Object(C.jb)(function(){return[K]}),_:1}),Object(C.s)(i,{type:"primary",onClick:l.matterOrderEdit},{default:Object(C.jb)(function(){return[V]}),_:1},8,["onClick"])])]}),default:Object(C.jb)(function(){return[W,Object(C.s)(L,{"router-path":"/platform/user/info","router-id":r.matterDialog.userId},null,8,["router-id"]),R,Object(C.s)(L,{"router-path":"/matter_order/info","router-id":r.matterDialog.matterOrderID},null,8,["router-id"])]}),_:1},8,["modelValue"])])};t.default=c},"0803":function(e,t,a){},1:function(e,t){},2934:function(e,t,a){"use strict";a.d(t,"e",function(){return r}),a.d(t,"d",function(){return i}),a.d(t,"b",function(){return o}),a.d(t,"c",function(){return c}),a.d(t,"a",function(){return s}),a.d(t,"f",function(){return u}),a.d(t,"g",function(){return b});var t=a("b0c0"),l=a("b775"),t=a("4328"),n=a.n(t);function r(e,t){return Object(l.b)({url:e,method:"GET",params:t})}function i(e,t){return Object(l.b)({url:e,method:"GET",params:t})}function o(e,t){return Object(l.b)({url:e,method:"DELETE",data:n.a.stringify(t)})}function c(e,t){return Object(l.b)({url:e,method:"PUT",data:n.a.stringify(t)})}function s(e,t){return Object(l.b)({url:e,method:"POST",data:n.a.stringify(t)})}function u(e){var t=new FormData;return t.append("file",e,e.name),Object(l.b)({url:"file",headers:{"Content-Type":"multipart/form-data"},method:"POST",data:t})}function b(a,n){var r=document.createElement("input");r.type="file";r.addEventListener("change",function(){var e,t=r.files[0];0!==t.size?((e=new FormData).append("file",t,t.name),e.append("org_id",a.org_id),Object(l.b)({url:"admin/company_inout/upload",headers:{"Content-Type":"multipart/form-data"},method:"POST",data:e}).then(n)):n(null,"文件错误",r)}),r.click()}},4678:function(e,t,a){var n={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function r(e){e=l(e);return a(e)}function l(e){if(a.o(n,e))return n[e];e=new Error("Cannot find module '"+e+"'");throw e.code="MODULE_NOT_FOUND",e}r.keys=function(){return Object.keys(n)},r.resolve=l,(e.exports=r).id="4678"},8046:function(e,t,a){"use strict";a("0803")},"83c5":function(e,t,a){"use strict";a("159b");t.a={list:{},constructor:function(){this.list={}},$on:function(e,t){this.list[e]=this.list[e]||[],this.list[e].push(t)},$emit:function(e,t){this.list[e]&&this.list[e].forEach(function(e){e(t)})},$off:function(e){this.list[e]&&delete this.list[e]}}},"8e1d":function(e,t,a){"use strict";a("b0c0");var o=a("9f9f"),c={class:"basic-form-info"},s={key:0,class:"form-list-common form-list"},u=["title"],b=Object(o.r)(": "),m=["title"],f=Object(o.r)(": "),d=["title"],j=Object(o.r)(": "),h=["title"],p={key:1,class:"form-list-file form-list"},O={key:0,class:"img-item"},_=["title"],g={key:1,class:"file-item"},y=["title"],k=["onClick"],w={key:2,style:{"text-align":"center","margin-top":"20px"}};a("99af");var n=a("b775"),r={props:{basicForm:{type:String,default:JSON.stringify({form:[],files:[]})},inline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{form:""}},watch:{basicForm:function(e){this.form=e&&"null"!=e?JSON.parse(this.basicForm):{form:[],files:[]}}},created:function(){this.basicForm&&"null"!=this.basicForm?this.form=JSON.parse(this.basicForm):this.form={form:[],files:[]}},mounted:function(){},computed:{},methods:{getImgUrl:function(e){return e&&-1===e.indexOf("http")?"".concat(n.a,"/").concat(e):e},downLoadFile:function(e){e&&e.url&&(-1===e.url.indexOf("http")?window.open(n.a+"/"+e.url):window.open(e.url))}}};a("8046");r.render=function(a,e,t,n,r,l){var i=Object(o.U)("el-image");return Object(o.L)(),Object(o.n)("div",c,[r.form&&r.form.form&&0<r.form.form.length?(Object(o.L)(),Object(o.n)("div",s,[(Object(o.L)(!0),Object(o.n)(o.b,null,Object(o.S)(r.form.form,function(e,t){return Object(o.L)(),Object(o.n)("div",{class:"form-common-item",style:{display:"flex"},key:t},[Object(o.o)("div",{class:"name",title:e.label},Object(o.Y)(e.label),9,u),b,Object(o.o)("div",{class:"value",title:e.value},Object(o.Y)(e.value),9,m),f,Object(o.o)("div",{class:"value",title:e.style},Object(o.Y)(e.style),9,d),j,null!=e.style?(Object(o.L)(),Object(o.n)("div",{key:0,class:"name",title:e.result?"正常":"异常"},Object(o.Y)(e.result?"正常":"异常"),9,h)):Object(o.m)("",!0)])}),128))])):Object(o.m)("",!0),r.form&&r.form.files&&0<r.form.files.length?(Object(o.L)(),Object(o.n)("div",p,[(Object(o.L)(!0),Object(o.n)(o.b,null,Object(o.S)(r.form.files,function(e,t){return Object(o.L)(),Object(o.n)("div",{class:"form-file-item",key:t},["img"==e.t?(Object(o.L)(),Object(o.n)("div",O,[Object(o.o)("div",{class:"name",title:e.label},Object(o.Y)(e.label)+":",9,_),(Object(o.L)(!0),Object(o.n)(o.b,null,Object(o.S)(e.value,function(e){return Object(o.L)(),Object(o.l)(i,{key:e,style:{width:"60px",height:"60px","margin-right":"5px"},src:l.getImgUrl(e),fit:a.contain,"preview-src-list":[l.getImgUrl(e)]},null,8,["src","fit","preview-src-list"])}),128))])):Object(o.m)("",!0),"file"==e.type?(Object(o.L)(),Object(o.n)("div",g,[Object(o.o)("div",{class:"name",title:e.label},Object(o.Y)(e.label)+":",9,y),(Object(o.L)(!0),Object(o.n)(o.b,null,Object(o.S)(e.value,function(t){return Object(o.L)(),Object(o.n)("div",{class:"file-wrap",key:t.url},[Object(o.o)("div",{class:"file-name",style:{cursor:"pointer"},onClick:function(e){return l.downLoadFile(t)}},Object(o.Y)(t.name),9,k)])}),128))])):Object(o.m)("",!0)])}),128))])):Object(o.m)("",!0),r.form&&0===r.form.form.length&&0===r.form.files.length?(Object(o.L)(),Object(o.n)("p",w,"暂无表单数据")):Object(o.m)("",!0)])};t.a=r},"8f33":function(e,t,a){"use strict";a("9911"),a("b0c0");var b=a("9f9f"),m={style:{display:"flex","flex-direction":"column",width:"100%"}},f={key:0,style:{}};a=a("c678");a.a.render=function(e,t,a,n,r,l){var i=Object(b.U)("el-link"),o=Object(b.U)("el-descriptions-item"),c=Object(b.U)("el-image"),s=Object(b.U)("el-descriptions"),u=Object(b.U)("BasicFormInfo");return Object(b.L)(),Object(b.n)("div",m,[Object(b.s)(s,{style:{width:"100%",background:"#f0f0f0",padding:"20px"}},{default:Object(b.jb)(function(){return[(Object(b.L)(!0),Object(b.n)(b.b,null,Object(b.S)(r.templateData.columns,function(t){return Object(b.L)(),Object(b.n)(b.b,{key:t.type},[null!=t.link?(Object(b.L)(),Object(b.n)(b.b,{key:0},[0!=t.info?(Object(b.L)(),Object(b.l)(o,{key:0,label:t.label+":"},{default:Object(b.jb)(function(){return[""!=r.form[t.link]&&null!=r.form[t.link]?(Object(b.L)(),Object(b.l)(i,{key:0,icon:"el-icon-link",href:"javascript:;",onClick:function(e){return l.clickLink(t.link,r.form[t.name])}},{default:Object(b.jb)(function(){return[Object(b.r)(Object(b.Y)(r.form[t.link]?r.form[t.link][t.value]:"无"),1)]}),_:2},1032,["onClick"])):Object(b.m)("",!0)]}),_:2},1032,["label"])):Object(b.m)("",!0)],64)):Object(b.m)("",!0),null==t.link?(Object(b.L)(),Object(b.n)(b.b,{key:1},[null==t.options&&0!=t.info&&"form"!==t.type?(Object(b.L)(),Object(b.l)(o,{key:0,label:t.label+":"},{default:Object(b.jb)(function(){return["image"==t.type?(Object(b.L)(),Object(b.l)(c,{key:0,style:{width:"50px",height:"50px"},src:r.baseurl+r.form[t.value],"preview-src-list":[r.baseurl+r.form[t.value]]},null,8,["src","preview-src-list"])):Object(b.m)("",!0),"file"==t.type?(Object(b.L)(),Object(b.n)(b.b,{key:1},[r.form[t.value]?(Object(b.L)(),Object(b.l)(i,{key:0,target:"_blank",href:r.baseurl+r.form[t.value]},{default:Object(b.jb)(function(){return[Object(b.r)(Object(b.Y)(r.form[t.value]),1)]}),_:2},1032,["href"])):Object(b.m)("",!0)],64)):Object(b.m)("",!0),"image"!=t.type&&"file"!=t.type&&"form"!==t.type?(Object(b.L)(),Object(b.n)(b.b,{key:2},[Object(b.r)(Object(b.Y)(r.form[t.value]),1)],64)):Object(b.m)("",!0)]}),_:2},1032,["label"])):Object(b.m)("",!0),null!=t.options&&0!=t.info?(Object(b.L)(),Object(b.l)(o,{key:1,label:t.label+":"},{default:Object(b.jb)(function(){return[(Object(b.L)(!0),Object(b.n)(b.b,null,Object(b.S)(t.options,function(e){return Object(b.L)(),Object(b.n)(b.b,{key:e.name},[r.form[t.value]==e.value+""?(Object(b.L)(),Object(b.n)("span",f,Object(b.Y)(e.name),1)):Object(b.m)("",!0)],64)}),128))]}),_:2},1032,["label"])):Object(b.m)("",!0)],64)):Object(b.m)("",!0)],64)}),128))]}),_:1}),Object(b.s)(s,null,{default:Object(b.jb)(function(){return[(Object(b.L)(!0),Object(b.n)(b.b,null,Object(b.S)(r.templateData.columns,function(e){return Object(b.L)(),Object(b.n)(b.b,{key:e.type},[null==e.options&&0!=e.info&&"form"===e.type?(Object(b.L)(),Object(b.l)(o,{key:0,label:e.label+":"},{default:Object(b.jb)(function(){return[r.form[e.value]?(Object(b.L)(),Object(b.l)(u,{key:0,style:{padding:"10px","background-color":"bisque"},ref:"basicForm",basicForm:r.form[e.value]},null,8,["basicForm"])):Object(b.m)("",!0)]}),_:2},1032,["label"])):Object(b.m)("",!0)],64)}),128))]}),_:1})])};t.a=a.a},b775:function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("d3b7"),r=a("bc3a"),n=a.n(r),r=a("4328"),l=a.n(r),i=a("2bea"),o=a("56d7"),c="/";n.a.defaults.withCredentials=!0,n.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8";n=n.a.create({baseURL:c,timeout:2e5});n.interceptors.request.use(function(e){return"get"===e.method&&(e.paramsSerializer=function(e){return l.a.stringify(e,{arrayFormat:"repeat"})}),e.withCredentials=!0,e},function(e){Promise.reject(e)}),n.interceptors.response.use(function(e){return 2!==e.data.statu?e.data:(i.b.Message({showClose:!0,message:"登录信息丢失,请重新登陆!",type:"error",duration:2e3,offset:100}),void o.app.$router.push({path:"/login"}))},function(e){var t="err:"+e,a={};return e.response?a=e.response.data:(-1!=t.indexOf("timeout")?(a.code=500,a.message="请求超时,请稍后再试"):-1!=t.indexOf("Network Error")?(a.code=500,a.message="网络错误,请稍后再试"):(a.code=500,a.message=""+e),a)}),t.b=n},c678:function(module,__webpack_exports__,__webpack_require__){"use strict";var D_work_hotimejs_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("b85c"),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("a9e3"),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("b0c0"),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("9911"),core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_3__),_components_BasicFormInfo_vue__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("8e1d"),_api_common_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("2934"),moment__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("c1df"),moment__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_6__),_utils_request_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("b775"),_bus_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("83c5");__webpack_exports__.a={props:{routerPath:String,routerId:Number,editDialogPath:String},components:{BasicFormInfo:_components_BasicFormInfo_vue__WEBPACK_IMPORTED_MODULE_4__.a},data:function(){return{baseurl:_utils_request_js__WEBPACK_IMPORTED_MODULE_7__.a,templateData:{},form:{}}},methods:{clickLink:function(e,t){e={name:"Info",path:window.Hotime.tableMapData[e].path+"/info",id:t,title:window.Hotime.tableMapData[e].parent.label+"-"+window.Hotime.tableMapData[e].label};null!=this.editDialogPath?_bus_js__WEBPACK_IMPORTED_MODULE_8__.a.$emit("tabs-edit",e):_bus_js__WEBPACK_IMPORTED_MODULE_8__.a.$emit("tabs",e)},onSubmit:function(){},routeInit:function routeInit(){var that=this,Hotime=window.Hotime,templateData,id,id=null!=Hotime.mapData[this.routerPath]?(templateData=Hotime.mapData[this.routerPath],this.routerId):(templateData=Hotime.mapData[this.$route.path.substring(0,this.$route.path.lastIndexOf("/info"))],this.$route.query.id);if(null!=templateData){if(null!=templateData.columns){var _iterator=Object(D_work_hotimejs_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_0__.a)(templateData.columns),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var item=_step.value;null==item.value&&(item.value=item.name)}}catch(err){_iterator.e(err)}finally{_iterator.f()}}Object(_api_common_js__WEBPACK_IMPORTED_MODULE_5__.d)(Hotime.data.name+"/"+templateData.name+"/"+id).then(function(data){if(null!=templateData.columns){var _iterator2=Object(D_work_hotimejs_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_0__.a)(templateData.columns),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _item=_step2.value;if(null==_item.link)"time"!=_item.type||(data.result[_item.value]=moment__WEBPACK_IMPORTED_MODULE_6___default()(1e3*data.result[_item.value]).utc().format("YYYY-MM-DD HH:mm:ss"));else try{data.result[_item.value]=eval("data.result."+_item.value)}catch(e){}}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}that.form=data.result,that.templateData=templateData})}}},watch:{},mounted:function(){this.routeInit()}}},dce6:function(e,t,a){"use strict";a("ec3f")},ec3f:function(e,t,a){}}]); |