1;日报模板编辑

This commit is contained in:
wangshuai 2024-07-27 09:01:15 +08:00
parent b981b72801
commit 9920db40ad
2 changed files with 52 additions and 40 deletions

View File

@ -20,41 +20,41 @@ public class RyTask {
@Autowired
private IBusFifteenInfoService iBusFifteenInfoService;
/**
* 获取订单并解析号码 5分钟
*/
public void getOrders() {
iMeituanService.orderInfoList();
}
/**
* 发送AI 1分钟
*
* @throws Exception
*/
public void sendToAi() throws Exception {
aiService.sendToAi();
}
/**
* 获取AI结果 5分钟
*/
public void getAiResult() {
aiService.queryAiTask();
}
/**
* 统计昨日营销数 每天8点执行一次
*/
public void getReturnInfo() {
iMeituanService.getReturnInfo(null);
}
/**
* 清理表 15天前数据
*/
public void deleteBusFifteenInfo() {
iBusFifteenInfoService.deleteBusFifteenInfo();
}
// /**
// * 获取订单并解析号码 5分钟
// */
// public void getOrders() {
// iMeituanService.orderInfoList();
// }
//
// /**
// * 发送AI 1分钟
// *
// * @throws Exception
// */
// public void sendToAi() throws Exception {
// aiService.sendToAi();
// }
//
// /**
// * 获取AI结果 5分钟
// */
// public void getAiResult() {
// aiService.queryAiTask();
// }
//
// /**
// * 统计昨日营销数 每天8点执行一次
// */
// public void getReturnInfo() {
// iMeituanService.getReturnInfo(null);
//
// }
//
// /**
// * 清理表 15天前数据
// */
// public void deleteBusFifteenInfo() {
// iBusFifteenInfoService.deleteBusFifteenInfo();
// }
}

View File

@ -325,7 +325,11 @@ export default {
url: response.data.codeUrl
})
}
this.attrList = response.data.attrInfoList;
// this.attrList = response.data.attrInfoList;
response.data.attrInfoList.forEach((item, index) => {
//this.items[index] = Object.assign({}, item, { attrId: item.attrId, });
this.attrList.push({attrId: item.attrId,attrValue: item.attrValue,attrName:item.attrName});
});
this.open = true;
this.title = "修改模版";
});
@ -394,11 +398,19 @@ export default {
},
listTemplateAttr(){
listTemplateAttr({}).then(response => {
this.attrConfigList = response.data
response.data.forEach((item, index) => {
//this.items[index] = Object.assign({}, item, { attrId: item.attrId, });
this.attrConfigList.push({attrId: item.attrId,attrValue: item.attrValue,attrName:item.attrName});
});
// for(response.data.){
// const item = {attrId:};
// this.attrConfigList.push({});
// }
// this.attrConfigList = response.data
});
},
isElementPresent(item) {
return this.attrList.indexOf(item);
return this.attrList.findIndex(listItem => listItem.attrId === item.attrId);;
}
}
};