Commit 7ce0e784 by maxiaohan

修复指纹详情展示图片有问题

parent 638e94e3
...@@ -476,7 +476,6 @@ export default { ...@@ -476,7 +476,6 @@ export default {
startEndDate: null, startEndDate: null,
account: "00000000", account: "00000000",
number: 15, number: 15,
tableData: datas1,
queryClassList: setQueryClass, queryClassList: setQueryClass,
userOption: [], userOption: [],
// userOption:users, // userOption:users,
......
...@@ -94,11 +94,11 @@ $phone: var(--phone, #606266); //#ff4242; ...@@ -94,11 +94,11 @@ $phone: var(--phone, #606266); //#ff4242;
.bzcontent { .bzcontent {
box-sizing: border-box; box-sizing: border-box;
position: absolute; position: absolute;
top: calc(50% - 317px); top: calc(50% - 337px);
left: calc(50% - 371.5px); left: calc(50% - 371.5px);
z-index: 1000; z-index: 1000;
width: 743px; width: 743px;
height: 634px; height: 704px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 14px 30px 0px rgba(0, 21, 51, 0.25); box-shadow: 0px 14px 30px 0px rgba(0, 21, 51, 0.25);
border-radius: 6px; border-radius: 6px;
......
...@@ -190,6 +190,7 @@ ...@@ -190,6 +190,7 @@
src="@/assets/img/fingerprint.gif" src="@/assets/img/fingerprint.gif"
/> />
<div class="relative" v-else> <div class="relative" v-else>
{{ "left" + item.img }}
<!-- 有指纹图片 --> <!-- 有指纹图片 -->
<img <img
v-if="item.img && screenLoading == false" v-if="item.img && screenLoading == false"
...@@ -558,14 +559,6 @@ ...@@ -558,14 +559,6 @@
<div class="value">1</div> <div class="value">1</div>
</div> </div>
</div> </div>
<!-- <div class="bzitem">-->
<!-- <div class="bzname">源人员编号:</div>-->
<!-- <div class="bzvalue">{{ sourcebarcode }}</div>-->
<!-- </div>-->
<!-- <div class="bzitem">-->
<!-- <div class="bzname">目标人员编号:</div>-->
<!-- <div class="bzvalue">{{ destbarcode }}</div>-->
<!-- </div>-->
</div> </div>
<div class="bz-target"> <div class="bz-target">
<div class="bzitem"> <div class="bzitem">
...@@ -898,7 +891,7 @@ export default { ...@@ -898,7 +891,7 @@ export default {
let me = this; let me = this;
this.screenLoading = true; this.screenLoading = true;
this.loadingIndex++; this.loadingIndex++;
if (me.dataType == "father") { if (me.dataType === "father") {
me.$axios me.$axios
.post( .post(
"/api/queryque/standardAll", "/api/queryque/standardAll",
...@@ -911,6 +904,7 @@ export default { ...@@ -911,6 +904,7 @@ export default {
me.loadingIndex--; me.loadingIndex--;
if (res.data.code === 0) { if (res.data.code === 0) {
me.sourcedatas = res.data.ret; me.sourcedatas = res.data.ret;
me.sourcedatasLength = res.data.ret.length; me.sourcedatasLength = res.data.ret.length;
me.sourcebarcode = res.data.ret[0].barcode; me.sourcebarcode = res.data.ret[0].barcode;
me.currentQqid = res.data.ret[0].qqid; me.currentQqid = res.data.ret[0].qqid;
...@@ -1023,6 +1017,11 @@ export default { ...@@ -1023,6 +1017,11 @@ export default {
} }
}); });
}); });
// 去掉加载状态
self.fingerLoading = false;
} else if (response.data.code === 4) {
// 去掉加载状态
self.fingerLoading = false;
} }
}) })
.catch(function(error) { .catch(function(error) {
...@@ -1058,6 +1057,11 @@ export default { ...@@ -1058,6 +1057,11 @@ export default {
} }
}); });
}); });
// 去掉加载状态
self.fingerLoading = false;
} else if (response.data.code === 4) {
// 去掉加载状态
self.fingerLoading = false;
} }
}) })
.catch(function(error) { .catch(function(error) {
...@@ -1120,8 +1124,8 @@ export default { ...@@ -1120,8 +1124,8 @@ export default {
.then(function(response) { .then(function(response) {
self.loadingIndex--; self.loadingIndex--;
if (response.data.code === 0) { if (response.data.code === 0) {
response.data.ret.forEach((element, index) => {
console.info("目标roll", response.data.ret); console.info("目标roll", response.data.ret);
response.data.ret.forEach((element, index) => {
// 目标 左手 滚动 // 目标 左手 滚动
self.destFingersLeftR.forEach(item => { self.destFingersLeftR.forEach(item => {
if (item.code === element.seq) { if (item.code === element.seq) {
...@@ -1345,17 +1349,17 @@ export default { ...@@ -1345,17 +1349,17 @@ export default {
sourceimg = fingerData.img; sourceimg = fingerData.img;
destimg = this.destFingersRightL[index].img; destimg = this.destFingersRightL[index].img;
} else if (name === "destFingersLeftR") { } else if (name === "destFingersLeftR") {
sourceimg = fingerData.img; destimg = fingerData.img;
destimg = this.sourceFingersLeftR[index].img; sourceimg = this.sourceFingersLeftR[index].img;
} else if (name === "destFingersRightR") { } else if (name === "destFingersRightR") {
sourceimg = fingerData.img; destimg = fingerData.img;
destimg = this.sourceFingersRightR[index].img; sourceimg = this.sourceFingersRightR[index].img;
} else if (name === "destFingersLeftL") { } else if (name === "destFingersLeftL") {
sourceimg = fingerData.img; destimg = fingerData.img;
destimg = this.sourceFingersLeftL[index].img; sourceimg = this.sourceFingersLeftL[index].img;
} else if (name === "destFingersRightL") { } else if (name === "destFingersRightL") {
sourceimg = fingerData.img; destimg = fingerData.img;
destimg = this.sourceFingersRightL[index].img; sourceimg = this.sourceFingersRightL[index].img;
} else { } else {
this.$message.error("没有数据"); this.$message.error("没有数据");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment