mg-ocr-invoice 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/InvoiceList/index.vue +6 -2
package/dist/index.es.js
CHANGED
|
@@ -6420,7 +6420,7 @@ const takePhoto = () => new Promise((n, r) => {
|
|
|
6420
6420
|
}, a.oncancel = () => {
|
|
6421
6421
|
document.body.removeChild(a);
|
|
6422
6422
|
}, a.click();
|
|
6423
|
-
}), _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
6423
|
+
}), _withScopeId$1 = (n) => (pushScopeId("data-v-89090fe1"), n = n(), popScopeId(), n), _hoisted_1$2 = { class: "InvoiceList" }, _hoisted_2$2 = { class: "selectAll" }, _hoisted_3$2 = { class: "left" }, _hoisted_4$2 = { class: "right" }, _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "全选", -1)), _hoisted_6$1 = { class: "card" }, _hoisted_7$1 = ["onClick"], _hoisted_8$1 = { class: "li" }, _hoisted_9 = {
|
|
6424
6424
|
key: 0,
|
|
6425
6425
|
class: "item-card"
|
|
6426
6426
|
}, _hoisted_10 = ["onClick"], _hoisted_11 = { class: "storeName" }, _hoisted_12 = { class: "name" }, _hoisted_13 = { class: "left" }, _hoisted_14 = {
|
|
@@ -6576,7 +6576,7 @@ const takePhoto = () => new Promise((n, r) => {
|
|
|
6576
6576
|
let pe = VerificationOfTruth(ie);
|
|
6577
6577
|
return { ...ie, ...pe };
|
|
6578
6578
|
}), te = ae.some(
|
|
6579
|
-
(ie) => ie.invoiceCompanyType === "异常抬头"
|
|
6579
|
+
(ie) => ie.invoiceCompanyType === "异常抬头" || ie.invoiceCompanyType === "异常税号"
|
|
6580
6580
|
);
|
|
6581
6581
|
if (console.log(te, "filterTitleErr"), te) {
|
|
6582
6582
|
console.log(api.get("teleport"), "teleport"), showConfirmDialog({
|
|
@@ -6643,7 +6643,7 @@ const takePhoto = () => new Promise((n, r) => {
|
|
|
6643
6643
|
createElementVNode("div", {
|
|
6644
6644
|
class: normalizeClass(["title", {
|
|
6645
6645
|
company: ie.invoiceCompanyType === "公司",
|
|
6646
|
-
err: ie.invoiceCompanyType === "异常抬头"
|
|
6646
|
+
err: ie.invoiceCompanyType === "异常抬头" || ie.invoiceCompanyType === "异常税号"
|
|
6647
6647
|
}])
|
|
6648
6648
|
}, toDisplayString(ie.invoiceCompanyType), 3),
|
|
6649
6649
|
createElementVNode("div", _hoisted_11, [
|
|
@@ -6804,7 +6804,7 @@ const takePhoto = () => new Promise((n, r) => {
|
|
|
6804
6804
|
}, 8, ["show"])
|
|
6805
6805
|
], 64));
|
|
6806
6806
|
}
|
|
6807
|
-
}),
|
|
6807
|
+
}), index_vue_vue_type_style_index_0_scoped_89090fe1_lang = "", InvoiceList = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-89090fe1"]]), _withScopeId = (n) => (pushScopeId("data-v-3ffe00d0"), n = n(), popScopeId(), n), _hoisted_1$1 = { class: "PaymentMode" }, _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "title" }, "选择识别方式", -1)), _hoisted_3$1 = { class: "list" }, _hoisted_4$1 = ["onClick"], _hoisted_5 = { class: "left-text" }, _hoisted_6 = { class: "icon-left" }, _hoisted_7 = { class: "text" }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "right-icon" }, [
|
|
6808
6808
|
/* @__PURE__ */ createElementVNode("i", { class: "iconfont icon-xiangyou" })
|
|
6809
6809
|
], -1)), _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
6810
6810
|
__name: "index",
|
package/dist/index.umd.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* Released under the MIT license
|
|
17
17
|
*
|
|
18
18
|
* Date: 2023-02-28T14:09:41.732Z
|
|
19
|
-
*/var canvasToBlob={exports:{}};(function(n){typeof window>"u"||function(r){var o=r.HTMLCanvasElement&&r.HTMLCanvasElement.prototype,a=r.Blob&&function(){try{return!!new Blob}catch{return!1}}(),u=a&&r.Uint8Array&&function(){try{return new Blob([new Uint8Array(100)]).size===100}catch{return!1}}(),f=r.BlobBuilder||r.WebKitBlobBuilder||r.MozBlobBuilder||r.MSBlobBuilder,e=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,p=(a||f)&&r.atob&&r.ArrayBuffer&&r.Uint8Array&&function(b){var _,w,E,C,L,O,S,k,$;if(_=b.match(e),!_)throw new Error("invalid data URI");for(w=_[2]?_[1]:"text/plain"+(_[3]||";charset=US-ASCII"),E=!!_[4],C=b.slice(_[0].length),E?L=atob(C):L=decodeURIComponent(C),O=new ArrayBuffer(L.length),S=new Uint8Array(O),k=0;k<L.length;k+=1)S[k]=L.charCodeAt(k);return a?new Blob([u?S:O],{type:w}):($=new f,$.append(O),$.getBlob(w))};r.HTMLCanvasElement&&!o.toBlob&&(o.mozGetAsFile?o.toBlob=function(b,_,w){var E=this;setTimeout(function(){w&&o.toDataURL&&p?b(p(E.toDataURL(_,w))):b(E.mozGetAsFile("blob",_))})}:o.toDataURL&&p&&(o.msToBlob?o.toBlob=function(b,_,w){var E=this;setTimeout(function(){(_&&_!=="image/png"||w)&&o.toDataURL&&p?b(p(E.toDataURL(_,w))):b(E.msToBlob(_))})}:o.toBlob=function(b,_,w){var E=this;setTimeout(function(){b(p(E.toDataURL(_,w)))})})),n.exports?n.exports=p:r.dataURLtoBlob=p}(window)})(canvasToBlob);const takePhoto=()=>new Promise((n,r)=>{var o=document.createElement("input");o.type="file",o.accept="image/*",o.capture="camera",o.style.display="none",document.body.appendChild(o);let a=new FormData;o.onchange=async function(u){var f=u.target.files[0];try{const e=await f,p=e.size,b=20*1024*1024;if(p>b)return showToast({message:"文件大小不能超过20MB",type:"text",teleport:api.get("teleport")||null}),r();a.append("invoiceFiles",e),document.body.removeChild(o),n(a)}catch(e){console.log(e),document.body.removeChild(o),r(e)}},o.oncancel=()=>{document.body.removeChild(o)},o.click()}),fileType=[".jpg ,.png ,.bpm ,.jpeg ,.pdf ,.ofd ,.ofdx ,.jpe",".JPG ,.PNG ,.BPM ,.JPEG ,.PDF ,.OFD ,.OFDX ,.JPE"],selectPhoto=async n=>new Promise((r,o)=>{var a=document.createElement("input");a.type="file",a.accept=fileType.join(","),a.multiple=n,a.style.display="none",document.body.appendChild(a);let u=new FormData;a.onchange=async function(f){var e=f.target.files;if(e.length>9){a.value="",showFailToast("一次最多选择9张图片!");return}for(let p=0;p<e.length;p++){const b=e[p];try{const _=b,w=_.size,E=20*1024*1024;if(w>E){showToast({message:"文件大小不能超过20MB",type:"text",teleport:api.get("teleport")||null}),o();break}u.append("invoiceFiles",_),r(u)}catch(_){console.log(_),o(_)}}document.body.removeChild(a)},a.oncancel=()=>{document.body.removeChild(a)},a.click()}),_withScopeId$1=n=>(vue.pushScopeId("data-v-94a1eca9"),n=n(),vue.popScopeId(),n),_hoisted_1$2={class:"InvoiceList"},_hoisted_2$2={class:"selectAll"},_hoisted_3$2={class:"left"},_hoisted_4$2={class:"right"},_hoisted_5$1=_withScopeId$1(()=>vue.createElementVNode("span",null,"全选",-1)),_hoisted_6$1={class:"card"},_hoisted_7$1=["onClick"],_hoisted_8$1={class:"li"},_hoisted_9={key:0,class:"item-card"},_hoisted_10=["onClick"],_hoisted_11={class:"storeName"},_hoisted_12={class:"name"},_hoisted_13={class:"left"},_hoisted_14={key:0,class:"right"},_hoisted_15={class:"tags"},_hoisted_16={key:0,class:"manual"},_hoisted_17={key:1},_hoisted_18={class:"InvoiceInfo"},_hoisted_19={class:"leftinfo"},_hoisted_20={class:"item-info"},_hoisted_21=_withScopeId$1(()=>vue.createElementVNode("span",{class:"label"},"发票金额",-1)),_hoisted_22={class:"value price"},_hoisted_23={class:"item-info"},_hoisted_24=_withScopeId$1(()=>vue.createElementVNode("span",{class:"label"},"发票抬头",-1)),_hoisted_25={class:"value"},_hoisted_26={class:"item-info"},_hoisted_27=_withScopeId$1(()=>vue.createElementVNode("span",{class:"label"},"发票类型",-1)),_hoisted_28={class:"value"},_hoisted_29={class:"item-info"},_hoisted_30=_withScopeId$1(()=>vue.createElementVNode("span",{class:"label"},"发票时间",-1)),_hoisted_31={class:"value"},_hoisted_32={class:"rightCheckbox"},_hoisted_33=["onUpdate:modelValue"],_hoisted_34={key:1,style:{"background-color":"#fff",padding:"21px 0 15px 12px",position:"relative",width:"100%"}},_hoisted_35={key:2,class:"err-card"},_hoisted_36=["onClick"],_hoisted_37=["src"],_hoisted_38={class:"right-errText"},_hoisted_39=_withScopeId$1(()=>vue.createElementVNode("div",{class:"title"},[vue.createElementVNode("span",null,"识别失败")],-1)),_hoisted_40={class:"content"},_hoisted_41=_withScopeId$1(()=>vue.createElementVNode("div",{class:"recognitionResult"},[vue.createElementVNode("p",{class:"errContent"},"OCR识别失败"),vue.createElementVNode("p",null,"可以重新拍照识别,或手动添加信息导入")],-1)),_hoisted_42=["onUpdate:modelValue"],_hoisted_43={class:"btn-form"},_hoisted_44={class:"operate"},_hoisted_45=_withScopeId$1(()=>vue.createElementVNode("span",null,"移除",-1)),_hoisted_46=[_hoisted_45],_hoisted_47={class:"right-btn"},_hoisted_48={class:"boxPopup"},_hoisted_49=_withScopeId$1(()=>vue.createElementVNode("div",{class:"title"},[vue.createElementVNode("span",null,"添加发票")],-1)),_sfc_main$2=vue.defineComponent({__name:"index",props:{listId:{required:!1,type:String},multiple:{required:!0,type:Boolean},catchList:{},businessLicense:{required:!1,type:String},taxCode:{required:!1,type:String}},emits:["edit","ok"],setup(n,{emit:r}){const o=r,a=n,u=vue.ref(sessionStorage.getItem("token")),f=vue.ref(!1),e=vue.ref(!1),p=vue.ref([]);a.catchList&&(p.value=a.catchList);const b=vue.ref(""),_=vue.computed(()=>p.value.filter(ae=>ae.selected).map(ae=>ae.taskId)),w=async()=>new Promise(async(ae,te)=>{const ie={};if(ie.batchId=a.listId,!!ie.batchId)try{const he=await __getUploadInvoiceList(ie,u.value);he.code===200&&(p.value=he.data.invoiceList.map(ne=>{let F=p.value.find(z=>z.taskId===ne.taskId)||{};return{...ne,selected:F.selected}}),console.log(p.value),b.value=he.data.batchId,p.value.length<=0?O.value=!1:k(),ae(p.value))}catch(he){console.log(he),te(he)}}),E=ae=>{if(console.log(ae.invoiceStatus),ae.invoiceStatus!=="unused")return showToast({type:"text",teleport:api.get("teleport")||null,message:"发票已被使用!"});ae.selected=!ae.selected},C=ae=>{o("edit",{taskId:ae.taskId,batchId:b.value},ae,p.value)},L=ae=>ae.invoiceStatus==="unused"?!!(ae.manualModify||!ae.invoiceExceptionInfo):!1,O=vue.ref(!1),S=ae=>{O.value&&showToast({type:"text",message:"存在已使用或异常发票, 已自动过滤",teleport:api.get("teleport")||null}),p.value.forEach(te=>{te.selected=L(te)&&O.value})},k=()=>{const ae=p.value.filter(te=>L(te)).every(te=>te.selected);O.value=ae},$=()=>{if(_.value.length<=0){showToast({type:"text",message:"请先选择发票",teleport:api.get("teleport")||null});return}showConfirmDialog({title:"提醒",message:"请确认是否需要移除选中项,移除后不可恢复!",teleport:api.get("teleport")||null}).then(async()=>{var ae=new URLSearchParams;ae.append("batchId",b.value);const te=_.value.join(",");ae.append("taskIds",te),(await __deleteInvoice(ae,u.value)).code===200&&(showToast({type:"success",message:"移除成功",teleport:api.get("teleport")||null}),w())}).catch(()=>{})},D=()=>{e.value=!0},N=async ae=>{let te;ae===1?te=await selectPhoto(a.multiple):te=await takePhoto(),te.append("batchId",b.value),te.append("businessLicense",a.businessLicense||""),te.append("taxCode",a.taxCode||""),f.value=!0,e.value=!1;try{(await __uploadInvoice(te)).code===200&&(showToast({type:"success",message:"上传成功",teleport:api.get("teleport")||null}),ce())}catch(ie){console.log(ie),ce()}f.value=!1},U=vue.computed(()=>p.value.filter(te=>te.selected).every(te=>L(te))&&p.value.filter(te=>te.selected).length>0),G=vue.computed(()=>p.value.filter(ae=>ae.selected&&L(ae)).length),R=vue.computed(()=>p.value.filter(ae=>L(ae)).length),A=ae=>{showImagePreview([ae])},H=()=>{if(_.value.length<=0){showToast({type:"text",message:"请先选择发票",teleport:api.get("teleport")||null});return}if(!U.value){showToast({type:"text",message:"发票无效或已被使用,请进行确认",teleport:api.get("teleport")||null});return}const ae=p.value.filter(ie=>ie.selected).map(ie=>{let he=VerificationOfTruth(ie);return{...ie,...he}}),te=ae.some(ie=>ie.invoiceCompanyType==="异常抬头");if(console.log(te,"filterTitleErr"),te){console.log(api.get("teleport"),"teleport"),showConfirmDialog({title:"提醒",message:"存在异常抬头发票,请确认是否继续提交?",teleport:api.get("teleport")||null,cancelButtonText:"返回修改",confirmButtonText:"继续提交"}).then(()=>{o("ok",ae,b.value)}).catch(ie=>{console.log(ie)});return}o("ok",ae,b.value)},re=vue.ref(null),ue=vue.ref(null),ce=()=>{w().then(ae=>{if(!ae.some(ie=>ie.taskStatus==="ocr_doing"||ie.taskStatus==="ocr_success")){clearTimeout(re.value),clearTimeout(ue.value);return}re.value=setTimeout(ce,2e3)}).catch(ae=>{ue.value=setTimeout(ce,2e3)})};return vue.onMounted(()=>{ce()}),vue.onUnmounted(()=>{clearTimeout(re.value),clearTimeout(ue.value)}),(ae,te)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$2,[vue.createElementVNode("div",_hoisted_2$2,[vue.createElementVNode("div",_hoisted_3$2," 已选 "+vue.toDisplayString(G.value)+"/"+vue.toDisplayString(R.value),1),vue.createElementVNode("div",_hoisted_4$2,[_hoisted_5$1,vue.withDirectives(vue.createElementVNode("input",{type:"checkbox",onChange:vue.withModifiers(S,["self"]),"onUpdate:modelValue":te[0]||(te[0]=ie=>O.value=ie),onClick:te[1]||(te[1]=vue.withModifiers(()=>{},["stop"])),class:"checkbox"},null,544),[[vue.vModelCheckbox,O.value]])])]),vue.createElementVNode("div",_hoisted_6$1,[vue.createElementVNode("ul",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.value,(ie,he)=>(vue.openBlock(),vue.createElementBlock("li",{key:he,onClick:ne=>E(ie)},[vue.createElementVNode("div",_hoisted_8$1,[ie.taskStatus==="finish"||ie.taskStatus==="repeat"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9,[vue.createElementVNode("div",{class:"details-btn",onClick:vue.withModifiers(ne=>C(ie),["stop"])}," 详情 ",8,_hoisted_10),vue.createElementVNode("div",{class:vue.normalizeClass(["title",{company:ie.invoiceCompanyType==="公司",err:ie.invoiceCompanyType==="异常抬头"}])},vue.toDisplayString(ie.invoiceCompanyType),3),vue.createElementVNode("div",_hoisted_11,[vue.createElementVNode("div",_hoisted_12,[vue.createElementVNode("div",_hoisted_13,vue.toDisplayString(ie.sellerName),1),ie.taskStatus==="repeat"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14," 已收录 ")):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_15,[ie.manualModify?(vue.openBlock(),vue.createElementBlock("span",_hoisted_16," 手工录入 ")):ie.invoiceExceptionInfo?(vue.openBlock(),vue.createElementBlock("div",_hoisted_17,[vue.createElementVNode("span",{class:vue.normalizeClass(vue.unref(setClass)(ie.invoiceExceptionInfo))},vue.toDisplayString(vue.unref(const_invoiceExceptionInfo)[ie.invoiceExceptionInfo]),3)])):(vue.openBlock(),vue.createElementBlock("span",{key:2,class:vue.normalizeClass(vue.unref(setClass)(ie.realStatus))},vue.toDisplayString(vue.unref(const_realStatus)[ie.realStatus]),3)),vue.createElementVNode("span",{class:vue.normalizeClass(vue.unref(setClass)(ie.invoiceStatus))},vue.toDisplayString(vue.unref(const_invoiceStatus)[ie.invoiceStatus]),3)]),vue.createElementVNode("div",_hoisted_18,[vue.createElementVNode("div",_hoisted_19,[vue.createElementVNode("div",_hoisted_20,[_hoisted_21,vue.createElementVNode("span",_hoisted_22,"¥"+vue.toDisplayString(ie.priceTaxTotalFigure||ie.noTaxAmountTotal),1)]),vue.createElementVNode("div",_hoisted_23,[_hoisted_24,vue.createElementVNode("span",_hoisted_25,vue.toDisplayString(ie.payerName),1)]),vue.createElementVNode("div",_hoisted_26,[_hoisted_27,vue.createElementVNode("span",_hoisted_28,vue.toDisplayString(ie.description),1)]),vue.createElementVNode("div",_hoisted_29,[_hoisted_30,vue.createElementVNode("span",_hoisted_31,vue.toDisplayString(ie.invoiceDate),1)])]),vue.createElementVNode("div",_hoisted_32,[vue.withDirectives(vue.createElementVNode("input",{onClick:te[2]||(te[2]=vue.withModifiers(()=>{},["stop"])),type:"checkbox",class:"checkbox",onChange:k,"onUpdate:modelValue":ne=>ie.selected=ne,"icon-size":"22px"},null,40,_hoisted_33),[[vue.vModelCheckbox,ie.selected]])])])])])):ie.taskStatus==="ocr_doing"||ie.taskStatus==="ocr_success"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_34,[vue.createVNode(vue.unref(Loading),{class:"loading",color:"#0094ff"},{default:vue.withCtx(()=>[vue.createTextVNode("识别中...")]),_:1}),vue.createVNode(vue.unref(Skeleton),{loading:!0,title:"",row:6})])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_35,[vue.createElementVNode("div",{class:"left-img",onClick:ne=>A(ie.fileUrlKey)},[vue.createElementVNode("img",{src:ie.fileUrlKey,alt:""},null,8,_hoisted_37)],8,_hoisted_36),vue.createElementVNode("div",_hoisted_38,[_hoisted_39,vue.createElementVNode("div",_hoisted_40,[_hoisted_41,vue.createElementVNode("div",null,[vue.withDirectives(vue.createElementVNode("input",{type:"checkbox",class:"checkbox",onClick:te[3]||(te[3]=vue.withModifiers(()=>{},["stop"])),"onUpdate:modelValue":ne=>ie.selected=ne},null,8,_hoisted_42),[[vue.vModelCheckbox,ie.selected]])])])])]))])],8,_hoisted_7$1))),128))])]),vue.createElementVNode("div",_hoisted_43,[vue.createElementVNode("div",_hoisted_44,[vue.createElementVNode("div",{class:"delete",onClick:$},_hoisted_46),vue.createElementVNode("div",_hoisted_47,[vue.createElementVNode("span",{class:"add",onClick:D},"继续添加发票"),vue.createElementVNode("span",{class:vue.normalizeClass(["ok",{disabledColor:!U.value}]),onClick:H},"确定选择",2)])])])]),vue.createVNode(vue.unref(Popup),{show:e.value,"onUpdate:show":te[6]||(te[6]=ie=>e.value=ie),teleport:vue.unref(api).get("teleport")||null,position:"bottom",closeable:""},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_48,[_hoisted_49,vue.createElementVNode("div",{style:{"padding-bottom":"24px"},onClick:te[4]||(te[4]=ie=>N(1))},"从相册中选择"),vue.createElementVNode("div",{onClick:te[5]||(te[5]=ie=>N(2))},"拍照上传")])]),_:1},8,["show","teleport"]),vue.createVNode(vue.unref(Overlay),{style:{display:"flex","justify-content":"center","align-items":"center"},show:f.value},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(Loading),{class:"loading",color:"#0094ff"},{default:vue.withCtx(()=>[vue.createTextVNode("上传中...")]),_:1})]),_:1},8,["show"])],64))}}),index_vue_vue_type_style_index_0_scoped_94a1eca9_lang="",InvoiceList=_export_sfc(_sfc_main$2,[["__scopeId","data-v-94a1eca9"]]),_withScopeId=n=>(vue.pushScopeId("data-v-3ffe00d0"),n=n(),vue.popScopeId(),n),_hoisted_1$1={class:"PaymentMode"},_hoisted_2$1=_withScopeId(()=>vue.createElementVNode("div",{class:"title"},"选择识别方式",-1)),_hoisted_3$1={class:"list"},_hoisted_4$1=["onClick"],_hoisted_5={class:"left-text"},_hoisted_6={class:"icon-left"},_hoisted_7={class:"text"},_hoisted_8=_withScopeId(()=>vue.createElementVNode("div",{class:"right-icon"},[vue.createElementVNode("i",{class:"iconfont icon-xiangyou"})],-1)),_sfc_main$1=vue.defineComponent({__name:"index",props:["multiple","batchId","taxCode","businessLicense"],emits:["uploadSuccess"],setup(n,{emit:r}){const o=n,a=r,u=[{text:"拍照",leftIcon:"icon-xiangji"},{text:"相册",leftIcon:"icon-xiangce"}];document.title="请选择添加费用方式";const f=vue.ref(!1),e=async p=>{let b;p=="拍照"&&(b=await takePhoto()),p=="相册"&&(b=await selectPhoto(o.multiple)),o.batchId&&b.append("batchId",o.batchId),b.append("businessLicense",o.businessLicense||""),b.append("taxCode",o.taxCode||""),f.value=!0;try{const _=await __uploadInvoice(b);_.code===200&&(showToast({type:"success",message:"上传成功",teleport:api.get("teleport")||null}),a("uploadSuccess",_.data))}catch(_){console.log(_),showFailToast(_.msg)}f.value=!1};return(p,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1,[_hoisted_2$1,vue.createElementVNode("div",_hoisted_3$1,[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(u,(_,w)=>vue.createElementVNode("div",{class:"method-item",onClick:E=>e(_.text),key:_.id||w},[vue.createElementVNode("div",_hoisted_5,[vue.createElementVNode("span",_hoisted_6,[vue.createElementVNode("i",{class:vue.normalizeClass(["iconfont",_.leftIcon])},null,2)]),vue.createElementVNode("span",_hoisted_7,vue.toDisplayString(_.text),1)]),_hoisted_8],8,_hoisted_4$1)),64))])]),vue.createVNode(vue.unref(Overlay),{style:{display:"flex","justify-content":"center","align-items":"center"},show:f.value},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(Loading),{class:"loading",color:"#0094ff"},{default:vue.withCtx(()=>[vue.createTextVNode("上传中...")]),_:1})]),_:1},8,["show"])],64))}}),index_vue_vue_type_style_index_0_scoped_3ffe00d0_lang="",PaymentMode=_export_sfc(_sfc_main$1,[["__scopeId","data-v-3ffe00d0"]]);function getUrlParams(n){const r={},o=n.split("?")[1];return o&&o.split("&").forEach(u=>{const[f,e]=u.split("=");r[f]=decodeURIComponent(e)}),r}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var vconsole_min={exports:{}};/*!
|
|
19
|
+
*/var canvasToBlob={exports:{}};(function(n){typeof window>"u"||function(r){var o=r.HTMLCanvasElement&&r.HTMLCanvasElement.prototype,a=r.Blob&&function(){try{return!!new Blob}catch{return!1}}(),u=a&&r.Uint8Array&&function(){try{return new Blob([new Uint8Array(100)]).size===100}catch{return!1}}(),f=r.BlobBuilder||r.WebKitBlobBuilder||r.MozBlobBuilder||r.MSBlobBuilder,e=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,p=(a||f)&&r.atob&&r.ArrayBuffer&&r.Uint8Array&&function(b){var _,w,E,C,L,O,S,k,$;if(_=b.match(e),!_)throw new Error("invalid data URI");for(w=_[2]?_[1]:"text/plain"+(_[3]||";charset=US-ASCII"),E=!!_[4],C=b.slice(_[0].length),E?L=atob(C):L=decodeURIComponent(C),O=new ArrayBuffer(L.length),S=new Uint8Array(O),k=0;k<L.length;k+=1)S[k]=L.charCodeAt(k);return a?new Blob([u?S:O],{type:w}):($=new f,$.append(O),$.getBlob(w))};r.HTMLCanvasElement&&!o.toBlob&&(o.mozGetAsFile?o.toBlob=function(b,_,w){var E=this;setTimeout(function(){w&&o.toDataURL&&p?b(p(E.toDataURL(_,w))):b(E.mozGetAsFile("blob",_))})}:o.toDataURL&&p&&(o.msToBlob?o.toBlob=function(b,_,w){var E=this;setTimeout(function(){(_&&_!=="image/png"||w)&&o.toDataURL&&p?b(p(E.toDataURL(_,w))):b(E.msToBlob(_))})}:o.toBlob=function(b,_,w){var E=this;setTimeout(function(){b(p(E.toDataURL(_,w)))})})),n.exports?n.exports=p:r.dataURLtoBlob=p}(window)})(canvasToBlob);const takePhoto=()=>new Promise((n,r)=>{var o=document.createElement("input");o.type="file",o.accept="image/*",o.capture="camera",o.style.display="none",document.body.appendChild(o);let a=new FormData;o.onchange=async function(u){var f=u.target.files[0];try{const e=await f,p=e.size,b=20*1024*1024;if(p>b)return showToast({message:"文件大小不能超过20MB",type:"text",teleport:api.get("teleport")||null}),r();a.append("invoiceFiles",e),document.body.removeChild(o),n(a)}catch(e){console.log(e),document.body.removeChild(o),r(e)}},o.oncancel=()=>{document.body.removeChild(o)},o.click()}),fileType=[".jpg ,.png ,.bpm ,.jpeg ,.pdf ,.ofd ,.ofdx ,.jpe",".JPG ,.PNG ,.BPM ,.JPEG ,.PDF ,.OFD ,.OFDX ,.JPE"],selectPhoto=async n=>new Promise((r,o)=>{var a=document.createElement("input");a.type="file",a.accept=fileType.join(","),a.multiple=n,a.style.display="none",document.body.appendChild(a);let u=new FormData;a.onchange=async function(f){var e=f.target.files;if(e.length>9){a.value="",showFailToast("一次最多选择9张图片!");return}for(let p=0;p<e.length;p++){const b=e[p];try{const _=b,w=_.size,E=20*1024*1024;if(w>E){showToast({message:"文件大小不能超过20MB",type:"text",teleport:api.get("teleport")||null}),o();break}u.append("invoiceFiles",_),r(u)}catch(_){console.log(_),o(_)}}document.body.removeChild(a)},a.oncancel=()=>{document.body.removeChild(a)},a.click()}),_withScopeId$1=n=>(vue.pushScopeId("data-v-89090fe1"),n=n(),vue.popScopeId(),n),_hoisted_1$2={class:"InvoiceList"},_hoisted_2$2={class:"selectAll"},_hoisted_3$2={class:"left"},_hoisted_4$2={class:"right"},_hoisted_5$1=_withScopeId$1(()=>vue.createElementVNode("span",null,"全选",-1)),_hoisted_6$1={class:"card"},_hoisted_7$1=["onClick"],_hoisted_8$1={class:"li"},_hoisted_9={key:0,class:"item-card"},_hoisted_10=["onClick"],_hoisted_11={class:"storeName"},_hoisted_12={class:"name"},_hoisted_13={class:"left"},_hoisted_14={key:0,class:"right"},_hoisted_15={class:"tags"},_hoisted_16={key:0,class:"manual"},_hoisted_17={key:1},_hoisted_18={class:"InvoiceInfo"},_hoisted_19={class:"leftinfo"},_hoisted_20={class:"item-info"},_hoisted_21=_withScopeId$1(()=>vue.createElementVNode("span",{class:"label"},"发票金额",-1)),_hoisted_22={class:"value price"},_hoisted_23={class:"item-info"},_hoisted_24=_withScopeId$1(()=>vue.createElementVNode("span",{class:"label"},"发票抬头",-1)),_hoisted_25={class:"value"},_hoisted_26={class:"item-info"},_hoisted_27=_withScopeId$1(()=>vue.createElementVNode("span",{class:"label"},"发票类型",-1)),_hoisted_28={class:"value"},_hoisted_29={class:"item-info"},_hoisted_30=_withScopeId$1(()=>vue.createElementVNode("span",{class:"label"},"发票时间",-1)),_hoisted_31={class:"value"},_hoisted_32={class:"rightCheckbox"},_hoisted_33=["onUpdate:modelValue"],_hoisted_34={key:1,style:{"background-color":"#fff",padding:"21px 0 15px 12px",position:"relative",width:"100%"}},_hoisted_35={key:2,class:"err-card"},_hoisted_36=["onClick"],_hoisted_37=["src"],_hoisted_38={class:"right-errText"},_hoisted_39=_withScopeId$1(()=>vue.createElementVNode("div",{class:"title"},[vue.createElementVNode("span",null,"识别失败")],-1)),_hoisted_40={class:"content"},_hoisted_41=_withScopeId$1(()=>vue.createElementVNode("div",{class:"recognitionResult"},[vue.createElementVNode("p",{class:"errContent"},"OCR识别失败"),vue.createElementVNode("p",null,"可以重新拍照识别,或手动添加信息导入")],-1)),_hoisted_42=["onUpdate:modelValue"],_hoisted_43={class:"btn-form"},_hoisted_44={class:"operate"},_hoisted_45=_withScopeId$1(()=>vue.createElementVNode("span",null,"移除",-1)),_hoisted_46=[_hoisted_45],_hoisted_47={class:"right-btn"},_hoisted_48={class:"boxPopup"},_hoisted_49=_withScopeId$1(()=>vue.createElementVNode("div",{class:"title"},[vue.createElementVNode("span",null,"添加发票")],-1)),_sfc_main$2=vue.defineComponent({__name:"index",props:{listId:{required:!1,type:String},multiple:{required:!0,type:Boolean},catchList:{},businessLicense:{required:!1,type:String},taxCode:{required:!1,type:String}},emits:["edit","ok"],setup(n,{emit:r}){const o=r,a=n,u=vue.ref(sessionStorage.getItem("token")),f=vue.ref(!1),e=vue.ref(!1),p=vue.ref([]);a.catchList&&(p.value=a.catchList);const b=vue.ref(""),_=vue.computed(()=>p.value.filter(ae=>ae.selected).map(ae=>ae.taskId)),w=async()=>new Promise(async(ae,te)=>{const ie={};if(ie.batchId=a.listId,!!ie.batchId)try{const he=await __getUploadInvoiceList(ie,u.value);he.code===200&&(p.value=he.data.invoiceList.map(ne=>{let F=p.value.find(z=>z.taskId===ne.taskId)||{};return{...ne,selected:F.selected}}),console.log(p.value),b.value=he.data.batchId,p.value.length<=0?O.value=!1:k(),ae(p.value))}catch(he){console.log(he),te(he)}}),E=ae=>{if(console.log(ae.invoiceStatus),ae.invoiceStatus!=="unused")return showToast({type:"text",teleport:api.get("teleport")||null,message:"发票已被使用!"});ae.selected=!ae.selected},C=ae=>{o("edit",{taskId:ae.taskId,batchId:b.value},ae,p.value)},L=ae=>ae.invoiceStatus==="unused"?!!(ae.manualModify||!ae.invoiceExceptionInfo):!1,O=vue.ref(!1),S=ae=>{O.value&&showToast({type:"text",message:"存在已使用或异常发票, 已自动过滤",teleport:api.get("teleport")||null}),p.value.forEach(te=>{te.selected=L(te)&&O.value})},k=()=>{const ae=p.value.filter(te=>L(te)).every(te=>te.selected);O.value=ae},$=()=>{if(_.value.length<=0){showToast({type:"text",message:"请先选择发票",teleport:api.get("teleport")||null});return}showConfirmDialog({title:"提醒",message:"请确认是否需要移除选中项,移除后不可恢复!",teleport:api.get("teleport")||null}).then(async()=>{var ae=new URLSearchParams;ae.append("batchId",b.value);const te=_.value.join(",");ae.append("taskIds",te),(await __deleteInvoice(ae,u.value)).code===200&&(showToast({type:"success",message:"移除成功",teleport:api.get("teleport")||null}),w())}).catch(()=>{})},D=()=>{e.value=!0},N=async ae=>{let te;ae===1?te=await selectPhoto(a.multiple):te=await takePhoto(),te.append("batchId",b.value),te.append("businessLicense",a.businessLicense||""),te.append("taxCode",a.taxCode||""),f.value=!0,e.value=!1;try{(await __uploadInvoice(te)).code===200&&(showToast({type:"success",message:"上传成功",teleport:api.get("teleport")||null}),ce())}catch(ie){console.log(ie),ce()}f.value=!1},U=vue.computed(()=>p.value.filter(te=>te.selected).every(te=>L(te))&&p.value.filter(te=>te.selected).length>0),G=vue.computed(()=>p.value.filter(ae=>ae.selected&&L(ae)).length),R=vue.computed(()=>p.value.filter(ae=>L(ae)).length),A=ae=>{showImagePreview([ae])},H=()=>{if(_.value.length<=0){showToast({type:"text",message:"请先选择发票",teleport:api.get("teleport")||null});return}if(!U.value){showToast({type:"text",message:"发票无效或已被使用,请进行确认",teleport:api.get("teleport")||null});return}const ae=p.value.filter(ie=>ie.selected).map(ie=>{let he=VerificationOfTruth(ie);return{...ie,...he}}),te=ae.some(ie=>ie.invoiceCompanyType==="异常抬头"||ie.invoiceCompanyType==="异常税号");if(console.log(te,"filterTitleErr"),te){console.log(api.get("teleport"),"teleport"),showConfirmDialog({title:"提醒",message:"存在异常抬头发票,请确认是否继续提交?",teleport:api.get("teleport")||null,cancelButtonText:"返回修改",confirmButtonText:"继续提交"}).then(()=>{o("ok",ae,b.value)}).catch(ie=>{console.log(ie)});return}o("ok",ae,b.value)},re=vue.ref(null),ue=vue.ref(null),ce=()=>{w().then(ae=>{if(!ae.some(ie=>ie.taskStatus==="ocr_doing"||ie.taskStatus==="ocr_success")){clearTimeout(re.value),clearTimeout(ue.value);return}re.value=setTimeout(ce,2e3)}).catch(ae=>{ue.value=setTimeout(ce,2e3)})};return vue.onMounted(()=>{ce()}),vue.onUnmounted(()=>{clearTimeout(re.value),clearTimeout(ue.value)}),(ae,te)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$2,[vue.createElementVNode("div",_hoisted_2$2,[vue.createElementVNode("div",_hoisted_3$2," 已选 "+vue.toDisplayString(G.value)+"/"+vue.toDisplayString(R.value),1),vue.createElementVNode("div",_hoisted_4$2,[_hoisted_5$1,vue.withDirectives(vue.createElementVNode("input",{type:"checkbox",onChange:vue.withModifiers(S,["self"]),"onUpdate:modelValue":te[0]||(te[0]=ie=>O.value=ie),onClick:te[1]||(te[1]=vue.withModifiers(()=>{},["stop"])),class:"checkbox"},null,544),[[vue.vModelCheckbox,O.value]])])]),vue.createElementVNode("div",_hoisted_6$1,[vue.createElementVNode("ul",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.value,(ie,he)=>(vue.openBlock(),vue.createElementBlock("li",{key:he,onClick:ne=>E(ie)},[vue.createElementVNode("div",_hoisted_8$1,[ie.taskStatus==="finish"||ie.taskStatus==="repeat"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9,[vue.createElementVNode("div",{class:"details-btn",onClick:vue.withModifiers(ne=>C(ie),["stop"])}," 详情 ",8,_hoisted_10),vue.createElementVNode("div",{class:vue.normalizeClass(["title",{company:ie.invoiceCompanyType==="公司",err:ie.invoiceCompanyType==="异常抬头"||ie.invoiceCompanyType==="异常税号"}])},vue.toDisplayString(ie.invoiceCompanyType),3),vue.createElementVNode("div",_hoisted_11,[vue.createElementVNode("div",_hoisted_12,[vue.createElementVNode("div",_hoisted_13,vue.toDisplayString(ie.sellerName),1),ie.taskStatus==="repeat"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14," 已收录 ")):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_15,[ie.manualModify?(vue.openBlock(),vue.createElementBlock("span",_hoisted_16," 手工录入 ")):ie.invoiceExceptionInfo?(vue.openBlock(),vue.createElementBlock("div",_hoisted_17,[vue.createElementVNode("span",{class:vue.normalizeClass(vue.unref(setClass)(ie.invoiceExceptionInfo))},vue.toDisplayString(vue.unref(const_invoiceExceptionInfo)[ie.invoiceExceptionInfo]),3)])):(vue.openBlock(),vue.createElementBlock("span",{key:2,class:vue.normalizeClass(vue.unref(setClass)(ie.realStatus))},vue.toDisplayString(vue.unref(const_realStatus)[ie.realStatus]),3)),vue.createElementVNode("span",{class:vue.normalizeClass(vue.unref(setClass)(ie.invoiceStatus))},vue.toDisplayString(vue.unref(const_invoiceStatus)[ie.invoiceStatus]),3)]),vue.createElementVNode("div",_hoisted_18,[vue.createElementVNode("div",_hoisted_19,[vue.createElementVNode("div",_hoisted_20,[_hoisted_21,vue.createElementVNode("span",_hoisted_22,"¥"+vue.toDisplayString(ie.priceTaxTotalFigure||ie.noTaxAmountTotal),1)]),vue.createElementVNode("div",_hoisted_23,[_hoisted_24,vue.createElementVNode("span",_hoisted_25,vue.toDisplayString(ie.payerName),1)]),vue.createElementVNode("div",_hoisted_26,[_hoisted_27,vue.createElementVNode("span",_hoisted_28,vue.toDisplayString(ie.description),1)]),vue.createElementVNode("div",_hoisted_29,[_hoisted_30,vue.createElementVNode("span",_hoisted_31,vue.toDisplayString(ie.invoiceDate),1)])]),vue.createElementVNode("div",_hoisted_32,[vue.withDirectives(vue.createElementVNode("input",{onClick:te[2]||(te[2]=vue.withModifiers(()=>{},["stop"])),type:"checkbox",class:"checkbox",onChange:k,"onUpdate:modelValue":ne=>ie.selected=ne,"icon-size":"22px"},null,40,_hoisted_33),[[vue.vModelCheckbox,ie.selected]])])])])])):ie.taskStatus==="ocr_doing"||ie.taskStatus==="ocr_success"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_34,[vue.createVNode(vue.unref(Loading),{class:"loading",color:"#0094ff"},{default:vue.withCtx(()=>[vue.createTextVNode("识别中...")]),_:1}),vue.createVNode(vue.unref(Skeleton),{loading:!0,title:"",row:6})])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_35,[vue.createElementVNode("div",{class:"left-img",onClick:ne=>A(ie.fileUrlKey)},[vue.createElementVNode("img",{src:ie.fileUrlKey,alt:""},null,8,_hoisted_37)],8,_hoisted_36),vue.createElementVNode("div",_hoisted_38,[_hoisted_39,vue.createElementVNode("div",_hoisted_40,[_hoisted_41,vue.createElementVNode("div",null,[vue.withDirectives(vue.createElementVNode("input",{type:"checkbox",class:"checkbox",onClick:te[3]||(te[3]=vue.withModifiers(()=>{},["stop"])),"onUpdate:modelValue":ne=>ie.selected=ne},null,8,_hoisted_42),[[vue.vModelCheckbox,ie.selected]])])])])]))])],8,_hoisted_7$1))),128))])]),vue.createElementVNode("div",_hoisted_43,[vue.createElementVNode("div",_hoisted_44,[vue.createElementVNode("div",{class:"delete",onClick:$},_hoisted_46),vue.createElementVNode("div",_hoisted_47,[vue.createElementVNode("span",{class:"add",onClick:D},"继续添加发票"),vue.createElementVNode("span",{class:vue.normalizeClass(["ok",{disabledColor:!U.value}]),onClick:H},"确定选择",2)])])])]),vue.createVNode(vue.unref(Popup),{show:e.value,"onUpdate:show":te[6]||(te[6]=ie=>e.value=ie),teleport:vue.unref(api).get("teleport")||null,position:"bottom",closeable:""},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_48,[_hoisted_49,vue.createElementVNode("div",{style:{"padding-bottom":"24px"},onClick:te[4]||(te[4]=ie=>N(1))},"从相册中选择"),vue.createElementVNode("div",{onClick:te[5]||(te[5]=ie=>N(2))},"拍照上传")])]),_:1},8,["show","teleport"]),vue.createVNode(vue.unref(Overlay),{style:{display:"flex","justify-content":"center","align-items":"center"},show:f.value},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(Loading),{class:"loading",color:"#0094ff"},{default:vue.withCtx(()=>[vue.createTextVNode("上传中...")]),_:1})]),_:1},8,["show"])],64))}}),index_vue_vue_type_style_index_0_scoped_89090fe1_lang="",InvoiceList=_export_sfc(_sfc_main$2,[["__scopeId","data-v-89090fe1"]]),_withScopeId=n=>(vue.pushScopeId("data-v-3ffe00d0"),n=n(),vue.popScopeId(),n),_hoisted_1$1={class:"PaymentMode"},_hoisted_2$1=_withScopeId(()=>vue.createElementVNode("div",{class:"title"},"选择识别方式",-1)),_hoisted_3$1={class:"list"},_hoisted_4$1=["onClick"],_hoisted_5={class:"left-text"},_hoisted_6={class:"icon-left"},_hoisted_7={class:"text"},_hoisted_8=_withScopeId(()=>vue.createElementVNode("div",{class:"right-icon"},[vue.createElementVNode("i",{class:"iconfont icon-xiangyou"})],-1)),_sfc_main$1=vue.defineComponent({__name:"index",props:["multiple","batchId","taxCode","businessLicense"],emits:["uploadSuccess"],setup(n,{emit:r}){const o=n,a=r,u=[{text:"拍照",leftIcon:"icon-xiangji"},{text:"相册",leftIcon:"icon-xiangce"}];document.title="请选择添加费用方式";const f=vue.ref(!1),e=async p=>{let b;p=="拍照"&&(b=await takePhoto()),p=="相册"&&(b=await selectPhoto(o.multiple)),o.batchId&&b.append("batchId",o.batchId),b.append("businessLicense",o.businessLicense||""),b.append("taxCode",o.taxCode||""),f.value=!0;try{const _=await __uploadInvoice(b);_.code===200&&(showToast({type:"success",message:"上传成功",teleport:api.get("teleport")||null}),a("uploadSuccess",_.data))}catch(_){console.log(_),showFailToast(_.msg)}f.value=!1};return(p,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1,[_hoisted_2$1,vue.createElementVNode("div",_hoisted_3$1,[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(u,(_,w)=>vue.createElementVNode("div",{class:"method-item",onClick:E=>e(_.text),key:_.id||w},[vue.createElementVNode("div",_hoisted_5,[vue.createElementVNode("span",_hoisted_6,[vue.createElementVNode("i",{class:vue.normalizeClass(["iconfont",_.leftIcon])},null,2)]),vue.createElementVNode("span",_hoisted_7,vue.toDisplayString(_.text),1)]),_hoisted_8],8,_hoisted_4$1)),64))])]),vue.createVNode(vue.unref(Overlay),{style:{display:"flex","justify-content":"center","align-items":"center"},show:f.value},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(Loading),{class:"loading",color:"#0094ff"},{default:vue.withCtx(()=>[vue.createTextVNode("上传中...")]),_:1})]),_:1},8,["show"])],64))}}),index_vue_vue_type_style_index_0_scoped_3ffe00d0_lang="",PaymentMode=_export_sfc(_sfc_main$1,[["__scopeId","data-v-3ffe00d0"]]);function getUrlParams(n){const r={},o=n.split("?")[1];return o&&o.split("&").forEach(u=>{const[f,e]=u.split("=");r[f]=decodeURIComponent(e)}),r}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var vconsole_min={exports:{}};/*!
|
|
20
20
|
* vConsole v3.15.1 (https://github.com/Tencent/vConsole)
|
|
21
21
|
*
|
|
22
22
|
* Tencent is pleased to support the open source community by making vConsole available.
|