提交 d8fbdba7 编写于 作者: tao.wu's avatar tao.wu

no message

上级 4437f900
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
templateOptions: [ // 获取随访计划模板 templateOptions: [ // 获取随访计划模板
{ {
id: 0, id: 0,
name: '目前请选择自定义模板作为测试' name: '自定义模板'
} }
], ],
followStartTimeList: [], //随访时间 followStartTimeList: [], //随访时间
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
state.templateOptions = [ state.templateOptions = [
{ {
id: 0, id: 0,
name: '目前请选择自定义模板作为测试' name: '自定义模板'
} }
] ]
state.templateOptions = state.templateOptions.concat(payload) state.templateOptions = state.templateOptions.concat(payload)
......
...@@ -608,6 +608,12 @@ ...@@ -608,6 +608,12 @@
return flag return flag
}, },
goSelectCartoon() { goSelectCartoon() {
const activeTabId = this.setTimeNodeList[this.activeTab].comentMsg.id;
if(activeTabId){
this.activeComentId = String(activeTabId);
}else{
this.activeComentId = '';
}
this.isSelectCartoon = true; this.isSelectCartoon = true;
}, },
//关闭漫画 //关闭漫画
...@@ -617,11 +623,11 @@ ...@@ -617,11 +623,11 @@
// 确认选择漫画 // 确认选择漫画
confirmSelectComent(val){ confirmSelectComent(val){
this.isSelectCartoon = false; this.isSelectCartoon = false;
console.log('当前的漫画选择组件的信息',val) // console.log('当前的漫画选择组件的信息',val)
console.log('当前的tab是',this.activeTab) // console.log('当前的tab是',this.activeTab)
console.log('当前是否固定模板',this.isStandedTemplate) // console.log('当前是否固定模板',this.isStandedTemplate)
console.log('当前的时间list',this.setTimeNodeList) // console.log('当前的时间list',this.setTimeNodeList)
this.activeComentId = String(val.id);
this.setTimeNodeList[this.activeTab].hasSelected = true; this.setTimeNodeList[this.activeTab].hasSelected = true;
this.setTimeNodeList[this.activeTab].comentMsg = val; this.setTimeNodeList[this.activeTab].comentMsg = val;
const comdata = this.setTimeNodeList[this.activeTab]; const comdata = this.setTimeNodeList[this.activeTab];
...@@ -712,7 +718,7 @@ ...@@ -712,7 +718,7 @@
// }else{ // }else{
// //
// } // }
console.log(item) // console.log(item)
if(item.timeNo>=0 && item.timeNo!==''){ if(item.timeNo>=0 && item.timeNo!==''){
str = '开始后' + String(item.timeNo) + this.timeUnitStr str = '开始后' + String(item.timeNo) + this.timeUnitStr
}else{ }else{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册