|
@@ -600,7 +600,7 @@ export default {
|
600
|
600
|
visible: false,
|
601
|
601
|
edit: false,
|
602
|
602
|
current_row_class: "current-box-class",
|
603
|
|
-
|
|
603
|
+ creator:0,
|
604
|
604
|
patient_id: 0,
|
605
|
605
|
schedule_date: 0,
|
606
|
606
|
template_id: 0,
|
|
@@ -773,6 +773,10 @@ export default {
|
773
|
773
|
this.$message.error("请选择一条监测记录");
|
774
|
774
|
return;
|
775
|
775
|
}
|
|
776
|
+ this.creator = this.table_current_row.creator
|
|
777
|
+ console.log( this.table_current_row)
|
|
778
|
+ console.log( this.table_current_row.creator)
|
|
779
|
+ console.log(this.creator)
|
776
|
780
|
this.setEditMonitor(this.table_current_row);
|
777
|
781
|
this.$refs.table.setCurrentRow(null);
|
778
|
782
|
this.edit = true;
|
|
@@ -785,6 +789,7 @@ export default {
|
785
|
789
|
},
|
786
|
790
|
tableCurrentRowChange: function(currentRow) {
|
787
|
791
|
this.table_current_row = currentRow;
|
|
792
|
+
|
788
|
793
|
// console.log("tableCurrentRowChange", currentRow)
|
789
|
794
|
},
|
790
|
795
|
setEditMonitor: function(monitor) {
|
|
@@ -965,7 +970,7 @@ export default {
|
965
|
970
|
let mode = "1"
|
966
|
971
|
if(this.form.id > 0){
|
967
|
972
|
mode = "2"
|
968
|
|
- if(this.form.monitoring_nurse > 0 && this.form.monitoring_nurse != this.$store.getters.xt_user.user.id){
|
|
973
|
+ if(this.creator > 0 && this.creator!= this.$store.getters.xt_user.user.id){
|
969
|
974
|
mode = "3"
|
970
|
975
|
}
|
971
|
976
|
}
|