|
@@ -32,7 +32,7 @@
|
32
|
32
|
</el-table-column>
|
33
|
33
|
<el-table-column prop="date" label="时间" width="">
|
34
|
34
|
<template slot-scope="scope">
|
35
|
|
- {{ getTime(scope.row.record_time) }}
|
|
35
|
+ {{ getTimeThree(scope.row.record_time) }}
|
36
|
36
|
</template>
|
37
|
37
|
</el-table-column>
|
38
|
38
|
<el-table-column prop="doctor" label="医生">
|
|
@@ -65,7 +65,8 @@
|
65
|
65
|
记录时间:
|
66
|
66
|
<el-date-picker v-model="record_date" prefix-icon="el-icon-date" :editable="false"
|
67
|
67
|
style="width: 250px;"
|
68
|
|
- type="datetime" placeholder="选择日期时间" align="right" ></el-date-picker>
|
|
68
|
+ type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm:ss"
|
|
69
|
+ ></el-date-picker>
|
69
|
70
|
</div>
|
70
|
71
|
<div style="flex: 1;">
|
71
|
72
|
病程医生:
|
|
@@ -1367,7 +1368,7 @@
|
1367
|
1368
|
},
|
1368
|
1369
|
getCurrentChangeOne(val){
|
1369
|
1370
|
this.$refs.editor.contents = val.content
|
1370
|
|
- this.record_date = this.getTime(val.record_time)
|
|
1371
|
+ this.record_date = this.getTimeThree(val.record_time)
|
1371
|
1372
|
this.admin_user_id = val.recorder
|
1372
|
1373
|
if(this.admin_user_id == 0){
|
1373
|
1374
|
this.admin_user_id = ""
|
|
@@ -1473,8 +1474,8 @@
|
1473
|
1474
|
showSave(){
|
1474
|
1475
|
this.add_index = 0
|
1475
|
1476
|
this.disabled = true
|
1476
|
|
- console.log("haaaaaaaaaaaaaaa",this.$refs)
|
1477
|
|
-
|
|
1477
|
+ console.log("haaaaaaaaaaaaaaa",this.record_date)
|
|
1478
|
+ this.getlist()
|
1478
|
1479
|
if(this.record_date.length == 0) {
|
1479
|
1480
|
this.$message.error('请选择时间')
|
1480
|
1481
|
return
|
|
@@ -1492,11 +1493,11 @@
|
1492
|
1493
|
var params = {
|
1493
|
1494
|
id:this.id,
|
1494
|
1495
|
patient_id:this.patient_id,
|
1495
|
|
- record_date:this.record_date,
|
|
1496
|
+ record_date:this.getTimeThree(this.record_date),
|
1496
|
1497
|
content:this.new_content,
|
1497
|
1498
|
admin_user_id:this.admin_user_id,
|
1498
|
1499
|
}
|
1499
|
|
- console.log("params",params.content)
|
|
1500
|
+ console.log("params",params)
|
1500
|
1501
|
createNewCourseOfDiseaseRecord(params).then(response => {
|
1501
|
1502
|
if(response.data.state == 1){
|
1502
|
1503
|
var msg = response.data.data.msg
|
|
@@ -1507,6 +1508,7 @@
|
1507
|
1508
|
}).catch(error => {
|
1508
|
1509
|
|
1509
|
1510
|
})
|
|
1511
|
+
|
1510
|
1512
|
},
|
1511
|
1513
|
template_click(){
|
1512
|
1514
|
console.log('this.add_index',this.add_index);
|