iedc-go/tpt/js/chunk-2c0b72c6.fa1690a2.js

1 line
38 KiB
JavaScript
Raw Permalink Normal View History

2022-10-30 15:44:05 +00:00
(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.Hotim