hd 3 meses atrás
pai
commit
6684d8fd1b

+ 8 - 0
mini-pro-web/src/api/api-medicineAbinet.js

@ -780,6 +780,14 @@ let service = {
			params
		});
	},
	selectByTit(params){
		return request({
			url: `${BASE}/advertisement/selectByTit`,
			method: 'get',
			params
		})
	}
	
};

+ 11 - 1
mini-pro-web/src/views/machine/small.vue

@ -22,6 +22,7 @@
</template>
<script>
import medicineAbinetApi from '@/api/api-medicineAbinet.js'
export default {
  data() {
    return {
@ -69,9 +70,18 @@ export default {
    }
  },
  methods: {
    backToHome(){
    backToHome() {
      this.$router.push('/machine/maxScreen')
    },
    selectByTit() {
      medicineAbinetApi.selectByTit({ page: 1, size: 100, publishLocation: 0 }).then(res => {
        console.log(res);
        
      })
    }
  },
  mounted(){
    this.selectByTit()
  }
}
</script>