添加公众号的东西
This commit is contained in:
parent
d810f159ca
commit
ab1038b709
|
@ -126,13 +126,17 @@ function rkbLoadData() {
|
||||||
queryParam.value.skxs = 1
|
queryParam.value.skxs = 1
|
||||||
queryParam.value.type = 1
|
queryParam.value.type = 1
|
||||||
console.log(`🚀 ~ file: index.vue:112 ~ rkbLoadData ~ newRow:`, queryParam)
|
console.log(`🚀 ~ file: index.vue:112 ~ rkbLoadData ~ newRow:`, queryParam)
|
||||||
list(queryParam.value).then(res => {
|
|
||||||
|
if(queryParam.value.hh!=","){
|
||||||
|
list(queryParam.value).then(res => {
|
||||||
// console.log(`🚀 ~ file: index.vue:104 ~ list ~ res:`, res)
|
// console.log(`🚀 ~ file: index.vue:104 ~ list ~ res:`, res)
|
||||||
listData.value.push(...res.records)
|
listData.value.push(...res.records)
|
||||||
current = res.pages
|
current = res.pages
|
||||||
// listData.value = res.records;
|
// listData.value = res.records;
|
||||||
// console.log(`🚀 ~ file: kclbList.vue:113 ~ list ~ listData.value:`, listData.value)
|
// console.log(`🚀 ~ file: kclbList.vue:113 ~ list ~ listData.value:`, listData.value)
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function funpingjia(record){
|
function funpingjia(record){
|
||||||
|
|
|
@ -62,9 +62,16 @@
|
||||||
* 新增
|
* 新增
|
||||||
*/
|
*/
|
||||||
function add() {
|
function add() {
|
||||||
|
// getOpenId();
|
||||||
edit({});
|
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'
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 编辑
|
* 编辑
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue