|
|
@@ -21,7 +21,7 @@
|
|
|
<span style="float: right;margin-top:-5px;margin-left: 10px">
|
|
|
<el-button type="primary" class="el-button--small" style="margin-left: 0px" onclick="window.history.go(-1)">返回</el-button>
|
|
|
</span>
|
|
|
-
|
|
|
+
|
|
|
</span>
|
|
|
</span>
|
|
|
</div>
|
|
|
@@ -47,18 +47,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>
|
|
|
@@ -71,7 +71,7 @@
|
|
|
<thead>
|
|
|
<th></th>
|
|
|
<th v-for ="ind in colorTableWidth">{{ind}}</th>
|
|
|
- </thead>
|
|
|
+ </thead>
|
|
|
<tbody>
|
|
|
<tr v-for =" (xcolorTable,k1) in colorTableHeight">
|
|
|
<td style="text-align:center;font-size:20px;">{{numtoengs[xcolorTable-1]}}</td>
|
|
|
@@ -81,20 +81,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>
|
|
|
@@ -105,7 +105,7 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- </tbody>
|
|
|
+ </tbody>
|
|
|
</table>
|
|
|
<div>
|
|
|
<img :src="fridgebottomimg" class="fridge">
|
|
|
@@ -161,9 +161,9 @@
|
|
|
<el-button type="primary" @click="dialogtiquVisible = true" class="el-button--small" v-if="sampleform.type_flag === 'edit'" style="margin-right:-10px;">提取</el-button>
|
|
|
<el-button type="danger" class="el-button--small" v-if="sampleform.type_flag === 'edit'"
|
|
|
style="margin-right:-10px;" @click="deletedata()">删除</el-button> -->
|
|
|
- <el-button type="primary" class="el-button--small"
|
|
|
+ <el-button type="primary" class="el-button--small"
|
|
|
@click="savesample()" v-if="sampleform.type_flag !== 'edit'">保存</el-button>
|
|
|
- <el-button type="primary" class="el-button--small"
|
|
|
+ <el-button type="primary" class="el-button--small"
|
|
|
@click="saveandadd(1)" v-if="sampleform.type_flag !== 'edit' && false">保存并新增</el-button>
|
|
|
<el-button type="primary" class="el-button--small" v-if="sampleform.type_flag !== 'edit' && false" @click="saveandadd(2)">保存并新增分管</el-button>
|
|
|
<el-button type="primary" class="el-button--small" @click="goAnchor('#equishelfcard')">置顶</el-button>
|
|
|
@@ -175,13 +175,13 @@
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="样本条码" prop="BarCode">
|
|
|
- <el-input v-model="sampleform.BarCode" placeholder="为空默认自动生成"
|
|
|
+ <el-input v-model="sampleform.BarCode" placeholder="为空默认自动生成"
|
|
|
style="width:68%" :disabled="disabledbarcode"></el-input>
|
|
|
<el-button class="btnbox" :disabled="disabledbtnpreopera" type="primary" style="width:30%" @click="openpreop()">预录入</el-button>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="组织器官">
|
|
|
- <el-cascader :options="organlist2" style="width:100%" :props="sampleorganprops"
|
|
|
- change-on-select :show-all-levels="false" v-model="selectedorgan" placeholder="请选择"
|
|
|
+ <el-cascader :options="organlist2" style="width:100%" :props="sampleorganprops"
|
|
|
+ change-on-select :show-all-levels="false" v-model="selectedorgan" placeholder="请选择"
|
|
|
@change="chooseorgange" :disabled="disabledsamplingorgan"></el-cascader>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="接收日期">
|
|
|
@@ -214,13 +214,13 @@
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="样本类型" required prop="SampleTypestr">
|
|
|
- <el-select v-model="sampleform.SampleTypestr" placeholder="请选择"
|
|
|
+ <el-select v-model="sampleform.SampleTypestr" placeholder="请选择"
|
|
|
style="width:100%" @change="choosetype" :disabled="disabledsampletype">
|
|
|
<el-option v-for="item in sampletypelist" :label="item.label" :value="item.value" :key="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="取材部位">
|
|
|
- <el-select v-model="sampleform.SamplingSite" placeholder="取材部位"
|
|
|
+ <el-select v-model="sampleform.SamplingSite" placeholder="取材部位"
|
|
|
style="width:100%" :disabled="disabledsamplingsite">
|
|
|
<el-option v-for="item in samplequcailist" :label="item.label" :value="item.value" :key="item.value"></el-option>
|
|
|
</el-select>
|
|
|
@@ -249,7 +249,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="样本来源">
|
|
|
- <el-input v-model="sampleform.SourceName" placeholder="样本来源"
|
|
|
+ <el-input v-model="sampleform.SourceName" placeholder="样本来源"
|
|
|
style="width:68%" disabled="true"></el-input>
|
|
|
<el-button type="primary" :disabled="disabledsourcebutton" style="width:30%" @click="dialogFormVisible2 = true" class="btnbox">选择</el-button>
|
|
|
</el-form-item>
|
|
|
@@ -263,7 +263,7 @@
|
|
|
<el-form-item>
|
|
|
<el-checkbox :disabled="disabledcheckprint" v-model="sampleform.autoprintchecked" class="title">
|
|
|
新增保存时打印标签(如若勾选,请确保已经设置过默认打印方案)
|
|
|
- </el-checkbox>
|
|
|
+ </el-checkbox>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
@@ -272,7 +272,7 @@
|
|
|
<i class="icon icon-paragraph-justify"></i> 样本公共扩展
|
|
|
</div>
|
|
|
<div>
|
|
|
- <div class="four fields" style="margin-top:25px;">
|
|
|
+ <div class="four fields" style="margin-top:25px;">
|
|
|
<el-row>
|
|
|
<el-col :span="8" v-for="item in publickzlist" :key="item">
|
|
|
<el-form-item :label="item.Name">
|
|
|
@@ -292,7 +292,7 @@
|
|
|
<i class="icon icon-paragraph-justify"></i> 样本特有扩展
|
|
|
</div>
|
|
|
<div>
|
|
|
- <div class="four fields" style="margin-top:25px;">
|
|
|
+ <div class="four fields" style="margin-top:25px;">
|
|
|
<el-row>
|
|
|
<el-col :span="8" v-for="item in typetykzlist" :key="item">
|
|
|
<el-form-item :label="item.Name">
|
|
|
@@ -315,15 +315,15 @@
|
|
|
<el-button @click="editsave()" type="primary" class="el-button--small" v-if="sampleform.type_flag === 'edit'" >保存</el-button>
|
|
|
<!-- <el-button type="danger" class="el-button--small" v-if="sampleform.type_flag === 'edit'"
|
|
|
style="margin-right:-10px;" @click="deletedata()">删除</el-button> -->
|
|
|
- <el-button type="primary" class="el-button--small"
|
|
|
+ <el-button type="primary" class="el-button--small"
|
|
|
@click="savesample()" v-if="sampleform.type_flag !== 'edit'">保存</el-button>
|
|
|
- <el-button type="primary" class="el-button--small"
|
|
|
+ <el-button type="primary" class="el-button--small"
|
|
|
style="margin-right:-10px;" @click="saveandadd(1)" v-if="sampleform.type_flag !== 'edit' && false">保存并新增</el-button>
|
|
|
<el-button type="primary" class="el-button--small" v-if="sampleform.type_flag !== 'edit' && false" @click="saveandadd(2)">保存并新增分管</el-button>
|
|
|
<el-button type="primary" class="el-button--small" @click="goAnchor('#equishelfcard')">置顶</el-button>
|
|
|
</span>
|
|
|
</span>
|
|
|
- </el-row>
|
|
|
+ </el-row>
|
|
|
</el-card>
|
|
|
|
|
|
<el-dialog title="样本批量导入" :visible.sync="exportVisible">
|
|
|
@@ -600,7 +600,7 @@
|
|
|
yeshuyedanguanimgid: '', // 特殊液氮罐图片Id
|
|
|
showcgshebei: false, // 显示常规形式
|
|
|
selectdtedanguan: {ColumnNum: 0}, // 选中的特殊液氮罐的冻存架
|
|
|
- yedanguanitem: 0, // 液氮罐类型19:贝尔Cryobiobank13K液氮罐;20:贝尔Cryobiobank13K_BloodBag液氮罐
|
|
|
+ yedanguanitem: 0, // 液氮罐类型19:贝尔Cryobiobank13K液氮罐;20:贝尔Cryobiobank13K_BloodBag液氮罐;21:贝尔最新型号液氮罐
|
|
|
yedanguanrongqiarr: [ // 19:贝尔Cryobiobank13K液氮罐,type:1规则图形,2不规则图形
|
|
|
{XStation: 4, YStation: 1, x: 77, y: 76, width: 53, height: 53, type: 1},
|
|
|
{XStation: 1, YStation: 1, x: 134, y: 45, width: 84, height: 84, type: 1},
|
|
|
@@ -752,7 +752,387 @@
|
|
|
{XStation: 31, YStation: 4, x: 228, y: 31, width: 96, height: 7, type: 1},
|
|
|
{XStation: 32, YStation: 4, x1: 327, y1: 49, x2: 367, y2: 113, x3: 374, y3: 110, x4: 335, y4: 46, type: 2},
|
|
|
{XStation: 33, YStation: 4, x1: 338, y1: 49, x2: 378, y2: 113, x3: 385, y3: 110, x4: 346, y4: 46, type: 2}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ yedanguanrongqiarr_newmodel: [ // 21:贝尔最新型号液氮罐,type:1规则图形,2不规则图形
|
|
|
+ {
|
|
|
+ XStation: 1,
|
|
|
+ YStation: 1,
|
|
|
+ x: 125,
|
|
|
+ y: 25,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 2,
|
|
|
+ YStation: 1,
|
|
|
+ x: 158,
|
|
|
+ y: 20,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 3,
|
|
|
+ YStation: 1,
|
|
|
+ x: 192,
|
|
|
+ y: 20,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 4,
|
|
|
+ YStation: 1,
|
|
|
+ x: 65,
|
|
|
+ y: 88,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 5,
|
|
|
+ YStation: 1,
|
|
|
+ x: 100,
|
|
|
+ y: 58,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 6,
|
|
|
+ YStation: 1,
|
|
|
+ x: 163,
|
|
|
+ y: 58,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 1,
|
|
|
+ YStation: 2,
|
|
|
+ x: 36,
|
|
|
+ y: 128,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 2,
|
|
|
+ YStation: 2,
|
|
|
+ x: 100,
|
|
|
+ y: 128,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 3,
|
|
|
+ YStation: 2,
|
|
|
+ x: 163,
|
|
|
+ y: 128,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 4,
|
|
|
+ YStation: 2,
|
|
|
+ x: 18,
|
|
|
+ y: 197,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 5,
|
|
|
+ YStation: 2,
|
|
|
+ x: 82,
|
|
|
+ y: 197,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 6,
|
|
|
+ YStation: 2,
|
|
|
+ x: 145,
|
|
|
+ y: 197,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 7,
|
|
|
+ YStation: 2,
|
|
|
+ x: 37,
|
|
|
+ y: 264,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 8,
|
|
|
+ YStation: 2,
|
|
|
+ x: 101,
|
|
|
+ y: 264,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 9,
|
|
|
+ YStation: 2,
|
|
|
+ x: 163,
|
|
|
+ y: 264,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 1,
|
|
|
+ YStation: 3,
|
|
|
+ x: 64,
|
|
|
+ y: 336,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 2,
|
|
|
+ YStation: 3,
|
|
|
+ x: 127,
|
|
|
+ y: 397,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 3,
|
|
|
+ YStation: 3,
|
|
|
+ x: 160,
|
|
|
+ y: 401,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 4,
|
|
|
+ YStation: 3,
|
|
|
+ x: 194,
|
|
|
+ y: 401,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 5,
|
|
|
+ YStation: 3,
|
|
|
+ x: 100,
|
|
|
+ y: 336,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 6,
|
|
|
+ YStation: 3,
|
|
|
+ x: 163,
|
|
|
+ y: 336,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 1,
|
|
|
+ YStation: 4,
|
|
|
+ x: 358,
|
|
|
+ y: 336,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 2,
|
|
|
+ YStation: 4,
|
|
|
+ x: 231,
|
|
|
+ y: 401,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 3,
|
|
|
+ YStation: 4,
|
|
|
+ x: 263,
|
|
|
+ y: 401,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 4,
|
|
|
+ YStation: 4,
|
|
|
+ x: 297,
|
|
|
+ y: 397,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 5,
|
|
|
+ YStation: 4,
|
|
|
+ x: 230,
|
|
|
+ y: 336,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 6,
|
|
|
+ YStation: 4,
|
|
|
+ x: 294,
|
|
|
+ y: 336,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 1,
|
|
|
+ YStation: 5,
|
|
|
+ x: 230,
|
|
|
+ y: 128,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 2,
|
|
|
+ YStation: 5,
|
|
|
+ x: 294,
|
|
|
+ y: 128,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 3,
|
|
|
+ YStation: 5,
|
|
|
+ x: 358,
|
|
|
+ y: 128,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 4,
|
|
|
+ YStation: 5,
|
|
|
+ x: 247,
|
|
|
+ y: 197,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 5,
|
|
|
+ YStation: 5,
|
|
|
+ x: 311,
|
|
|
+ y: 197,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 6,
|
|
|
+ YStation: 5,
|
|
|
+ x: 374,
|
|
|
+ y: 197,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 7,
|
|
|
+ YStation: 5,
|
|
|
+ x: 231,
|
|
|
+ y: 264,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 8,
|
|
|
+ YStation: 5,
|
|
|
+ x: 294,
|
|
|
+ y: 264,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 9,
|
|
|
+ YStation: 5,
|
|
|
+ x: 358,
|
|
|
+ y: 264,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 1,
|
|
|
+ YStation: 6,
|
|
|
+ x: 230,
|
|
|
+ y: 20,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 2,
|
|
|
+ YStation: 6,
|
|
|
+ x: 263,
|
|
|
+ y: 20,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 3,
|
|
|
+ YStation: 6,
|
|
|
+ x: 296,
|
|
|
+ y: 25,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 4,
|
|
|
+ YStation: 6,
|
|
|
+ x: 358,
|
|
|
+ y: 88,
|
|
|
+ width: 28,
|
|
|
+ height: 28,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 5,
|
|
|
+ YStation: 6,
|
|
|
+ x: 230,
|
|
|
+ y: 58,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ XStation: 6,
|
|
|
+ YStation: 6,
|
|
|
+ x: 294,
|
|
|
+ y: 58,
|
|
|
+ width: 56,
|
|
|
+ height: 56,
|
|
|
+ type: 1
|
|
|
+ }
|
|
|
+ ],
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|
|
|
@@ -875,8 +1255,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) {
|
|
|
// 绘制颜色快
|
|
|
@@ -971,12 +1353,14 @@
|
|
|
_this.showtsyedanguan = false
|
|
|
_this.showcgshebei = true
|
|
|
_this.fridgebottomimg = _this.filehost + '/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()
|
|
|
@@ -1061,8 +1445,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 + '') === stationarr[0] && (yedanguandatarrtrmp[i].YStation + '') === stationarr[1]) {
|
|
|
@@ -1086,9 +1472,20 @@
|
|
|
// 初始化特殊形态的液氮罐
|
|
|
if (_this.showtsyedanguan) {
|
|
|
if (_this.yedanguanitem === 20) {
|
|
|
- _this.drawyedanguancavans({x: 211, y: 107})
|
|
|
- } else {
|
|
|
- _this.drawyedanguancavans({x: 135, y: 46})
|
|
|
+ _this.drawyedanguancavans({
|
|
|
+ x: 211,
|
|
|
+ y: 107
|
|
|
+ })
|
|
|
+ } else if (_this.yedanguanitem === 19) {
|
|
|
+ _this.drawyedanguancavans({
|
|
|
+ x: 135,
|
|
|
+ y: 46
|
|
|
+ })
|
|
|
+ } else if (_this.yedanguanitem === 21) {
|
|
|
+ _this.drawyedanguancavans({
|
|
|
+ x: 125,
|
|
|
+ y: 25
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -1851,7 +2248,7 @@
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.ulbgcolor div{
|
|
|
- float: left;
|
|
|
+ float: left;
|
|
|
}
|
|
|
.hoverdiv:hover{ box-shadow: 0 0 4px rgba(0,0,0,.4); transform: scale(1.15); }
|
|
|
.tablebox{
|
|
|
@@ -1893,7 +2290,7 @@
|
|
|
.worklisticolist i{
|
|
|
margin-right: 3px;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.tdborder {
|
|
|
border: 1px solid #A2B5CD;
|
|
|
}
|