|
|
@@ -55,18 +55,18 @@
|
|
|
<div class="ulbgcolor" v-for="g in Math.ceil(selectdtedanguan.ColumnNum / 21)" style="width:50px;float:left;margin-left:1px">
|
|
|
<div v-for="b in selectdtedanguan.ColumnNum">
|
|
|
<div class="hoverdiv" v-if="(b <= g*21) && (b > (g - 1)*21)" @click="handleclk(b-1, 0, selectdtedanguan.YStation, selectdtedanguan.XStation)"
|
|
|
- v-bind:style="{
|
|
|
- backgroundColor: xcolor == b && ycolor == 1 &&
|
|
|
- xidx == selectdtedanguan.YStation && yidx == selectdtedanguan.XStation ? COLORARR[2] :
|
|
|
- (selectdtedanguan['A'+b] == -2 ? COLORARR[0] :
|
|
|
- (selectdtedanguan['A'+b] == -1 ? COLORARR[1] :
|
|
|
- (selectdtedanguan['A'+b] > 0 &&
|
|
|
- selectdtedanguan['A'+b] <= 25 ? COLORARR[3] :
|
|
|
- (selectdtedanguan['A'+b] > 25 &&
|
|
|
- selectdtedanguan['A'+b] <= 50 ? COLORARR[4] :
|
|
|
- (selectdtedanguan['A'+b] > 50 &&
|
|
|
- selectdtedanguan['A'+b] <= 75 ? COLORARR[5] :
|
|
|
- (selectdtedanguan['A'+b] > 75 ? COLORARR[6] :
|
|
|
+ v-bind:style="{
|
|
|
+ backgroundColor: xcolor == b && ycolor == 1 &&
|
|
|
+ xidx == selectdtedanguan.YStation && yidx == selectdtedanguan.XStation ? COLORARR[2] :
|
|
|
+ (selectdtedanguan['A'+b] == -2 ? COLORARR[0] :
|
|
|
+ (selectdtedanguan['A'+b] == -1 ? COLORARR[1] :
|
|
|
+ (selectdtedanguan['A'+b] > 0 &&
|
|
|
+ selectdtedanguan['A'+b] <= 25 ? COLORARR[3] :
|
|
|
+ (selectdtedanguan['A'+b] > 25 &&
|
|
|
+ selectdtedanguan['A'+b] <= 50 ? COLORARR[4] :
|
|
|
+ (selectdtedanguan['A'+b] > 50 &&
|
|
|
+ selectdtedanguan['A'+b] <= 75 ? COLORARR[5] :
|
|
|
+ (selectdtedanguan['A'+b] > 75 ? COLORARR[6] :
|
|
|
COLORARR[7])))))) }"
|
|
|
style="margin: 1px;width:50px; height:20px;"></div>
|
|
|
</div>
|
|
|
@@ -89,20 +89,20 @@
|
|
|
<div v-if="samplelist[index].XStation === k2+1 && samplelist[index].YStation === k1+1">
|
|
|
<div v-for="rowindex in samplelist[index].RowNum">
|
|
|
<div class="hoverdiv" v-for=" colindex in samplelist[index].ColumnNum">
|
|
|
- <div v-bind:style="{
|
|
|
+ <div v-bind:style="{
|
|
|
width: (unitwidth/colorTableWidth/samplelist[index].ColumnNum-2.5) + 'px',
|
|
|
height: (unitheight/colorTableHeight/samplelist[index].RowNum-2.5) + 'px',
|
|
|
- backgroundColor: xcolor === colindex && ycolor === rowindex &&
|
|
|
- xidx === k1+1 && yidx === k2+1 ? COLORARR[2] :
|
|
|
- (samplelist[index][numtoengs[rowindex-1]+colindex] == -2 ? COLORARR[0] :
|
|
|
- (samplelist[index][numtoengs[rowindex-1]+colindex] == -1 ? COLORARR[1] :
|
|
|
- (samplelist[index][numtoengs[rowindex-1]+colindex] > 0 &&
|
|
|
- samplelist[index][numtoengs[rowindex-1]+colindex] <= 25 ? COLORARR[3] :
|
|
|
- (samplelist[index][numtoengs[rowindex-1]+colindex] > 25 &&
|
|
|
- samplelist[index][numtoengs[rowindex-1]+colindex] <= 50 ? COLORARR[4] :
|
|
|
- (samplelist[index][numtoengs[rowindex-1]+colindex] > 50 &&
|
|
|
- samplelist[index][numtoengs[rowindex-1]+colindex] <= 75 ? COLORARR[5] :
|
|
|
- (samplelist[index][numtoengs[rowindex-1]+colindex] > 75 ? COLORARR[6] :
|
|
|
+ backgroundColor: xcolor === colindex && ycolor === rowindex &&
|
|
|
+ xidx === k1+1 && yidx === k2+1 ? COLORARR[2] :
|
|
|
+ (samplelist[index][numtoengs[rowindex-1]+colindex] == -2 ? COLORARR[0] :
|
|
|
+ (samplelist[index][numtoengs[rowindex-1]+colindex] == -1 ? COLORARR[1] :
|
|
|
+ (samplelist[index][numtoengs[rowindex-1]+colindex] > 0 &&
|
|
|
+ samplelist[index][numtoengs[rowindex-1]+colindex] <= 25 ? COLORARR[3] :
|
|
|
+ (samplelist[index][numtoengs[rowindex-1]+colindex] > 25 &&
|
|
|
+ samplelist[index][numtoengs[rowindex-1]+colindex] <= 50 ? COLORARR[4] :
|
|
|
+ (samplelist[index][numtoengs[rowindex-1]+colindex] > 50 &&
|
|
|
+ samplelist[index][numtoengs[rowindex-1]+colindex] <= 75 ? COLORARR[5] :
|
|
|
+ (samplelist[index][numtoengs[rowindex-1]+colindex] > 75 ? COLORARR[6] :
|
|
|
COLORARR[7])))))) }"
|
|
|
style="margin: 1px" @click="handleclk(colindex-1, rowindex-1, k1+1, k2+1)"></div>
|
|
|
</div>
|
|
|
@@ -1647,8 +1647,10 @@
|
|
|
let yedanguandatarrtrmp = []
|
|
|
if (_this.yedanguanitem === 20) {
|
|
|
yedanguandatarrtrmp = _this.yedanguanrongqiarr_13kbloodbag
|
|
|
- } else {
|
|
|
+ } else if (_this.yedanguanitem === 19){
|
|
|
yedanguandatarrtrmp = _this.yedanguanrongqiarr
|
|
|
+ } else {
|
|
|
+ yedanguandatarrtrmp = _this.yedanguanrongqiarr_newmodel
|
|
|
}
|
|
|
for (let i = 0; i < yedanguandatarrtrmp.length; i++) {
|
|
|
if ((yedanguandatarrtrmp[i].XStation) === _this.yidx && (yedanguandatarrtrmp[i].YStation) === _this.xidx) {
|
|
|
@@ -1689,12 +1691,14 @@
|
|
|
_this.showtsyedanguan = false
|
|
|
_this.showcgshebei = true
|
|
|
_this.fridgebottomimg = _this.imghost + '/static/img/sampletypeimg/bottomydg.png'
|
|
|
- } else if (res.data && (res.data.DItem === 19 || res.data.DItem === 20)) {
|
|
|
+ } else if (res.data && (res.data.DItem === 19 || res.data.DItem === 20 || res.data.DItem === 21)) {
|
|
|
_this.yedanguanitem = res.data.DItem
|
|
|
if (res.data.DItem === 19) {
|
|
|
_this.yeshuyedanguanimgid = 'cryobiobank97Kimg'
|
|
|
- } else {
|
|
|
+ } else if (res.data.DItem === 20) {
|
|
|
_this.yeshuyedanguanimgid = 'cryobiobank97K_bloodbagimg'
|
|
|
+ } else {
|
|
|
+ _this.yeshuyedanguanimgid = 'cryobiobank97K_newmodelimg'
|
|
|
}
|
|
|
// 加载特殊液氮罐
|
|
|
_this.drawyedanguancanvasbgimg()
|
|
|
@@ -1733,8 +1737,10 @@
|
|
|
let yedanguandatarrtrmp = []
|
|
|
if (_this.yedanguanitem === 20) {
|
|
|
yedanguandatarrtrmp = _this.yedanguanrongqiarr_13kbloodbag
|
|
|
- } else {
|
|
|
+ } else if (_this.yedanguanitem === 19){
|
|
|
yedanguandatarrtrmp = _this.yedanguanrongqiarr
|
|
|
+ } else {
|
|
|
+ yedanguandatarrtrmp = _this.yedanguanrongqiarr_newmodel
|
|
|
}
|
|
|
yedanguandatarrtrmp.forEach(function (v) {
|
|
|
// 绘制颜色快
|