修改查询bug
This commit is contained in:
parent
14a4569e5f
commit
f4797dce3d
|
@ -664,16 +664,16 @@ function getJianceBtnStatusFor() {
|
||||||
|
|
||||||
function getJianceBtnStatus() {
|
function getJianceBtnStatus() {
|
||||||
getRedisKey({ key: 'zhihuijiaos:all:btnStatus'}).then(res => {
|
getRedisKey({ key: 'zhihuijiaos:all:btnStatus'}).then(res => {
|
||||||
console.log(`🚀 --------------------------------------------------🚀`);
|
// console.log(`🚀 --------------------------------------------------🚀`);
|
||||||
console.log(`🚀 ~ file: index.vue:597 ~ getRedisKey ~ res:`, res);
|
// console.log(`🚀 ~ file: index.vue:597 ~ getRedisKey ~ res:`, res);
|
||||||
console.log(`🚀 --------------------------------------------------🚀`);
|
// console.log(`🚀 --------------------------------------------------🚀`);
|
||||||
btnStatus.value.all = res;
|
btnStatus.value.all = res;
|
||||||
});
|
});
|
||||||
cardList.value.forEach(x => {
|
cardList.value.forEach(x => {
|
||||||
getRedisKey({ key: `zhihuijiaos:${ x.jxlName }:btnStatus`}).then(res => {
|
getRedisKey({ key: `zhihuijiaos:${ x.jxlName }:btnStatus`}).then(res => {
|
||||||
console.log(`🚀 --------------------------------------------------🚀`);
|
// console.log(`🚀 --------------------------------------------------🚀`);
|
||||||
console.log(`🚀 ~ file: index.vue:597 ~ getRedisKey ~ res:`, res);
|
// console.log(`🚀 ~ file: index.vue:597 ~ getRedisKey ~ res:`, res);
|
||||||
console.log(`🚀 --------------------------------------------------🚀`);
|
// console.log(`🚀 --------------------------------------------------🚀`);
|
||||||
if(res){
|
if(res){
|
||||||
btnStatus.value.all = true;
|
btnStatus.value.all = true;
|
||||||
}
|
}
|
||||||
|
@ -848,9 +848,9 @@ function refreshLogsFn(jxlName?){
|
||||||
}
|
}
|
||||||
refreshLogs({ jxlName }).then(res => {
|
refreshLogs({ jxlName }).then(res => {
|
||||||
let list = (res?.records) ?? (res) ?? [];
|
let list = (res?.records) ?? (res) ?? [];
|
||||||
console.log(`🚀 ----------------------------------------------------------🚀`);
|
// console.log(`🚀 ----------------------------------------------------------🚀`);
|
||||||
console.log(`🚀 ~ file: index.vue:539 ~ refreshLogsFn ~ list:`, list);
|
// console.log(`🚀 ~ file: index.vue:539 ~ refreshLogsFn ~ list:`, list);
|
||||||
console.log(`🚀 ----------------------------------------------------------🚀`);
|
// console.log(`🚀 ----------------------------------------------------------🚀`);
|
||||||
statusLogList.value = list;
|
statusLogList.value = list;
|
||||||
getJianceBtnStatus();
|
getJianceBtnStatus();
|
||||||
})
|
})
|
||||||
|
@ -863,9 +863,9 @@ function refreshLogsFn(jxlName?){
|
||||||
function changeSdjc(record?){
|
function changeSdjc(record?){
|
||||||
sdjc({ id:record.jsbh }).then(res => {
|
sdjc({ id:record.jsbh }).then(res => {
|
||||||
let list = (res?.records) ?? (res) ?? [];
|
let list = (res?.records) ?? (res) ?? [];
|
||||||
console.log(`🚀 ----------------------------------------------------------🚀`);
|
// console.log(`🚀 ----------------------------------------------------------🚀`);
|
||||||
console.log(`🚀 ~ file: index.vue:539 ~ refreshLogsFn ~ list:`, list);
|
// console.log(`🚀 ~ file: index.vue:539 ~ refreshLogsFn ~ list:`, list);
|
||||||
console.log(`🚀 ----------------------------------------------------------🚀`);
|
// console.log(`🚀 ----------------------------------------------------------🚀`);
|
||||||
statusLogList.value = list;
|
statusLogList.value = list;
|
||||||
getJianceBtnStatus();
|
getJianceBtnStatus();
|
||||||
})
|
})
|
||||||
|
@ -875,9 +875,9 @@ function changeSdjc(record?){
|
||||||
function getRefreshLogListFn(){
|
function getRefreshLogListFn(){
|
||||||
getRefreshLogList({ pageSize: -1 }).then(res => {
|
getRefreshLogList({ pageSize: -1 }).then(res => {
|
||||||
let list = (res?.records) ?? [];
|
let list = (res?.records) ?? [];
|
||||||
console.log(`🚀 ----------------------------------------------------------🚀`);
|
// console.log(`🚀 ----------------------------------------------------------🚀`);
|
||||||
console.log(`🚀 ~ file: index.vue:539 ~ getRefreshLogList ~ list:`, list);
|
// console.log(`🚀 ~ file: index.vue:539 ~ getRefreshLogList ~ list:`, list);
|
||||||
console.log(`🚀 ----------------------------------------------------------🚀`);
|
// console.log(`🚀 ----------------------------------------------------------🚀`);
|
||||||
statusLogList.value = list;
|
statusLogList.value = list;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1048,6 +1048,9 @@ function ylLiveNew(record) {
|
||||||
function changeKftk(record,tjKftkzt){
|
function changeKftk(record,tjKftkzt){
|
||||||
// record.tjKftkzt = tjKftkzt;
|
// record.tjKftkzt = tjKftkzt;
|
||||||
updateTkzt({id:record.id,tjKftkzt}).then(res => {
|
updateTkzt({id:record.id,tjKftkzt}).then(res => {
|
||||||
|
|
||||||
|
queryParam.value.jxlName = null;
|
||||||
|
console.log(`🚀 ~ updateTkzt ~ queryParam:`, queryParam)
|
||||||
loadData();
|
loadData();
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
@ -1114,6 +1117,7 @@ function changeKt(record, isEnable){
|
||||||
});
|
});
|
||||||
if(!ids) return;
|
if(!ids) return;
|
||||||
updateAllLive({ ids: ids.join(','), sfyx: isEnable?0:1}).then(res => {
|
updateAllLive({ ids: ids.join(','), sfyx: isEnable?0:1}).then(res => {
|
||||||
|
queryParam.value.jxlName = null;
|
||||||
loadData();
|
loadData();
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|
Loading…
Reference in New Issue