Commit bbd1f073 by li_hongchao

Merge remote-tracking branch 'origin/dev_zwpt' into dev_zwpt

parents 51e44d58 62c6c3d6
<?xml version="1.0" encoding="UTF-8"?>
<svg width="210px" height="40px" viewBox="0 0 210 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>编组 168备份 2</title>
<defs>
<linearGradient x1="97.3463649%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
<stop stop-color="#FEB344" offset="0%"></stop>
<stop stop-color="#FA9501" offset="100%"></stop>
</linearGradient>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="编组-168备份-2" fill-rule="nonzero">
<polygon id="路径备份-43" fill="url(#linearGradient-1)" points="0 0 179.25 0 195 17.675 179.25 35 0 35"></polygon>
<polygon id="路径备份-47" fill="#FA9500" opacity="0.2" points="21 1 195.15 1 210 17.665 195.15 34 21 34"></polygon>
<polygon id="路径备份-51" fill="#DF8500" points="0 35 9 35 9 40"></polygon>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="210px" height="40px" viewBox="0 0 210 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>编组 168备份 3</title>
<defs>
<linearGradient x1="97.3463649%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
<stop stop-color="#5D9BFA" offset="0%"></stop>
<stop stop-color="#055FE7" offset="100%"></stop>
</linearGradient>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="编组-168备份-3" fill-rule="nonzero">
<polygon id="路径备份-43" fill="url(#linearGradient-1)" points="0 0 179.25 0 195 17.675 179.25 35 0 35"></polygon>
<polygon id="路径备份-47" fill="#1B6EEC" opacity="0.199789138" points="21 1 195.15 1 210 17.665 195.15 34 21 34"></polygon>
<polygon id="路径备份-51" fill="#0056D9" points="0 35 9 35 9 40"></polygon>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="210px" height="40px" viewBox="0 0 210 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>编组 168备份</title>
<defs>
<linearGradient x1="97.3463649%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
<stop stop-color="#FB6A77" offset="0%"></stop>
<stop stop-color="#E60012" offset="100%"></stop>
</linearGradient>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="编组-168备份" fill-rule="nonzero">
<polygon id="路径备份-43" fill="url(#linearGradient-1)" points="0 0 179.25 0 195 17.675 179.25 35 0 35"></polygon>
<polygon id="路径备份-47" fill="#E50314" opacity="0.15" points="21 1 195.15 1 210 17.665 195.15 34 21 34"></polygon>
<polygon id="路径备份-51" fill="#CD0313" points="0 35 9 35 9 40"></polygon>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="1920px" height="133px" viewBox="0 0 1920 133" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>形状结合备份</title>
<defs>
<path d="M0,0 L1920,0 L1920,60 L1191,60 C1185.47715,60 1181,64.4771525 1181,70 L1181,108 C1181,116.284271 1174.28427,123 1166,123 L952,123 L952,123 L756,123 C747.715729,123 741,116.284271 741,108 L741,70 C741,64.4771525 736.522847,60 731,60 L0,60 L0,60 L0,0 Z" id="path-1"></path>
<filter x="-0.6%" y="-5.7%" width="101.1%" height="117.9%" filterUnits="objectBoundingBox" id="filter-2">
<feOffset dx="0" dy="4" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
<feGaussianBlur stdDeviation="3" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
<feColorMatrix values="0 0 0 0 0.0196078431 0 0 0 0 0.37254902 0 0 0 0 0.905882353 0 0 0 0.08 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
</filter>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="形状结合备份">
<use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
<use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-1"></use>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="210px" height="40px" viewBox="0 0 210 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>编组 168</title>
<defs>
<linearGradient x1="97.3463649%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
<stop stop-color="#56E0B4" offset="0%"></stop>
<stop stop-color="#00B47A" offset="100%"></stop>
</linearGradient>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="编组-168" fill-rule="nonzero">
<polygon id="路径备份-43" fill="url(#linearGradient-1)" points="0 0 179.25 0 195 17.675 179.25 35 0 35"></polygon>
<polygon id="路径备份-47" fill="#0AB981" opacity="0.200309" points="31 1 195.15 1 210 17.665 195.15 34 31 34"></polygon>
<polygon id="路径备份-51" fill="#049F6D" points="0 35 9 35 9 40"></polygon>
</g>
</g>
</svg>
\ No newline at end of file
......@@ -42,7 +42,6 @@
/>
<img
v-show="!isCollapse"
class="title"
src="../assets/img/Home/tmLogo.svg"
alt=""
/>
......
......@@ -1029,10 +1029,7 @@ export default {
* @function strArr
* @param {String} str 用户组角色字符串(逗号分隔)
* @example 当用户组角色大于三个则裁剪否则不操作
* @returns {Object} 返回的对象看上图解释(obj)
* @property {object} obj - 该函数返回的对象.
* @property {array} obj.arr - 裁剪后的角色集合.
* @property {number} obj.length - 裁剪前的角色个数.
* @returns {Object} (arr: 裁剪前的对象个数 , length: 裁剪后的对象集合)
* @see 1038
*/
strArr(str) {
......@@ -1104,12 +1101,12 @@ export default {
* @function userDel
* @param {String} id 用户id
* @example 用户设置弹窗删除用户
* @property {object} axiosObect - 使用到接口的信息.
* @property {String} [axiosObect.url=http://zwpt.xzclub.top:9333/users/delUserFromGroup] 请求地址
* @property {String} [axiosObect.method=delete] 请求方式
* @property {object} axiosObect.data 请求参数
* @property {String} axiosObect.data.groupId 组id
* @property {String} axiosObect.data.userId 用户id
* @property {object} request - 使用到接口的信息.
* @property {String} [request.url=http://zwpt.xzclub.top:9333/users/delUserFromGroup] 请求地址
* @property {String} [request.method=delete] 请求方式
* @property {object} request.data 请求参数
* @property {String} request.data.groupId 组id
* @property {String} request.data.userId 用户id
* @property {object} response - 获取到的数据.
* @property {number} response.code - 状态码(200为成功).
* @property {String} response.info - success为成功.
......
......@@ -96,7 +96,12 @@
</div>
<div class="bzitem">
<div class="bzname">比中人联系电话:</div>
<el-input class="bzphone" v-model="phone" placeholder="请输入内容" disabled></el-input>
<el-input
class="bzphone"
v-model="phone"
placeholder="请输入内容"
disabled
></el-input>
<div class="input-error" v-show="isPhoneError">
<!-- <img src="@/assets/img/inputerror.png" alt=""> -->
<svg-icon icon-class="error" class="icon" />
......@@ -109,7 +114,12 @@
<div class="line"></div>
<div class="bzfooter">
<div class="footer-title">备注</div>
<el-input type="textarea" :rows="5" placeholder="在此输入备注信息" v-model="textarea">
<el-input
type="textarea"
:rows="5"
placeholder="在此输入备注信息"
v-model="textarea"
>
</el-input>
</div>
<div class="bzbtns">
......@@ -144,9 +154,9 @@ export default {
components: {
LTSrc,
LTCandidate,
ImageEd
ImageEd,
},
data () {
data() {
return {
qid: null,
radio: 6,
......@@ -172,31 +182,31 @@ export default {
// 比中弹窗--用户信息
userInfo: {},
// 判断是否被比中
bzData: {}
bzData: {},
};
},
created () {
let self = this
created() {
let self = this;
this.qid = this.$route.query.rowData;
//console.log("源qid====>", this.qid);
this.userInfo = JSON.parse(localStorage.getItem('userInfo'))
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
console.log(this.userInfo);
if (this.userInfo) {
this.bzr = this.userInfo.name
this.bzdw = this.userInfo.unitName
this.dwdm = this.userInfo.unitCode
this.bzrsfzh = this.userInfo.idCard
this.phone = this.userInfo.phoneNumber
this.bzr = this.userInfo.name;
this.bzdw = this.userInfo.unitName;
this.dwdm = this.userInfo.unitCode;
this.bzrsfzh = this.userInfo.idCard;
this.phone = this.userInfo.phoneNumber;
}
},
mounted () {
let self = this
this.$bus.on('bzJudge', (val) => {
self.bzData = val
})
mounted() {
let self = this;
this.$bus.on("bzJudge", (val) => {
self.bzData = val;
});
},
watch: {
phone (newValue, oldValue) {
phone(newValue, oldValue) {
if (newValue.length < 7) {
this.isPhoneError = true;
document
......@@ -208,7 +218,7 @@ export default {
.getElementsByTagName("body")[0]
.style.setProperty("--phone", "#606266");
}
}
},
},
methods: {
/**
......@@ -216,7 +226,7 @@ export default {
* @param {*}
* @return {*}
*/
confirmrdwc () {
confirmrdwc() {
let self = this;
this.isShowrdwcDialogBg = false;
this.isShowrdwcDialog = false;
......@@ -241,9 +251,9 @@ export default {
destbarcode,
qqid,
qid,
querytype
}
}).then(response => {
querytype,
},
}).then((response) => {
if (response.data.code === 0) {
// 跟新列表数据
self.$bus.emit("updateFinderSource");
......@@ -260,7 +270,7 @@ export default {
* @param {*}
* @return {*}
*/
cancelrdwc () {
cancelrdwc() {
this.isShowrdwcDialogBg = false;
this.isShowrdwcDialog = false;
},
......@@ -269,7 +279,7 @@ export default {
* @param {*}
* @return {*}
*/
cancelbz () {
cancelbz() {
this.isShowbzDialogBg = false;
this.isShowbzDialog = false;
},
......@@ -278,7 +288,7 @@ export default {
* @param {*}
* @return {*}
*/
confirmbz () {
confirmbz() {
let self = this;
let srcseqno = Number(sessionStorage.getItem("srcseqno"));
let destseqno = Number(sessionStorage.getItem("destseqno"));
......@@ -287,13 +297,13 @@ export default {
let destbarcode = sessionStorage.getItem("destbarcode") || "";
let qqid = Number(sessionStorage.getItem("qqid"));
let qid = Number(sessionStorage.getItem("qid"));
let userName = this.bzr
let idCard = this.bzrsfzh
let tel = this.phone
let unit = this.bzdw
let unitCode = this.dwdm
let affirmtime = new Date(this.bzsj)
let affirmDescribe = this.textarea
let userName = this.bzr;
let idCard = this.bzrsfzh;
let tel = this.phone;
let unit = this.bzdw;
let unitCode = this.dwdm;
let affirmtime = new Date(this.bzsj);
let affirmDescribe = this.textarea;
if (!destbarcode) {
this.$message.error("信息不全,无法比中!");
......@@ -318,10 +328,10 @@ export default {
unit,
unitCode,
affirmtime,
affirmDescribe
}
affirmDescribe,
},
})
.then(response => {
.then((response) => {
if (response.data.code === 0) {
// 跟新列表数据
self.$bus.emit("updateFinderSource");
......@@ -330,7 +340,7 @@ export default {
this.$message.error("比中失败!");
}
})
.catch(err => {
.catch((err) => {
this.$message.error("比中失败!");
});
this.isShowbzDialogBg = false;
......@@ -341,17 +351,17 @@ export default {
* @param {*}
* @return {*}
*/
getUserInfo2 () {
getUserInfo2() {
let self = this;
let destbarcode = sessionStorage.getItem("destbarcode") || "";
this.$axios({
url: "/api/casestore/casebase",
method: "get",
params: {
barcode: destbarcode
barcode: destbarcode,
},
loading: false
}).then(res => {
loading: false,
}).then((res) => {
if (res.data.code == 0) {
self.xckybh = res.data.ret.kybh;
}
......@@ -362,23 +372,23 @@ export default {
* @param {*} id
* @return {*}
*/
getUserInfo (id = 1234) {
getUserInfo(id = 1234) {
let self = this;
this.$axios({
method: "post",
url: "/api/user/searchByUserid",
data: {
id: id
id: id,
},
loading: false
}).then(async res => {
loading: false,
}).then(async (res) => {
if (res.data.code == 0) {
let data = res.data.ret[0];
//console.log(data);
let dw = await self.$axios({
method: "get",
url: "/api/code/unit/one/" + data.userunit,
loading: false
loading: false,
});
let time = new Date(data.updatetime);
self.bzsj = Utils.timeStampTurnTime2(time);
......@@ -395,14 +405,14 @@ export default {
* @param {*}
* @return {*}
*/
async Bz () {
if(this.bzData == null) {
async Bz() {
if (this.bzData == null) {
this.$message.error("信息不全无法比中!");
return
};
if (this.bzData.affirmstatus == '2' || this.bzData.affirmstatus == '3') {
return;
}
if (this.bzData.affirmstatus == "2" || this.bzData.affirmstatus == "3") {
this.$message.error("已经比中过的数据无法再次比中!");
return
return;
}
// this.getUserInfo2();
// 比中时间
......@@ -411,10 +421,10 @@ export default {
this.rybh = sessionStorage.getItem("destbarcode");
this.judgeZw(Number(sessionStorage.getItem("destseqno")));
let res = await this.$axios({
mehtod: 'get',
url: `/api/casestore/casebase/detail?barcode=${this.asjbh}`
})
this.bzsj = res.data.ret.time
mehtod: "get",
url: `/api/casestore/casebase/detail?barcode=${this.asjbh}`,
});
this.bzsj = res.data.ret.time;
console.log(Number(sessionStorage.getItem("destseqno")));
console.log(this.zw);
this.isShowbzDialogBg = true;
......@@ -425,7 +435,7 @@ export default {
* @param {*}
* @return {*}
*/
Rdwc () {
Rdwc() {
//console.log("认定完成");
let qqid = sessionStorage.getItem("qqid") || "";
......@@ -434,10 +444,10 @@ export default {
method: "post",
url: "/api/matchcand/affirm/confirm",
data: {
qqid
qqid,
},
loading: false
}).then(res => {
loading: false,
}).then((res) => {
//console.log(res);
if (!res.data.ret) {
this.isShowrdwcDialogBg = true;
......@@ -453,7 +463,7 @@ export default {
* @param {*} code
* @return {*}
*/
judgeZw (code) {
judgeZw(code) {
//console.log(code);
switch (code) {
case 1:
......@@ -529,18 +539,18 @@ export default {
this.zw = "右半掌";
break;
}
}
},
},
computed: {
...mapState({
loading_sd: (state) => state.loading.loading_sd,
}),
},
beforeDestroy () {
beforeDestroy() {
// 组件销毁前需要解绑事件。否则会出现重复触发事件的问题
this.$bus.off("updateFinderSource");
this.$bus.off("bzJudge");
}
},
};
</script>
......@@ -594,7 +604,6 @@ div {
background-color: #ffffff;
/*padding: 24px;*/
margin: 0;
padding: 0 24px 24px 24px;
display: flex;
flex-direction: column;
/deep/.el-table__body-wrapper.is-scrolling-none {
......@@ -609,12 +618,13 @@ div {
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 25px;
.label {
align-self: flex-start;
height: 22px;
font-size: 16px;
font-weight: bold;
color: #00B47A;
color: #00b47a;
line-height: 22px;
margin-top: 14px;
}
......@@ -683,6 +693,9 @@ div {
border: none;
/* margin-right: 16px; */
margin-top: 18px;
box-shadow: 0px 4px 10px 0px rgba(5, 95, 231, 0.3);
border-radius: 0px 20px 0px 0px;
overflow: hidden;
}
.lt_main_middle {
width: 1120px;
......@@ -704,10 +717,13 @@ div {
border: 1px #8b4513 solid;
}
.lt_main_right {
margin-top: 50px;
margin-top: 20px;
margin-left: 16px;
width: 380px;
border: none;
border-radius: 20px 0px 0px 0px;
overflow: hidden;
box-shadow: 0px 4px 10px 0px rgba(5, 95, 231, 0.3);
}
.lt_main_footer {
......
......@@ -14,7 +14,7 @@
></el-input>
</div>
<div class="display_style">
<span>用户:</span>
<span class="labelFont">用户:</span>
<el-select
class="el_select"
v-model="reqParam.contrastCustomSearchReq.userid"
......@@ -30,7 +30,7 @@
</el-select>
</div>
<div class="display_style">
<span>查询ID:</span>
<span class="labelFont">查询ID:</span>
<el-input
class="el_input"
placeholder="请输入查询ID"
......@@ -38,7 +38,7 @@
></el-input>
</div>
<div class="display_style">
<span>任务号:</span>
<span class="labelFont">任务号:</span>
<el-input
class="el_input"
placeholder="请输入任务号"
......@@ -49,7 +49,7 @@
class="display_style send_time"
style="display: flex; align-items: center"
>
<span>发送时间:</span>
<span class="labelFont">发送时间:</span>
<el-date-picker
v-model="startEndDate"
style="display: flex; align-items: center"
......@@ -77,7 +77,7 @@
</div>
<div class="width100 margin_top24_bottom24 display_style">
<div class="display_style prevent">
<label>查询类型:</label>
<label class="btnLabel">查询类型:</label>
<div v-for="(btn, index) in queryTypeBtns" :key="index">
<!-- <div-->
<!-- class="btn"-->
......@@ -111,7 +111,7 @@
</div>
<p class="shu"></p>
<div class="display_style prevent">
<label>优先级:</label>
<label class="btnLabel">优先级:</label>
<div v-for="(btn, index) in queryClassBtns" :key="index">
<div
class="btn"
......@@ -128,7 +128,7 @@
</div>
<p class="shu"></p>
<div class="display_style">
<label>是否远程:</label>
<label class="btnLabel">是否远程:</label>
<div v-for="(btn, index) in remoteFlagBtns" :key="index">
<div
class="btn"
......@@ -150,7 +150,7 @@
</div>
</div>
<div class="width100 margin_top24_bottom24 display_style">
<label class="width70">状态选择:</label>
<label class="width70 btnLabel">状态选择:</label>
<!-- -1:无效;0:等待比对;1:正在比对;9:比对出错;10:比对完成(等待认定);11:正在认定;19:认定出错;20:认定完成(等待复核);21:正在复核;29:复核出错;30;复合完成;99:标记删除-->
<div class="btn" @click="allQueryType()">全部</div>
<div v-for="(btn, index) in queryStateBtns" :key="index">
......@@ -1385,7 +1385,7 @@ div {
float: left;
color: #055fe7;
margin-right: 10px;
transform: translateY(3px);
transform: translateY(5px);
cursor: pointer;
> i {
margin-right: 5px;
......@@ -1613,6 +1613,11 @@ b {
/deep/.el-input__inner {
height: 32px !important;
}
.btnLabel {
font-family: HarmonyOS_Sans_SC_Medium;
color: #282f3c;
font-size: 14px;
}
.btn {
width: fit-content;
display: flex;
......@@ -1625,7 +1630,7 @@ b {
margin: 0 15px 0 12px;
font-size: 14px;
font-weight: 350;
color: #333333;
color: #666666;
cursor: pointer;
}
......
......@@ -3,35 +3,58 @@
<div class="lt_cnadidate_search">
<div class="finger-dropdown">
<div class="fingerName">
<span>{{searchType}}</span>
<span>{{ searchType }}</span>
</div>
<transition name="slide-fade">
<div class="dropdown-options" v-show="isFingerDropdown" @click="changefingershowType($event)">
<div
class="dropdown-options"
v-show="isFingerDropdown"
@click="changefingershowType($event)"
>
<div class="option-item">
<div class="selected"><span v-if="fingershowType==='指纹'"></span></div>
<div class="selected">
<span v-if="fingershowType === '指纹'"></span>
</div>
<div class="txt">指纹</div>
</div>
<div class="option-item">
<div class="selected"><span v-if="fingershowType==='掌纹'"></span></div>
<div class="selected">
<span v-if="fingershowType === '掌纹'"></span>
</div>
<div class="txt">掌纹</div>
</div>
</div>
</transition>
</div>
<el-input class="input" v-model="input3" placeholder="请输入条码号/指位" @keydown.enter="search"></el-input>
<div class="btn" @click="search">筛选</div>
<el-input
class="input"
v-model="input3"
placeholder="请输入条码号/指位"
@keydown.enter="search"
></el-input>
<div class="btn" @click="search">
<img src="@/assets/img/rgrd/fangdajing.png" alt="">
</div>
<div class="checked">
<el-checkbox v-model="checked">显示已比中候选</el-checkbox>
</div>
</div>
<div class="lt_candidate_number">
<el-table height="46rem" highlight-current-row @current-change="handleCurrentChange" class="lt_candidate_table" :data="tableData" ref="singleTable" :row-class-name="tableRowClassName">
<el-table
height="44rem"
highlight-current-row
@current-change="handleCurrentChange"
class="lt_candidate_table"
:data="tableData"
ref="singleTable"
:row-class-name="tableRowClassName"
>
<el-table-column label="排名" type="index" :width="width1">
</el-table-column>
<el-table-column prop="score" label="得分" :width="width2">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag===1">
<span v-if="scope.row.removeFlag === 1">
<del>{{ scope.row.score }}</del>
</span>
<span v-else>
......@@ -39,49 +62,55 @@
</span>
</template>
</el-table-column>
<el-table-column v-if="searchType == '指纹'" prop="destseqno" label="指位" :width="!roleArr.includes('C-1-7')?'auto':width3" :render-header="icons">
<el-table-column
v-if="searchType == '指纹'"
prop="destseqno"
label="指位"
:width="!roleArr.includes('C-1-7') ? 'auto' : width3"
:render-header="icons"
>
<template slot-scope="scope">
<span v-if="scope.row.removeFlag===1">
<span v-if="scope.row.removeFlag === 1">
<del>{{
scope.row.destseqno == "1"
? "拇指"
: scope.row.destseqno == "2"
? "食指"
: scope.row.destseqno == "3"
? "中指"
: scope.row.destseqno == "4"
? "环指"
: scope.row.destseqno == "5"
? "小指"
: scope.row.destseqno == "6"
? "拇指"
: scope.row.destseqno == "7"
? "食指"
: scope.row.destseqno == "8"
? "中指"
: scope.row.destseqno == "9"
? "环指"
: scope.row.destseqno == "10"
? "小指"
: scope.row.destseqno == "11"
? "拇指"
: scope.row.destseqno == "12"
? "食指"
: scope.row.destseqno == "13"
? "中指"
: scope.row.destseqno == "14"
? "环指"
: scope.row.destseqno == "15"
? "小指"
: scope.row.destseqno == "16"
? "拇指"
: scope.row.destseqno == "17"
? "食指"
: scope.row.destseqno == "18"
? "中指"
: scope.row.destseqno == "19"
? "环指"
: "小指"
? "食指"
: scope.row.destseqno == "3"
? "中指"
: scope.row.destseqno == "4"
? "环指"
: scope.row.destseqno == "5"
? "小指"
: scope.row.destseqno == "6"
? "拇指"
: scope.row.destseqno == "7"
? "食指"
: scope.row.destseqno == "8"
? "中指"
: scope.row.destseqno == "9"
? "环指"
: scope.row.destseqno == "10"
? "小指"
: scope.row.destseqno == "11"
? "拇指"
: scope.row.destseqno == "12"
? "食指"
: scope.row.destseqno == "13"
? "中指"
: scope.row.destseqno == "14"
? "环指"
: scope.row.destseqno == "15"
? "小指"
: scope.row.destseqno == "16"
? "拇指"
: scope.row.destseqno == "17"
? "食指"
: scope.row.destseqno == "18"
? "中指"
: scope.row.destseqno == "19"
? "环指"
: "小指"
}}</del>
</span>
<span v-else>
......@@ -89,64 +118,87 @@
scope.row.destseqno == "1"
? "拇指"
: scope.row.destseqno == "2"
? "食指"
: scope.row.destseqno == "3"
? "中指"
: scope.row.destseqno == "4"
? "环指"
: scope.row.destseqno == "5"
? "小指"
: scope.row.destseqno == "6"
? "拇指"
: scope.row.destseqno == "7"
? "食指"
: scope.row.destseqno == "8"
? "中指"
: scope.row.destseqno == "9"
? "环指"
: scope.row.destseqno == "10"
? "小指"
: scope.row.destseqno == "11"
? "拇指"
: scope.row.destseqno == "12"
? "食指"
: scope.row.destseqno == "13"
? "中指"
: scope.row.destseqno == "14"
? "环指"
: scope.row.destseqno == "15"
? "小指"
: scope.row.destseqno == "16"
? "拇指"
: scope.row.destseqno == "17"
? "食指"
: scope.row.destseqno == "18"
? "中指"
: scope.row.destseqno == "19"
? "环指"
: "小指"
? "食指"
: scope.row.destseqno == "3"
? "中指"
: scope.row.destseqno == "4"
? "环指"
: scope.row.destseqno == "5"
? "小指"
: scope.row.destseqno == "6"
? "拇指"
: scope.row.destseqno == "7"
? "食指"
: scope.row.destseqno == "8"
? "中指"
: scope.row.destseqno == "9"
? "环指"
: scope.row.destseqno == "10"
? "小指"
: scope.row.destseqno == "11"
? "拇指"
: scope.row.destseqno == "12"
? "食指"
: scope.row.destseqno == "13"
? "中指"
: scope.row.destseqno == "14"
? "环指"
: scope.row.destseqno == "15"
? "小指"
: scope.row.destseqno == "16"
? "拇指"
: scope.row.destseqno == "17"
? "食指"
: scope.row.destseqno == "18"
? "中指"
: scope.row.destseqno == "19"
? "环指"
: "小指"
}}
</span>
</template>
</el-table-column>
<el-table-column v-else-if="searchType == '掌纹'" prop="destseqno" label="掌位" :width="!roleArr.includes('C-1-7')?'auto':width3" :render-header="icons">
<el-table-column
v-else-if="searchType == '掌纹'"
prop="destseqno"
label="掌位"
:width="!roleArr.includes('C-1-7') ? 'auto' : width3"
:render-header="icons"
>
<template slot-scope="scope">
<span v-if="scope.row.removeFlag===1">
<span v-if="scope.row.removeFlag === 1">
<del>{{
scope.row.destseqno == "31" ? "右半掌" : scope.row.destseqno == "32" ? "左半掌" : scope.row.destseqno == "33" ? "右侧掌" : "左侧掌"
scope.row.destseqno == "31"
? "右半掌"
: scope.row.destseqno == "32"
? "左半掌"
: scope.row.destseqno == "33"
? "右侧掌"
: "左侧掌"
}}</del>
</span>
<span v-else>
{{
scope.row.destseqno == "31" ? "右半掌" : scope.row.destseqno == "32" ? "左半掌" : scope.row.destseqno == "33" ? "右侧掌" : "左侧掌"
scope.row.destseqno == "31"
? "右半掌"
: scope.row.destseqno == "32"
? "左半掌"
: scope.row.destseqno == "33"
? "右侧掌"
: "左侧掌"
}}
</span>
</template>
</el-table-column>
<el-table-column prop="destbarcode" label="目标条码号" width="auto" v-if="roleArr.includes('C-1-7')">
<el-table-column
prop="destbarcode"
label="目标条码号"
width="auto"
v-if="roleArr.includes('C-1-7')"
>
<template slot-scope="scope">
<!-- 被删除 -->
<span v-if="scope.row.removeFlag===1">
<span v-if="scope.row.removeFlag === 1">
<del>{{ scope.row.destbarcode }}</del>
</span>
<span v-else>
......@@ -156,7 +208,9 @@
</el-table-column>
</el-table>
<div class="lt_candidate_bottom">
<span>共计&nbsp;<span>{{ total }}条</span>&nbsp;数据</span>
<span
>共计&nbsp;<span>{{ total }}条</span>&nbsp;数据</span
>
</div>
</div>
<transition name="slide-fade">
......@@ -255,7 +309,7 @@
<script>
export default {
name: "LTCandidate",
data () {
data() {
return {
width3: 70,
width2: 60,
......@@ -307,27 +361,27 @@ export default {
// 是否被删除
isDelete: false,
// 搜索类型
searchType: '指纹'
searchType: "指纹",
};
},
mounted () {
let self = this
mounted() {
let self = this;
// 监听指掌纹类型
this.$bus.on('searchTypeLT', (type) => {
self.searchType = type
})
document.body.addEventListener('click', (e) => {
self.isShowOptions = false
})
this.$bus.on("searchTypeLT", (type) => {
self.searchType = type;
});
document.body.addEventListener("click", (e) => {
self.isShowOptions = false;
});
},
created () {
created() {
let self = this;
let w1 = 1920;
let w2 = window.innerWidth;
this.width1 = this.width1 * w2 / w1;
this.width2 = this.width2 * w2 / w1;
this.width3 = this.width3 * w2 / w1;
this.width1 = (this.width1 * w2) / w1;
this.width2 = (this.width2 * w2) / w1;
this.width3 = (this.width3 * w2) / w1;
// 监听是否被删除
self.$bus.on("deleteMessage", (obj) => {
......@@ -338,7 +392,7 @@ export default {
}
});
self.$bus.on("initCandidate", tableData => {
self.$bus.on("initCandidate", (tableData) => {
//console.log(tableData);
self.tableData = tableData;
if (self.tableData) {
......@@ -349,30 +403,30 @@ export default {
if (self.tableData && self.tableData.length > 0) {
self.$nextTick(() => {
self.$refs.singleTable.setCurrentRow(self.tableData[0]);
})
});
} else {
self.$bus.emit('bzJudge', null)
this.$bus.emit("changImageEditTarget", 'xxx');
self.$bus.emit("bzJudge", null);
this.$bus.emit("changImageEditTarget", "xxx");
}
});
},
beforeDestroy () {
this.$bus.off('deleteMessage')
this.$bus.off('initCandidate')
beforeDestroy() {
this.$bus.off("deleteMessage");
this.$bus.off("initCandidate");
},
methods: {
/**
* 选择指纹类型
* @param e
*/
changefingershowType (e) {
changefingershowType(e) {
this.fingershowType = e.target.innerHTML;
this.isFingerDropdown = false;
},
/**
* 指纹下拉框
*/
fingerDropdownChange () {
fingerDropdownChange() {
this.isFingerDropdown = !this.isFingerDropdown;
},
/**
......@@ -383,7 +437,7 @@ export default {
* @param {*} columnIndex
* @return {*}
*/
tableRowClassName ({ row, column, rowIndex, columnIndex }) {
tableRowClassName({ row, column, rowIndex, columnIndex }) {
// //console.log(row);
// 比中的行
if (row.affirmstatus == 2 || row.affirmstatus == 3) {
......@@ -404,7 +458,7 @@ export default {
* @param {*}
* @return {*}
*/
switchOptions () {
switchOptions() {
this.isShowOptions = !this.isShowOptions;
// if(!this.isShowOptions) {
// this.tableData = this.sourceTableData
......@@ -415,8 +469,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightPX () {
this.tableData = this.sourceTableData.filter(item => {
changeRightPX() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 15;
});
// 对勾
......@@ -452,8 +506,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightPH () {
this.tableData = this.sourceTableData.filter(item => {
changeRightPH() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 14;
});
// 对勾
......@@ -489,8 +543,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightPZ () {
this.tableData = this.sourceTableData.filter(item => {
changeRightPZ() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 13;
});
// 对勾
......@@ -526,8 +580,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightPS () {
this.tableData = this.sourceTableData.filter(item => {
changeRightPS() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 12;
});
// 对勾
......@@ -563,8 +617,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightPM () {
this.tableData = this.sourceTableData.filter(item => {
changeRightPM() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 11;
});
// 对勾
......@@ -600,8 +654,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightRX () {
this.tableData = this.sourceTableData.filter(item => {
changeRightRX() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 5;
});
// 对勾
......@@ -637,8 +691,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightRH () {
this.tableData = this.sourceTableData.filter(item => {
changeRightRH() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 4;
});
// 对勾
......@@ -674,8 +728,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightRZ () {
this.tableData = this.sourceTableData.filter(item => {
changeRightRZ() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 3;
});
// 对勾
......@@ -711,8 +765,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightRS () {
this.tableData = this.sourceTableData.filter(item => {
changeRightRS() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 2;
});
// 对勾
......@@ -748,8 +802,8 @@ export default {
* @param {*}
* @return {*}
*/
changeRightRM () {
this.tableData = this.sourceTableData.filter(item => {
changeRightRM() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 1;
});
// 对勾
......@@ -785,8 +839,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftPX () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftPX() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 20;
});
// 对勾
......@@ -822,8 +876,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftPH () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftPH() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 19;
});
// 对勾
......@@ -859,8 +913,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftPZ () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftPZ() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 18;
});
// 对勾
......@@ -896,8 +950,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftPS () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftPS() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 17;
});
// 对勾
......@@ -933,8 +987,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftPM () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftPM() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 16;
});
// 对勾
......@@ -970,8 +1024,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftRX () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftRX() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 10;
});
// 对勾
......@@ -1007,8 +1061,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftRH () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftRH() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 9;
});
// 对勾
......@@ -1044,8 +1098,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftRZ () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftRZ() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 8;
});
// 对勾
......@@ -1081,8 +1135,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftRS () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftRS() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 7;
});
// 对勾
......@@ -1118,8 +1172,8 @@ export default {
* @param {*}
* @return {*}
*/
changeLeftRM () {
this.tableData = this.sourceTableData.filter(item => {
changeLeftRM() {
this.tableData = this.sourceTableData.filter((item) => {
return item.destseqno == 6;
});
// 对勾
......@@ -1156,9 +1210,9 @@ export default {
* @param {*} column
* @return {*}
*/
icons (h, { column }) {
let self = this
if (this.searchType == '指纹') {
icons(h, { column }) {
let self = this;
if (this.searchType == "指纹") {
return h("div", [
h("span", column.label),
h("i", {
......@@ -1166,25 +1220,22 @@ export default {
style: "color:#B1B6C2;margin-left:5px;cursor:pointer;",
on: {
click: (e) => {
e.stopPropagation()
self.switchOptions()
}
}
})
e.stopPropagation();
self.switchOptions();
},
},
}),
]);
} else {
return h("div", [
h("span", column.label),
]);
return h("div", [h("span", column.label)]);
}
},
/**
* @description: 筛选按钮
* @param {*}
* @return {*}
*/
search () {
search() {
let self = this;
if (self.isDelete) return;
......@@ -1192,21 +1243,21 @@ export default {
let qqid = sessionStorage.getItem("qqid");
// self.$store.commit('loading/setLoading', true)
this.$axios({
method: 'post',
method: "post",
url: `/api/query/matchcand/dest/${qqid}/${zcseq}`,
data: {
srcbarcode: sessionStorage.getItem("srcbarcode"),
destbarcode: self.input3.trim()
destbarcode: self.input3.trim(),
},
loading: true
}).then(response => {
loading: true,
}).then((response) => {
//console.log(response);
if (response.data.code === 0) {
self.tableData = response.data.ret;
self.total = self.tableData.length;
} else {
self.tableData = []
self.total = 0
self.tableData = [];
self.total = 0;
}
// 篩選初始化
// 对勾
......@@ -1236,7 +1287,7 @@ export default {
this.rightPZ = false;
this.rightPH = false;
this.rightPX = true;
})
});
},
/**
* @description: 选中切换方法
......@@ -1244,18 +1295,18 @@ export default {
* @param {*} old
* @return {*}
*/
handleCurrentChange (val, old) {
handleCurrentChange(val, old) {
let self = this;
// 传递当前行的数据,判断是否被比中,如比中就不会弹窗比中
this.$bus.emit('bzJudge', val)
this.$bus.emit("bzJudge", val);
if (val != null) {
if (val.removeFlag == 1) {
self.$bus.emit('targetDeleteMessage', {
msg: '该条数据已删除!',
delTime: self.$moment(val.removeTime).format('YYYY.MM.DD HH:mm')
})
this.$bus.emit('bzJudge', null)
return
self.$bus.emit("targetDeleteMessage", {
msg: "该条数据已删除!",
delTime: self.$moment(val.removeTime).format("YYYY.MM.DD HH:mm"),
});
this.$bus.emit("bzJudge", null);
return;
}
if (self.isDelete) {
// 存储目标条码号
......@@ -1263,11 +1314,11 @@ export default {
// 存储目的数据序号
sessionStorage.setItem("destseqno", val.destseqno);
// this.$bus.emit("changImageEditTarget", 'xxx');
self.$bus.emit('targetDeleteMessage', {
msg: '该条数据已删除!',
delTime: self.$moment(val.removeTime).format('YYYY.MM.DD HH:mm')
})
this.$bus.emit('bzJudge', null)
self.$bus.emit("targetDeleteMessage", {
msg: "该条数据已删除!",
delTime: self.$moment(val.removeTime).format("YYYY.MM.DD HH:mm"),
});
this.$bus.emit("bzJudge", null);
return;
} else {
//console.log(val);
......@@ -1281,7 +1332,7 @@ export default {
console.log(val);
console.log(val.destseqno);
if (val.destseqno == null) {
this.$bus.emit("changImageEditTarget", 'xxx');
this.$bus.emit("changImageEditTarget", "xxx");
// 存储目标条码号 --- 置空
sessionStorage.setItem("destbarcode", "");
// 存储目的数据序号 --- 置空
......@@ -1292,48 +1343,48 @@ export default {
// 平面 --- 换压缩图
if (val.destseqno > 10 && val.destseqno <= 20) {
this.$axios({
method: 'post',
url: '/api/png/plain/barcode/seq',
method: "post",
url: "/api/png/plain/barcode/seq",
data: {
barcode: val.destbarcode,
seqno: val.destseqno,
qqid: val.qqid
qqid: val.qqid,
},
loading: false
}).then(response => {
loading: false,
}).then((response) => {
self.$bus.emit("changImageEditTarget", response.data.ret.image);
})
});
} else if (val.destseqno >= 1 && val.destseqno <= 10) {
// 滚动 --- 换压缩图
this.$axios({
method: 'post',
url: '/api/png/roll/barcode/seq',
method: "post",
url: "/api/png/roll/barcode/seq",
data: {
barcode: val.destbarcode,
seqno: val.destseqno,
qqid: val.qqid
qqid: val.qqid,
},
loading: false
}).then(response => {
loading: false,
}).then((response) => {
self.$bus.emit("changImageEditTarget", response.data.ret.image);
})
});
} else {
// 掌纹
this.$axios({
method: 'post',
url: '/api/png/palm/barcode/seq',
method: "post",
url: "/api/png/palm/barcode/seq",
data: {
barcode: val.destbarcode,
hpseqno: val.destseqno,
qqid: val.qqid
qqid: val.qqid,
},
loading: true
}).then(response => {
loading: true,
}).then((response) => {
self.$bus.emit("changImageEditTarget", response.data.ret.image);
})
});
}
} else {
this.$bus.emit("changImageEditTarget", 'xxx');
this.$bus.emit("changImageEditTarget", "xxx");
// 存储目标条码号 --- 置空
sessionStorage.setItem("destbarcode", "");
// 存储目的数据序号 --- 置空
......@@ -1342,60 +1393,60 @@ export default {
}
}
},
choose (val) {
choose(val) {
//console.info(val);
}
},
},
watch: {
checked (newValue, oldValue) {
checked(newValue, oldValue) {
if (newValue) {
this.tableData = this.sourceTableData;
} else {
this.tableData = this.sourceTableData.filter(item => {
this.tableData = this.sourceTableData.filter((item) => {
return item.affirmstatus != 1 && item.affirmstatus != 3;
});
//console.log(this.tableData);
}
this.total = this.tableData.length;
}
},
},
computed: {
roleArr () {
roleArr() {
return this.$store.state.layout.Menu;
}
},
},
};
const candidates = [
{
score: "99",
finger: "小指",
barcode: "657487483746234657876744"
barcode: "657487483746234657876744",
},
{
score: "99",
finger: "小指",
barcode: "657487483746234657876744"
barcode: "657487483746234657876744",
},
{
score: "99",
finger: "小指",
barcode: "657487483746234657876744"
barcode: "657487483746234657876744",
},
{
score: "99",
finger: "小指",
barcode: "657487483746234657876744"
barcode: "657487483746234657876744",
},
{
score: "99",
finger: "小指",
barcode: "657487483746234657876744"
barcode: "657487483746234657876744",
},
{
score: "99",
finger: "小指",
barcode: "657487483746234657876744"
}
barcode: "657487483746234657876744",
},
];
</script>
......@@ -1405,7 +1456,6 @@ const candidates = [
box-sizing: border-box;
width: 100%;
height: calc(100% - 25px);
background: #f6f8fa;
border-radius: 8px;
div {
......@@ -1417,13 +1467,13 @@ const candidates = [
width: 100%;
// height: 60px;
background: #ffffff;
padding: 20px 20px 15px 20px;
.label {
width: 32px;
height: 24px;
font-size: 16px;
font-family: HarmonyOS_Sans_SC;
color: #1A1A1A;
color: #1a1a1a;
line-height: 24px;
i {
......@@ -1451,13 +1501,13 @@ const candidates = [
text-align: center;
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #FFFFFF;
color: #ffffff;
}
.checked {
display: flex;
justify-content: flex-end;
margin-top: 4px;
margin-top: 9px;
}
.finger-dropdown {
......@@ -1465,14 +1515,15 @@ const candidates = [
cursor: pointer;
.slide-fade-enter-active {
transition: all .2s ease;
transition: all 0.2s ease;
}
.slide-fade-leave-active {
transition: all .2s cubic-bezier(1.0, 0.5, 0.8, 1.0);
transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
}
.slide-fade-enter, .slide-fade-leave-to {
.slide-fade-enter,
.slide-fade-leave-to {
transform: translateX(5px);
opacity: 0;
}
......@@ -1481,7 +1532,7 @@ const candidates = [
margin-right: 15px;
font-size: 16px;
font-family: HarmonyOS_Sans_SC;
color: #1A1A1A;
color: #1a1a1a;
}
.dropdown-options {
......@@ -1491,7 +1542,7 @@ const candidates = [
position: absolute;
top: 25px;
right: 0;
background-color: #FFFFFF;
background-color: #ffffff;
box-shadow: 0px 6px 10px 2px rgba(0, 21, 51, 0.06);
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
......@@ -1515,7 +1566,7 @@ const candidates = [
}
&:hover {
background: #F5F5F7;
background: #f5f5f7;
}
}
}
......@@ -1671,7 +1722,7 @@ const candidates = [
.lt_candidate .lt_cnadidate_search .input {
box-sizing: border-box;
width: 286px;
width: 246px;
}
/deep/ .el-input {
......@@ -1725,10 +1776,15 @@ const candidates = [
color: #282f3c;
font-weight: normal;
}
.cell {
font-family: HarmonyOS_Sans_SC_Medium;
color: #282f3c;
}
}
// 在表格显示暂无数据时,去掉白色背景
/deep/ .el-table, /deep/ .el-table__expanded-cell {
/deep/ .el-table,
/deep/ .el-table__expanded-cell {
background: none;
}
del {
......
......@@ -7,36 +7,51 @@
<div class="lt_middle">
<!-- 源数据区 -->
<div class="lt_middle_src_data">
<el-table ref="singleTable" highlight-current-row @current-change="handleCurrentChange" :data="dataList" class="lt_candidate_table border_radius tableHeight" @row-click="getFirgerPrintDetail" :row-class-name="tableRowClassName" :height="tableHeight">
<el-table-column prop="qqid" label="查询ID" :width="width1"></el-table-column>
<el-table
ref="singleTable"
highlight-current-row
@current-change="handleCurrentChange"
:data="dataList"
class="lt_candidate_table border_radius tableHeight"
@row-click="getFirgerPrintDetail"
:row-class-name="tableRowClassName"
:height="tableHeight"
>
<el-table-column
prop="qqid"
label="查询ID"
:width="width1"
></el-table-column>
<el-table-column prop="barcode" label="源条码号" width="auto">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag===1">
<del>{{scope.row.barcode}}</del>
<span v-if="scope.row.removeFlag === 1">
<del>{{ scope.row.barcode }}</del>
</span>
<span v-else>
{{scope.row.barcode}}
{{ scope.row.barcode }}
</span>
</template>
</el-table-column>
<el-table-column prop="fingerCount" label="枚数" :width="width2">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag===1">
<del>{{scope.row.fingerCount}}</del>
<span v-if="scope.row.removeFlag === 1">
<del>{{ scope.row.fingerCount }}</del>
</span>
<span v-else>
{{scope.row.fingerCount}}
{{ scope.row.fingerCount }}
</span>
</template>
</el-table-column>
</el-table>
<div class="lt_middle_bottom">
<span>该任务共计&nbsp;<span>{{ total }}条</span>&nbsp;查询</span>
<span
>该任务共计&nbsp;<span>{{ total }}条</span>&nbsp;查询</span
>
<div class="btn" @click="changeTableHeight">
<span>{{ options }}</span>
<div class="ico"><img src="@/assets/img/bottom.png" alt=""></div>
<div class="ico"><img src="@/assets/img/bottom.png" alt="" /></div>
</div>
<!-- <el-button type="text" @click="changeTableHeight">{{options}}</el-button> -->
</div>
......@@ -45,43 +60,81 @@
<div class="lt_middle_finger_print" v-show="isShowPrint">
<!-- 指纹/掌纹切换 -->
<div class="btns-switch">
<div class="btn" @click="switchZhiWen" :class="{active: fingerShowType == '指纹'}">指纹</div>
<div class="btn" v-show="!isDelete && handList.length!=0" @click="switchZhangWen" :class="{active: fingerShowType == '掌纹'}">掌纹
<div
class="btn"
@click="switchZhiWen"
:class="{ active: fingerShowType == '指纹' }"
>
指纹
</div>
<div
class="btn"
v-show="!isDelete && handList.length != 0"
@click="switchZhangWen"
:class="{ active: fingerShowType == '掌纹' }"
>
掌纹
</div>
<div class="btn isDelete" v-show="isDelete || handList.length == 0">
掌纹
</div>
<div class="btn isDelete" v-show="isDelete || handList.length==0">掌纹</div>
</div>
<!--指纹图-->
<div class="lt_middle_finger_prints">
<!-- 指纹 -->
<div v-if="fingerShowType==='指纹'">
<div class="finger_print" :class="{ finger_print_active: item.seq === isActive, fingerLook: item.clickLog==1, fingerRD: item.affirmstatus==1, fingerBZ:item.affirmstatus==2, fingerRB:item.affirmstatus==3 }" v-for="(item, index) in enumerate" @click="changeStyle(index, item)" :key="index">
<div class="finger_print_number" :class="{ finger_print_number_active: item.seq == isActive, fingerLookNum: item.clickLog==1, fingerRDNum: item.affirmstatus==1, fingerBZNum:item.affirmstatus==2, fingerRBNum:item.affirmstatus==3 }">
<div v-if="fingerShowType === '指纹'">
<div
class="finger_print"
:class="{
finger_print_active: item.seq === isActive,
fingerLook: item.clickLog == 1,
fingerRD: item.affirmstatus == 1,
fingerBZ: item.affirmstatus == 2,
fingerRB: item.affirmstatus == 3,
}"
v-for="(item, index) in enumerate"
@click="changeStyle(index, item)"
:key="index"
>
<div
class="finger_print_number"
:class="{
finger_print_number_active: item.seq == isActive,
fingerLookNum: item.clickLog == 1,
fingerRDNum: item.affirmstatus == 1,
fingerBZNum: item.affirmstatus == 2,
fingerRBNum: item.affirmstatus == 3,
}"
>
<!-- {{ Number(index + 1) &lt; 9 ? ("0" + Number(index + 1)) : Number(index + 1) }} -->
{{ Number(item.seq) &lt; 9 ? ("0" + Number(item.seq)) : Number(item.seq) }}
</div>
<div class="zw_img">
<img :src="'data:image/jpeg;base64,'+item.image" />
<img :src="'data:image/jpeg;base64,' + item.image" />
</div>
<div class="finger-tips">
<!-- 认定完成 -->
<div class="affirmstatus1" v-if="item.affirmstatus==1">
<div class="affirmstatus1" v-if="item.affirmstatus == 1">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">认定完成</span>
</div>
<!-- 比中 -->
<div class="affirmstatus2" v-else-if="item.affirmstatus==2">
<div class="affirmstatus2" v-else-if="item.affirmstatus == 2">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">比中</span>
</div>
<div class="affirmstatus2" v-else-if="item.affirmstatus==3">
<div class="affirmstatus2" v-else-if="item.affirmstatus == 3">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">比中</span>
</div>
<!-- 浏览过 -->
<div class="clickLog" v-if="item.affirmstatus==='' && item.clickLog==1">
<div
class="clickLog"
v-if="item.affirmstatus === '' && item.clickLog == 1"
>
<div class="clickLogbg"></div>
<div class="dot"></div>
<span class="txt">已查看</span>
......@@ -91,33 +144,57 @@
</div>
<!-- 掌纹 -->
<div v-else>
<div class="finger_print_zw" :class="{ finger_print_active_zw: item.seq === isActive, fingerLook: item.clickLog==1, fingerRD: item.affirmstatus==1, fingerBZ:item.affirmstatus==2, fingerRB:item.affirmstatus==3 }" v-for="(item, index) in handList" @click="changeStyle(index, item)" :key="index">
<div class="finger_print_number" :class="{ finger_print_number_active: item.seq === isActive, fingerLookNum: item.clickLog==1, fingerRDNum: item.affirmstatus==1, fingerBZNum:item.affirmstatus==2, fingerRBNum:item.affirmstatus==3 }">
<div
class="finger_print_zw"
:class="{
finger_print_active_zw: item.seq === isActive,
fingerLook: item.clickLog == 1,
fingerRD: item.affirmstatus == 1,
fingerBZ: item.affirmstatus == 2,
fingerRB: item.affirmstatus == 3,
}"
v-for="(item, index) in handList"
@click="changeStyle(index, item)"
:key="index"
>
<div
class="finger_print_number"
:class="{
finger_print_number_active: item.seq === isActive,
fingerLookNum: item.clickLog == 1,
fingerRDNum: item.affirmstatus == 1,
fingerBZNum: item.affirmstatus == 2,
fingerRBNum: item.affirmstatus == 3,
}"
>
{{ item.seq }}
</div>
<div class="zw_img">
<img :src="'data:image/jpeg;base64,'+item.image" />
<img :src="'data:image/jpeg;base64,' + item.image" />
</div>
<div class="finger-tips">
<!-- 认定完成 -->
<div class="affirmstatus1" v-if="item.affirmstatus==1">
<div class="affirmstatus1" v-if="item.affirmstatus == 1">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">认定完成</span>
</div>
<!-- 比中 -->
<div class="affirmstatus2" v-else-if="item.affirmstatus==2">
<div class="affirmstatus2" v-else-if="item.affirmstatus == 2">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">比中</span>
</div>
<div class="affirmstatus2" v-else-if="item.affirmstatus==3">
<div class="affirmstatus2" v-else-if="item.affirmstatus == 3">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">比中</span>
</div>
<!-- 浏览过 -->
<div class="clickLog" v-if="item.affirmstatus==='' && item.clickLog==1">
<div
class="clickLog"
v-if="item.affirmstatus === '' && item.clickLog == 1"
>
<div class="clickLogbg"></div>
<div class="dot"></div>
<span class="txt">已查看</span>
......@@ -128,8 +205,16 @@
</div>
<!--指纹个数提示-->
<div class="lt_middle_bottom">
<span v-show="fingerShowType=='指纹'">该查询ID共计&nbsp;<span>{{ fingerTotal }}枚</span>&nbsp;{{fingerShowType}}</span>
<span v-show="fingerShowType=='掌纹'">该查询ID共计&nbsp;<span>{{ handTotal }}枚</span>&nbsp;{{fingerShowType}}</span>
<span v-show="fingerShowType == '指纹'"
>该查询ID共计&nbsp;<span>{{ fingerTotal }}枚</span>&nbsp;{{
fingerShowType
}}</span
>
<span v-show="fingerShowType == '掌纹'"
>该查询ID共计&nbsp;<span>{{ handTotal }}枚</span>&nbsp;{{
fingerShowType
}}</span
>
</div>
</div>
</div>
......@@ -140,14 +225,14 @@
export default {
name: "LTSrc",
props: ["srcData"],
created () {
created() {
let w1 = 1920;
let w2 = window.innerWidth;
this.width1 = this.width1 * w2 / w1;
this.width2 = this.width2 * w2 / w1;
this.width1 = (this.width1 * w2) / w1;
this.width2 = (this.width2 * w2) / w1;
},
data () {
data() {
return {
// 指纹/掌纹切换
fingerShowType: "指纹",
......@@ -171,41 +256,41 @@ export default {
// 加载动画
loading: null,
timer: null,
barcode: '',
barcode: "",
handList: [],
// 做删除展示用
handList2: [],
handTotal: 0,
// 被删除信息
deletaObj: {},
isDelete: false
isDelete: false,
};
},
methods: {
/**
* 切换位掌纹
*/
switchZhangWen () {
let self = this
switchZhangWen() {
let self = this;
this.fingerShowType = "掌纹";
if (self.isDelete) {
// 被删除
// if (self.handList2.length > 0) {
// self.changeStyle(0, self.handList2[0])
// }
return
return;
}
if (this.handList.length > 0) {
this.changeStyle(0, self.handList[0])
this.changeStyle(0, self.handList[0]);
}
},
/**
* 切换为指纹
*/
switchZhiWen () {
let self = this
switchZhiWen() {
let self = this;
this.fingerShowType = "指纹";
this.changeStyle(0, self.enumerate[0])
this.changeStyle(0, self.enumerate[0]);
},
/**
* @description: 比中与认定完成添加样式
......@@ -215,7 +300,7 @@ export default {
* @param {*} columnIndex
* @return {*}
*/
tableRowClassName ({ row, column, rowIndex, columnIndex }) {
tableRowClassName({ row, column, rowIndex, columnIndex }) {
// 比中的行
if (row.affirmStatus == 2 || row.affirmStatus == 3) {
//console.log(row);
......@@ -233,28 +318,30 @@ export default {
/**
* 获取掌纹数据
*/
getHandsData () {
let self = this
getHandsData() {
let self = this;
console.log(self.barcode);
// 掌纹数据初始化
this.handList = []
this.handList = [];
this.$axios({
method: 'post',
url: '/api/check/org/case/palm/barcode',
method: "post",
url: "/api/check/org/case/palm/barcode",
data: {
barcode: self.barcode,
querytype: 2,
qqid: self.qqid
}
}).then(res => {
console.log(res);
if (res.data.code === 0) {
self.handList = res.data.ret
self.handTotal = self.handList.length
}
}).catch(err => {
console.log(err);
qqid: self.qqid,
},
})
.then((res) => {
console.log(res);
if (res.data.code === 0) {
self.handList = res.data.ret;
self.handTotal = self.handList.length;
}
})
.catch((err) => {
console.log(err);
});
},
/**
* @description: 选择切换
......@@ -262,22 +349,22 @@ export default {
* @param {*} old
* @return {*}
*/
handleCurrentChange (val, old) {
handleCurrentChange(val, old) {
let self = this;
this.fingerShowType = "指纹"
this.fingerShowType = "指纹";
if (val != null) {
// 被删除
if (val.removeFlag === 1) {
this.isDelete = true
self.$bus.emit('deleteMessage', {
msg: '该条数据已删除!',
delTime: self.$moment(val.removeTime).format('YYYY.MM.DD HH:mm')
})
this.isDelete = true;
self.$bus.emit("deleteMessage", {
msg: "该条数据已删除!",
delTime: self.$moment(val.removeTime).format("YYYY.MM.DD HH:mm"),
});
self.deletaObj = {
msg: '该条数据已删除!',
delTime: self.$moment(val.removeTime).format('YYYY.MM.DD HH:mm')
}
this.$bus.emit('bzJudge', null)
msg: "该条数据已删除!",
delTime: self.$moment(val.removeTime).format("YYYY.MM.DD HH:mm"),
};
this.$bus.emit("bzJudge", null);
// 清空目标table表
// self.$bus.emit("initCandidate", []);
// 保存qqid和qid
......@@ -286,71 +373,77 @@ export default {
sessionStorage.setItem("qqid", val.qqid);
sessionStorage.setItem("qid", val.qid);
sessionStorage.setItem("srcbarcode", val.barcode);
self.barcode = val.barcode
self.barcode = val.barcode;
self.enumerate = [];
self.fingerTotal = 0;
this.$axios({
method: 'post',
url: '/api/org/case/palm/barcode',
method: "post",
url: "/api/org/case/palm/barcode",
data: {
barcode: self.barcode
}
}).then(res => {
console.log(res);
if (res.data.code === 0) {
self.handList2 = res.data.ret
self.handTotal = res.data.ret.length
}
}).catch(err => {
console.log(err);
barcode: self.barcode,
},
})
.then((res) => {
console.log(res);
if (res.data.code === 0) {
self.handList2 = res.data.ret;
self.handTotal = res.data.ret.length;
}
})
.catch((err) => {
console.log(err);
});
// 请求该条码号的案件指纹图片
self.$axios({
method: 'post',
url: '/api/org/case/barcode',
// url: '/api/org/case/barcode',
data: {
querytype: "2",
barcode: val.barcode,
qqid: self.qqid
},
}).then(response => {
console.log(response);
let imageInfo = response.data.ret[0]
// 默认选中第一个指纹预览图片
if (imageInfo && imageInfo.seq) {
sessionStorage.setItem("srcseqno", imageInfo.seq);
sessionStorage.setItem("zcseq", imageInfo.seq);
}
self.$axios({
method: 'post',
url: `/api/query/matchcand/dest/${self.qqid}/${imageInfo.seq}`,
self
.$axios({
method: "post",
url: "/api/org/case/barcode",
// url: '/api/org/case/barcode',
data: {
srcbarcode: sessionStorage.getItem("srcbarcode")
querytype: "2",
barcode: val.barcode,
qqid: self.qqid,
},
}).then(response => {
if (response.data.code === 0) {
self.$bus.emit("initCandidate", response.data.ret);
} else {
self.$bus.emit("initCandidate", []);
}
})
})
.then((response) => {
console.log(response);
let imageInfo = response.data.ret[0];
// 默认选中第一个指纹预览图片
if (imageInfo && imageInfo.seq) {
sessionStorage.setItem("srcseqno", imageInfo.seq);
sessionStorage.setItem("zcseq", imageInfo.seq);
}
self
.$axios({
method: "post",
url: `/api/query/matchcand/dest/${self.qqid}/${imageInfo.seq}`,
data: {
srcbarcode: sessionStorage.getItem("srcbarcode"),
},
})
.then((response) => {
if (response.data.code === 0) {
self.$bus.emit("initCandidate", response.data.ret);
} else {
self.$bus.emit("initCandidate", []);
}
});
});
} else {
this.isDelete = false
self.handList2 = []
this.isDelete = false;
self.handList2 = [];
// 没有被删除
self.$bus.emit('deleteMessage', {
self.$bus.emit("deleteMessage", {
msg: null,
delTime: null
})
delTime: null,
});
self.deletaObj = {
msg: null,
delTime: null
}
delTime: null,
};
//console.log(val);
if (val == null) return;
// 改变数据为点击状态
......@@ -363,35 +456,37 @@ export default {
sessionStorage.setItem("qqid", self.qqid);
sessionStorage.setItem("qid", self.qid);
let barcode = val.barcode;
self.barcode = val.barcode
self.barcode = val.barcode;
// 存储原条码号
sessionStorage.setItem("srcbarcode", barcode);
//console.log(barcode);
self.getHandsData()
self.$axios({
method: 'post',
url: '/api/org/case/barcode',
// url: '/api/org/caseBybarcode/barcode',
data: {
querytype: "2",
barcode: barcode,
qqid: self.qqid,
},
}).then(response => {
console.log(response);
if (response.data.code === 0) {
self.enumerate = response.data.ret;
self.fingerTotal = response.data.ret.length;
// 默认选中第一个指纹预览图片
self.changeStyle(0, self.enumerate[0]);
} else {
self.$bus.emit('changImageEdit', 'xxx')
self.$bus.emit('changImageEditTarget', 'xxx')
self.enumerate = [];
self.fingerTotal = 0;
self.changeStyle(0, []);
}
})
self.getHandsData();
self
.$axios({
method: "post",
url: "/api/org/case/barcode",
// url: '/api/org/caseBybarcode/barcode',
data: {
querytype: "2",
barcode: barcode,
qqid: self.qqid,
},
})
.then((response) => {
console.log(response);
if (response.data.code === 0) {
self.enumerate = response.data.ret;
self.fingerTotal = response.data.ret.length;
// 默认选中第一个指纹预览图片
self.changeStyle(0, self.enumerate[0]);
} else {
self.$bus.emit("changImageEdit", "xxx");
self.$bus.emit("changImageEditTarget", "xxx");
self.enumerate = [];
self.fingerTotal = 0;
self.changeStyle(0, []);
}
});
self.isActive = "";
}
}
......@@ -401,17 +496,17 @@ export default {
* @param {*}
* @return {*}
*/
getDetailData () {
let self = this
getDetailData() {
let self = this;
// 发送请求
if (this.type == "father") {
this.$axios({
method: 'post',
url: '/api/queryque/standardAll',
method: "post",
url: "/api/queryque/standardAll",
data: {
contrastCustomSearchReq: { qid: Number(self.qid) }
contrastCustomSearchReq: { qid: Number(self.qid) },
},
}).then(response => {
}).then((response) => {
//console.log(response);
if (response.data.code === 0) {
self.sourceDataList = response.data.ret;
......@@ -423,15 +518,15 @@ export default {
self.$refs.singleTable.setCurrentRow(self.dataList[0]);
});
}
})
});
} else {
this.$axios({
method: 'post',
url: '/api/queryque/standardAll',
method: "post",
url: "/api/queryque/standardAll",
data: {
contrastCustomSearchReq: { qqid: Number(self.qqid) }
contrastCustomSearchReq: { qqid: Number(self.qqid) },
},
}).then(response => {
}).then((response) => {
//console.log(response);
if (response.data.code === 0) {
self.sourceDataList = response.data.ret;
......@@ -443,20 +538,17 @@ export default {
self.$refs.singleTable.setCurrentRow(self.dataList[0]);
});
}
})
});
}
},
// 获取选择的任务详情
getFirgerPrintDetail (row) {
},
getFirgerPrintDetail(row) {},
// 指纹部分 增加边框
changeStyle (index, imageInfo) {
changeStyle(index, imageInfo) {
console.log(imageInfo);
let self = this;
// this.isActive = index;
this.isActive = imageInfo.seq
this.isActive = imageInfo.seq;
//console.log(this.isActive);
// 存储源数据序号
if (imageInfo) {
......@@ -466,27 +558,27 @@ export default {
sessionStorage.setItem("zcseq", imageInfo.seq);
this.$bus.emit("changImageEdit", imageInfo.image);
// 没有被删除
self.$bus.emit('deleteMessage', {
self.$bus.emit("deleteMessage", {
msg: null,
delTime: null
})
delTime: null,
});
// 发送请求
this.$axios({
method: 'post',
method: "post",
url: `/api/query/matchcand/dest/${self.qqid}/${imageInfo.seq}`,
data: {
srcbarcode: sessionStorage.getItem("srcbarcode")
srcbarcode: sessionStorage.getItem("srcbarcode"),
},
}).then(response => {
}).then((response) => {
if (response.data.code === 0) {
self.$bus.emit("initCandidate", response.data.ret);
} else {
self.$bus.emit("initCandidate", []);
}
})
});
} else {
this.$bus.emit("changImageEdit", 'xxx');
this.$bus.emit("changImageEditTarget", 'xxx');
this.$bus.emit("changImageEdit", "xxx");
this.$bus.emit("changImageEditTarget", "xxx");
}
},
/**
......@@ -494,35 +586,39 @@ export default {
* @param {*}
* @return {*}
*/
changeTableHeight () {
changeTableHeight() {
this.isShowPrint = !this.isShowPrint;
if (!this.isShowPrint) {
document.getElementsByTagName("body")[0].style.setProperty("--tableHeight", "48.75rem");
this.tableHeight = "48.75rem"
document
.getElementsByTagName("body")[0]
.style.setProperty("--tableHeight", "47.5rem");
this.tableHeight = "47.5rem";
this.options = "折叠";
$(".ico").css("transform", "rotate(180deg)");
} else {
document.getElementsByTagName("body")[0].style.setProperty("--tableHeight", "20rem");
this.tableHeight = "20rem"
document
.getElementsByTagName("body")[0]
.style.setProperty("--tableHeight", "20rem");
this.tableHeight = "20rem";
this.options = "展开";
$(".ico").css("transform", "rotate(0deg)");
}
}
},
},
watch: {
// 监听指掌纹类型
fingerShowType: {
immediate: true,
handler (val) {
handler(val) {
//console.info("源数据传入组件的值为===>", val);
if (val == '掌纹') {
this.$bus.emit('searchTypeLT', '掌纹')
this.$bus.emit('suoluetu', '掌纹')
if (val == "掌纹") {
this.$bus.emit("searchTypeLT", "掌纹");
this.$bus.emit("suoluetu", "掌纹");
} else {
this.$bus.emit('searchTypeLT', '指纹')
this.$bus.emit('suoluetu', '指纹')
this.$bus.emit("searchTypeLT", "指纹");
this.$bus.emit("suoluetu", "指纹");
}
}
},
},
/**
* @description: 过滤显示已认定完成查询ID
......@@ -530,20 +626,20 @@ export default {
* @param {*} oldValue
* @return {*}
*/
checked (newValue, oldValue) {
checked(newValue, oldValue) {
//console.log(newValue);
if (newValue) {
this.dataList = this.sourceDataList;
} else {
this.dataList = this.sourceDataList.filter(item => {
this.dataList = this.sourceDataList.filter((item) => {
return item.affirmStatus != 1 && item.affirmStatus != 3;
});
//console.log(this.dataList);
}
this.total = this.dataList.length;
}
},
},
mounted () {
mounted() {
//console.log(this.$route);
this.rwh = this.$route.query.qid;
this.qqid = this.$route.query.qqid;
......@@ -560,10 +656,10 @@ export default {
self.getDetailData();
});
},
beforeDestroy () {
beforeDestroy() {
//组件销毁前需要解绑事件。否则会出现重复触发事件的问题
this.$bus.off("updateFinderSource");
}
},
};
// 某任务下查询的所有信息
const datas = [
......@@ -584,7 +680,7 @@ const datas = [
{ userId: "123452", barcode: "657487483746234657876744", enumerate: 8 },
{ userId: "123452", barcode: "657487483746234657876744", enumerate: 12 },
{ userId: "123452", barcode: "657487483746234657876744", enumerate: 14 },
{ userId: "123452", barcode: "657487483746234657876744", enumerate: 11 }
{ userId: "123452", barcode: "657487483746234657876744", enumerate: 11 },
];
</script>
......@@ -597,10 +693,6 @@ const datas = [
display: inline-block;
}
label {
margin-right: 67px;
}
.el-button {
cursor: pointer;
margin-left: 32px;
......@@ -615,13 +707,27 @@ const datas = [
.lt_top {
width: 100%;
margin: 0 0 10px 0;
border-radius: 0px 20px 0px 0px;
background: linear-gradient(270deg, #3eb2ff 0%, #055fe7 100%);
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 20px;
height: 50px;
justify-content: space-between;
.rwh {
font-size: 14px;
font-family: HarmonyOS_Sans_SC-Bold, HarmonyOS_Sans_SC;
font-weight: bold;
color: #282F3C;
font-size: 16px;
font-family: HarmonyOS_Sans_SC_Bold;
color: #ffffff;
}
.el-checkbox {
.el-checkbox__inner.is-checked {
background: #fff !important;
}
.el-checkbox__label {
font-family: HarmonyOS_Sans_SC;
color: #ffffff !important;
}
}
}
......@@ -635,17 +741,17 @@ const datas = [
.lt_middle_src_data {
border-radius: 8px;
width: 100%;
height: 360px;
height: 360px;
.Bizhong {
.cell {
color: #FF0039;
color: #ff0039;
}
}
.Identification {
.cell {
color: #055FE7;
color: #055fe7;
}
}
......@@ -662,38 +768,41 @@ const datas = [
}
.lt_middle_finger_print {
background-color: #F6F8FA;
background-color: #f6f8fa;
width: 100%;
.btns-switch {
display: flex;
align-items: center;
margin-top: 13px;
margin-left: 47px;
background-color: #F6F8FA;
width: 100%;
display: flex;
justify-content: center;
background-color: #f6f8fa;
.btn {
cursor: pointer;
width: 129px;
height: 32px;
background: #FFFFFF;
background: #ffffff;
border-radius: 2px 0px 0px 2px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #282F3C;
color: #055fe7;
font-family: HarmonyOS_Sans_SC_Medium;
border: 1px solid #055fe7;
margin: 0 10px;
}
.active {
width: 129px;
height: 32px;
background: #055FE7;
background: #055fe7;
border-radius: 2px;
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #FFFFFF;
color: #ffffff;
}
}
......@@ -702,9 +811,9 @@ const datas = [
margin-top: 12px;
overflow-y: auto;
width: 100%;
height: 360px;
height: 340px;
.finger_print_number_active {
background: #055FE7;
background: #055fe7;
}
}
}
......@@ -712,7 +821,7 @@ const datas = [
/*底部的统计数据*/
.lt_middle_bottom {
text-align: center;
background: #f6f8fa;
background: #fff;
height: 40px !important;
line-height: 40px;
width: 100%;
......@@ -741,7 +850,7 @@ const datas = [
align-items: center;
font-size: 12px;
font-family: HarmonyOS_Sans_SC;
color: #055FE7;
color: #055fe7;
span {
cursor: pointer;
}
......@@ -826,7 +935,8 @@ const datas = [
align-items: center;
width: 100%;
.affirmstatus1, .affirmstatus2 {
.affirmstatus1,
.affirmstatus2 {
width: 100%;
height: 20px;
position: relative;
......@@ -839,7 +949,11 @@ const datas = [
width: 100%;
height: 100%;
position: absolute;
background: linear-gradient(180deg, rgba(255, 255, 255, 0) -30%, #000000 100%);
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0) -30%,
#000000 100%
);
opacity: 0.66;
}
......@@ -847,8 +961,8 @@ const datas = [
z-index: 10;
width: 7px;
height: 7px;
background: #055FE7;
border: 1px solid #FFFFFF;
background: #055fe7;
border: 1px solid #ffffff;
border-radius: 50%;
margin-right: 8px;
}
......@@ -857,13 +971,13 @@ const datas = [
z-index: 10;
font-size: 12px;
font-family: HarmonyOS_Sans_SC;
color: #FFFFFF;
color: #ffffff;
}
}
.affirmstatus2 {
.dot {
background: #FF0039;
background: #ff0039;
}
}
......@@ -880,7 +994,11 @@ const datas = [
width: 100%;
height: 100%;
position: absolute;
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #000000 100%);
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0) 0%,
#000000 100%
);
opacity: 0.66;
}
......@@ -911,7 +1029,11 @@ const datas = [
width: 100%;
height: 100%;
position: absolute;
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #000000 100%);
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0) 0%,
#000000 100%
);
opacity: 0.66;
}
......@@ -920,7 +1042,7 @@ const datas = [
width: 7px;
height: 7px;
background: #999999;
border: 1px solid #FFFFFF;
border: 1px solid #ffffff;
border-radius: 50%;
margin-right: 8px;
}
......@@ -929,7 +1051,7 @@ const datas = [
z-index: 10;
font-size: 12px;
font-family: HarmonyOS_Sans_SC;
color: #FFFFFF;
color: #ffffff;
}
}
}
......@@ -996,7 +1118,8 @@ const datas = [
align-items: center;
width: 100%;
.affirmstatus1, .affirmstatus2 {
.affirmstatus1,
.affirmstatus2 {
width: 100%;
height: 20px;
position: relative;
......@@ -1009,7 +1132,11 @@ const datas = [
width: 100%;
height: 100%;
position: absolute;
background: linear-gradient(180deg, rgba(255, 255, 255, 0) -30%, #000000 100%);
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0) -30%,
#000000 100%
);
opacity: 0.66;
}
......@@ -1017,8 +1144,8 @@ const datas = [
z-index: 10;
width: 7px;
height: 7px;
background: #055FE7;
border: 1px solid #FFFFFF;
background: #055fe7;
border: 1px solid #ffffff;
border-radius: 50%;
margin-right: 8px;
}
......@@ -1027,13 +1154,13 @@ const datas = [
z-index: 10;
font-size: 12px;
font-family: HarmonyOS_Sans_SC;
color: #FFFFFF;
color: #ffffff;
}
}
.affirmstatus2 {
.dot {
background: #FF0039;
background: #ff0039;
}
}
......@@ -1050,7 +1177,11 @@ const datas = [
width: 100%;
height: 100%;
position: absolute;
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #000000 100%);
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0) 0%,
#000000 100%
);
opacity: 0.66;
}
......@@ -1081,7 +1212,11 @@ const datas = [
width: 100%;
height: 100%;
position: absolute;
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #000000 100%);
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0) 0%,
#000000 100%
);
opacity: 0.66;
}
......@@ -1090,7 +1225,7 @@ const datas = [
width: 7px;
height: 7px;
background: #999999;
border: 1px solid #FFFFFF;
border: 1px solid #ffffff;
border-radius: 50%;
margin-right: 8px;
}
......@@ -1099,7 +1234,7 @@ const datas = [
z-index: 10;
font-size: 12px;
font-family: HarmonyOS_Sans_SC;
color: #FFFFFF;
color: #ffffff;
}
}
}
......@@ -1175,7 +1310,6 @@ $tableHeight: var(--tableHeight, 320px);
.tableHeight {
height: $tableHeight;
}
// 滚动条的宽度
/deep/ .el-table__body-wrapper::-webkit-scrollbar {
width: 6px; // 横向滚动条
......@@ -1206,7 +1340,7 @@ $tableHeight: var(--tableHeight, 320px);
}
::-webkit-scrollbar-thumb:window-inactive {
background: #DADDE0;
background: #dadde0;
}
// 滚动条的宽度
......@@ -1217,7 +1351,7 @@ $tableHeight: var(--tableHeight, 320px);
// 滚动条的滑块
/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
background-color: #DADDE0;
background-color: #dadde0;
border-radius: 3px;
}
......@@ -1229,8 +1363,11 @@ $tableHeight: var(--tableHeight, 320px);
.el-checkbox__input.is-checked {
.el-checkbox__inner {
background: #055fe7;
border-color: #055fe7;
border-color: none;
background-color: #fff;
&::after {
border-color: #055fe7;
}
}
}
}
......@@ -1246,13 +1383,16 @@ $tableHeight: var(--tableHeight, 320px);
// 表头
/deep/ .has-gutter {
font-weight: normal;
th {
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
font-family: HarmonyOS_Sans_SC_Medium;
color: #282f3c;
font-weight: normal;
}
.cell {
font-family: HarmonyOS_Sans_SC_Medium;
color: #282f3c;
}
}
del {
text-decoration: none; /*没有文本装饰*/
......@@ -1261,9 +1401,10 @@ del {
text-decoration: line-through red; /*红色删除线*/
}
.isDelete {
background: #ECEDF1 !important;
background: #ecedf1 !important;
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #AEAFB4 !important;
color: #aeafb4 !important;
border: none !important;
}
</style>
<template>
<div class="lt_candidate">
<div class="lt_cnadidate_search">
<!-- <el-dropdown trigger="click" @command="choose">-->
<!-- <span class="el-dropdown-link">-->
<!-- 指纹-->
<!-- <i style=" width: 1rem; height: 1rem" class="el-icon-caret-bottom"></i>-->
<!-- </span>-->
<!-- <el-dropdown-menu slot="dropdown">-->
<!-- <el-dropdown-item command="1">指纹</el-dropdown-item>-->
<!-- <el-dropdown-item command="2">掌纹</el-dropdown-item>-->
<!-- &lt;!&ndash; <div class="label" @click="choose(1)">指纹</div>-->
<!-- <div class="label" @click="choose(2)">掌纹</div> &ndash;&gt;-->
<!-- </el-dropdown-menu>-->
<!-- </el-dropdown>-->
<!-- 指纹下拉框-->
<!-- <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>-->
<!-- </el-select>-->
<!-- <el-button slot="append" @click="search">筛选</el-button>-->
<!-- </el-input>-->
</div>
<div class="lt_candidate_number">
<el-table
:highlight-current-row="isDelete ? false : true"
......@@ -1184,7 +1158,6 @@ const candidates = [
box-sizing: border-box;
width: 100%;
height: calc(100% - 40px);
background: #f6f8fa;
border-radius: 8px;
div {
display: inline-block;
......@@ -1308,7 +1281,7 @@ const candidates = [
.lt_candidate_bottom {
position: absolute;
bottom: 12px;
bottom: 0px;
left: 20px;
text-align: center;
width: 352px;
......@@ -1497,7 +1470,17 @@ const candidates = [
font-weight: normal;
}
}
.el-table {
/deep/ .has-gutter {
.cell {
font-family: HarmonyOS_Sans_SC_Medium !important;
color: #282f3c;
}
}
&::before {
display: none;
}
}
// 在表格显示暂无数据时,去掉白色背景
/deep/ .el-table,
/deep/ .el-table__expanded-cell {
......
<template>
<div class="lt_src">
<div class="lt_top">
<!-- <label>任务号:{{ tableData.qid }}</label> -->
<label class="rwh">任务号:{{ rwh }}</label>
<el-checkbox v-model="checked">显示已认定完成查询ID</el-checkbox>
</div>
<div class="lt_middle">
<!-- 源数据区 -->
<div class="lt_middle_src_data">
<el-table
ref="singleTable"
highlight-current-row
@current-change="handleCurrentChange"
:data="dataList"
class="lt_candidate_table border_radius tableHeight"
......@@ -91,9 +85,7 @@
>
{{ Number(item.seq + 1) &lt; 11 ? ("0" + Number(item.seq)) : Number(item.seq) }}
</div>
<img
:src="'data:image/jpeg;base64,' + item.image"
/>
<img :src="'data:image/jpeg;base64,' + item.image" />
<div class="finger-tips">
<!-- 认定完成 -->
<div class="affirmstatus1" v-if="item.affirmstatus == 1">
......@@ -546,14 +538,14 @@ export default {
document
.getElementsByTagName("body")[0]
.style.setProperty("--tableHeight", "48.75rem");
this.tableHeight = "48.75rem"
this.tableHeight = "48.75rem";
this.options = "折叠";
$(".ico").css("transform", "rotate(180deg)");
} else {
document
.getElementsByTagName("body")[0]
.style.setProperty("--tableHeight", "20rem");
this.tableHeight = "20rem"
this.tableHeight = "20rem";
this.options = "展开";
$(".ico").css("transform", "rotate(0deg)");
}
......@@ -629,7 +621,9 @@ const datas = [
.lt_src {
width: 100%;
height: 100%;
border-radius: 0px 20px 0px 0px;
box-shadow: 0px 4px 10px 0px rgba(5, 95, 231, 0.3);
overflow: hidden;
div {
display: inline-block;
}
......@@ -672,8 +666,10 @@ const datas = [
.lt_middle_src_data {
border-radius: 8px;
width: 100%;
height: 320px;
height: 120px;
.cell {
padding: 0 20px;
}
.Bizhong {
.cell {
color: #ff0039;
......@@ -701,13 +697,12 @@ const datas = [
.lt_middle_finger_print {
background-color: #f6f8fa;
width: 100%;
position: relative;
.btns-switch {
display: flex;
align-items: center;
margin-top: 13px;
margin-left: 47px;
justify-content: center;
.btn {
cursor: pointer;
width: 129px;
......@@ -719,7 +714,10 @@ const datas = [
justify-content: center;
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #282f3c;
color: #055fe7;
font-family: HarmonyOS_Sans_SC_Medium;
border: 1px solid #055fe7;
margin: 0 10px;
}
.active {
......@@ -738,21 +736,23 @@ const datas = [
margin-top: 12px;
overflow-y: auto;
width: 100%;
height: 400px;
height: 630px;
}
}
/*底部的统计数据*/
.lt_middle_bottom {
text-align: center;
background-color: #f6f8fa;
height: 40px !important;
line-height: 40px;
width: 100%;
font-size: 12px;
font-family: HarmonyOS_Sans_SC;
color: #999;
position: absolute;
bottom: -40px;
left: 50%;
transform: translateX(-50%);
span {
span {
color: #666;
......@@ -1246,7 +1246,19 @@ $tableHeight: var(--tableHeight, 320px);
width: 6px; // 横向滚动条
height: 6px; // 纵向滚动条 必写
}
.el-table {
height: 120px !important;
/deep/ .has-gutter {
.cell {
font-family: HarmonyOS_Sans_SC_Medium !important;
padding: 0 20px;
color: #282f3c;
}
}
&::before {
display: none;
}
}
// 滚动条的滑块
/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
background-color: #dadde0;
......@@ -1295,5 +1307,6 @@ del {
.hui {
color: #c2c4c7 !important;
background-color: #ecedf1 !important;
border: none !important;
}
</style>
......@@ -1306,7 +1306,6 @@ const candidates = [
box-sizing: border-box;
width: 100%;
height: calc(100% - 40px);
background: #f6f8fa;
border-radius: 8px;
div {
......@@ -1436,7 +1435,7 @@ const candidates = [
.lt_candidate_bottom {
position: absolute;
bottom: 32px;
bottom: 5px;
left: 20px;
text-align: center;
width: 352px;
......@@ -1556,6 +1555,11 @@ const candidates = [
}
</style>
<style scoped lang="scss">
.el-table {
&::before {
display: none;
}
}
.el-table /deep/ {
.el-table__body-wrapper {
height: 693px;
......@@ -1620,11 +1624,16 @@ const candidates = [
// 表头
/deep/ .has-gutter {
.el-table_2_column_3 {
border-radius: 20px 0px 0px 0px;
}
font-weight: normal;
.cell {
font-family: HarmonyOS_Sans_SC_Medium;
}
th {
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
font-family: HarmonyOS_Sans_SC_Medium;
color: #282f3c;
font-weight: normal;
}
......
......@@ -5,7 +5,6 @@
<div class="lt_middle_src_data">
<el-table
ref="singleTable"
highlight-current-row
@current-change="handleCurrentChange"
:data="dataList"
class="lt_candidate_table border_radius tableHeight"
......@@ -557,14 +556,14 @@ export default {
document
.getElementsByTagName("body")[0]
.style.setProperty("--tableHeight", "48.75rem");
this.tableHeight = "48.75rem"
this.tableHeight = "48.75rem";
this.options = "折叠";
$(".ico").css("transform", "rotate(180deg)");
} else {
document
.getElementsByTagName("body")[0]
.style.setProperty("--tableHeight", "20rem");
this.tableHeight = "20rem"
this.tableHeight = "20rem";
this.options = "展开";
$(".ico").css("transform", "rotate(0deg)");
}
......@@ -690,12 +689,29 @@ const datas = [
background: #ffffff;
border-radius: 8px;
}
.el-table {
height: 120px !important;
.has-gutter {
.el-table_1_column_2 {
border-radius: 0px 20px 0px 0px;
}
.cell {
font-family: HarmonyOS_Sans_SC_Medium !important;
padding: 0 20px;
color: #282f3c;
}
}
&::before {
display: none;
}
}
.lt_middle_src_data {
border-radius: 8px;
width: 100%;
height: 320px;
padding-top: 35px;
height: 120px;
.cell {
padding: 0 20px;
}
.Bizhong {
.cell {
color: #ff0039;
......@@ -723,14 +739,14 @@ const datas = [
.lt_middle_finger_print {
background-color: #f6f8fa;
width: 100%;
box-sizing: border-box;
margin: 0;
.btns-switch {
display: flex;
align-items: center;
margin-top: 13px;
margin-left: 47px;
justify-content: center;
background-color: #f6f8fa;
.btn {
cursor: pointer;
width: 129px;
......@@ -741,17 +757,18 @@ const datas = [
align-items: center;
justify-content: center;
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #282f3c;
color: #055fe7;
font-family: HarmonyOS_Sans_SC_Medium;
border: 1px solid #055fe7;
margin: 0 10px;
}
.active {
width: 129px;
height: 32px;
background: #055fe7;
border-radius: 2px;
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
font-family: HarmonyOS_Sans_SC_Medium;
color: #ffffff;
}
}
......@@ -761,7 +778,7 @@ const datas = [
margin-top: 12px;
overflow-y: auto;
width: 100%;
height: 390px;
height: 630px;
.finger_print_number_active {
background: #055fe7;
}
......@@ -771,7 +788,7 @@ const datas = [
/*底部的统计数据*/
.lt_middle_bottom {
text-align: center;
background: #f6f8fa;
background: #ffffff;
height: 40px !important;
line-height: 40px;
width: 100%;
......@@ -1339,5 +1356,6 @@ del {
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #aeafb4 !important;
border: none !important;
}
</style>
......@@ -298,7 +298,6 @@ export default {
.tl-candidate {
width: 100%;
height: calc(100% - 40px);
background: #f6f8fa;
border-radius: 8px;
position: relative;
......@@ -438,7 +437,17 @@ export default {
font-weight: normal;
}
}
.el-table {
&::before {
display: none;
}
/deep/ .has-gutter {
.cell {
font-family: HarmonyOS_Sans_SC_Medium !important;
color: #282f3c;
}
}
}
// 在表格显示暂无数据时,去掉白色背景
/deep/.el-table,
/deep/.el-table__expanded-cell {
......
......@@ -5,17 +5,11 @@
<div class="data lt_middle_src_data">
<el-table
ref="singleTable"
highlight-current-row
@current-change="handleCurrentChange"
:data="dataList"
class="lt_candidate_table border_radius tableHeight"
:row-class-name="tableRowClassName"
>
<el-table-column
prop="qqid"
label="查询ID"
:width="width1"
></el-table-column>
<el-table-column prop="barcode" label="源条码号" width="auto">
<template slot-scope="scope">
<!-- 被删除-->
......@@ -743,9 +737,9 @@ export default {
data: {
barcode: self.barcode,
querytype: "1",
qqid: self.qqid
}
}).then(res => {
qqid: self.qqid,
},
}).then((res) => {
console.log(res);
if (res.data.code === 0) {
self.handList.forEach((item) => {
......@@ -1890,10 +1884,11 @@ label {
.main {
width: 100%;
height: 100%;
padding-top: 35px;
background: #ffffff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0px 4px 10px 0px rgba(5, 95, 231, 0.3);
border-radius: 0px 20px 0px 0px;
.data {
width: 100%;
}
......@@ -1918,7 +1913,22 @@ label {
}
.lt_middle_src_data {
height: 215px;
height: 125px;
.el-table {
/deep/ .has-gutter {
.cell {
font-family: HarmonyOS_Sans_SC_Medium !important;
padding: 0 20px;
color: #282f3c;
}
}
/deep/ .cell {
padding: 0 20px;
}
&::before {
display: none !important;
}
}
.lt_middle_bottom {
margin-top: -10px;
display: flex;
......@@ -1956,17 +1966,17 @@ label {
.finger-print {
width: 352px;
height: 600px;
height: 680px;
background: #f6f8fa;
position: relative;
.btns {
width: 272px;
width: 100%;
height: 32px;
margin: 12px 0 12px 41px;
margin: 12px 0 12px 0px;
background-color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
.btn {
cursor: pointer;
width: 90px;
......@@ -1975,11 +1985,14 @@ label {
background: #ffffff;
border-radius: 2px;
text-align: center;
&:active {
background: #055fe7;
color: #ffffff;
}
color: #055fe7;
font-family: HarmonyOS_Sans_SC_Medium;
border: 1px solid #055fe7;
margin: 0 7px;
// &:active {
// background: #055fe7;
// color: #ffffff;
// }
&.active {
background: #055fe7;
......@@ -1995,6 +2008,7 @@ label {
.isHasData {
background-color: #ecedf1;
color: #aeafb4;
border: none;
}
}
......@@ -2011,8 +2025,7 @@ label {
height: 230px;
width: 100%;
margin: 0;
.label {
label {
width: 28px;
height: 22px;
font-size: 14px;
......@@ -2490,13 +2503,15 @@ label {
.bottom {
text-align: center;
background: #f6f8fa;
//height: 40px;
width: 100%;
font-size: 12px;
font-family: HarmonyOS_Sans_SC;
color: #999999;
margin-top: 0;
position: absolute;
bottom: -34px;
left: 50%;
transform: translateX(-50%);
.expend {
font-size: 12px;
......
......@@ -626,7 +626,6 @@ div {
background-color: #ffffff;
/*padding: 24px;*/
margin: 0;
padding: 0 24px 24px 24px;
display: flex;
flex-direction: column;
/deep/.el-table__body-wrapper.is-scrolling-none {
......@@ -641,6 +640,7 @@ div {
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 25px;
.label {
align-self: flex-start;
height: 22px;
......@@ -706,12 +706,13 @@ div {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.lt_main_left {
width: 352px;
border: none;
/* margin-right: 16px; */
margin-top: 18px;
margin-top: 13px;
}
.lt_main_middle {
width: 1120px;
......@@ -732,10 +733,12 @@ div {
border: 1px #8b4513 solid;
}
.lt_main_right {
margin-top: 50px;
margin-top: 13px;
margin-left: 16px;
width: 380px;
border: none;
border-radius: 20px 0px 0px 0px;
box-shadow: 0px 4px 10px 0px rgba(5, 95, 231, 0.3);
}
.lt_main_footer {
......
......@@ -11,7 +11,9 @@
<div class="header_line"></div>
<div class="lt_main">
<div class="lt_main_left">
<l-t-src :src-data="qid"></l-t-src>
<div>
<l-t-src :src-data="qid"></l-t-src>
</div>
</div>
<div class="lt_main_middle">
<!-- <div class="lt_main_header">顶部工具</div>
......@@ -96,7 +98,12 @@
</div>
<div class="bzitem">
<div class="bzname">比中人联系电话:</div>
<el-input class="bzphone" v-model="phone" placeholder="请输入内容" disabled></el-input>
<el-input
class="bzphone"
v-model="phone"
placeholder="请输入内容"
disabled
></el-input>
<div class="input-error" v-show="isPhoneError">
<!-- <img src="@/assets/img/inputerror.png" alt=""> -->
<svg-icon icon-class="error" class="icon" />
......@@ -109,7 +116,12 @@
<div class="line"></div>
<div class="bzfooter">
<div class="footer-title">备注</div>
<el-input type="textarea" :rows="5" placeholder="在此输入备注信息" v-model="textarea">
<el-input
type="textarea"
:rows="5"
placeholder="在此输入备注信息"
v-model="textarea"
>
</el-input>
</div>
<div class="bzbtns">
......@@ -134,6 +146,7 @@
<script>
import { mapState } from "vuex";
import "@/icons/error.svg";
import "@/assets/img/rgrd/zhengcha.svg";
import Utils from "@/utils/util.js";
import LTSrc from "./modules/LTSrc.vue";
import LTCandidate from "./modules/LTCandidate.vue";
......@@ -144,9 +157,9 @@ export default {
components: {
LTSrc,
LTCandidate,
ImageEd
ImageEd,
},
data () {
data() {
return {
qid: null,
radio: 6,
......@@ -172,31 +185,31 @@ export default {
// 比中弹窗--用户信息
userInfo: {},
// 判断是否被比中
bzData: {}
bzData: {},
};
},
created () {
let self = this
created() {
let self = this;
this.qid = this.$route.query.rowData;
//console.log("源qid====>", this.qid);
this.userInfo = JSON.parse(localStorage.getItem('userInfo'))
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
console.log(this.userInfo);
if (this.userInfo) {
this.bzr = this.userInfo.name
this.bzdw = this.userInfo.unitName
this.dwdm = this.userInfo.unitCode
this.bzrsfzh = this.userInfo.idCard
this.phone = this.userInfo.phoneNumber
this.bzr = this.userInfo.name;
this.bzdw = this.userInfo.unitName;
this.dwdm = this.userInfo.unitCode;
this.bzrsfzh = this.userInfo.idCard;
this.phone = this.userInfo.phoneNumber;
}
},
mounted () {
let self = this
this.$bus.on('bzJudge', (val) => {
self.bzData = val
})
mounted() {
let self = this;
this.$bus.on("bzJudge", (val) => {
self.bzData = val;
});
},
watch: {
phone (newValue, oldValue) {
phone(newValue, oldValue) {
if (newValue.length < 7) {
this.isPhoneError = true;
document
......@@ -208,7 +221,7 @@ export default {
.getElementsByTagName("body")[0]
.style.setProperty("--phone", "#606266");
}
}
},
},
methods: {
/**
......@@ -216,7 +229,7 @@ export default {
* @param {*}
* @return {*}
*/
confirmrdwc () {
confirmrdwc() {
let self = this;
this.isShowrdwcDialogBg = false;
this.isShowrdwcDialog = false;
......@@ -241,9 +254,9 @@ export default {
destbarcode,
qqid,
qid,
querytype
}
}).then(response => {
querytype,
},
}).then((response) => {
if (response.data.code === 0) {
// 跟新列表数据
self.$bus.emit("updateFinderSource");
......@@ -260,7 +273,7 @@ export default {
* @param {*}
* @return {*}
*/
cancelrdwc () {
cancelrdwc() {
this.isShowrdwcDialogBg = false;
this.isShowrdwcDialog = false;
},
......@@ -269,7 +282,7 @@ export default {
* @param {*}
* @return {*}
*/
cancelbz () {
cancelbz() {
this.isShowbzDialogBg = false;
this.isShowbzDialog = false;
},
......@@ -278,7 +291,7 @@ export default {
* @param {*}
* @return {*}
*/
confirmbz () {
confirmbz() {
let self = this;
let srcseqno = Number(sessionStorage.getItem("srcseqno"));
let destseqno = Number(sessionStorage.getItem("destseqno"));
......@@ -287,13 +300,13 @@ export default {
let destbarcode = sessionStorage.getItem("destbarcode") || "";
let qqid = Number(sessionStorage.getItem("qqid"));
let qid = Number(sessionStorage.getItem("qid"));
let userName = this.bzr
let idCard = this.bzrsfzh
let tel = this.phone
let unit = this.bzdw
let unitCode = this.dwdm
let affirmtime = new Date(this.bzsj)
let affirmDescribe = this.textarea
let userName = this.bzr;
let idCard = this.bzrsfzh;
let tel = this.phone;
let unit = this.bzdw;
let unitCode = this.dwdm;
let affirmtime = new Date(this.bzsj);
let affirmDescribe = this.textarea;
if (!destbarcode) {
this.$message.error("信息不全,无法比中!");
......@@ -318,10 +331,10 @@ export default {
unit,
unitCode,
affirmtime,
affirmDescribe
}
affirmDescribe,
},
})
.then(response => {
.then((response) => {
if (response.data.code === 0) {
// 跟新列表数据
self.$bus.emit("updateFinderSource");
......@@ -330,7 +343,7 @@ export default {
this.$message.error("比中失败!");
}
})
.catch(err => {
.catch((err) => {
this.$message.error("比中失败!");
});
this.isShowbzDialogBg = false;
......@@ -341,17 +354,17 @@ export default {
* @param {*}
* @return {*}
*/
getUserInfo2 () {
getUserInfo2() {
let self = this;
let destbarcode = sessionStorage.getItem("destbarcode") || "";
this.$axios({
url: "/api/casestore/casebase",
method: "get",
params: {
barcode: destbarcode
barcode: destbarcode,
},
loading: false
}).then(res => {
loading: false,
}).then((res) => {
if (res.data.code == 0) {
self.xckybh = res.data.ret.kybh;
}
......@@ -362,23 +375,23 @@ export default {
* @param {*} id
* @return {*}
*/
getUserInfo (id = 1234) {
getUserInfo(id = 1234) {
let self = this;
this.$axios({
method: "post",
url: "/api/user/searchByUserid",
data: {
id: id
id: id,
},
loading: false
}).then(async res => {
loading: false,
}).then(async (res) => {
if (res.data.code == 0) {
let data = res.data.ret[0];
//console.log(data);
let dw = await self.$axios({
method: "get",
url: "/api/code/unit/one/" + data.userunit,
loading: false
loading: false,
});
let time = new Date(data.updatetime);
self.bzsj = Utils.timeStampTurnTime2(time);
......@@ -395,14 +408,14 @@ export default {
* @param {*}
* @return {*}
*/
async Bz () {
if(this.bzData == null) {
async Bz() {
if (this.bzData == null) {
this.$message.error("信息不全无法比中!");
return
};
if (this.bzData.affirmstatus == '2' || this.bzData.affirmstatus == '3') {
return;
}
if (this.bzData.affirmstatus == "2" || this.bzData.affirmstatus == "3") {
this.$message.error("已经比中过的数据无法再次比中!");
return
return;
}
// this.getUserInfo2();
// 比中时间
......@@ -411,10 +424,10 @@ export default {
this.rybh = sessionStorage.getItem("destbarcode");
this.judgeZw(Number(sessionStorage.getItem("destseqno")));
let res = await this.$axios({
mehtod: 'get',
url: `/api/casestore/casebase/detail?barcode=${this.asjbh}`
})
this.bzsj = res.data.ret.time
mehtod: "get",
url: `/api/casestore/casebase/detail?barcode=${this.asjbh}`,
});
this.bzsj = res.data.ret.time;
console.log(Number(sessionStorage.getItem("destseqno")));
console.log(this.zw);
this.isShowbzDialogBg = true;
......@@ -425,16 +438,16 @@ export default {
* @param {*}
* @return {*}
*/
Rdwc () {
Rdwc() {
//console.log("认定完成");
this.$message.success('认定完成')
this.$message.success("认定完成");
},
/**
* @description: 更具code判断指位
* @param {*} code
* @return {*}
*/
judgeZw (code) {
judgeZw(code) {
//console.log(code);
switch (code) {
case 1:
......@@ -510,18 +523,18 @@ export default {
this.zw = "右半掌";
break;
}
}
},
},
computed: {
...mapState({
loading_sd: (state) => state.loading.loading_sd,
}),
},
beforeDestroy () {
beforeDestroy() {
// 组件销毁前需要解绑事件。否则会出现重复触发事件的问题
this.$bus.off("updateFinderSource");
this.$bus.off("bzJudge");
}
},
};
</script>
......@@ -575,7 +588,7 @@ div {
background-color: #ffffff;
/*padding: 24px;*/
margin: 0;
padding: 0 24px 24px 24px;
padding: 0 0px 24px 0px;
display: flex;
flex-direction: column;
/deep/.el-table__body-wrapper.is-scrolling-none {
......@@ -590,12 +603,13 @@ div {
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 25px;
.label {
align-self: flex-start;
height: 22px;
font-size: 16px;
font-weight: bold;
color: #00B47A;
color: #00b47a;
line-height: 22px;
margin-top: 14px;
}
......@@ -661,8 +675,11 @@ div {
.lt_main_left {
width: 352px;
border: none;
overflow: hidden;
border-radius: 0px 20px 0px 0px;
/* margin-right: 16px; */
margin-top: 18px;
box-shadow: 0px 4px 10px 0px rgba(5, 95, 231, 0.3);
margin-top: 13px;
}
.lt_main_middle {
width: 1120px;
......@@ -684,10 +701,14 @@ div {
border: 1px #8b4513 solid;
}
.lt_main_right {
margin-top: 50px;
margin-top: 13px;
margin-left: 16px;
width: 380px;
border: none;
border-radius: 20px 0px 0px 0px;
box-shadow: 0px 4px 10px 0px rgba(5, 95, 231, 0.3);
overflow: hidden;
}
.lt_main_footer {
......
......@@ -406,7 +406,7 @@ export default {
this.isShowbzDialog = true;
},
Rdwc() {
this.$message.success('认定完成')
this.$message.success("认定完成");
},
hideDialog() {
this.dialog = true;
......@@ -569,7 +569,6 @@ div {
// background-color: #ffffff;
/*padding: 24px;*/
margin: 0;
padding: 0 24px 24px 24px;
display: flex;
flex-direction: column;
}
......@@ -580,6 +579,7 @@ div {
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 25px;
.label {
align-self: flex-start;
height: 22px;
......@@ -631,7 +631,7 @@ div {
width: 352px;
border: none;
/* margin-right: 16px; */
margin-top: 18px;
margin-top: 13px;
//border: none;
}
.main-middle {
......@@ -642,10 +642,13 @@ div {
margin-left: -10px;
}
.main-right {
margin-top: 50px;
margin-top: 13px;
margin-left: 20px;
width: 380px;
border: none;
border-radius: 20px 0 0 0;
overflow: hidden;
box-shadow: 0px 4px 10px 0px rgba(5, 95, 231, 0.3);
}
}
/deep/.el-dialog {
......
......@@ -1073,10 +1073,7 @@ export default {
* @function strArr
* @param {String} str 用户组角色字符串(逗号分隔)
* @example 当用户组角色大于三个则裁剪否则不操作
* @returns {Object} 返回的对象看上图解释(obj)
* @property {object} obj - 该函数返回的对象.
* @property {array} obj.arr - 裁剪后的角色集合.
* @property {number} obj.length - 裁剪前的角色个数.
* @returns {Object} (arr: 裁剪前的对象个数 , length: 裁剪后的对象集合)
* @see 1038
*/
strArr(str) {
......@@ -1148,12 +1145,12 @@ export default {
* @function userDel
* @param {String} id 用户id
* @example 用户设置弹窗删除用户
* @property {object} axiosObect - 使用到接口的信息.
* @property {String} [axiosObect.url=http://zwpt.xzclub.top:9333/users/delUserFromGroup] 请求地址
* @property {String} [axiosObect.method=delete] 请求方式
* @property {object} axiosObect.data 请求参数
* @property {String} axiosObect.data.groupId 组id
* @property {String} axiosObect.data.userId 用户id
* @property {object} request - 使用到接口的信息.
* @property {String} [request.url=http://zwpt.xzclub.top:9333/users/delUserFromGroup] 请求地址
* @property {String} [request.method=delete] 请求方式
* @property {object} request.data 请求参数
* @property {String} request.data.groupId 组id
* @property {String} request.data.userId 用户id
* @property {object} response - 获取到的数据.
* @property {number} response.code - 状态码(200为成功).
* @property {String} response.info - success为成功.
......@@ -1765,7 +1762,7 @@ export default {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 15:37:09 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 16:54:27 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>
......
......@@ -1357,7 +1357,7 @@ export default {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 15:37:09 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 16:54:27 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>
......
......@@ -68,7 +68,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 15:37:09 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 16:54:27 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>
......
......@@ -236,7 +236,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户组批量操作</code></pre>
......@@ -332,7 +332,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>关闭新增弹窗</code></pre>
......@@ -428,7 +428,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>关闭编辑弹窗</code></pre>
......@@ -524,7 +524,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>关闭角色设置弹窗</code></pre>
......@@ -620,7 +620,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>关闭用户设置弹窗</code></pre>
......@@ -716,7 +716,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>筛选条件中点击清空后清空筛选条件并更新表格数据</code></pre>
......@@ -812,14 +812,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户组单删除</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -957,7 +957,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户组批量删除</code></pre>
......@@ -1053,7 +1053,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户设置弹窗批量删除用户</code></pre>
......@@ -1149,7 +1149,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户设置添加组成员操作</code></pre>
......@@ -1245,7 +1245,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>点击用户设置后获取当前用户组可以添加的用户列表</code></pre>
......@@ -1341,14 +1341,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>获取当前用户组的所有角色</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1486,7 +1486,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>点击用户设置后获取当前用户组所有的用户列表</code></pre>
......@@ -1582,14 +1582,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户组切换页数</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1727,14 +1727,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>将勾选后的用户对象存到multipleSelection变量中</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1872,14 +1872,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户组每页展示数量发生变化</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -2017,7 +2017,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>不在批量状态时清空之前选中的数据</code></pre>
......@@ -2113,7 +2113,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>打开新增弹窗</code></pre>
......@@ -2209,14 +2209,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>打开编辑弹窗</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -2354,7 +2354,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>保存角色设置</code></pre>
......@@ -2450,14 +2450,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>查询用户组列表</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -2598,14 +2598,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>打开角色弹窗前保存用户组信息</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -2743,14 +2743,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>角色设置,前端交互动画方法</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -2934,14 +2934,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>点击用户设置后保存当前的用户信息</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -3069,147 +3069,24 @@
<h5 class="subsection-title">对象注解:</h5>
<table class="props">
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th class="last">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">该函数返回的对象.
<h6>字段注解</h6>
<table class="props">
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th class="last">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>arr</code></td>
<td class="type">
<span class="param-type">array</span>
</td>
<td class="description last">裁剪后的角色集合.</td>
</tr>
<tr>
<td class="name"><code>length</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">裁剪前的角色个数.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>当用户组角色大于三个则裁剪否则不操作</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -3276,7 +3153,7 @@
<div class="param-desc">
返回的对象看上图解释(obj)
(arr: 裁剪前的对象个数 , length: 裁剪后的对象集合)
</div>
......@@ -3369,7 +3246,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>修改用户组</code></pre>
......@@ -3465,7 +3342,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>新增用户组</code></pre>
......@@ -3561,14 +3438,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>如果有数据则表格勾选相应数据,如果没有则清空相应数据</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -3706,14 +3583,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户设置的清除所有选项</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -3851,7 +3728,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户设置弹窗批量操作</code></pre>
......@@ -3937,7 +3814,7 @@
<h5 class="subsection-title">对象注解:</h5>
<h5 class="subsection-title">接口对象:</h5>
......@@ -3952,8 +3829,6 @@
<th class="last">含义</th>
</tr>
</thead>
......@@ -3963,7 +3838,7 @@
<tr>
<td class="name"><code>axiosObect</code></td>
<td class="name"><code>request</code></td>
<td class="type">
......@@ -3977,8 +3852,6 @@
<td class="description last">使用到接口的信息.
<h6>字段注解</h6>
......@@ -3992,10 +3865,6 @@
<th>类型</th>
<th>Attributes</th>
<th>Default</th>
......@@ -4021,16 +3890,6 @@
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
<code>http://zwpt.xzclub.top:9333/users/delUserFromGroup</code>
......@@ -4058,16 +3917,6 @@
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
<code>delete</code>
......@@ -4095,14 +3944,6 @@
</td>
<td class="attributes">
</td>
<td class="default">
</td>
......@@ -4122,8 +3963,6 @@
<th class="last">含义</th>
</tr>
</thead>
......@@ -4147,8 +3986,6 @@
<td class="description last">组id</td>
</tr>
......@@ -4170,8 +4007,6 @@
<td class="description last">用户id</td>
</tr>
......@@ -4207,8 +4042,6 @@
<td class="description last">获取到的数据.
<h6>字段注解</h6>
......@@ -4223,8 +4056,6 @@
<th class="last">含义</th>
</tr>
</thead>
......@@ -4248,8 +4079,6 @@
<td class="description last">状态码(200为成功).</td>
</tr>
......@@ -4271,8 +4100,6 @@
<td class="description last">success为成功.</td>
</tr>
......@@ -4300,14 +4127,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户设置弹窗删除用户</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -4445,14 +4272,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>用户设置的选择用户数据</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -4590,14 +4417,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>当用户设置组成员弹框消失后清空选中的用户</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -4684,7 +4511,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 15:37:09 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 16:54:27 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>
......
......@@ -236,7 +236,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>点击批量操作后的方法</code></pre>
......@@ -332,7 +332,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>关闭新增弹窗</code></pre>
......@@ -428,7 +428,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>关闭修改弹窗</code></pre>
......@@ -524,7 +524,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>清空所有筛选条件并更新用户表格数据</code></pre>
......@@ -620,14 +620,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>单个删除用户</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -765,7 +765,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>批量删除用户</code></pre>
......@@ -861,14 +861,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>回显要编辑的人员信息</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1006,14 +1006,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>当期页发生变化</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1151,14 +1151,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>将勾选的用户对象保存起来</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1296,14 +1296,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>每页展示数量发生变化</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1441,7 +1441,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>取消批量操作状态,删除所有选中的用户</code></pre>
......@@ -1537,7 +1537,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>打开新增弹窗</code></pre>
......@@ -1633,14 +1633,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>打开编辑弹窗</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1778,14 +1778,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>重置对应的form表单</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -1923,14 +1923,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>筛选用户表格数据</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -2071,14 +2071,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>当用户角色大于三个则裁剪否则不操作</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -2238,7 +2238,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>编辑用户</code></pre>
......@@ -2334,7 +2334,7 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>新增用户</code></pre>
......@@ -2430,14 +2430,14 @@
<h5>描述</h5>
<h5>方法描述</h5>
<pre class="prettyprint"><code>如果用户对象存在则选中否则清空</code></pre>
<h5>参数:</h5>
<h5>方法参数:</h5>
<table class="params">
......@@ -2524,7 +2524,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 15:37:09 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Fri Jan 07 2022 16:54:27 GMT+0800 (中国标准时间) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>
......
......@@ -61,7 +61,7 @@
<?js } ?>
<?js if (doc.examples && doc.examples.length) { ?>
<h3>描述<?js= doc.examples.length > 1? 's':'' ?></h3>
<h3>方法描述<?js= doc.examples.length > 1? 's':'' ?></h3>
<?js= self.partial('examples.tmpl', doc.examples) ?>
<?js } ?>
<?js } ?>
......
......@@ -140,7 +140,7 @@ if (data.defaultvalue && (data.defaultvaluetype === 'object' || data.defaultvalu
if (properties && properties.length && properties.forEach) {
?>
<h5 class="subsection-title">对象注解:</h5>
<h5 class="subsection-title">接口对象:</h5>
<?js= this.partial('properties.tmpl', data) ?>
......
......@@ -34,7 +34,7 @@ var self = this;
<?js } ?>
<?js if (data.examples && examples.length) { ?>
<h5>描述<?js= examples.length > 1? 's':'' ?></h5>
<h5>方法描述<?js= examples.length > 1? 's':'' ?></h5>
<?js= this.partial('examples.tmpl', examples) ?>
<?js } ?>
</div>
......@@ -53,12 +53,12 @@ var self = this;
<?js } ?>
<?js if (data.examples && examples.length) { ?>
<h5>描述<?js= examples.length > 1? 's':'' ?></h5>
<h5>方法描述<?js= examples.length > 1? 's':'' ?></h5>
<?js= this.partial('examples.tmpl', examples) ?>
<?js } ?>
<?js if (data.params && params.length) { ?>
<h5>参数:</h5>
<h5>方法参数:</h5>
<?js= this.partial('params.tmpl', params) ?>
<?js } ?>
......
......@@ -47,10 +47,6 @@
<th>类型</th>
<?js if (props.hasAttributes) {?>
<th>Attributes</th>
<?js } ?>
<?js if (props.hasDefault) {?>
<th>Default</th>
<?js } ?>
......@@ -77,18 +73,6 @@
<?js } ?>
</td>
<?js if (props.hasAttributes) {?>
<td class="attributes">
<?js if (prop.optional) { ?>
&lt;optional><br>
<?js } ?>
<?js if (prop.nullable) { ?>
&lt;nullable><br>
<?js } ?>
</td>
<?js } ?>
<?js if (props.hasDefault) {?>
<td class="default">
<?js if (typeof prop.defaultvalue !== 'undefined') { ?>
......
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