7 lines
12 KiB
JavaScript
7 lines
12 KiB
JavaScript
|
/*!
|
||
|
* build: vue-admin-beautiful
|
||
|
* vue-admin-beautiful author: chuzhixin 1204505056@qq.com
|
||
|
* vue-admin-beautiful QQ Group(QQ群): 972435319、1139183756
|
||
|
* time: 2024-10-10 11:14:28
|
||
|
*/
|
||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9dddd530","chunk-5d018cc8","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10"],{2293:function(e,t,a){"use strict";a("33ec")},"271a":function(e,t,a){"use strict";var o=a("cb2d"),n=a("e330"),i=a("577e"),r=a("d6d6"),l=URLSearchParams,c=l.prototype,s=n(c.getAll),d=n(c.has),u=new l("a=1");!u.has("a",2)&&u.has("a",void 0)||o(c,"has",(function(e){var t=arguments.length,a=t<2?void 0:arguments[1];if(t&&void 0===a)return d(this,e);var o=s(this,e);r(t,1);var n=i(a),l=0;while(l<o.length)if(o[l++]===n)return!0;return!1}),{enumerable:!0,unsafe:!0})},3038:function(e,t,a){"use strict";a.r(t);a("88a7"),a("271a"),a("5494");var o=a("bc3a"),n=a.n(o),i=a("4360");const r=n.a.create({baseURL:Object({NODE_ENV:"production",VUE_APP_AUTHOR:"Cc",VUE_APP_TITLE:"力鼎环保",VUE_APP_UPDATE_TIME:"2024-10-10 11:14:28",VUE_APP_VERSION:"1.0.0",BASE_URL:""}).VUE_APP_BASE_API,timeout:1e5}),l=i["default"].getters["user/token"];r.interceptors.request.use(e=>(e.headers={token:l},e),e=>Promise.reject(e));const c=async(e,t)=>{await r.get(e,{responseType:"arraybuffer"}).then(e=>u(e,t))},s=async(e,t)=>{await r.post(e,{responseType:"arraybuffer"}).then(e=>u(e,t))},d=async(e,t)=>{await r.get(e,{responseType:"blob"}).then(e=>u(e,t))},u=(e,t)=>{const a=new Blob([e.data],{type:t.fileType?t.fileType:"application/octet-binary"}),o=window.URL.createObjectURL(a);f(o,t.fileName)},f=(e,t,a)=>{const o=document.createElement("a");o.href=e,o.download=t,document.body.appendChild(o),o.click(),document.body.removeChild(o),(null==a||a)&&window.URL.revokeObjectURL(e)},b=async(e,t)=>{let a;return await r.get(e,{responseType:"blob"}).then(e=>{a=new Blob([e.data],{type:t||"application/octet-binary"})}),window.URL.createObjectURL(a)},m=async(e,t,a)=>{let o;return await r.post(e,t,{responseType:"blob"}).then(e=>{o=new Blob([e.data],{type:a||"application/octet-binary"})}),window.URL.createObjectURL(o)},h=async(e,t)=>{let a;return await r.get(e,{responseType:"blob"}).then(e=>{a=new Blob([e.data],{type:t||"application/octet-binary"})}),a};t["default"]={ajax:r,downloadFile:c,getFile:d,getDownloadFileUrl:b,downloadPostFile:s,getDownloadFileUrlByPost:m,getDownloadFileBlob:h,downloadBlob:f}},"30bb":function(e,t,a){"use strict";a.r(t);var o=a("f2bf");const n={class:"manage-container"},i={class:"manage-button"};function r(e,t,a,r,l,c){const s=Object(o["resolveComponent"])("el-button"),d=Object(o["resolveComponent"])("el-table-column"),u=Object(o["resolveComponent"])("el-table"),f=Object(o["resolveComponent"])("el-pagination"),b=Object(o["resolveComponent"])("add-data"),m=Object(o["resolveDirective"])("loading");return Object(o["openBlock"])(),Object(o["createElementBlock"])("div",n,[Object(o["createElementVNode"])("div",i,[Object(o["createVNode"])(s,{type:"primary",size:"small",onClick:c.addData},{default:Object(o["withCtx"])(()=>[Object(o["createTextVNode"])(Object(o["toDisplayString"])(e.$t("defalult.tj")),1)]),_:1},8,["onClick"]),Object(o["createVNode"])(s,{type:"primary",size:"small",onClick:c.exportData},{default:Object(o["withCtx"])(()=>[Object(o["createTextVNode"])(Object(o["toDisplayString"])(e.$t("defalult.dc")),1)]),_:1},8,["onClick"])]),Object(o["withDirectives"])((Object(o["openBlock"])(),Object(o["createBlock"])(u,{data:l.flowData,border:"",stripe:"",style:{width:"100%"}},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(d,{prop:"name",label:e.$t("staff.xm"),width:"100",align:"center"},null,8,["label"]),Object(o["createVNode"])(d,{prop:"phone",label:"手机号",width:"150",align:"center"}),Object(o["createVNode"])(d,{prop:"company",label:"公司",width:"250",align:"center"}),Object(o["createVNode"])(d,{prop:"position",label:"职位",width:"120",align:"center"}),Object(o["createVNode"])(d,{prop:"email",label:e.$t("staff.yx"),width:"180",align:"center"},null,8,["label"]),Object(o["createVNode"])(d,{prop:"createTime",label:"添加时间",width:"180",align:"center"}),Object(o["createVNode"])(d,{fixed:"right",label:e.$t("defalult.cz"),align:"ce
|