|
|
@@ -62,7 +62,7 @@
|
|
|
</mt-field>
|
|
|
</div> -->
|
|
|
<div class="footer">
|
|
|
- <div class="jbbtn" @click="$router.go(-1)">返回</div>
|
|
|
+ <div class="jbbtn" @click="goBackRegpatinfo">返回</div>
|
|
|
<div class="jbbtn" @click="submit">确定</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -195,6 +195,16 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ goBackRegpatinfo(){
|
|
|
+ if(this.$route.query && this.$route.query.patid){
|
|
|
+ this.$router.push({
|
|
|
+ path:"regpatinfo",
|
|
|
+ query:{
|
|
|
+ patid:this.$route.query.patid
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
goback() {
|
|
|
if (this.$route.query && this.$route.query.edit && this.$route.query.back) {
|
|
|
this.$router.push({
|