|
@@ -170,6 +170,8 @@ export default {
|
|
|
...mapState({
|
|
|
tabType: state => state.tabType,
|
|
|
config: state => state.sysConfig,
|
|
|
+ pathInfo: state => state.pathInfo,
|
|
|
+ addBuriedSomeList:state=>state.addBuriedSomeList
|
|
|
})
|
|
|
},
|
|
|
created(){
|
|
@@ -309,6 +311,7 @@ export default {
|
|
|
// "type": 0//病历分类(1:门诊,2:住院)
|
|
|
}
|
|
|
// console.log(params)
|
|
|
+ this.saveBuriedSome()//埋点
|
|
|
api.saveInquiry(params).then((res) => {
|
|
|
if (res.data.code == 0) {
|
|
|
this.$store.commit('handleToggleShow', false);
|
|
@@ -318,7 +321,20 @@ export default {
|
|
|
this.defaultWaring(res)
|
|
|
}
|
|
|
}).catch((err)=>{
|
|
|
- this.defaultWaring(err)
|
|
|
+ this.defaultWaring(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ saveBuriedSome(){
|
|
|
+ let params = {
|
|
|
+ "doctorId": this.pathInfo.doctorId||'',
|
|
|
+ "hospitalDeptId": this.pathInfo.hospitalDeptId||'',
|
|
|
+ "hospitalId": this.pathInfo.hospitalDeptId||'',
|
|
|
+ "inquiryCode": this.pathInfo.hospitalDeptId||'',
|
|
|
+ "patientId": this.pathInfo.hospitalDeptId||'',
|
|
|
+ "taggeds": this.addBuriedSomeList||[]
|
|
|
+ }
|
|
|
+ api.saveBuriedSome(params).then((res)=>{
|
|
|
+ console.log('埋点')
|
|
|
})
|
|
|
},
|
|
|
defaultWaring(res){
|