hotime/example/tpt/js/chunk-5c99f384.be52d852.js
2022-01-23 05:13:19 +08:00

1 line
24 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-5c99f384"],{"0748":function(e,t,a){"use strict";a.r(t);a("b0c0"),a("ac1f"),a("841c"),a("9911");var L=a("9f9f"),T={style:{width:"100%","min-width":"1300px!important",display:"contents"}},D={style:{padding:"10px"}},C=Object(L.r)("添加 "),S=Object(L.r)("删除 "),z=Object(L.r)("搜索:"),_=Object(L.r)("查看 "),U={key:0,style:{}},$=Object(L.r)("办结 "),V=Object(L.r)("详情 "),F=Object(L.r)("操作 "),N=Object(L.r)("删除 ");var n,l,c,u=a("b85c"),r=(a("4e82"),a("4de4"),a("8e1d")),o=a("2934"),i=a("c1df"),s=a.n(i),b=a("83c5"),r={props:{routerPath:String,routerQuery:Object},components:{BasicFormInfo:r.a},data:function(){return{formInfo:"",showCheckForm:!1,skeleton:!0,templateData:{},nowSearchTree:null,treeConfig:{},removeList:[],showTreeTabName:null,showTabLabel:!0,formAddTree:{},form:{pageSize:10,page:1},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:{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}):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}):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}):this.$router.push({path:e+"/add",query:t})},clickLink:function(e,t){null!=this.routerPath&&0<this.routerPath.length?b.a.$emit("tabs",{name:"Info",path:window.Hotime.tableMapData[e].path+"/info",id:t,title:window.Hotime.tableMapData[e].parent.label+"-"+window.Hotime.tableMapData[e].label}):b.a.$emit("dialog",{name:"Info",path:window.Hotime.tableMapData[e].path+"/info",id:t,title:window.Hotime.tableMapData[e].parent.label+"-"+window.Hotime.tableMapData[e].label})},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){if(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,l=this,c=this.removeList.length;0!=c?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==--c&&(l.$message({type:"success",message:"删除成功!"}),l.removeList=[],l.formDebounce(l))})}}catch(e){t.e(e)}finally{t.f()}}):l.$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[this.nowSearchTree.name]=e.id)},tabClick:function(e){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)},l=200,function(e){c&&clearTimeout(c),c=setTimeout(function(){n(e)},l)}),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:!(c="")}},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 this.templateData=e.mapData[this.$route.path];this.templateData.Auth={};var a,n=Object(u.a)(this.templateData.auth);try{for(n.s();!(a=n.n()).done;){var l=a.value;this.templateData.Auth[l]=!0}}catch(e){n.e(e)}finally{n.f()}if(null!=this.templateData){if(this.treeConfig={},this.tempMapItems={},null!=this.templateData.columns){var c,r=Object(u.a)(this.templateData.columns);try{for(r.s();!(c=r.n()).done;){var o=c.value;null==o.value&&(o.value=o.name),this.tempMapItems[o.value]=o}}catch(e){r.e(e)}finally{r.f()}}if(this.nowSearchTree=null,this.showTabLabel=!0,this.defaultProps={},null!=this.templateData.search){var i,s=Object(u.a)(this.templateData.search);try{for(s.s();!(i=s.n()).done;){var b=i.value;this.defaultProps[b.name]={children:"children",label:b.value,isLeaf:"leaf"},"tree"==b.type&&null!=this.routerPath||("tree"!=b.type?this.form[b.name]=b.value:(this.treeConfig[b.name]=b,null==this.nowSearchTree?(this.nowSearchTree=b,this.showTreeTabName=this.nowSearchTree.name):this.showTabLabel=!1))}}catch(e){s.e(e)}finally{s.f()}}this.formDebounce(this)}}};a("d148");r.render=function(e,t,a,n,l,c){var r=Object(L.U)("el-input"),o=Object(L.U)("el-tree"),i=Object(L.U)("el-tab-pane"),s=Object(L.U)("el-tabs"),b=Object(L.U)("el-aside"),u=Object(L.U)("el-button"),f=Object(L.U)("el-form-item"),j=Object(L.U)("el-option"),m=Object(L.U)("el-select"),d=Object(L.U)("el-date-picker"),h=Object(L.U)("el-form"),p=Object(L.U)("el-table-column"),O=Object(L.U)("el-link"),y=Object(L.U)("el-table"),g=Object(L.U)("el-pagination"),k=Object(L.U)("el-skeleton"),w=Object(L.U)("el-main"),v=Object(L.U)("BasicFormInfo"),x=Object(L.U)("el-dialog");return Object(L.L)(),Object(L.n)("div",T,[null!=l.showTreeTabName?(Object(L.L)(),Object(L.l)(b,{key:0,class:Object(L.B)({"not-show-tab-label":l.showTabLabel}),style:{width:"200px",background:"white",padding:"10px 5px 0 5px"}},{default:Object(L.jb)(function(){return[Object(L.s)(r,{placeholder:"输入关键字进行过滤",clearable:"",modelValue:l.filterText,"onUpdate:modelValue":t[0]||(t[0]=function(e){return l.filterText=e}),"suffix-icon":"el-icon-search"},null,8,["modelValue"]),Object(L.s)(s,{modelValue:l.showTreeTabName,"onUpdate:modelValue":t[1]||(t[1]=function(e){return l.showTreeTabName=e}),style:{height:"calc( 100% - 37px)","margin-top":"5px"},"tab-position":"top",onTabClick:c.tabClick},{default:Object(L.jb)(function(){return[(Object(L.L)(!0),Object(L.n)(L.b,null,Object(L.S)(l.treeConfig,function(e){return Object(L.L)(),Object(L.n)("div",{key:e.type},[Object(L.s)(i,{lazy:"",label:e.label,name:e.name},{default:Object(L.jb)(function(){return[Object(L.s)(o,{class:"filter-tree",props:l.defaultProps[e.name],load:c.loadNode,ref:"tree:"+e.name,onNodeClick:c.treeNodeClick,lazy:"",accordion:"","filter-node-method":c.filterNode},null,8,["props","load","onNodeClick","filter-node-method"])]}),_:2},1032,["label","name"])])}),128))]}),_:1},8,["modelValue","onTabClick"])]}),_:1},8,["class"])):Object(L.m)("",!0),Object(L.s)(w,{style:{padding:"0px","margin-left":"5px",background:"white"}},{default:Object(L.jb)(function(){return[Object(L.o)("div",D,[Object(L.s)(k,{rows:5,animated:"",loading:l.skeleton},{default:Object(L.jb)(function(){return[Object(L.s)(h,{ref:"form",model:l.form,"label-width":"2px",style:{display:"flex","align-items":"center","flex-wrap":"wrap"}},{default:Object(L.jb)(function(){return[Object(L.s)(f,{style:{"margin-right":"10px","min-width":"160px"}},{default:Object(L.jb)(function(){return[Object(L.kb)(Object(L.s)(u,{type:"primary",icon:"el-icon-plus",onClick:t[2]||(t[2]=function(e){return c.clickAdd(l.templateData.path,l.formAddTree)})},{default:Object(L.jb)(function(){return[C]}),_:1},512),[[L.gb,null!=l.templateData.Auth.add]]),Object(L.kb)(Object(L.s)(u,{plain:"",type:"danger",icon:"el-icon-delete",disabled:null==l.removeList[0],onClick:c.removeListClick},{default:Object(L.jb)(function(){return[S]}),_:1},8,["disabled","onClick"]),[[L.gb,null!=l.templateData.Auth.delete]])]}),_:1}),null!=l.templateData.search?(Object(L.L)(),Object(L.n)(L.b,{key:0},[Object(L.s)(f,null,{default:Object(L.jb)(function(){return[z]}),_:1}),(Object(L.L)(!0),Object(L.n)(L.b,null,Object(L.S)(l.templateData.search,function(t){return Object(L.L)(),Object(L.n)(L.b,null,["select"==t.type?(Object(L.L)(),Object(L.l)(f,{key:t.type},{default:Object(L.jb)(function(){return[Object(L.s)(m,{modelValue:l.form[t.name],"onUpdate:modelValue":function(e){return l.form[t.name]=e},placeholder:"请选择",style:{width:"88px"}},{default:Object(L.jb)(function(){return[(Object(L.L)(!0),Object(L.n)(L.b,null,Object(L.S)(t.options,function(e){return Object(L.L)(),Object(L.l)(j,{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(L.m)("",!0),"search"==t.type&&"daterange"==t.name?(Object(L.L)(),Object(L.l)(f,{label:"",key:t.type},{default:Object(L.jb)(function(){return[Object(L.s)(d,{modelValue:l.form[t.name],"onUpdate:modelValue":function(e){return l.form[t.name]=e},type:"datetimerange",shortcuts:l.shortcuts,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",style:{width:"220px"}},null,8,["modelValue","onUpdate:modelValue","shortcuts"])]}),_:2},1024)):Object(L.m)("",!0),"search"==t.type&&"keyword"==t.name?(Object(L.L)(),Object(L.l)(f,{key:t.type},{default:Object(L.jb)(function(){return[Object(L.s)(r,{modelValue:l.form[t.name],"onUpdate:modelValue":function(e){return l.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(L.m)("",!0)],64)}),256))],64)):Object(L.m)("",!0)]}),_:1},8,["model"]),Object(L.s)(y,{data:l.tableData,style:{width:"100%","margin-bottom":"20px","margin-top":"5px"},onSortChange:c.sortChange,"cell-style":l.cellStyle,onSelectionChange:c.handleSelectionChange,"header-cell-style":l.headerCellStyle},{default:Object(L.jb)(function(){return[Object(L.s)(p,{type:"selection",width:"55"}),Object(L.s)(p,{label:"序号",width:"55",type:"index",align:"center"},{default:Object(L.jb)(function(e){return[Object(L.o)("span",null,Object(L.Y)((l.form.page-1)*l.form.pageSize+e.$index+1),1)]}),_:1}),(Object(L.L)(!0),Object(L.n)(L.b,null,Object(L.S)(l.templateData.columns,function(a){return Object(L.L)(),Object(L.n)(L.b,{key:a.type},[null==a.link?(Object(L.L)(),Object(L.n)(L.b,{key:0},[null==a.options&&0!=a.list&&"form"!==a.type?(Object(L.L)(),Object(L.l)(p,{key:0,prop:a.value,formatter:c.formatter,label:a.label,sortable:"number"==a.type&&"custom"},null,8,["prop","formatter","label","sortable"])):Object(L.m)("",!0),"form"===a.type&&0!=a.list?(Object(L.L)(),Object(L.l)(p,{key:1,prop:a.value,label:a.label},{default:Object(L.jb)(function(t){return[Object(L.s)(u,{type:"info",size:"mini",onClick:function(e){return c.checkForm(t.row[a.value])}},{default:Object(L.jb)(function(){return[_]}),_:2},1032,["onClick"])]}),_:2},1032,["prop","label"])):Object(L.m)("",!0),null!=a.options&&0!=a.list?(Object(L.L)(),Object(L.l)(p,{key:2,prop:a.value,label:a.label},{default:Object(L.jb)(function(t){return[(Object(L.L)(!0),Object(L.n)(L.b,null,Object(L.S)(a.options,function(e){return Object(L.L)(),Object(L.n)("div",{key:e.name},[t.row[a.value]==e.value?(Object(L.L)(),Object(L.n)("span",U,Object(L.Y)(e.name),1)):Object(L.m)("",!0)])}),128))]}),_:2},1032,["prop","label"])):Object(L.m)("",!0)],64)):Object(L.m)("",!0),null!=a.link?(Object(L.L)(),Object(L.n)(L.b,{key:1},[0!=a.list?(Object(L.L)(),Object(L.l)(p,{key:0,prop:"control",label:a.label},{default:Object(L.jb)(function(t){return[""!=t.row[a.link+"_"+a.name+"_"+a.value]&&null!=t.row[a.link+"_"+a.name+"_"+a.value]?(Object(L.L)(),Object(L.l)(O,{key:0,icon:"el-icon-link",href:"javascript:;",onClick:function(e){return c.clickLink(a.link,t.row[a.name])}},{default:Object(L.jb)(function(){return[Object(L.r)(Object(L.Y)(t.row[a.link+"_"+a.name+"_"+a.value]),1)]}),_:2},1032,["onClick"])):Object(L.m)("",!0)]}),_:2},1032,["label"])):Object(L.m)("",!0)],64)):Object(L.m)("",!0)],64)}),128)),Object(L.s)(p,{prop:"control",fixed:"right",label:"操作",width:"210px"},{default:Object(L.jb)(function(t){return[1==l.templateData.Auth.finishOrder&&"2"!=t.row.status?(Object(L.L)(),Object(L.l)(u,{key:0,type:"success",size:"mini",onClick:function(e){return c.finishOrder(t.row.id)}},{default:Object(L.jb)(function(){return[$]}),_:2},1032,["onClick"])):Object(L.m)("",!0),1==l.templateData.Auth.info?(Object(L.L)(),Object(L.l)(u,{key:1,type:"info",size:"mini",onClick:function(e){return c.clickInfo(l.templateData.path,t.row.id)}},{default:Object(L.jb)(function(){return[V]}),_:2},1032,["onClick"])):Object(L.m)("",!0),1==l.templateData.Auth.edit?(Object(L.L)(),Object(L.l)(u,{key:2,type:"primary",size:"mini",onClick:function(e){return c.clickEdit(l.templateData.path,t.row.id)}},{default:Object(L.jb)(function(){return[F]}),_:2},1032,["onClick"])):Object(L.m)("",!0),1==l.templateData.Auth.delete?(Object(L.L)(),Object(L.l)(u,{key:3,type:"danger",size:"mini",onClick:function(e){return c.removeRow(t.row.id)}},{default:Object(L.jb)(function(){return[N]}),_:2},1032,["onClick"])):Object(L.m)("",!0)]}),_:1})]}),_:1},8,["data","onSortChange","cell-style","onSelectionChange","header-cell-style"]),l.form.pageSize<l.total?(Object(L.L)(),Object(L.l)(g,{key:0,onSizeChange:c.handleSizeChange,style:{"text-align":"right","padding-right":"10px","padding-bottom":"10px",background:"white"},currentPage:l.form.page,"onUpdate:currentPage":t[3]||(t[3]=function(e){return l.form.page=e}),"page-size":l.form.pageSize,layout:"total,prev, pager, next, jumper",background:"",total:l.total},null,8,["onSizeChange","currentPage","page-size","total"])):Object(L.m)("",!0)]}),_:1},8,["loading"])])]}),_:1}),Object(L.s)(x,{title:"查看表单","close-on-click-modal":!1,modelValue:l.showCheckForm,"onUpdate:modelValue":t[4]||(t[4]=function(e){return l.showCheckForm=e}),"destroy-on-close":"",onClose:t[5]||(t[5]=function(e){return l.showCheckForm=!1}),width:"40%","lock-scroll":""},{default:Object(L.jb)(function(){return[Object(L.s)(v,{basicForm:l.formInfo},null,8,["basicForm"])]}),_:1},8,["modelValue"])])};t.default=r},"2a23":function(e,t,a){"use strict";a("6147")},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 l(e){e=c(e);return a(e)}function c(e){if(a.o(n,e))return n[e];e=new Error("Cannot find module '"+e+"'");throw e.code="MODULE_NOT_FOUND",e}l.keys=function(){return Object.keys(n)},l.resolve=c,(e.exports=l).id="4678"},6147:function(e,t,a){},"8e1d":function(e,t,a){"use strict";a("b0c0");var o=a("9f9f"),i={class:"basic-form-info"},s={key:0,class:"form-list-common form-list"},b=["title"],u=Object(o.r)(" "),f=["title"],j=Object(o.r)(": "),m=["title"],d=Object(o.r)(": "),h=["title"],p={key:1,class:"form-list-file form-list"},O={key:0,class:"img-item"},y=["title"],g={key:1,class:"file-item"},k=["title"],w=["onClick"],v={key:2,style:{"text-align":"center","margin-top":"20px"}};a("99af");var n=a("b775"),l={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("2a23");l.render=function(a,e,t,n,l,c){var r=Object(o.U)("el-image");return Object(o.L)(),Object(o.n)("div",i,[l.form&&l.form.form&&0<l.form.form.length?(Object(o.L)(),Object(o.n)("div",s,[(Object(o.L)(!0),Object(o.n)(o.b,null,Object(o.S)(l.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,b),u,Object(o.o)("div",{class:"value",title:e.value},Object(o.Y)(e.value),9,f),j,Object(o.o)("div",{class:"value",title:e.style},Object(o.Y)(e.style),9,m),d,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),l.form&&l.form.files&&0<l.form.files.length?(Object(o.L)(),Object(o.n)("div",p,[(Object(o.L)(!0),Object(o.n)(o.b,null,Object(o.S)(l.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,y),(Object(o.L)(!0),Object(o.n)(o.b,null,Object(o.S)(e.value,function(e){return Object(o.L)(),Object(o.l)(r,{key:e,style:{width:"60px",height:"60px","margin-right":"5px"},src:c.getImgUrl(e),fit:a.contain,"preview-src-list":[c.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,k),(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 c.downLoadFile(t)}},Object(o.Y)(t.name),9,w)])}),128))])):Object(o.m)("",!0)])}),128))])):Object(o.m)("",!0),l.form&&0===l.form.form.length&&0===l.form.files.length?(Object(o.L)(),Object(o.n)("p",v,"暂无表单数据")):Object(o.m)("",!0)])};t.a=l},b0d9:function(e,t,a){},d148:function(e,t,a){"use strict";a("b0d9")}}]);