提交 eaddb583 编写于 作者: yi.li's avatar yi.li

Merge branch 'dev-followUp-20190312' of...

Merge branch 'dev-followUp-20190312' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into dev-followUp-20190312
...@@ -37,11 +37,10 @@ ...@@ -37,11 +37,10 @@
</el-select> </el-select>
</div> </div>
<div class="scroll-section"> <div class="scroll-section">
<el-radio-group v-model="sendObj.hasSelected" size="small"> <el-radio-group v-model="sendObj" size="small">
<el-radio <el-radio
v-for="(item, index) in cartoonList" v-for="(item, index) in cartoonList"
:key="index" :key="index"
@change="changeComent(item)"
:label="item" class="radio-item">{{item.header_name}}</el-radio> :label="item" class="radio-item">{{item.header_name}}</el-radio>
</el-radio-group> </el-radio-group>
</div> </div>
...@@ -60,10 +59,7 @@ ...@@ -60,10 +59,7 @@
components: {}, components: {},
data() { data() {
return { return {
sendObj: { sendObj: {},
hasSelected: '',
closeStatus: false,
},
saasDisease: '', // 高血压标识 saasDisease: '', // 高血压标识
showSecond: false,//是否显示分类 showSecond: false,//是否显示分类
showCartoonDialog: true, showCartoonDialog: true,
...@@ -158,15 +154,11 @@ ...@@ -158,15 +154,11 @@
return array[id] return array[id]
}, },
clickClose() { clickClose() {
this.$emit('closeSelectCartoon', this.sendObj) this.$emit('closeSelectCartoon')
}, },
sureSelect() { sureSelect() {
console.log(this.sendObj) this.$emit('confirmSelectComent', this.sendObj);
this.$emit('closeSelectCartoon', this.sendObj);
}, },
changeComent(item){
this.$emit('pushConmentMsg',item)
}
}, },
} }
</script> </script>
......
...@@ -133,6 +133,7 @@ ...@@ -133,6 +133,7 @@
curmbThird: '新建随访计划', curmbThird: '新建随访计划',
jumPathThird: '/followUp/plan-manage', jumPathThird: '/followUp/plan-manage',
activeTab: 'first', activeTab: 'first',
resourceId: '',//当前选择的随访模板id
noName: false, noName: false,
noResourceId: false, noResourceId: false,
noTime: false, noTime: false,
...@@ -275,6 +276,7 @@ ...@@ -275,6 +276,7 @@
} }
if (valid) { if (valid) {
console.log('当前选择的随访模板id为',this.baseInfo.resourceId) console.log('当前选择的随访模板id为',this.baseInfo.resourceId)
this.resourceId = this.baseInfo.resourceId
if(this.baseInfo.resourceId){ if(this.baseInfo.resourceId){
this.isStandedTemplate = true this.isStandedTemplate = true
getFollowupTableTemplate(this.baseInfo.resourceId).then(res=>{ getFollowupTableTemplate(this.baseInfo.resourceId).then(res=>{
...@@ -283,6 +285,7 @@ ...@@ -283,6 +285,7 @@
}) })
}else{ }else{
this.isStandedTemplate = false this.isStandedTemplate = false
this.standedTimeNodeList = [];
this.activeTab = 'second'; this.activeTab = 'second';
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册