|
@@ -48,6 +48,13 @@
|
|
|
<el-popover trigger="hover" width="600" placement="center">
|
|
<el-popover trigger="hover" width="600" placement="center">
|
|
|
<div>
|
|
<div>
|
|
|
<el-row v-show="showtsyedanguan">
|
|
<el-row v-show="showtsyedanguan">
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#EAEAEA"></i>无冻存盒
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#13CE66"></i>空冻存盒
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#FF4949"></i>选中
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#D1EEEE"></i>容量(0-25%)
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#20A0FF"></i>容量(25%-50%)
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#836FFF"></i>容量(50%-75%)
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#000080"></i>容量(75%-100%)
|
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="18">
|
|
<el-col :span="18">
|
|
|
<canvas id="canvascryobiobank97K" width="450" height="450"></canvas>
|
|
<canvas id="canvascryobiobank97K" width="450" height="450"></canvas>
|
|
@@ -77,6 +84,13 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row v-show="showcgshebei">
|
|
<el-row v-show="showcgshebei">
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#EAEAEA"></i>无冻存盒
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#13CE66"></i>空冻存盒
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#FF4949"></i>选中
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#D1EEEE"></i>容量(0-25%)
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#20A0FF"></i>容量(25%-50%)
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#836FFF"></i>容量(50%-75%)
|
|
|
|
|
+ <i class="icon icon-stop2" style="color:#000080"></i>容量(75%-100%)
|
|
|
<table cellspacing="0" cellpadding="0">
|
|
<table cellspacing="0" cellpadding="0">
|
|
|
<thead>
|
|
<thead>
|
|
|
<th></th>
|
|
<th></th>
|
|
@@ -129,15 +143,6 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-popover>
|
|
</el-popover>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="20">
|
|
|
|
|
- <i class="icon icon-stop2" style="color:#EAEAEA"></i>无冻存盒
|
|
|
|
|
- <i class="icon icon-stop2" style="color:#13CE66"></i>空冻存盒
|
|
|
|
|
- <i class="icon icon-stop2" style="color:#FF4949"></i>选中
|
|
|
|
|
- <i class="icon icon-stop2" style="color:#D1EEEE"></i>容量(0-25%)
|
|
|
|
|
- <i class="icon icon-stop2" style="color:#20A0FF"></i>容量(25%-50%)
|
|
|
|
|
- <i class="icon icon-stop2" style="color:#836FFF"></i>容量(50%-75%)
|
|
|
|
|
- <i class="icon icon-stop2" style="color:#000080"></i>容量(75%-100%)
|
|
|
|
|
- </el-col>
|
|
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</div>
|
|
</div>
|
|
|
<!--冰箱-->
|
|
<!--冰箱-->
|
|
@@ -209,22 +214,20 @@
|
|
|
<el-aside width="100px">
|
|
<el-aside width="100px">
|
|
|
<img :src="imgSrc" class="sampleTypeimg">
|
|
<img :src="imgSrc" class="sampleTypeimg">
|
|
|
</el-aside>
|
|
</el-aside>
|
|
|
- <el-main style="margin-left:45px;">
|
|
|
|
|
- <el-row :gutter="10">
|
|
|
|
|
- <el-col :span="24" style="padding: 8px 5px 0 0;">
|
|
|
|
|
- <label>样本类型 : {{ sampleForm.SampleTypeName }} </label>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="24" style="padding: 8px 5px 0 0;">
|
|
|
|
|
- <label>样本条码 : {{ sampleForm.BarCode }}</label>
|
|
|
|
|
|
|
+ <el-main style="margin-left:45px; margin-top: -15px">
|
|
|
|
|
+ <h1>样本类型 : {{ sampleForm.SampleTypeName }}</h1>
|
|
|
|
|
+ <el-row style="margin-top:-10px">
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <h3>样本条码 : {{ sampleForm.BarCode }}</h3>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="24" style="padding: 8px 5px 0 0;">
|
|
|
|
|
- <label>位置编码 : {{ checkPosition }}</label>
|
|
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <h3>位置编码 : {{ checkPosition }} </h3>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-main>
|
|
</el-main>
|
|
|
</el-container>
|
|
</el-container>
|
|
|
<div class="sampleInfo">
|
|
<div class="sampleInfo">
|
|
|
- <el-row style="margin-left:25px;margin-top:25px">
|
|
|
|
|
|
|
+ <el-row style="margin-left:25px;margin-top:10px">
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<label>名称 : {{ sampleForm.Name }} </label>
|
|
<label>名称 : {{ sampleForm.Name }} </label>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -633,7 +636,7 @@
|
|
|
}
|
|
}
|
|
|
return {
|
|
return {
|
|
|
filehost: '',
|
|
filehost: '',
|
|
|
- imgSrc: '/img/empty.png',
|
|
|
|
|
|
|
+ imgSrc: '/img/empty.jpg',
|
|
|
fridgebottomimg: '',
|
|
fridgebottomimg: '',
|
|
|
equipName: '',
|
|
equipName: '',
|
|
|
equipCode: '', // 容器编码
|
|
equipCode: '', // 容器编码
|
|
@@ -645,13 +648,11 @@
|
|
|
disabledbarcode: false,
|
|
disabledbarcode: false,
|
|
|
disabledsamplecode: false,
|
|
disabledsamplecode: false,
|
|
|
disabledsampletype: false,
|
|
disabledsampletype: false,
|
|
|
- //disabledsamplingorgan: false,
|
|
|
|
|
disabledvaliditydate: false,
|
|
disabledvaliditydate: false,
|
|
|
disabledsourcebutton: false,
|
|
disabledsourcebutton: false,
|
|
|
disabledcheckprint: false,
|
|
disabledcheckprint: false,
|
|
|
diaabledreceiveDate: false,
|
|
diaabledreceiveDate: false,
|
|
|
diaabledyongjiu: false,
|
|
diaabledyongjiu: false,
|
|
|
- // disabledsamplingsite: false,
|
|
|
|
|
disabledcapacity: false,
|
|
disabledcapacity: false,
|
|
|
disabledunit: false,
|
|
disabledunit: false,
|
|
|
disabledbtnpreopera: false,
|
|
disabledbtnpreopera: false,
|
|
@@ -798,7 +799,6 @@
|
|
|
numtoengs: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',
|
|
numtoengs: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',
|
|
|
'U', 'V', 'W', 'X', 'Y', 'Z'
|
|
'U', 'V', 'W', 'X', 'Y', 'Z'
|
|
|
],
|
|
],
|
|
|
- // checkshelvemsg: '',
|
|
|
|
|
checkPosition: '',
|
|
checkPosition: '',
|
|
|
samplelist: [], // 新增,新的冰箱list和冻存盒list以及冻存盒样本list
|
|
samplelist: [], // 新增,新的冰箱list和冻存盒list以及冻存盒样本list
|
|
|
selectedBox: [],
|
|
selectedBox: [],
|
|
@@ -818,10 +818,8 @@
|
|
|
dialogtiquVisible: false, // 提取弹框是否显示
|
|
dialogtiquVisible: false, // 提取弹框是否显示
|
|
|
sampleinfodetail: {}, // 样本信息
|
|
sampleinfodetail: {}, // 样本信息
|
|
|
sampleinfoid: 0, // 所选样本的id
|
|
sampleinfoid: 0, // 所选样本的id
|
|
|
- // sampleinfotype: '', // 所选样本的type
|
|
|
|
|
code_default: false, // 样本编码是否知道生成
|
|
code_default: false, // 样本编码是否知道生成
|
|
|
extendList: [], // 特有扩展
|
|
extendList: [], // 特有扩展
|
|
|
- // publickzlist: [], // 公共扩展
|
|
|
|
|
exportVisible: false, // 导入对话框
|
|
exportVisible: false, // 导入对话框
|
|
|
exportfileparam: {}, // 导入文件参数
|
|
exportfileparam: {}, // 导入文件参数
|
|
|
exportfilepath: '', // 导入文件路径
|
|
exportfilepath: '', // 导入文件路径
|
|
@@ -2579,7 +2577,7 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
handleclk(xbox, ybox, xshelf, yshelf) {
|
|
handleclk(xbox, ybox, xshelf, yshelf) {
|
|
|
// 清空状态
|
|
// 清空状态
|
|
|
this.clearSampleForm()
|
|
this.clearSampleForm()
|
|
@@ -2614,8 +2612,8 @@
|
|
|
},
|
|
},
|
|
|
tableclk(v, x, y) {
|
|
tableclk(v, x, y) {
|
|
|
this.checkPosition =
|
|
this.checkPosition =
|
|
|
- `${this.equipCode}-${this.numtoupchar(this.xshelf)}${this.yshelf}-${this.numtoupchar(this.ybox)}${this.xbox}-${this.numtoupchar(x)}${y}`
|
|
|
|
|
- // 清空状态
|
|
|
|
|
|
|
+ `${this.equipCode}-${this.numtoupchar(this.xshelf)}${this.yshelf}-${this.numtoupchar(this.ybox)}${this.xbox}-${this.numtoupchar(x)}${y}`
|
|
|
|
|
+ //清空状态
|
|
|
this.clearSampleForm()
|
|
this.clearSampleForm()
|
|
|
if (v != null) {
|
|
if (v != null) {
|
|
|
if (v.IState == 1) {
|
|
if (v.IState == 1) {
|
|
@@ -2634,12 +2632,10 @@
|
|
|
_this.disabledsamplecode = true
|
|
_this.disabledsamplecode = true
|
|
|
_this.disabledbarcode = true
|
|
_this.disabledbarcode = true
|
|
|
_this.disabledsampletype = true
|
|
_this.disabledsampletype = true
|
|
|
- // _this.disabledsamplingorgan = true
|
|
|
|
|
_this.disabledsourcebutton = true
|
|
_this.disabledsourcebutton = true
|
|
|
_this.disabledcheckprint = true
|
|
_this.disabledcheckprint = true
|
|
|
_this.diaabledreceiveDate = true
|
|
_this.diaabledreceiveDate = true
|
|
|
_this.diaabledyongjiu = true
|
|
_this.diaabledyongjiu = true
|
|
|
- // _this.disabledsamplingsite = true
|
|
|
|
|
_this.disabledcapacity = true
|
|
_this.disabledcapacity = true
|
|
|
_this.disabledunit = true
|
|
_this.disabledunit = true
|
|
|
_this.disabledvaliditydate = true
|
|
_this.disabledvaliditydate = true
|
|
@@ -2656,14 +2652,6 @@
|
|
|
this.dchytable = x
|
|
this.dchytable = x
|
|
|
this.xtable = x
|
|
this.xtable = x
|
|
|
this.ytable = y
|
|
this.ytable = y
|
|
|
- // if (this.Apply_flag) {
|
|
|
|
|
- // // 跳转
|
|
|
|
|
- // if (!this.fristseach) {
|
|
|
|
|
- // // this.goAnchor('#equiinfocard')
|
|
|
|
|
- // } else {
|
|
|
|
|
- // this.fristseach = false
|
|
|
|
|
- // }
|
|
|
|
|
- // }
|
|
|
|
|
},
|
|
},
|
|
|
// 判断是否有冻存管图片位置,依据现在逻辑先调整
|
|
// 判断是否有冻存管图片位置,依据现在逻辑先调整
|
|
|
IsPosition(stations, x, y) {
|
|
IsPosition(stations, x, y) {
|
|
@@ -2883,7 +2871,6 @@
|
|
|
if (res.data.SampleCode !== '') {
|
|
if (res.data.SampleCode !== '') {
|
|
|
_this.disabledsamplecode = true
|
|
_this.disabledsamplecode = true
|
|
|
_this.disabledsampletype = true
|
|
_this.disabledsampletype = true
|
|
|
- //_this.disabledsamplingorgan = true
|
|
|
|
|
_this.disabledsourcebutton = true
|
|
_this.disabledsourcebutton = true
|
|
|
_this.sampleForm.BarCode = ''
|
|
_this.sampleForm.BarCode = ''
|
|
|
_this.sampleForm.SampleCode = res.data.SampleCode
|
|
_this.sampleForm.SampleCode = res.data.SampleCode
|
|
@@ -2911,7 +2898,6 @@
|
|
|
_this.disabledsamplecode = true
|
|
_this.disabledsamplecode = true
|
|
|
_this.disabledbarcode = true
|
|
_this.disabledbarcode = true
|
|
|
_this.disabledsampletype = true
|
|
_this.disabledsampletype = true
|
|
|
- //_this.disabledsamplingorgan = true
|
|
|
|
|
_this.disabledsourcebutton = true
|
|
_this.disabledsourcebutton = true
|
|
|
_this.disabledcheckprint = true
|
|
_this.disabledcheckprint = true
|
|
|
_this.disabledgroup = true
|
|
_this.disabledgroup = true
|
|
@@ -3139,7 +3125,6 @@
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
.catch(err => {
|
|
.catch(err => {
|
|
|
- // handle error
|
|
|
|
|
console.error(err)
|
|
console.error(err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -3240,21 +3225,6 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- // geteditsampetypedata(v) {
|
|
|
|
|
- // // 获取样本类型数据
|
|
|
|
|
- // let _this = this
|
|
|
|
|
- // _this.$axios.get('/sampletype/sampletypeajax?id=' + v, {})
|
|
|
|
|
- // .then(res => {
|
|
|
|
|
- // _this.sampleForm.Capacity = res.data.SampleType.DefaultCapacity + ''
|
|
|
|
|
- // if (res.data.VHours === '5000-1-1 23:59:59') {
|
|
|
|
|
- // _this.sampleForm.Isyongjiu = true
|
|
|
|
|
- // } else {
|
|
|
|
|
- // _this.sampleForm.ValidityDate = new Date(res.data.VHours)
|
|
|
|
|
- // _this.sampleForm.Isyongjiu = false
|
|
|
|
|
- // }
|
|
|
|
|
- // })
|
|
|
|
|
- // },
|
|
|
|
|
saveandadd(value) {
|
|
saveandadd(value) {
|
|
|
this.addSampleInfo(value)
|
|
this.addSampleInfo(value)
|
|
|
// 控制坐标
|
|
// 控制坐标
|
|
@@ -3277,19 +3247,17 @@
|
|
|
this.disabledbarcode = false
|
|
this.disabledbarcode = false
|
|
|
this.disabledsamplecode = false
|
|
this.disabledsamplecode = false
|
|
|
this.disabledsampletype = false
|
|
this.disabledsampletype = false
|
|
|
- // this.disabledsamplingorgan = false
|
|
|
|
|
this.disabledvaliditydate = false
|
|
this.disabledvaliditydate = false
|
|
|
this.disabledsourcebutton = false
|
|
this.disabledsourcebutton = false
|
|
|
this.disabledcheckprint = false
|
|
this.disabledcheckprint = false
|
|
|
this.diaabledreceiveDate = false
|
|
this.diaabledreceiveDate = false
|
|
|
this.diaabledyongjiu = false
|
|
this.diaabledyongjiu = false
|
|
|
- // this.disabledsamplingsite = false
|
|
|
|
|
this.disabledcapacity = false
|
|
this.disabledcapacity = false
|
|
|
this.disabledunit = false
|
|
this.disabledunit = false
|
|
|
this.disabledbtnpreopera = false
|
|
this.disabledbtnpreopera = false
|
|
|
this.disabledgroup = false
|
|
this.disabledgroup = false
|
|
|
- this.imgSrc = '/img/empty.png'
|
|
|
|
|
- this.checkPosition = ''
|
|
|
|
|
|
|
+ this.imgSrc = '/img/empty.jpg'
|
|
|
|
|
+ // this.checkPosition = ''
|
|
|
this.sampleForm.SampleTypeName = ''
|
|
this.sampleForm.SampleTypeName = ''
|
|
|
this.sampleForm.BarCode = ''
|
|
this.sampleForm.BarCode = ''
|
|
|
this.sampleForm.Name = ''
|
|
this.sampleForm.Name = ''
|