Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
2579caa8
Commit
2579caa8
authored
Oct 14, 2021
by
maxiaohan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查重比中候选列表展示;
查重比中源指纹图展示; 查重比中目标指纹图展示;
parent
9053f905
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
135 additions
and
38 deletions
+135
-38
src/views/cxyrd/TT.vue
+27
-14
src/views/cxyrd/modules/TTFingerPrint.vue
+108
-24
No files found.
src/views/cxyrd/TT.vue
View file @
2579caa8
...
...
@@ -16,7 +16,13 @@
</div>
<div
class=
"tt_main_top_table"
>
<span>
源条码号:
{{
barcode
}}
</span>
<el-table
:data=
"tableData"
class=
"lt_candidate_table"
height=
"150"
>
<el-table
highlight-current-row
:data=
"tableData"
class=
"lt_candidate_table"
height=
"150"
@
current-change=
"handleCurrentChange"
>
<el-table-column
label=
"排名"
type=
"index"
...
...
@@ -146,7 +152,7 @@ export default {
data
()
{
return
{
qid
:
null
,
q
qid
:
null
,
currentQ
qid
:
null
,
tableData
:
[],
isFinger
:
true
,
isPlam
:
false
,
...
...
@@ -156,29 +162,33 @@ export default {
isShowbzDialogBg
:
false
,
phone
:
null
,
radio
:
6
,
textarea
:
""
textarea
:
""
,
dsetbarcode
:
""
};
},
created
()
{
this
.
qid
=
this
.
$route
.
query
.
qid
;
this
.
qqid
=
this
.
$route
.
query
.
qqid
;
this
.
currentQqid
=
parseInt
(
this
.
$route
.
query
.
qqid
)
;
this
.
barcode
=
this
.
$route
.
query
.
barcode
;
console
.
log
(
"源q
id====>"
,
this
.
qid
);
console
.
log
(
"源q
qid====>"
,
this
.
currentQ
qid
);
console
.
log
(
"源barcode====>"
,
this
.
barcode
);
// this.search();
},
methods
:
{
//
加载候选人
search
(
)
{
this
.
$axios
.
get
(
"/api/query/matchcand/src"
,
{
params
:
{
qqid
:
this
.
qqid
//
获取候选列表
getMatchcandList
(
qqid
)
{
if
(
qqid
!==
null
)
{
this
.
$axios
.
get
(
"/api/query/matchcand/"
+
qqid
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
tableData
=
res
.
data
.
ret
;
}
})
.
then
(
res
=>
{
console
.
info
(
res
);
console
.
info
(
" 候选列表"
,
res
);
});
}
},
handleCurrentChange
(
val
)
{
console
.
info
(
val
);
this
.
destbarcode
=
val
.
destbarcode
;
},
//比中
Bz
()
{
...
...
@@ -223,6 +233,9 @@ export default {
let
self
=
this
;
console
.
log
(
"比中"
);
}
},
mounted
()
{
this
.
getMatchcandList
(
this
.
currentQqid
);
}
};
</
script
>
...
...
src/views/cxyrd/modules/TTFingerPrint.vue
View file @
2579caa8
...
...
@@ -168,6 +168,14 @@
<
script
>
export
default
{
name
:
"TTFingerPrint"
,
props
:
[
"destBarcodeData"
],
watch
:
{
destBarcodeData
(
val
)
{
if
(
val
)
{
this
.
destbarcode
=
val
;
}
}
},
data
()
{
return
{
activeIndex
:
"1"
,
...
...
@@ -228,16 +236,17 @@ export default {
{
name
:
"小"
,
code
:
15
,
img
:
null
}
],
qid
:
null
,
qqid
:
null
,
barcode
:
null
currentQqid
:
null
,
sourcebarcode
:
null
,
destbarcode
:
null
};
},
created
()
{
this
.
qid
=
this
.
$route
.
query
.
qid
;
this
.
qqid
=
this
.
$route
.
query
.
qqid
;
this
.
barcode
=
this
.
$route
.
query
.
barcode
;
console
.
log
(
"源q
id====>"
,
this
.
qid
);
console
.
log
(
"源barcode====>"
,
this
.
barcode
);
this
.
currentQqid
=
parseInt
(
this
.
$route
.
query
.
qqid
)
;
this
.
source
barcode
=
this
.
$route
.
query
.
barcode
;
console
.
log
(
"源q
qid====>"
,
this
.
currentQ
qid
);
console
.
log
(
"源barcode====>"
,
this
.
source
barcode
);
// this.search();
},
methods
:
{
...
...
@@ -253,42 +262,117 @@ export default {
}
},
// 获取源指纹图
getFingerPrintDetail
()
{
// {
// params: {
// barcode: this.barcode
// }
// 滚动
getSourceFingerPrintDetail
()
{
let
self
=
this
;
// 滚动 源数据
this
.
$axios
.
get
(
"/api/org/rollByBarcode/"
+
this
.
barcode
)
.
get
(
"/api/org/rollByBarcode/"
+
this
.
source
barcode
)
.
then
(
function
(
response
)
{
if
(
response
.
data
.
code
===
0
)
{
response
.
data
.
ret
.
forEach
((
element
,
index
)
=>
{
// 源 左手 滚动
self
.
sourceFingersLeftR
.
forEach
(
item
=>
{
if
(
item
.
code
===
element
.
seq
)
{
item
.
img
=
element
.
image
;
}
});
// 源 右手 滚动
self
.
sourceFingersRightR
.
forEach
(
item
=>
{
if
(
item
.
code
===
element
.
seq
)
{
item
.
img
=
element
.
image
;
}
});
});
}
console
.
log
(
response
);
})
.
catch
(
function
(
error
)
{
console
.
log
(
error
);
});
// 平面
this
.
$axios
.
get
(
"/api/org/plainByBarcode/"
+
this
.
barcode
)
.
get
(
"/api/org/plainByBarcode/"
+
this
.
source
barcode
)
.
then
(
function
(
response
)
{
console
.
info
(
"平面"
,
response
);
if
(
response
.
data
.
code
===
0
)
{
response
.
data
.
ret
.
forEach
((
element
,
index
)
=>
{
// 源 左手 平面
self
.
sourceFingersLeftL
.
forEach
(
item
=>
{
if
(
item
.
code
===
element
.
seq
+
10
)
{
item
.
img
=
element
.
image
;
}
});
// 源 右手 平面
self
.
sourceFingersRightL
.
forEach
(
item
=>
{
if
(
item
.
code
===
element
.
seq
+
10
)
{
item
.
img
=
element
.
image
;
}
});
});
}
})
.
catch
(
function
(
error
)
{
console
.
log
(
error
);
});
},
// 获取目标指纹图
getDestFingerPrintDetail
()
{
let
self
=
this
;
// 滚动 目标数据
this
.
$axios
.
get
(
"/api/org/rollByBarcode/"
+
this
.
destbarcode
)
.
then
(
function
(
response
)
{
if
(
response
.
data
.
code
===
0
)
{
response
.
data
.
ret
.
forEach
((
element
,
index
)
=>
{
// 目标 左手 滚动
self
.
destFingersLeftR
.
forEach
(
item
=>
{
if
(
item
.
code
===
element
.
seq
)
{
item
.
img
=
element
.
image
;
}
});
// 目标 右手 滚动
self
.
destFingersRightR
.
forEach
(
item
=>
{
if
(
item
.
code
===
element
.
seq
)
{
item
.
img
=
element
.
image
;
}
});
});
}
console
.
log
(
response
);
})
.
catch
(
function
(
error
)
{
console
.
log
(
error
);
});
// this.$axios
// .get("api/org/plainByBarcode/", this.barcode)
// .then(res => {
// console.info(res);
// })
// .catch(error => {
// console.log(error);
// });
// 平面 目标
this
.
$axios
.
get
(
"/api/org/plainByBarcode/"
+
this
.
destbarcode
)
.
then
(
function
(
response
)
{
console
.
info
(
"平面"
,
response
);
if
(
response
.
data
.
code
===
0
)
{
response
.
data
.
ret
.
forEach
((
element
,
index
)
=>
{
// 目标 左手 平面
self
.
destFingersLeftL
.
forEach
(
item
=>
{
if
(
item
.
code
===
element
.
seq
+
10
)
{
item
.
img
=
element
.
image
;
}
});
// 目标 右手 平面
self
.
destFingersRightL
.
forEach
(
item
=>
{
if
(
item
.
code
===
element
.
seq
+
10
)
{
item
.
img
=
element
.
image
;
}
});
});
}
})
.
catch
(
function
(
error
)
{
console
.
log
(
error
);
});
}
},
mounted
()
{
this
.
getFingerPrintDetail
();
this
.
getSourceFingerPrintDetail
();
this
.
getDestFingerPrintDetail
();
}
};
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment