task#15348,培训文档和文档材料获取supplierId
This commit is contained in:
@ -66,10 +66,13 @@ export default {
|
||||
// trainingType:1,
|
||||
isLoading:false,
|
||||
show:false,
|
||||
showEmpty:false
|
||||
showEmpty:false,
|
||||
supplierId:'',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
this.supplierId = urlParams.get('supplierId');
|
||||
this.getNormalList()
|
||||
},
|
||||
methods:{
|
||||
@ -87,7 +90,7 @@ export default {
|
||||
async getNormalList(){
|
||||
let res= await getNormalList({
|
||||
type:2,
|
||||
id:33041,
|
||||
id:this.supplierId,//33041,
|
||||
text:this.keyword || '',
|
||||
})
|
||||
this.totalList=[]
|
||||
|
@ -70,12 +70,13 @@ export default {
|
||||
show:false,
|
||||
showEmpty:false,
|
||||
isLoading:false,
|
||||
supplierId:'',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const supplierId = urlParams.get('supplierId');
|
||||
this.$toast(supplierId);
|
||||
this.supplierId = urlParams.get('supplierId');
|
||||
// this.$toast(this.supplierId);
|
||||
this.getTrainingList();
|
||||
},
|
||||
methods:{
|
||||
@ -93,7 +94,7 @@ export default {
|
||||
async getTrainingList(){
|
||||
let res= await getTrainingList({
|
||||
type:2,
|
||||
id:33041,
|
||||
id:this.supplierId,//33041,
|
||||
text:this.keyword || '',
|
||||
})
|
||||
this.totalList=[]
|
||||
|
Reference in New Issue
Block a user