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

no message

上级 d27f1f15
...@@ -91,6 +91,12 @@ ...@@ -91,6 +91,12 @@
getBasicData({ getBasicData({
numList: 'P036,P004' numList: 'P036,P004'
}).then(res=>{ }).then(res=>{
this.diseaseOptions = [ //疾病列表
{
no: '',
value: '全部'
}
];
this.diseaseOptions = this.diseaseOptions.concat(res.data.P004) this.diseaseOptions = this.diseaseOptions.concat(res.data.P004)
this.typeList = this.typeList.concat(res.data.P036) this.typeList = this.typeList.concat(res.data.P036)
this.patientTypeModels = [...res.data.P004,...res.data.P036] this.patientTypeModels = [...res.data.P004,...res.data.P036]
......
...@@ -661,10 +661,21 @@ ...@@ -661,10 +661,21 @@
}, },
// 选择推送患教提前天数 // 选择推送患教提前天数
changePushDay(val){ changePushDay(val){
let obj = { const comentMsg = this.setTimeNodeList[this.activeTab].comentMsg;
startDays: val, const activeTabId = (comentMsg && comentMsg.id) ? comentMsg.id : '';
resourceId: this.setTimeNodeList[this.activeTab].comentMsg.id, let obj
sendContent: this.setTimeNodeList[this.activeTab].comentMsg.header_name if(comentMsg && activeTabId){
obj = {
startDays: val,
resourceId: this.setTimeNodeList[this.activeTab].comentMsg.id,
sendContent: this.setTimeNodeList[this.activeTab].comentMsg.header_name
}
}else{
obj = {
startDays: val,
resourceId: null,
sendContent: ''
}
} }
this.setTimeNodeList[this.activeTab].pushContentList[0] = obj this.setTimeNodeList[this.activeTab].pushContentList[0] = obj
this.$forceUpdate(); this.$forceUpdate();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册