标准/译文获取申请 导入,请求头信息
This commit is contained in:
+4
@@ -9,6 +9,7 @@
|
|||||||
<el-button size="mini" type="primary" @click="standardTranslationAcquisitionRequestAdd">新增标准/译文获取申请</el-button>
|
<el-button size="mini" type="primary" @click="standardTranslationAcquisitionRequestAdd">新增标准/译文获取申请</el-button>
|
||||||
<el-upload
|
<el-upload
|
||||||
action="http://localhost:9090/api/lawss/standardApplyFor/importData"
|
action="http://localhost:9090/api/lawss/standardApplyFor/importData"
|
||||||
|
:headers="headers"
|
||||||
style="margin: 0 10px"
|
style="margin: 0 10px"
|
||||||
:on-success="importSuccess"
|
:on-success="importSuccess"
|
||||||
:on-error="importError"
|
:on-error="importError"
|
||||||
@@ -137,6 +138,9 @@ export default {
|
|||||||
StandardApplyForEO: [],
|
StandardApplyForEO: [],
|
||||||
selectedList: [],
|
selectedList: [],
|
||||||
page: 1,
|
page: 1,
|
||||||
|
headers: {
|
||||||
|
token: JSON.parse(localStorage.getItem('userInfo')).token
|
||||||
|
},
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
total: 0,
|
total: 0,
|
||||||
fileList: '',
|
fileList: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user