添加公众号的东西

This commit is contained in:
yangjun 2023-05-15 21:27:51 +08:00
parent d810f159ca
commit ab1038b709
2 changed files with 13 additions and 2 deletions

View File

@ -126,6 +126,8 @@ function rkbLoadData() {
queryParam.value.skxs = 1
queryParam.value.type = 1
console.log(`🚀 ~ file: index.vue:112 ~ rkbLoadData ~ newRow:`, queryParam)
if(queryParam.value.hh!=","){
list(queryParam.value).then(res => {
// console.log(`🚀 ~ file: index.vue:104 ~ list ~ res:`, res)
listData.value.push(...res.records)
@ -133,6 +135,8 @@ function rkbLoadData() {
// listData.value = res.records;
// console.log(`🚀 ~ file: kclbList.vue:113 ~ list ~ listData.value:`, listData.value)
})
}
}
function funpingjia(record){

View File

@ -62,9 +62,16 @@
* 新增
*/
function add() {
// getOpenId();
edit({});
}
function getOpenId(){
var STATE = window.location.search.replace('?', '');
STATE = encodeURIComponent(STATE)
window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?'+
'appid=214887356&redirect_uri=http://bylwcs.nenu.edu.cn/'+
'&response_type=code&scope=snsapi_base&state='+ STATE +'#wechat_redirect'
}
/**
* 编辑
*/