Commit 34b5a452 by 米嘉伟

开会问题六条问题解决

parent a60f8622
......@@ -187,7 +187,7 @@
: scope.row.taskNumber
}}
<div
v-show="scope.row.personExportRecordGrandchildren && scope.row.personExportRecordGrandchildren !== null"
v-show="scope.row.personExportRecordGrandchildren && scope.row.personExportRecordGrandchildren !== null&&scope.row.personExportRecordGrandchildren.length > 0"
class="children-count"
>
{{ scope.row.personExportRecordGrandchildren ? scope.row.personExportRecordGrandchildren.length : 0 }}
......@@ -388,7 +388,178 @@ export default {
currPage2: 1, // 当前在第几页
// datahaha: [
// {
// "id": 5,
// "taskNumber": "20211117174241",
// "barcode": "R4301044400002021105001",
// "collectIdcard": 1,
// "picCount": 0,
// "rollCount": 10,
// "plainCount": 10,
// "plamCount": 0,
// "dataType": 1,
// "exportType": 1,
// "exportTime": "2021-11-17T09:42:41.680+0000",
// "status": null,
// "failReason": "",
// "featureStatus": null,
// "declassificationStatus": null,
// "exportName": "同一文件",
// "statusName": null,
// "declassificationName": "脱密",
// "featureName": "特征",
// "collectIdName": "是",
// "sequenceNumber": "5",
// "personExportRecordGrandchildren": [
// ]
// },
// {
// "id": 4,
// "taskNumber": "20211117172016",
// "barcode": "R4301035400002021100020",
// "collectIdcard": 1,
// "picCount": 0,
// "rollCount": 10,
// "plainCount": 10,
// "plamCount": 0,
// "dataType": 1,
// "exportType": 1,
// "exportTime": "2021-11-17T09:20:16.772+0000",
// "status": null,
// "failReason": "",
// "featureStatus": null,
// "declassificationStatus": null,
// "exportName": "同一文件",
// "statusName": null,
// "declassificationName": "脱密",
// "featureName": "特征",
// "collectIdName": "是",
// "sequenceNumber": "6",
// "personExportRecordGrandchildren": [
// {
// "id": 4,
// "taskNumber": "20211117172016",
// "barcode": "R4301035400002021100020",
// "collectIdcard": 1,
// "picCount": 0,
// "rollCount": 10,
// "plainCount": 10,
// "plamCount": 0,
// "dataType": 1,
// "exportType": 1,
// "exportTime": "2021-11-17T09:20:16.772+0000",
// "status": null,
// "failReason": "",
// "featureStatus": null,
// "declassificationStatus": null,
// "exportName": "同一文件",
// "statusName": null,
// "declassificationName": "脱密",
// "featureName": "特征",
// "collectIdName": "是",
// "sequenceNumber": "61"
// }
// ]
// },
// {
// "id": 3,
// "taskNumber": "20211116170544",
// "barcode": "R4301045200002021100110",
// "collectIdcard": 1,
// "picCount": 0,
// "rollCount": 10,
// "plainCount": 10,
// "plamCount": 0,
// "dataType": 1,
// "exportType": 1,
// "exportTime": "2021-11-16T09:05:44.503+0000",
// "status": null,
// "failReason": "",
// "featureStatus": null,
// "declassificationStatus": null,
// "exportName": "同一文件",
// "statusName": null,
// "declassificationName": "脱密",
// "featureName": "特征",
// "collectIdName": "是",
// "sequenceNumber": "7",
// "personExportRecordGrandchildren": [
// {
// "id": 3,
// "taskNumber": "20211116170544",
// "barcode": "R4301045200002021100110",
// "collectIdcard": 1,
// "picCount": 0,
// "rollCount": 10,
// "plainCount": 10,
// "plamCount": 0,
// "dataType": 1,
// "exportType": 1,
// "exportTime": "2021-11-16T09:05:44.503+0000",
// "status": null,
// "failReason": "",
// "featureStatus": null,
// "declassificationStatus": null,
// "exportName": "同一文件",
// "statusName": null,
// "declassificationName": "脱密",
// "featureName": "特征",
// "collectIdName": "是",
// "sequenceNumber": "71"
// }
// ]
// },
// {
// "id": 2,
// "taskNumber": "20211116165827",
// "barcode": "R4301045200002021100110",
// "collectIdcard": 1,
// "picCount": 0,
// "rollCount": 10,
// "plainCount": 10,
// "plamCount": 0,
// "dataType": 1,
// "exportType": 1,
// "exportTime": "2021-11-16T08:58:27.160+0000",
// "status": null,
// "failReason": "",
// "featureStatus": null,
// "declassificationStatus": null,
// "exportName": "同一文件",
// "statusName": null,
// "declassificationName": "脱密",
// "featureName": "特征",
// "collectIdName": "是",
// "sequenceNumber": "8",
// "personExportRecordGrandchildren": [
// {
// "id": 2,
// "taskNumber": "20211116165827",
// "barcode": "R4301045200002021100110",
// "collectIdcard": 1,
// "picCount": 0,
// "rollCount": 10,
// "plainCount": 10,
// "plamCount": 0,
// "dataType": 1,
// "exportType": 1,
// "exportTime": "2021-11-16T08:58:27.160+0000",
// "status": null,
// "failReason": "",
// "featureStatus": null,
// "declassificationStatus": null,
// "exportName": "同一文件",
// "statusName": null,
// "declassificationName": "脱密",
// "featureName": "特征",
// "collectIdName": "是",
// "sequenceNumber": "81"
// }
// ]
// }
// ],
isSelected: false, // 是否批量操作
......@@ -400,7 +571,7 @@ export default {
isShowTip: false, //批量操作提示
};
},
created() {
created () {
let w1 = 1920;
let w2 = window.innerWidth;
......
......@@ -185,7 +185,13 @@ export default {
// 然后移除
document.body.removeChild(eleLink)
this.dialogVisible = false;
this.$router.push('/dclb')
// this.$router.push('/dclb')
this.$router.push({
path: '/dclb',
query: {
id: 2
}
})
}
} else {
this.$message.error(response.data.message);
......
......@@ -568,7 +568,13 @@ export default {
// 然后移除
document.body.removeChild(eleLink)
this.dialogVisible = false;
this.$router.push('/dclb')
// this.$router.push('/dclb')
this.$router.push({
path: '/dclb',
query: {
id: 1
}
})
}
} else {
this.$message.error(response.data.message);
......
<template>
<div class="confirm_base">
<div class="confirm_main">
<div class="confirm_main_search margin0 width100">
<div class="display_style">
<el-button
type="info"
@click="batch"
>批量操作</el-button>
</div>
<div class="display_style confirm_main_button">
<!-- 复制条码号 起 -->
<el-button
type="info"
v-clipboard:copy="barcode"
@click="getBarcode"
v-clipboard:success="onCopy"
v-clipboard:error="onError"
>
复制条码
</el-button>
<!-- 复制条码号 止 -->
<el-button>发查询</el-button>
</div>
</div>
<el-tag
style="width:100%;color:#666666;margin-top:16px;"
v-show="isShowTip"
>
<i
class="el-icon-info"
style="color:#055FE7;font-size:15px"
></i>
已选择
<span style="color:#055FE7">{{ selectionData.length }}</span> 项​
<span v-html="'&nbsp;&nbsp;'"></span>
​服务调用总计:<span v-html="'&nbsp;&nbsp;'"></span>36.4万
<el-link
type="primary"
:underline="false"
style="margin-left:20px;"
@click="toggleSelection()"
>清除</el-link>
</el-tag>
<div class="confirm_main_table">
<el-table
class="mineral-table"
border
@selection-change="handleSelectionChange"
height="450"
ref="confirmTable"
tooltip-effect="dark"
:data="list"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
row-key="queryId"
@row-click="confirm"
@expand-change="hadnlExpandChange"
>
<el-table-column
type="selection"
height
width="auto"
v-if="isSelected"
></el-table-column>
<el-table-column
prop=""
label="任务号/查询号"
width="155"
>
<template slot-scope="scope">
<svg-icon
style="width: 14px;height: 11px;margin-bottom: 2px ;margin-left: 5px ;"
v-if="scope.row.children || scope.row.children === null"
icon-class="tree_f"
>
</svg-icon>
<svg-icon
style="width: 13px;height: 6px;margin: 0 0 3px 0 ;"
v-else-if="!scope.row.children || scope.row.children !== null"
icon-class="tree_c"
></svg-icon>
{{
scope.row.children || scope.row.children === null
? scope.row.qid
: scope.row.qqid
}}
<div
v-show="scope.row.children && scope.row.children !== null"
class="children-count"
>
{{ scope.row.children ? scope.row.children.length : 0 }}
</div>
</template>
</el-table-column>
<el-table-column
v-for="(item, index) in tableProps"
show-overflow-tooltip
:key="index"
:label="item.colume"
:prop="item.prop"
:width="item.width"
>
<template slot-scope="scope">
<template v-if="item.prop === 'querytype'">
<div
v-if="scope.row.querytype === '3'"
style="color: #FFA219"
>
{{ scope.row.queryTypeName }}
</div>
<div
v-else-if="scope.row.querytype === '0'"
style="color: #005FE7"
>
{{ scope.row.queryTypeName }}
</div>
<div
v-else-if="scope.row.querytype === '1'"
style="color:#E60012 "
>
{{ scope.row.queryTypeName }}
</div>
<div
v-else-if="scope.row.querytype === '2'"
style="color:#08BD9E"
>
{{ scope.row.queryTypeName }}
</div>
<div v-else>
{{ scope.row.queryTypeName }}
</div>
</template>
<template v-else-if="item.prop === 'barcode'">
<div>
{{ scope.row.barcode }}
<div v-if="scope.row.querylog && scope.row.querylog === '1'">
<el-tooltip
effect="dark"
placement="right"
>
<div slot="content">
历史信息1<br />历史信息2<br />历史信息3<br />历史信息4<br />历史信息5<br />{{
scope.row.querylog
}}
</div>
<img
class="history"
:src="historyUrl"
/>
</el-tooltip>
</div>
</div>
</template>
<template v-else-if="item.prop === 'queryclass'">
{{
scope.row.queryclass === "5"
? "最低"
: scope.row.queryclass === "4"
? "低"
: scope.row.queryclass === "3"
? "中"
: scope.row.queryclass === "2"
? "高"
: scope.row.queryclass === "1"
? "最高"
: ""
}}
</template>
<template v-else>
{{ dataFormat(scope.row, item.prop) }}</template>
</template>
</el-table-column>
<el-table-column
width="auto"
label="操作"
>
<template slot-scope="scope">
<div
class="img"
@click="edit(scope.row)"
type="text"
style="font-size:24px"
v-if="scope.row.barcode"
>
<i>
<img
style="width:16px;height:16px;cursor: pointer;
"
:src="editUrl"
alt
/>
</i>
</div>
<div
v-if="scope.row.barcode"
class="img"
@click.stop="delOne(scope.row.qqid)"
type="text"
style="font-size:24px"
>
<i>
<img
style="width:12px;height:14px;cursor: pointer;
"
:src="delUrl"
alt
/>
</i>
</div>
</template>
</el-table-column>
</el-table>
</div>
</div>
<div class="footer">
<span class="count">共{{ reqParam.page.total }} 条记录 第{{ reqParam.page.currPage }}/{{
Tpage
}}页</span>
<div class="page">
<el-pagination
class="paging"
background
@size-change="handleSizeChange"
@current-change="handleCurrPageChange"
:current-page="reqParam.page.currPage"
:page-sizes="[10, 20, 50, 100]"
:page-size="reqParam.page.pageSize"
layout="prev, pager, next"
:total="reqParam.page.total"
>
</el-pagination>
</div>
</div>
<el-dialog
:visible.sync="historyDialogVisible"
style="z-index: 1500"
>
</el-dialog>
</div>
</template>
<script>
import "@/icons/tree_f.svg";
import "@/icons/tree_c.svg";
import moment from "moment";
import SvgIcon from "../../components/SvgIcon/index.vue";
import "@/icons/tree_f.svg";
import "@/icons/tree_c.svg";
export default {
name: "BDList",
components: { SvgIcon },
data () {
return {
isShowTip: false, //批量操作提示
// selectionData: [], // 表单选择项目
reqParam: {
page: {
total: 0,
pageSize: 10,
currPage: 1
},
contrastCustomSearchReq: {
barcode: "",
qqid: null,
qid: null,
sendTimeStart: null,
sendTimeEnd: null,
userid: null,
querytypes: [],
querystates: [],
remoteflags: [],
queryclasss: []
}
},
list: [],
currentPage: 5,
startEndDate: null,
account: "00000000",
number: 15,
tableData: datas1,
queryClassList: setQueryClass,
userOption: [],
// userOption:users,
delUrl: require("../../assets/img/confirm/del.png"),
editUrl: require("../../assets/img/confirm/edit.png"),
historyUrl: require("../../assets/img/confirm/history2x.png"),
selectionData: [],
barcode: null,
// 是否批量操作
isSelected: false,
delLabels: [],
// 自定义展示列table数据
key: 1,
tableProps: content,
checkedProps: [
"barcode",
"maxcandidatecnt",
"querytype",
"queryStateName",
"hitpossibility",
"queryclass",
"affirmtime",
"requestdatetime",
"userdesc"
],
defaultTableProps: content,
expanded: false, // 展开标志
historyDialogVisible: false
};
},
watch: {
// 批量处理
checkedProps (val) {
this.tableProps = this.defaultTableProps.filter(
i => val.indexOf(i.prop) >= 0
);
//挑选被选中的对象
this.key = this.key + 1; //为了保证table 每次都会重渲,这样做体验感更好,如果不为table设置key值的话,用户一旦选中了复选框选项,就是在原来table基础上添加删除每一列,页面就有跳动的感觉,体验感不好
}
},
computed: {
// 计算总页数
Tpage () {
return (
Math.floor(this.reqParam.page.total / this.reqParam.page.pageSize) + 1
);
}
},
methods: {
// 获取认定列表
search () {
this.getParam();
// console.info("请求===>", this.reqParam.contrastCustomSearchReq);
this.$axios
.post("/api/queryque/standardQid", this.reqParam)
.then(response => {
if (response.data.code === 0) {
this.list = response.data.ret.list;
this.reqParam.page.total = response.data.ret.total;
console.info("查询结果===>", this.list);
this.userInfo = this.getUserInfo(this.list);
} else {
this.$message.error(response.data.message);
}
// console.info(JSON.stringify(this.list));
});
},
// 多条件查询 获取查询条件
getQueryType (data, type) {
let { name, value } = data;
let list = this.reqParam.contrastCustomSearchReq[type];
if (list.includes(value)) {
list = list.filter(item => item !== value);
this.dynamicTags = this.dynamicTags.filter(
item => item.value !== value
);
} else {
list.push(value);
this.dynamicTags.push(data);
}
this.reqParam.contrastCustomSearchReq[type] = JSON.parse(
JSON.stringify(list)
);
this.search();
},
// 多选删除
delMore () {
// 检查table选择的数据 如果没有选择则不可以删除
if (this.selectionData.length === 0) {
this.$message.error("请选择需要删除的数据!");
return;
}
// 封装删除的qqid为数组
let qqid = [];
for (let i = 0; i < this.selectionData.length; i++) {
qqid.push(this.selectionData[i].qqid);
}
this.doDelete(qqid);
},
// 单选删除
delOne (val) {
// 将传入的qqid转为数组
let qqid = [];
qqid.push(val);
// console.info("删除接口里的qqid:", qqid);
this.doDelete(qqid);
},
// 请求删除接口
doDelete (qqid) {
// 删除确认提示
this.$confirm("是否确定删除已选择的数据?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.$axios
.post("/api/queryque/delete", { qqid: qqid })
.then(response => {
if (response.data.code === 0) {
this.$message.success("删除成功");
this.search();
} else {
this.$message.error("删除失败");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除"
});
});
},
// 认定
confirm (row) {
// tt 查重 0
if (row.querytype === "0") {
console.log(row);
// console.info("查重", row.querytype, row);
if (row.children) {
let routeUrl = this.$router.resolve({
path: "/confirm/TT",
query: {
qqid: row.qqid,
qid: row.qid,
barcode: row.barcode,
type: "father"
}
});
window.open(routeUrl.href, "_blank");
} else {
let routeUrl = this.$router.resolve({
path: "/confirm/TT",
query: {
qqid: row.qqid,
qid: row.qid,
barcode: row.barcode,
type: "son"
}
});
window.open(routeUrl.href, "_blank");
}
} // tl 倒查 1
else if (row.querytype === "1") {
// console.info("倒查", row.querytype);
// this.$router.push({ path: "/confirm/TL", query: { rowData: row } });
// console.log(row);
if (row.children) {
// 父级
let routeUrl = this.$router.resolve({
path: "/confirm/TL",
query: { qid: row.qid, qqid: row.qqid, type: "father" }
});
window.open(routeUrl.href, "_blank");
} else {
// 子级
let routeUrl = this.$router.resolve({
path: "/confirm/TL",
query: { qid: row.qid, qqid: row.qqid, type: "son" }
});
window.open(routeUrl.href, "_blank");
}
}
// ll 串查 3 lt 正查 2
else {
// console.info("串查/正查", row.querytype, row);
// 打开新页面
if (row.children) {
let routeUrl = this.$router.resolve({
path: "/confirm/LT",
query: { qid: row.qid, qqid: row.qqid, type: "father" }
});
window.open(routeUrl.href, "_blank");
} else {
let routeUrl = this.$router.resolve({
path: "/confirm/LT",
query: { qid: row.qid, qqid: row.qqid, type: "son" }
});
window.open(routeUrl.href, "_blank");
}
}
},
// 编辑
edit () { },
// 展开或关闭行
hadnlExpandChange (row, expanded) {
// 获取展开标志
this.expanded = expanded;
// 获取下标
var i = this.list.findIndex(table => table.queryId === row.queryId);
// var i = this.tableData.findIndex(table => table.id === row.id);
// console.log(i);
if (expanded) {
this.list[i] = {
qid: row.qid,
children: row.children,
queryId: row.queryId
};
this.$forceUpdate();
// console.info("展开时row数据", this.list[i]);
// this.$set(this.tableData[i], "barcode", "");
// 保证临时变量中存在下标属性,方便后续折叠时取值
//row.index = i;
// // push到临时数组中
// this.arr.push(row);
// 清空表格数据
// var obj = {
// qid: row.qid,
// children: row.children,
// queryId: row.queryId
// };
// this.list[i] = obj;
} else {
console.info("折叠时row数据", this.list[i]);
this.list[i] = {
qid: row.qid,
children: row.children,
queryId: row.queryId,
barcode: row.children[0].barcode,
maxcandidatecnt: row.children[0].maxcandidatecnt,
querytype: row.children[0].querytype,
queryStateName: row.children[0].queryStateName,
hitpossibility: row.children[0].hitpossibility,
queryclass: row.children[0].queryclass,
affirmtime: row.children[0].affirmtime,
requestdatetime: row.children[0].requestdatetime,
userdesc: row.children[0].userdesc,
queryTypeName: row.children[0].queryTypeName
};
console.log(this.list[i]);
this.$forceUpdate();
// console.info("塞完数据的row", this.list[i]);
}
},
// table表格选中获取数据
handleSelectionChange (val) {
this.selectionData = val;
console.log(this.selectionData);
if (this.selectionData.length) {
this.isShowTip = true;
} else {
this.isShowTip = false;
}
},
// 复制条码号 获取选中条码值
getBarcode () {
let self = this;
this.barcode = [];
// if (this.selectionData.length === 0) {
// this.$message.error("请选择需要复制条码号的数据!");
// } else if (this.selectionData.length === 1) {
// this.barcode = this.selectionData[0].barcode;
// } else {
// this.$message.error("只能复制单条数据的条码号!");
// }
if (this.selectionData.length === 0) {
this.$message.error("请选择需要复制条码号的数据!");
} else {
console.log(this.selectionData);
self.selectionData.forEach(item => {
self.barcode.push(item.barcode);
});
this.barcode = this.barcode.join(",");
}
},
// 复制成功时的回调函数
onCopy (e) {
console.info(this.barcode);
this.$message({
type: "success",
// message: "复制条码号:" + this.barcode + "成功!"
message: "已复制到剪切板"
});
},
// 复制失败时的回调函数
onError (e) {
this.$message.error("抱歉,复制条码号失败!");
},
// 自定义展示列 多选框
changeCheckbox () {
// console.info("默认", this.defaultTableProps);
// console.info("table", this.tableProps);
// console.info("选中", this.checkedProps);
},
// 当期页发生变化
handleCurrPageChange: function (val) {
this.reqParam.page.currPage = val;
this.search();
},
// 每页展示数量发生变化
handleSizeChange: function (val) {
this.reqParam.page.pageSize = val;
this.search();
},
// 标签关闭 isTag:是否为标签点击
handleClose (tag) {
let { type, value } = tag;
this.dynamicTags = this.dynamicTags.filter(item => item.value !== value);
this.reqParam.contrastCustomSearchReq[
type
] = this.reqParam.contrastCustomSearchReq[type].filter(
item => item !== value
);
this.search();
},
// 标签生成
tagClick (name) {
if (this.dynamicTags.indexOf(name) === -1) {
this.dynamicTags.push(name);
} else {
this.$message.error("该筛选条件已存在!请重新选择!");
}
},
// 全部状态
allQueryType () {
let newdynamicTags = [];
this.dynamicTags.forEach((item, index) => {
if (item.type !== "querystates") {
newdynamicTags.push(item);
// this.dynamicTags.splice(index, 1);
}
});
this.dynamicTags = newdynamicTags;
this.reqParam.contrastCustomSearchReq.querytypes = [];
this.search();
},
showHistory () {
this.historyDialogVisible = true;
},
// 全部数据
clearAll () {
this.dynamicTags = [];
this.clearParams();
this.search();
},
// 清空筛选条件
clearParams () {
// this.remoteFlag = null;
this.startEndDate = null;
this.reqParam.page.currPage = 1;
this.reqParam.page.pageSize = 10;
this.reqParam.page.total = 0;
this.reqParam.contrastCustomSearchReq.barcode = null;
this.reqParam.contrastCustomSearchReq.qqid = null;
this.reqParam.contrastCustomSearchReq.qid = null;
this.reqParam.contrastCustomSearchReq.sendTimeStart = null;
this.reqParam.contrastCustomSearchReq.sendTimeEnd = null;
this.reqParam.contrastCustomSearchReq.userid = null;
this.reqParam.contrastCustomSearchReq.querytypes = [];
this.reqParam.contrastCustomSearchReq.querystates = [];
this.reqParam.contrastCustomSearchReq.remoteflags = [];
this.reqParam.contrastCustomSearchReq.queryclasss = [];
this.search();
},
// // 初始化方法
// init() {
// this.tableProps = this.defaultTableProps;
// },
// 批量操作
batch () {
this.isSelected = !this.isSelected;
},
/**
* @description: 清除所有选项
* @param {*}
* @return {*}
*/
toggleSelection (rows) {
if (rows) {
rows.forEach(row => {
this.$refs.confirmTable.toggleRowSelection(row);
});
} else {
this.$refs.confirmTable.clearSelection();
}
console.log(this.selectionData);
}
},
mounted () {
this.search();
}
};
// 用户ID 下拉的数据
const users = [
{ userdesc: "张三", userid: 4567 },
{ userdesc: "李四", userid: 1111 },
{ userdesc: "赵6", userid: 3333 }
];
const content = [
// { colume: "任务号", prop: "aid", width: 100 },
// { colume: "查询号", prop: "qqid", width: 100 },
{ colume: "源条码号", prop: "barcode", width: 235 },
{ colume: "关系序号", prop: "maxcandidatecnt", width: 300 },
{ colume: "查询类型", prop: "querytype", width: 100 },
{ colume: "人员编号/案事件编号", prop: "queryStateName", width: 300 },
{ colume: "逻辑分库", prop: "hitpossibility", width: 150 },
{ colume: "状态", prop: "queryclass", width: 150 },
];
// 数据
const datas1 = [
{
qid: 21,
id: 5,
pid: 4791,
barcode: "R1100002487002018050033",
srcdbid: "PFP",
querytype: "3",
destdbid: "PFP",
requestdatetime: "2021-09-13T23:33:19.000+0000",
finisheddatetime: null,
querystate: 21,
querymethod: null,
maxcandidatecnt: 54,
curcandidatenum: null,
userid: 4567,
hitpossibility: "54",
queryclass: "3",
multiresult: null,
remoteflag: 0,
srcdatatype: "1,2",
destdatatype: "1,2",
seqno: "0",
srcsourceid: null,
destsourceid: "0",
qqid: 485,
affirmtime: null,
ifsend: "0",
querycfg:
"PD94bWwgdmVyc2lvbj0iMS4wIj8+PFRFWFQ+PSM1NCokISMxMT8kPC9URVhUPjxMT0dJQ1BTTj4wMDAwMDAwMDAwMDAwMTExPC9MT0dJQ1BTTj4=",
userdesc: "张三",
useraccount: "11",
queryCfgStr:
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "正在复核",
queryTypeName: "串案",
children: [
{
qid: 21,
id: 51,
pid: 4791,
barcode: "R1100002487002018050033",
srcdbid: "PFP",
querytype: "3",
destdbid: "PFP",
requestdatetime: "2021-09-13T23:33:19.000+0000",
finisheddatetime: null,
querystate: 21,
querymethod: null,
maxcandidatecnt: 54,
curcandidatenum: null,
userid: 4567,
hitpossibility: "54",
queryclass: "3",
multiresult: null,
remoteflag: 0,
srcdatatype: "1,2",
destdatatype: "1,2",
seqno: "0",
srcsourceid: null,
destsourceid: "0",
qqid: 485,
affirmtime: null,
ifsend: "0",
querycfg:
"PD94bWwgdmVyc2lvbj0iMS4wIj8+PFRFWFQ+PSM1NCokISMxMT8kPC9URVhUPjxMT0dJQ1BTTj4wMDAwMDAwMDAwMDAwMTExPC9MT0dJQ1BTTj4=",
userdesc: "张三",
useraccount: "11",
queryCfgStr:
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "正在复核",
queryTypeName: "串案",
private: "0"
},
{
qid: 21,
id: 52,
pid: 4773,
barcode: "R1100002487002018050015",
srcdbid: "PFP",
querytype: "1",
destdbid: "PFP",
requestdatetime: "2021-09-13T23:33:19.000+0000",
finisheddatetime: null,
querystate: 19,
querymethod: null,
maxcandidatecnt: 68,
curcandidatenum: null,
userid: 4567,
hitpossibility: "68",
queryclass: "1",
multiresult: null,
remoteflag: 0,
srcdatatype: "1,2",
destdatatype: "1,2",
seqno: "0",
srcsourceid: null,
destsourceid: "0",
qqid: 467,
affirmtime: "2021-09-14T07:32:24.000+0000",
ifsend: "0",
querycfg:
"PD94bWwgdmVyc2lvbj0iMS4wIj8+PFRFWFQ+PSM1NCokISMxMT8kPC9URVhUPjxMT0dJQ1BTTj4wMDAwMDAwMDAwMDAwMTExPC9MT0dJQ1BTTj4=",
userdesc: "张三",
useraccount: "11",
queryCfgStr:
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "认定出错",
queryTypeName: "倒查",
private: "0"
},
{
qid: 21,
id: 53,
pid: 4769,
barcode: "R1100002487002018050011",
srcdbid: "PFP",
querytype: "1",
destdbid: "PFP",
requestdatetime: "2021-09-01T23:33:19.000+0000",
finisheddatetime: null,
querystate: 29,
querymethod: null,
maxcandidatecnt: 54,
curcandidatenum: null,
userid: 4567,
hitpossibility: "54",
queryclass: "1",
multiresult: null,
remoteflag: 0,
srcdatatype: "1,2",
destdatatype: "1,2",
seqno: "0",
srcsourceid: null,
destsourceid: "0",
qqid: 463,
affirmtime: null,
ifsend: "0",
querycfg:
"PD94bWwgdmVyc2lvbj0iMS4wIj8+PFRFWFQ+PSM1NCokISMxMT8kPC9URVhUPjxMT0dJQ1BTTj4wMDAwMDAwMDAwMDAwMTExPC9MT0dJQ1BTTj4=",
userdesc: "张三",
useraccount: "11",
queryCfgStr:
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "复核出错",
queryTypeName: "倒查",
private: "0"
}
]
},
{
qid: 23,
id: 4,
pid: 4780,
barcode: "R1100002487002018050022",
srcdbid: "PFP",
querytype: "0",
destdbid: "PFP",
requestdatetime: "2021-09-13T23:33:19.000+0000",
finisheddatetime: null,
querystate: 21,
querymethod: null,
maxcandidatecnt: 54,
curcandidatenum: null,
userid: 4567,
hitpossibility: "54",
queryclass: "4",
multiresult: null,
remoteflag: 0,
srcdatatype: "1,2",
destdatatype: "1,2",
seqno: "0",
srcsourceid: null,
destsourceid: "0",
qqid: 474,
affirmtime: null,
ifsend: "0",
querycfg:
"PD94bWwgdmVyc2lvbj0iMS4wIj8+PFRFWFQ+PSM1NCokISMxMT8kPC9URVhUPjxMT0dJQ1BTTj4wMDAwMDAwMDAwMDAwMTExPC9MT0dJQ1BTTj4=",
userdesc: "张三",
useraccount: "11",
queryCfgStr:
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "正在复核",
queryTypeName: "查重",
children: null,
private: "0"
},
{
qid: 8,
id: 999,
pid: 4785,
barcode: "R1100002487002018050037",
srcdbid: "PFP",
querytype: "1",
destdbid: "PFP",
requestdatetime: "2021-09-13T23:33:19.000+0000",
finisheddatetime: null,
querystate: 29,
querymethod: null,
maxcandidatecnt: 65,
curcandidatenum: null,
userid: 4567,
hitpossibility: "65",
queryclass: "1",
multiresult: null,
remoteflag: 0,
srcdatatype: "1,2",
destdatatype: "1,2",
seqno: "0",
srcsourceid: null,
destsourceid: "0",
qqid: 479,
affirmtime: null,
ifsend: "0",
querycfg:
"PD94bWwgdmVyc2lvbj0iMS4wIj8+PFRFWFQ+PSM1NCokISMxMT8kPC9URVhUPjxMT0dJQ1BTTj4wMDAwMDAwMDAwMDAwMTExPC9MT0dJQ1BTTj4=",
userdesc: "张三",
useraccount: "11",
queryCfgStr:
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "复核出错",
queryTypeName: "倒查",
// children: null,
children: [
{
qid: 21,
id: 9991,
pid: 4769,
barcode: "R1100002487002018050011",
srcdbid: "PFP",
querytype: "1",
destdbid: "PFP",
requestdatetime: "2021-09-01T23:33:19.000+0000",
finisheddatetime: null,
querystate: 29,
querymethod: null,
maxcandidatecnt: 54,
curcandidatenum: null,
userid: 4567,
hitpossibility: "54",
queryclass: "1",
multiresult: null,
remoteflag: 0,
srcdatatype: "1,2",
destdatatype: "1,2",
seqno: "0",
srcsourceid: null,
destsourceid: "0",
qqid: 463,
affirmtime: null,
ifsend: "0",
querycfg:
"PD94bWwgdmVyc2lvbj0iMS4wIj8+PFRFWFQ+PSM1NCokISMxMT8kPC9URVhUPjxMT0dJQ1BTTj4wMDAwMDAwMDAwMDAwMTExPC9MT0dJQ1BTTj4=",
userdesc: "张三",
useraccount: "11",
queryCfgStr:
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "复核出错",
queryTypeName: "倒查",
private: "0"
}
],
private: "0"
}
];
const setQueryClass = [
{ queryclass: "1", name: "最高" },
{ queryclass: "2", name: "高" },
{ queryclass: "3", name: "中" },
{ queryclass: "4", name: "低" },
{ queryclass: "5", name: "最低" }
];
</script>
<style scoped lang="scss">
/deep/.el-pager {
.number {
background-color: transparent;
}
.number.active {
background-color: #055fe7 !important;
box-shadow: 0px 12px 16px 1px rgba(0, 21, 51, 0.03);
border-radius: 6px;
}
.el-icon.more.btn-quicknext.el-icon-more,
.el-icon.more.btn-quickprev.el-icon-more {
background-color: transparent !important;
}
}
/deep/ .btn-prev,
/deep/ .btn-next {
background-color: transparent !important;
}
/deep/ .el-pagination__sizes {
position: absolute;
right: 0;
}
.paging {
float: right;
}
.el-dropdown-menu {
width: 120px;
height: 288px;
padding: 0;
.el-checkbox-group {
.el-checkbox {
height: 32px;
width: 102px;
padding-left: 16px;
&:hover {
background: #f5f5f7;
}
}
}
}
</style>
<style scoped lang="scss">
div {
margin: 0;
padding: 0;
display: inline-block;
/*border: none;*/
}
hr {
background-color: #eeeeee;
height: 1px;
border: none;
margin: 16px 0 16px 0;
}
label {
width: 70px;
height: 22px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #999999;
line-height: 22px;
}
i {
height: 16px;
width: 16px;
margin: 0 9px 0 9px;
}
b {
width: 64px;
height: 24px;
font-size: 16px;
font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
font-weight: bold;
color: #333333;
line-height: 24px;
}
.font {
width: 80px;
height: 16px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #666666;
line-height: 16px;
margin: 0 6px 0 8px;
cursor: pointer;
}
.history {
width: 12px;
height: 12px;
margin-left: 4px;
margin-bottom: 3px;
cursor: pointer;
}
.children-count {
width: 34px;
height: 21px;
font-size: 12px;
line-height: 21px;
text-align: center;
background: #f6f8fa;
border-radius: 11px;
position: absolute;
right: 10px;
}
/deep/.el-tag .el-icon-close::before {
margin-right: 8px;
display: block;
}
.el-icon-arrow-down {
color: #999999;
border: #999999 1px solid;
border-radius: 50%; /*边设置为圆形*/
font-size: 12px;
}
.el-button {
width: 96px;
height: 32px;
border-radius: 4px;
border: 1px solid #aeb5c2;
margin: 0;
padding: 0;
}
.el-button__inner {
width: 56px;
height: 16px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #2e3846;
line-height: 16px;
}
.el-tag {
width: 82px;
height: 24px;
background: #ddebff;
border-radius: 4px;
}
.confirm_base {
height: 100%;
background-color: #ffffff;
padding: 24px;
}
.display_style {
display: inline-block;
margin: 5px 24px 5px 0;
}
.display_style span {
height: 24px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #333333;
line-height: 20px;
margin: 0;
padding: 0;
}
.el_select {
width: 168px;
height: 32px;
background: #ffffff;
border-radius: 4px;
border: 1px solid #e6e6e8;
}
.el_data_picker {
width: 256px;
height: 32px;
background: #ffffff;
border-radius: 4px;
border: 1px solid #e6e6e8;
}
.el_input {
width: 168px;
height: 32px;
background: #ffffff;
border-radius: 4px;
border: 1px solid #e6e6e8;
}
.btn {
width: fit-content;
font-family: MicrosoftYaHei;
border: none;
height: 22px;
padding: 0;
margin: 0 12px 0 12px;
font-size: 14px;
font-weight: 350;
color: #333333;
cursor: pointer;
}
.btn:hover {
color: #055fe7;
}
.btn-active {
color: #055fe7;
}
.el-button--primary {
width: 96px;
height: 32px;
line-height: 22px;
padding: 0;
background: #055fe7;
border-radius: 4px;
}
.el-checkbox-button__inner {
width: 56px;
height: 22px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #ffffff;
line-height: 22px;
}
.el-button--info {
width: 96px;
height: 32px;
font-weight: 350;
color: #2e3846;
background: #ffffff;
border: 1px solid #aeb5c2;
border-radius: 4px;
margin: 0 8px 0 8px;
}
.el-button--info:hover {
border: 1px solid #055fe7;
color: #055fe7;
}
/deep/.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #055fe7 !important;
border: 1px solid #055fe7 !important;
}
/deep/.el-checkbox__inner:hover {
border-color: #055fe7;
/*background: #f5f5f7;*/
}
/deep/.el-checkbox__input + .el-checkbox__label {
color: #333333;
font-size: 14px;
}
/deep/.el-checkbox__input.is-focus .el-checkbox__inner {
border-color: #055fe7 !important;
}
.confirm_main_search {
width: 100%;
height: 34px;
}
.confirm_main_button {
position: absolute;
right: 48px;
}
.confirm_header_search {
width: 100%;
}
.confirm_main {
width: 100%;
height: 60px;
}
.confirm_main_table {
margin: 16px 0 15px 0;
padding: 0;
width: 100%;
height: 500px;
}
.footer {
width: 1544px;
//width: calc(100vw - 367px);
position: absolute;
bottom: 27px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
</style>
<!--table树-->
<style scoped lang="scss">
.el-tree /deep/ .el-tree-node__expand-icon.expanded {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
/*有子节点 且未展开*/
.el-table /deep/ .el-icon-arrow-right:before {
// background: url("../../icons/tree_f.svg") no-repeat 0 3px;
content: "";
display: block;
width: 16px;
height: 16px;
font-size: 16px;
background-size: 16px;
}
/*有子节点 且已展开*/
.el-table /deep/ .el-table__expand-icon--expanded {
.el-icon-arrow-right:before {
// background: url("../../icons/tree_c.svg") no-repeat 0 3px;
content: "";
display: block;
width: 15px;
height: 20px;
font-size: 18px;
background-size: 21px;
}
}
/*没有子节点*/
.el-tree
/deep/
.el-tree-node__expand-icon.is-leaf::before
.el-table
/deep/
.el-table__placeholder::before {
// background: url("../../icons/tree_f.svg") no-repeat 0 3px;
content: "";
display: block;
width: 16px;
height: 18px;
font-size: 16px;
background-size: 16px;
}
/deep/.el-table--enable-row-hover .el-table__body tr:hover {
cursor: pointer;
}
</style>
<style lang="scss">
.el-table__expand-icon {
position: absolute;
right: 45px;
cursor: pointer;
color: #b51f1f;
transition: transform 0.2s ease-in-out;
width: 11px;
height: 11px;
/* border: black 1px solid; */
margin: 0;
background-image: url("../../assets/img/confirm/expend.png");
background-position: center;
background-size: 11px;
background-repeat: no-repeat;
}
.el-table__expand-icon.el-table__expand-icon--expanded {
width: 11px;
height: 11px;
background-image: url("../../assets/img/confirm/shrink.png");
background-position: center;
background-size: 11px;
background-repeat: no-repeat;
transform: rotate(180deg) !important;
}
</style>
......@@ -706,7 +706,7 @@ export default {
onUploadProgress: function (progressEvent) {
// this.dialogVisible = true;
console.log(progressEvent, 1);
that.UploadPercent = ((progressEvent.loaded / 10 * 9.9) / progressEvent.total).toFixed(2) * 100
that.UploadPercent = (((progressEvent.loaded / 10 * 9.9) / progressEvent.total) * 100).toFixed(2)
console.log(that.UploadPercent, 123)
// Number(event.percent.toFixed())
},
......
......@@ -461,6 +461,24 @@
label="查询类型"
:width="width4"
>
<template slot-scope="scope">
<div
v-if='scope.row.queryType==0'
style="color: #fa9500;"
>{{scope.row.dataTypeName}}</div>
<div
v-if='scope.row.queryType==1'
style="color: #e60012;"
>{{scope.row.dataTypeName }}</div>
<div
v-if='scope.row.queryType==2'
style="color: #00b47a;"
>{{scope.row.dataTypeName}}</div>
<div
v-if='scope.row.queryType==3'
style="color: #055fe7;"
>{{scope.row.dataTypeName }}</div>
</template>
</el-table-column>
<el-table-column
prop="barcode"
......@@ -621,7 +639,7 @@ export default {
fztm,
fcx,
},
created() {
created () {
let w1 = 1920;
let w2 = window.innerWidth;
......
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