|
@@ -71,7 +71,7 @@
|
71
|
71
|
>
|
72
|
72
|
</el-button>
|
73
|
73
|
</el-tooltip>
|
74
|
|
- <!-- <el-tooltip class="item" effect="dark" content="删除" placement="top">
|
|
74
|
+ <el-tooltip class="item" effect="dark" content="删除" placement="top">
|
75
|
75
|
<el-button
|
76
|
76
|
size="small"
|
77
|
77
|
type="danger"
|
|
@@ -79,7 +79,7 @@
|
79
|
79
|
@click="handleDeleteAdviceTemplate(scope.row.id, scope.$index)"
|
80
|
80
|
>
|
81
|
81
|
</el-button>
|
82
|
|
- </el-tooltip> -->
|
|
82
|
+ </el-tooltip>
|
83
|
83
|
</template>
|
84
|
84
|
</el-table-column>
|
85
|
85
|
</el-table>
|
|
@@ -894,13 +894,27 @@
|
894
|
894
|
})
|
895
|
895
|
},
|
896
|
896
|
handleDeleteAdviceTemplate(id,index){
|
897
|
|
- deletePatientLapsoRrecord(id).then(response=>{
|
898
|
|
- if(response.data.state==1){
|
899
|
|
- var msg = response.data.data.msg
|
|
897
|
+
|
|
898
|
+ this.$confirm('确认删除吗?', '删除', {
|
|
899
|
+ confirmButtonText: '确 定',
|
|
900
|
+ cancelButtonText: '取 消',
|
|
901
|
+ type: 'warning'
|
|
902
|
+ }).then(() => {
|
|
903
|
+ deletePatientLapsoRrecord(id).then(response => {
|
|
904
|
+ if (response.data.state == 1) {
|
|
905
|
+ var msg = response.data.data.msg
|
900
|
906
|
this.$message.success("保存成功")
|
901
|
907
|
this.tableData.splice(index,1)
|
902
|
|
- }
|
903
|
|
- })
|
|
908
|
+ }
|
|
909
|
+ })
|
|
910
|
+ })
|
|
911
|
+ // deletePatientLapsoRrecord(id).then(response=>{
|
|
912
|
+ // if(response.data.state==1){
|
|
913
|
+ // var msg = response.data.data.msg
|
|
914
|
+ // this.$message.success("保存成功")
|
|
915
|
+ // this.tableData.splice(index,1)
|
|
916
|
+ // }
|
|
917
|
+ // })
|
904
|
918
|
}
|
905
|
919
|
|
906
|
920
|
|