HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/public/static/js/hook-legacy-2532b5fb.js
System.register(["./message-legacy-10af7c73.js","./index-legacy-f36f0e15.js","./utils-legacy-c0023c33.js","./excelmaker-legacy-05ce760e.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./preload-helper-legacy-f8638e03.js","./vue-i18n.runtime.esm-bundler-legacy-720876b1.js","./index-legacy-c9e20962.js","./_commonjsHelpers-legacy-5498c249.js","./vue-router-legacy-a12307c3.js"],(function(e,l){"use strict";var t,a,i,s,n,r,o,u;return{setters:[e=>{t=e.be},null,e=>{a=e.alertError},e=>{i=e.upLoadXlsPrintUri,s=e.getFieldList,n=e.saveXlsTpl},e=>{r=e.r,o=e.A,u=e.o},null,null,null,null,null],execute:function(){e("useExcelloader",(function(){const e=r(null),l=r(0),d=r(0),c=r(0),p=r(0),m=o({id:0,title:"",file_id:"edit",data:[],json:""}),y=r({}),_=r([]),g=r([]),v=r([]),j=r(11),f=r(5),h=r([""]),F=r({}),L=r(-1),x=r([]),b=r(0),k=r([]),O=r({}),U=r(!1);return u((()=>{})),{saveFormJson:function(){let e=JSON.stringify({col_import:h.value,col_heads:F.value});e||t("匹配数据为空,无法保存",{type:"error"});let l="";if(!b.value)return t("请上传文件",{type:"error"}),!1;n({json_data:l,data:e,file:b.value}).then((e=>{t("保存导出模版成功",{type:"success"})})).catch((e=>{a(e,"保存导出模版失败")}))},loadModelFieldList:async function(e,l){const{data:t}=await s(e);x.value=[],x.value.push({value:"",title:""}),t.map((e=>{"id"!=e.key&&x.value.push({value:e.value,title:e.title})})),l&&l()},tpl_model_id:c,tpl_entity_id:p,entity_id:d,save_loading:U,tpl_map:O,file_id:b,tpl_list:k,mergeCells:_,clsData:g,clsOrgData:v,numColumns:j,numRows:f,col_import:h,col_heads:F,begin_col:L,field_options:x,upLoadXlsPrintUri:i,upLoadFileUriHeader:{Authorization:""},upLoadinfo:y,uploadFileFailed:(e,l)=>{t(l.name+"上传失败",{type:"error"})},formInline:m,model_id:l,hot:e}}))}}}));