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