|
@@ -405,21 +405,25 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
watch: {
|
|
|
- MED_REC_ID(newVal) {
|
|
|
- if (newVal) {
|
|
|
- this.MEDRECID = newVal;
|
|
|
- console.log('MED_REC_ID 已更新:', newVal);
|
|
|
- this.qualityBazb(newVal);
|
|
|
- this.getData(newVal);
|
|
|
- this.getMessageNum(newVal);
|
|
|
- }
|
|
|
- },
|
|
|
+ // MED_REC_ID(newVal) {
|
|
|
+ // if (newVal) {
|
|
|
+ // this.MEDRECID = newVal;
|
|
|
+ // console.log('MED_REC_ID 已更新:', newVal);
|
|
|
+ // this.qualityBazb(newVal);
|
|
|
+ // this.getData(newVal);
|
|
|
+ // this.getMessageNum(newVal);
|
|
|
+ // }
|
|
|
+ // },
|
|
|
},
|
|
|
created() {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getTableData();
|
|
|
- this.controlData.ZYH = this.$route.query.ZYH;
|
|
|
+ const { ZYH } = this.$route.query
|
|
|
+ this.MEDRECID = ZYH;
|
|
|
+ this.qualityBazb(ZYH);
|
|
|
+ this.getData(ZYH);
|
|
|
+ this.getMessageNum(ZYH);
|
|
|
},
|
|
|
methods: {
|
|
|
getMessageNum(newVal){
|