fix: 订阅提示

main
阿怪 6 months ago
parent cad3bd0c69
commit d35fab34e3

@ -23,15 +23,6 @@
swiper_h.value = store.systemInfo.windowHeight
}
getList()
uni.requestSubscribeMessage({
         tmplIds: ['PgxoZOOSDgBcmIGd_EVLDkRzNPA6Cr4MWeG9m4OO3n0'],
         success: (res) => {
             console.log(res);
        },
fail(res) {
 console.log(res);
}
    })
})
onPullDownRefresh(()=> { //
init()
@ -86,6 +77,17 @@
}
])
//
function subscribeFunc() {
uni.requestSubscribeMessage({
         tmplIds: ['PgxoZOOSDgBcmIGd_EVLDnYUmL3eu6NQTAZCsHQeuWY'],
         success: (res) => {
             console.log(res);
        },
fail(res) {
 console.log(res);
}
    })
}
function init(){
// list.value = []
list_box.value[c_index.value].list = []
@ -147,6 +149,7 @@
handle_info.value = item
handle_info_index.value = i
inputDialog.value.open()
subscribeFunc()
}
function finishFunc() {
// api.todoFinished

@ -52,6 +52,17 @@
key:''
})
//
function subscribeFunc() {
uni.requestSubscribeMessage({
         tmplIds: ['PgxoZOOSDgBcmIGd_EVLDnYUmL3eu6NQTAZCsHQeuWY'],
         success: (res) => {
             console.log(res);
        },
fail(res) {
 console.log(res);
}
    })
}
async function getHospitalList() {
const res = await api.getHospitalList(h_queryParams.value)
if(res.code == 0) {
@ -162,6 +173,7 @@
// if(state_index === 0) {
// url = '/pages/index/done?state_index='+state_index
// }
subscribeFunc()
uni.navigateTo({
url
})

Loading…
Cancel
Save