Commit 30300145 by 米嘉伟

Merge branch 'dev_zwpt' of http://47.92.108.28/changchao/founder_vue into dev_zwpt

parents da3b7192 981e82d1
......@@ -74,7 +74,6 @@ div {
font-weight: bold;
color: #333333;
line-height: 22px;
border: #0e9a00 1px solid;
}
.btns {
align-self: flex-end;
......@@ -89,12 +88,16 @@ div {
background: #ff0039;
border-radius: 4px;
margin-right: 16px;
text-align: center;
line-height: 32px;
}
.rd-btn {
width: 96px;
height: 32px;
background: #055fe7;
border-radius: 4px;
text-align: center;
line-height: 32px;
}
}
.main {
......@@ -104,12 +107,10 @@ div {
flex-direction: row;
.main-left {
border: 1px firebrick solid;
width: 352px;
//border: none;
}
.main-middle {
border: 1px #0da9b6 solid;
width: 1120px;
display: flex;
flex-direction: column;
......@@ -118,7 +119,6 @@ div {
.main-right {
margin-left: 16px;
width: 360px;
border: 1px #5f1753 solid;
}
}
</style>
<template>
<div class="lt_candidate">
<div class="lt_cnadidate_search">
<el-input placeholder="请输入内容" v-model="input3" class="input-with-select">
<el-input
placeholder="请输入内容"
v-model="input3"
class="input-with-select"
>
<el-select v-model="select" slot="prepend" placeholder="请选择">
<el-option label="指纹" value="1"></el-option>
<el-option label="掌纹" value="2"></el-option>
......@@ -13,68 +17,166 @@
<el-checkbox v-model="checked">显示已比中候选</el-checkbox>
</div>
<div class="lt_candidate_number">
<el-table highlight-current-row @current-change="handleCurrentChange" class="lt_candidate_table" height="800" :data="tableData" :row-class-name="tableRowClassName">
<el-table
highlight-current-row
@current-change="handleCurrentChange"
class="lt_candidate_table"
height="800"
:data="tableData"
:row-class-name="tableRowClassName"
>
<el-table-column label="排名" type="index" width="50">
</el-table-column>
<!-- <el-table-column label="排名" width="50"></el-table-column>-->
<el-table-column prop="score" label="得分" width="50"></el-table-column>
<el-table-column prop="destid" label="指位" width="70" :render-header="icons">
<el-table-column
prop="destid"
label="指位"
width="70"
:render-header="icons"
>
<template slot-scope="scope">
{{scope.row.destid=='1'?'拇指':(scope.row.destid=='2'?'食指':(scope.row.destid=='3'?'中指':(scope.row.destid=='4'?'环指':(scope.row.destid=='5'?'小指':(scope.row.destid=='6'?'拇指':(scope.row.destid=='7'?'食指':(scope.row.destid=='8'?'中指':(scope.row.destid=='9'?'环指':(scope.row.destid=='10'?'小指':(scope.row.destid=='11'?'拇指':(scope.row.destid=='12'?'食指':(scope.row.destid=='13'?'中指':(scope.row.destid=='14'?'环指':(scope.row.destid=='15'?'小指':(scope.row.destid=='16'?'拇指':(scope.row.destid=='17'?'食指':(scope.row.destid=='18'?'中指':(scope.row.destid=='19'?'环指':'小指'))))))))))))))))))}}
{{
scope.row.destid == "1"
? "拇指"
: scope.row.destid == "2"
? "食指"
: scope.row.destid == "3"
? "中指"
: scope.row.destid == "4"
? "环指"
: scope.row.destid == "5"
? "小指"
: scope.row.destid == "6"
? "拇指"
: scope.row.destid == "7"
? "食指"
: scope.row.destid == "8"
? "中指"
: scope.row.destid == "9"
? "环指"
: scope.row.destid == "10"
? "小指"
: scope.row.destid == "11"
? "拇指"
: scope.row.destid == "12"
? "食指"
: scope.row.destid == "13"
? "中指"
: scope.row.destid == "14"
? "环指"
: scope.row.destid == "15"
? "小指"
: scope.row.destid == "16"
? "拇指"
: scope.row.destid == "17"
? "食指"
: scope.row.destid == "18"
? "中指"
: scope.row.destid == "19"
? "环指"
: "小指"
}}
</template>
</el-table-column>
<el-table-column prop="destbarcode" label="目标条码号" width="190"></el-table-column>
<el-table-column
prop="destbarcode"
label="目标条码号"
width="190"
></el-table-column>
</el-table>
<div class="lt_candidate_bottom">
<span>共计<b>{{total}}条</b>数据</span>
<span
>共计<b>{{ total }}条</b>数据</span
>
</div>
</div>
<div class="selectFinger" v-show="isShowOptions">
<div class="left-title">左手</div>
<div class="line" :class="{active: leftRoll}">
<div class="line" :class="{ active: leftRoll }">
<div class="selected">
<i class="el-icon-check" v-show="leftRoll"></i>
</div>
<div class="selected-type">滚动</div>
<div class="item" :class="{active: leftRM}" @click="changeLeftRM"></div>
<div class="item" :class="{active: leftRS}" @click="changeLeftRS"></div>
<div class="item" :class="{active: leftRZ}" @click="changeLeftRZ"></div>
<div class="item" :class="{active: leftRH}" @click="changeLeftRH"></div>
<div class="item" :class="{active: leftRX}" @click="changeLeftRX"></div>
<div class="item" :class="{ active: leftRM }" @click="changeLeftRM">
</div>
<div class="item" :class="{ active: leftRS }" @click="changeLeftRS">
</div>
<div class="item" :class="{ active: leftRZ }" @click="changeLeftRZ">
</div>
<div class="item" :class="{ active: leftRH }" @click="changeLeftRH">
</div>
<div class="item" :class="{ active: leftRX }" @click="changeLeftRX">
</div>
</div>
<div class="line" :class="{active: leftPain}">
<div class="line" :class="{ active: leftPain }">
<div class="selected">
<i class="el-icon-check" v-show="leftPain"></i>
</div>
<div class="selected-type">平面</div>
<div class="item" :class="{active: leftPM}" @click="changeLeftPM"></div>
<div class="item" :class="{active: leftPS}" @click="changeLeftPS"></div>
<div class="item" :class="{active: leftPZ}" @click="changeLeftPZ"></div>
<div class="item" :class="{active: leftPH}" @click="changeLeftPH"></div>
<div class="item" :class="{active: leftPX}" @click="changeLeftPX"></div>
<div class="item" :class="{ active: leftPM }" @click="changeLeftPM">
</div>
<div class="item" :class="{ active: leftPS }" @click="changeLeftPS">
</div>
<div class="item" :class="{ active: leftPZ }" @click="changeLeftPZ">
</div>
<div class="item" :class="{ active: leftPH }" @click="changeLeftPH">
</div>
<div class="item" :class="{ active: leftPX }" @click="changeLeftPX">
</div>
</div>
<div class="right-title">右手</div>
<div class="line" :class="{active: rightRoll}">
<div class="line" :class="{ active: rightRoll }">
<div class="selected">
<i class="el-icon-check" v-show="rightRoll"></i>
</div>
<div class="selected-type">滚动</div>
<div class="item" :class="{active: rightRM}" @click="changeRightRM"></div>
<div class="item" :class="{active: rightRS}" @click="changeRightRS"></div>
<div class="item" :class="{active: rightRZ}" @click="changeRightRZ"></div>
<div class="item" :class="{active: rightRH}" @click="changeRightRH"></div>
<div class="item" :class="{active: rightRX}" @click="changeRightRX"></div>
<div class="item" :class="{ active: rightRM }" @click="changeRightRM">
</div>
<div class="item" :class="{ active: rightRS }" @click="changeRightRS">
</div>
<div class="item" :class="{ active: rightRZ }" @click="changeRightRZ">
</div>
<div class="item" :class="{ active: rightRH }" @click="changeRightRH">
</div>
<div class="item" :class="{ active: rightRX }" @click="changeRightRX">
</div>
</div>
<div class="line" :class="{active: rightPain}">
<div class="line" :class="{ active: rightPain }">
<div class="selected">
<i class="el-icon-check" v-show="rightPain"></i>
</div>
<div class="selected-type">平面</div>
<div class="item" :class="{active: rightPM}" @click="changeRightPM"></div>
<div class="item" :class="{active: rightPS}" @click="changeRightPS"></div>
<div class="item" :class="{active: rightPZ}" @click="changeRightPZ"></div>
<div class="item" :class="{active: rightPH}" @click="changeRightPH"></div>
<div class="item" :class="{active: rightPX}" @click="changeRightPX"></div>
<div class="item" :class="{ active: rightPM }" @click="changeRightPM">
</div>
<div class="item" :class="{ active: rightPS }" @click="changeRightPS">
</div>
<div class="item" :class="{ active: rightPZ }" @click="changeRightPZ">
</div>
<div class="item" :class="{ active: rightPH }" @click="changeRightPH">
</div>
<div class="item" :class="{ active: rightPX }" @click="changeRightPX">
</div>
</div>
</div>
</div>
......@@ -83,7 +185,7 @@
<script>
export default {
name: "LTCandidate",
data () {
data() {
return {
checked: true,
tableData: null,
......@@ -124,13 +226,13 @@ export default {
isShowOptions: false
};
},
created () {
let self = this
self.$bus.on('initCandidate', (tableData) => {
created() {
let self = this;
self.$bus.on("initCandidate", tableData => {
console.log(tableData);
self.tableData = tableData
self.total = self.tableData.length
self.sourceTableData = tableData
self.tableData = tableData;
self.total = self.tableData.length;
self.sourceTableData = tableData;
// console.log(tableData);
});
},
......@@ -143,16 +245,16 @@ export default {
* @param {*} columnIndex
* @return {*}
*/
tableRowClassName ({ row, column, rowIndex, columnIndex }) {
tableRowClassName({ row, column, rowIndex, columnIndex }) {
console.log(row);
// 比中的行
if (row.affirmStatus == 2) {
console.log(row);
return "Bizhong"
return "Bizhong";
} else if (row.affirmStatus == 1) {
// 认定完成的行
console.log(row);
return "Identification"
return "Identification";
}
},
/**
......@@ -160,748 +262,748 @@ export default {
* @param {*}
* @return {*}
*/
switchOptions () {
this.isShowOptions = !this.isShowOptions
switchOptions() {
this.isShowOptions = !this.isShowOptions;
},
/**
* @description: 筛选指位为右手平面小指
* @param {*}
* @return {*}
*/
changeRightPX () {
changeRightPX() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 15
})
return item.destid == 15;
});
// 对勾
this.rightRoll = false
this.rightPain = true
this.leftRoll = false
this.leftPain = false
this.rightRoll = false;
this.rightPain = true;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = true
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = true;
},
/**
* @description: 筛选指位为右手平面环指
* @param {*}
* @return {*}
*/
changeRightPH () {
changeRightPH() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 14
})
return item.destid == 14;
});
// 对勾
this.rightRoll = false
this.rightPain = true
this.leftRoll = false
this.leftPain = false
this.rightRoll = false;
this.rightPain = true;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = true
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = true;
this.rightPX = false;
},
/**
* @description: 筛选指位为右手平面中指
* @param {*}
* @return {*}
*/
changeRightPZ () {
changeRightPZ() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 13
})
return item.destid == 13;
});
// 对勾
this.rightRoll = false
this.rightPain = true
this.leftRoll = false
this.leftPain = false
this.rightRoll = false;
this.rightPain = true;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = true
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = true;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为右手平面食指
* @param {*}
* @return {*}
*/
changeRightPS () {
changeRightPS() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 12
})
return item.destid == 12;
});
// 对勾
this.rightRoll = false
this.rightPain = true
this.leftRoll = false
this.leftPain = false
this.rightRoll = false;
this.rightPain = true;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = true
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = true;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为右手平面拇指
* @param {*}
* @return {*}
*/
changeRightPM () {
changeRightPM() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 11
})
return item.destid == 11;
});
// 对勾
this.rightRoll = false
this.rightPain = true
this.leftRoll = false
this.leftPain = false
this.rightRoll = false;
this.rightPain = true;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = true
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = true;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为右手滚动小指
* @param {*}
* @return {*}
*/
changeRightRX () {
changeRightRX() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 5
})
return item.destid == 5;
});
// 对勾
this.rightRoll = true
this.rightPain = false
this.leftRoll = false
this.leftPain = false
this.rightRoll = true;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = true
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = true;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为右手滚动环指
* @param {*}
* @return {*}
*/
changeRightRH () {
changeRightRH() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 4
})
return item.destid == 4;
});
// 对勾
this.rightRoll = true
this.rightPain = false
this.leftRoll = false
this.leftPain = false
this.rightRoll = true;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = true
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = true;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为右手滚动中指
* @param {*}
* @return {*}
*/
changeRightRZ () {
changeRightRZ() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 3
})
return item.destid == 3;
});
// 对勾
this.rightRoll = true
this.rightPain = false
this.leftRoll = false
this.leftPain = false
this.rightRoll = true;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = true
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = true;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为右手滚动食指
* @param {*}
* @return {*}
*/
changeRightRS () {
changeRightRS() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 2
})
return item.destid == 2;
});
// 对勾
this.rightRoll = true
this.rightPain = false
this.leftRoll = false
this.leftPain = false
this.rightRoll = true;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = true
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = true;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为右手滚动拇指
* @param {*}
* @return {*}
*/
changeRightRM () {
changeRightRM() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 1
})
return item.destid == 1;
});
// 对勾
this.rightRoll = true
this.rightPain = false
this.leftRoll = false
this.leftPain = false
this.rightRoll = true;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = true
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = true;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手平面小指
* @param {*}
* @return {*}
*/
changeLeftPX () {
changeLeftPX() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 20
})
return item.destid == 20;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = false
this.leftPain = true
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = true;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = true
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = true;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手平面环指
* @param {*}
* @return {*}
*/
changeLeftPH () {
changeLeftPH() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 19
})
return item.destid == 19;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = false
this.leftPain = true
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = true;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = true
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = true;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手平面中指
* @param {*}
* @return {*}
*/
changeLeftPZ () {
changeLeftPZ() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 18
})
return item.destid == 18;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = false
this.leftPain = true
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = true;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = true
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = true;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手平面食指
* @param {*}
* @return {*}
*/
changeLeftPS () {
changeLeftPS() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 17
})
return item.destid == 17;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = false
this.leftPain = true
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = true;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = true
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = true;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手平面拇指
* @param {*}
* @return {*}
*/
changeLeftPM () {
changeLeftPM() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 16
})
return item.destid == 16;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = false
this.leftPain = true
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = false;
this.leftPain = true;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = true
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = true;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手滚动小指
* @param {*}
* @return {*}
*/
changeLeftRX () {
changeLeftRX() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 10
})
return item.destid == 10;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = true
this.leftPain = false
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = true;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = true
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = true;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手滚动环指
* @param {*}
* @return {*}
*/
changeLeftRH () {
changeLeftRH() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 9
})
return item.destid == 9;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = true
this.leftPain = false
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = true;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = false
this.leftRH = true
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = true;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手滚动中指
* @param {*}
* @return {*}
*/
changeLeftRZ () {
changeLeftRZ() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 8
})
return item.destid == 8;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = true
this.leftPain = false
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = true;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = false
this.leftRZ = true
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = false;
this.leftRZ = true;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手滚动食指
* @param {*}
* @return {*}
*/
changeLeftRS () {
changeLeftRS() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 7
})
return item.destid == 7;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = true
this.leftPain = false
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = true;
this.leftPain = false;
// 左手
this.leftRM = false
this.leftRS = true
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = false;
this.leftRS = true;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 筛选指位为左手滚动拇指
* @param {*}
* @return {*}
*/
changeLeftRM () {
changeLeftRM() {
this.tableData = this.sourceTableData.filter(item => {
return item.destid == 6
})
return item.destid == 6;
});
// 对勾
this.rightRoll = false
this.rightPain = false
this.leftRoll = true
this.leftPain = false
this.rightRoll = false;
this.rightPain = false;
this.leftRoll = true;
this.leftPain = false;
// 左手
this.leftRM = true
this.leftRS = false
this.leftRZ = false
this.leftRH = false
this.leftRX = false
this.leftPM = false
this.leftPS = false
this.leftPZ = false
this.leftPH = false
this.leftPX = false
this.leftRM = true;
this.leftRS = false;
this.leftRZ = false;
this.leftRH = false;
this.leftRX = false;
this.leftPM = false;
this.leftPS = false;
this.leftPZ = false;
this.leftPH = false;
this.leftPX = false;
// 右手
this.rightRM = false
this.rightRS = false
this.rightRZ = false
this.rightRH = false
this.rightRX = false
this.rightPM = false
this.rightPS = false
this.rightPZ = false
this.rightPH = false
this.rightPX = false
this.rightRM = false;
this.rightRS = false;
this.rightRZ = false;
this.rightRH = false;
this.rightRX = false;
this.rightPM = false;
this.rightPS = false;
this.rightPZ = false;
this.rightPH = false;
this.rightPX = false;
},
/**
* @description: 修改表头添加icon
......@@ -909,34 +1011,32 @@ export default {
* @param {*} column
* @return {*}
*/
icons (h, { column }) {
return h(
'div', [
h('span', column.label),
h('i', {
class: 'el-icon-arrow-down',
style: 'color:#B1B6C2;margin-left:5px;cursor:pointer;',
icons(h, { column }) {
return h("div", [
h("span", column.label),
h("i", {
class: "el-icon-arrow-down",
style: "color:#B1B6C2;margin-left:5px;cursor:pointer;",
on: {
click: this.switchOptions
}
})
]
)
]);
},
/**
* @description: 筛选按钮
* @param {*}
* @return {*}
*/
search () {
let self = this
search() {
let self = this;
console.info(this.select);
if (self.input3 != '') {
if (self.input3 != "") {
this.tableData = this.sourceTableData.filter(item => {
return item.destbarcode == self.input3
})
return item.destbarcode == self.input3;
});
} else {
this.tableData = this.sourceTableData
this.tableData = this.sourceTableData;
}
},
/**
......@@ -945,36 +1045,37 @@ export default {
* @param {*} old
* @return {*}
*/
handleCurrentChange (val, old) {
let self = this
handleCurrentChange(val, old) {
let self = this;
console.log(val);
if (val != null) {
// 存储目标条码号
sessionStorage.setItem('destbarcode', val.destbarcode)
sessionStorage.setItem("destbarcode", val.destbarcode);
// 存储目的数据序号
sessionStorage.setItem('destseqno', val.destid)
sessionStorage.setItem("destseqno", val.destid);
// this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`)
this.$axios.get(`/api/org/plainByBarcode/${val.destbarcode}/${val.destid}/`)
this.$axios
.get(`/api/org/plainByBarcode/${val.destbarcode}/${val.destid}/`)
.then(response => {
console.log(response);
self.$bus.emit('changImageEditTarget', response.data.ret.image)
})
self.$bus.emit("changImageEditTarget", response.data.ret.image);
});
}
}
},
watch: {
checked (newValue, oldValue) {
checked(newValue, oldValue) {
console.log();
if (newValue) {
this.tableData = this.sourceTableData
this.tableData = this.sourceTableData;
} else {
this.tableData = this.sourceTableData.filter(item => {
return item.affirmStatus != 2
})
return item.affirmStatus != 2;
});
console.log(this.tableData);
}
}
},
}
};
const candidates = [
{
......@@ -1042,7 +1143,7 @@ const candidates = [
width: 130px;
}
}
.input-with-select {
.input-with-select {
.el-input-group__prepend {
background-color: #fff;
}
......@@ -1056,15 +1157,16 @@ const candidates = [
right: 60px;
width: 236px;
height: 194px;
background: #FFFFFF;
background: #ffffff;
box-shadow: 0px 6px 10px 2px rgba(0, 21, 51, 0.06);
border-radius: 4px;
border: 1px solid #E6E6E8;
border: 1px solid #e6e6e8;
padding: 8px 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
.left-title, .right-title {
.left-title,
.right-title {
font-size: 14px;
font-family: MicrosoftYaHei;
color: #666666;
......@@ -1100,27 +1202,23 @@ const candidates = [
color: #999999;
margin-right: 16px;
&.active {
color: #006AFF;
color: #006aff;
}
}
&.active {
background: #F5F5F7;
background: #f5f5f7;
}
}
}
.Bizhong {
.cell {
color: #FF0039;
color: #ff0039;
}
}
.Identification {
.cell {
color: #055FE7;
color: #055fe7;
}
}
}
</style>
<template> </template>
<template>
<div class="tl-candidate">
<div class="tl-search">
<div class="label">手纹</div>
<el-input
class="input"
v-model="input3"
placeholder="请输入条码号/指位"
></el-input>
<div class="btn">筛选</div>
<br />
<div class="checked">
<el-checkbox v-model="checked">显示已比中候选</el-checkbox>
</div>
</div>
<el-table
highlight-current-row
@current-change="handleCurrentChange"
class="lt_candidate_table"
:data="tableData"
:row-class-name="tableRowClassName"
>
<el-table-column label="排名" type="index" width="50"> </el-table-column>
<el-table-column prop="score" label="得分" width="50"></el-table-column>
<el-table-column label="序号" width="50"></el-table-column>
<el-table-column
prop="destbarcode"
label="目标条码号"
width="190"
></el-table-column>
</el-table>
</div>
</template>
<script>
export default {
name: "TLCandidate"
name: "TLCandidate",
data() {
return {
input3: "",
tableData: ""
};
},
methods: {
handleCurrentChange(val, old) {
console.info(val, old);
},
tableRowClassName(val, old) {
console.info(val, old);
}
}
};
</script>
<style scoped></style>
<style lang="scss">
.tl-candidate {
width: 100%;
height: 100%;
background: #f6f8fa;
border-radius: 8px;
div {
display: inline-block;
}
.tl-search {
width: 352px;
height: 60px;
background: #ffffff;
.label {
width: 32px;
height: 24px;
font-size: 16px;
font-family: MicrosoftYaHei;
color: #1a1a1a;
line-height: 24px;
}
.input {
width: 260px;
height: 32px;
background: #ffffff;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border: 1px solid #e6e6e8;
margin-left: 10px;
}
.btn {
width: 44px;
height: 32px;
background: #006aff;
border-radius: 0px 4px 4px 0px;
line-height: 32px;
color: #ffffff;
text-align: center;
}
.checked {
display: flex;
justify-content: flex-end;
}
}
}
.el-input__inner {
width: 260px;
height: 32px;
background: #ffffff;
//border: #0e0eff 1px solid;
}
</style>
<template>
<div class="lt-src">
<div class="tl-src">
<div class="top">
<label>任务号:</label>
<el-checkbox v-model="checked">显示已认定完成查询ID</el-checkbox>
......@@ -59,18 +59,18 @@
<!-- style="width: 106px;height: 106px;"-->
<!-- />-->
</div>
<div class="finger">
<div class="num"></div>
</div>
<div class="finger">
<div class="num"></div>
</div>
<div class="finger">
<div class="num"></div>
</div>
<div class="finger">
<div class="num"></div>
</div>
<!-- <div class="finger">-->
<!-- <div class="num"></div>-->
<!-- </div>-->
<!-- <div class="finger">-->
<!-- <div class="num"></div>-->
<!-- </div>-->
<!-- <div class="finger">-->
<!-- <div class="num"></div>-->
<!-- </div>-->
<!-- <div class="finger">-->
<!-- <div class="num"></div>-->
<!-- </div>-->
</div>
<br /><br />
<div class="outside">
......@@ -78,18 +78,18 @@
<div class="finger">
<div class="num"></div>
</div>
<div class="finger">
<div class="num"></div>
</div>
<div class="finger">
<div class="num"></div>
</div>
<div class="finger">
<div class="num"></div>
</div>
<div class="finger">
<div class="num"></div>
</div>
<!-- <div class="finger">-->
<!-- <div class="num"></div>-->
<!-- </div>-->
<!-- <div class="finger">-->
<!-- <div class="num"></div>-->
<!-- </div>-->
<!-- <div class="finger">-->
<!-- <div class="num"></div>-->
<!-- </div>-->
<!-- <div class="finger">-->
<!-- <div class="num"></div>-->
<!-- </div>-->
</div>
</div>
<div class="bottom">
......@@ -165,7 +165,7 @@ export default {
div {
display: inline-block;
}
.lt-src {
.tl-src {
width: 100%;
height: 100%;
.top {
......@@ -177,6 +177,9 @@ div {
height: 100%;
background: #ffffff;
border-radius: 8px;
.data {
width: 100%;
}
}
}
.finger-print {
......@@ -186,7 +189,6 @@ div {
.btns {
width: 260px;
height: 32px;
border: 1px solid cornflowerblue;
margin: 12px 0 12px 46px;
.btn {
width: 129px;
......@@ -206,11 +208,11 @@ div {
margin-top: 0px;
overflow-y: auto;
width: 100%;
height: 520px;
height: 500px;
.outside {
border: 1px crimson solid;
bottom: 6px;
height: 200px;
height: 230px;
margin: 0;
.label {
width: 28px;
height: 22px;
......
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