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

no message

上级 03efd269
......@@ -67,14 +67,14 @@
</el-select>
<el-button plain class="ml20" @click="goSelectCartoon" v-if="!timeForm.hasSelected">选择健康漫画</el-button>
<div class="selected-div ml20" v-if="timeForm.hasSelected">
<span>{{comentMsg.header_name}}</span>
<span>{{timeForm.comentMsg.header_name}}</span>
<el-button type="text" @click="goSelectCartoon">重选</el-button>
<el-button type="text" @click="deleteClick">删除</el-button>
</div>
</div>
</el-form-item>
<div class="tips-contnt" v-if="timeForm.hasSelected">
<p class="yellow-font">当前计划中共{{totalNumber}}位居民(微信:{{wechatPatientNum}}位,短信:{{messagePatientNum}}位),本次定时推送任务在发送当日预计需要{{messagePatientNum}}条短信额度(微信推送不消耗额度,建议您让居民关注云鹊健康微信公众号),务必提前确保短信额度的充足。</p>
<p class="yellow-font">当前计划中共{{timeForm.totalNumber}}位居民(微信:{{timeForm.wechatPatientNum}}位,短信:{{timeForm.messagePatientNum}}位),本次定时推送任务在发送当日预计需要{{timeForm.messagePatientNum}}条短信额度(微信推送不消耗额度,建议您让居民关注云鹊健康微信公众号),务必提前确保短信额度的充足。</p>
<p>需要更多额度,请前往「云鹊医App-个人中心-啾啾币中心」兑换短信额度后再进行预约,您也可以联系云鹊医客服购买短信额度,客服电话:400-920-8877</p>
</div>
<el-form-item label="随访登记表">
......@@ -113,7 +113,7 @@
callback();
}
return {
comentMsg: {},//选择的漫画信息
// comentMsg: {},//选择的漫画信息
isSelectCartoon: false,
followResourceId: '',
pushDay: '',
......@@ -123,15 +123,13 @@
timeUnit: [{ required: true, message: '请添加随访时间', trigger: 'change' }],
type: [{ required: true, message: '请选择随访方式', trigger: 'change' }],
},
totalNumber: 0,
wechatPatientNum: 0,
messagePatientNum: 0
// totalNumber: 0,
// wechatPatientNum: 0,
// messagePatientNum: 0
}
},
props: {
timeForm: {
type: Object,
},
timeForm: Object,
valBegin: Boolean,
markOptions:Array,
followTypeList:Array,
......@@ -150,8 +148,8 @@
}
},
methods: {
changeRemindDay(){
changeRemindDay(val){
console.log(val)
},
getNowTime() {
const date = new Date();
......@@ -175,14 +173,14 @@
this.timeForm.hasSelected = '';
},
pushConmentMsg(val){
this.comentMsg = val
console.log(this.patientIdList)
// this.comentMsg = val
this.timeForm.comentMsg = val
getPatientNumber({
patientIdList: this.patientIdList
}).then(res=>{
this.wechatPatientNum = res.data.wechatPatientNum
this.messagePatientNum = res.data.messagePatientNum
this.totalNumber = this.wechatPatientNum + this.messagePatientNum
this.timeForm.wechatPatientNum = res.data.wechatPatientNum
this.timeForm.messagePatientNum = res.data.messagePatientNum
this.timeForm.totalNumber = this.timeForm.wechatPatientNum + this.timeForm.messagePatientNum
})
}
},
......
......@@ -75,8 +75,11 @@
isDisabled: false,
remindDay: '',
pushDay: '',
followResourceId: ''
followResourceId: '',
comentMsg: {},
totalNumber: 0,
wechatPatientNum: 0,
messagePatientNum: 0
};
export default {
......
......@@ -181,6 +181,7 @@
this.isShowSelectPatient = getArguments[0];
const selectPatients = getArguments[1]; // 每次选中获取的人
this.hasSelectedList = selectPatients;
this.baseInfo.patientIdList = [];
selectPatients.forEach((item)=>{
this.baseInfo.patientIdList.push(item.patientId); // 页面中数据存储所有选择的人,没有去重
})
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册