|
@@ -543,16 +543,20 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 双击事件
|
|
|
- rowDblclick(current){
|
|
|
- console.log(current)
|
|
|
- this.openRl = 1
|
|
|
- this.currentDbEdit = current
|
|
|
- this.title = this.currentDbEdit.sampleName + '-' + this.currentDbEdit.testItems + '-' + this.currentDbEdit.pm
|
|
|
- // 根据开始时间结束时间计算持续时间
|
|
|
- this.currentDbEdit.lastTime = (new Date(this.currentDbEdit.end_date).getTime() - new Date(this.currentDbEdit.start_date).getTime()) / (1000 * 60 * 60 * 24)+1
|
|
|
- // this.currentIndex = this.taskLists.findIndex(res=>res.id === current.id)
|
|
|
- // this.currentDbEdit = this.taskLists[this.currentIndex]
|
|
|
- this.dialogVisible = true
|
|
|
+ rowDblclick(current, column){
|
|
|
+ console.log(current, column)
|
|
|
+ if (column.label == '委托编号') {
|
|
|
+ return
|
|
|
+ } else {
|
|
|
+ this.openRl = 1
|
|
|
+ this.currentDbEdit = current
|
|
|
+ this.title = this.currentDbEdit.sampleName + '-' + this.currentDbEdit.testItems + '-' + this.currentDbEdit.pm
|
|
|
+ // 根据开始时间结束时间计算持续时间
|
|
|
+ this.currentDbEdit.lastTime = (new Date(this.currentDbEdit.end_date).getTime() - new Date(this.currentDbEdit.start_date).getTime()) / (1000 * 60 * 60 * 24)+1
|
|
|
+ // this.currentIndex = this.taskLists.findIndex(res=>res.id === current.id)
|
|
|
+ // this.currentDbEdit = this.taskLists[this.currentIndex]
|
|
|
+ this.dialogVisible = true
|
|
|
+ }
|
|
|
},
|
|
|
// 监听开始时间得到结束时间
|
|
|
dataChange(value){
|