src/views/inspectionManagement/commissionInspection/addCommision.vue
@@ -315,6 +315,7 @@ this.viewId = this.$route.params.viewId this.$store.commit('settings/SAVE_LINK', this.viewId) this.getlink(this.$route.params.viewId) this.getContractsSampleInfo(this.$route.params.viewId) }, mounted() { this.getSampleName() @@ -337,6 +338,10 @@ } }) }, async getContractsSampleInfo(viewId){ let res=await getContractsSampleInfo({viewId}) console.log(res.data); }, async getSampleName() { const res = await getSampleName() this.sampleoptions = res.data.map((item) => {