
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
voucher-uploader
Advanced tools
帐影部门组件-凭证采集
该组件基于element-ui,请引入element-ui并注册
urlMap(接口url集合)可以通过initUrlMap方法初始化,也可以通过urlMap参数传入,不传的话使用组件内默认的url
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);
vue代码:
<template>
<div>
<button @click="refreshTableCollect">刷新凭证采集列表</button>
<button @click="refreshTablePrint">刷新凭证打印列表</button>
<XyzEcscsVoucherUoloader
ref="XyzEcscsVoucherUoloaderRef"
collectTitle="凭证采集"
printTitle="凭证打印"
/>
</div>
</template>
<script>
import XyzEcscsVoucherUoloader from "../src/index.vue";
export default {
components: {
XyzEcscsVoucherUoloader,
},
data() {
return {};
},
methods: {
refreshTableCollect() {
this.$refs.XyzEcscsVoucherUoloaderRef.getCollectionData();
},
refreshTablePrint() {
this.$refs.XyzEcscsVoucherUoloaderRef.getPrintData();
},
},
};
</script>
{
collectTitle: { // 凭证采集标题
type: String,
default: "凭证采集",
},
printTitle: { // 凭证打印标题
type: String,
default: "凭证打印",
},
requestId: { // requestId 必须
type: String,
default: "凭证打印",
},
hideCollectTable: { // 隐藏凭证采集
type: Boolean,
default: false,
},
hidePrintTable: { // 隐藏凭证打印
type: Boolean,
default: false,
},
hidePrintTable: { // 隐藏凭证打印
type: Boolean,
default: false,
},
/**
* 接口url集合
* 示例
* {
* getRequestInfo:"",
* getEPProModelList:"",
* putObject:"",
* getObject:"",
* submitProcScanInfo:"",
* getPrintAndSignPtlList:"",
* }
*/
urlMap: {
type: Boolean,
default: false,
},
}
通过ref调用
initUrlMap(urlMap){}//初始化urlMap
getCollectionData(){}//刷新凭证采集列表
getPrintData(){}//刷新凭证打印列表
FAQs
账影部门组件-凭证采集
We found that voucher-uploader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.