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

no message

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