Commit ec5db32b by 张超军

倒查

parents c6cc5a88 ce2baa50
This source diff could not be displayed because it is too large. You can view the blob instead.
<template>
<svg :class="svgClass" aria-hidden="true" v-on="$listeners">
<use :xlink:href="iconName" />
</svg>
</template>
<script>
export default {
name: "SvgIcon",
props: {
iconClass: {
type: String,
required: true
},
className: {
type: String,
default: ""
}
},
computed: {
iconName() {
return `#icon-${this.iconClass}`;
},
svgClass() {
if (this.className) {
return "svg-icon " + this.className;
} else {
return "svg-icon";
}
},
styleExternalIcon() {
return {
mask: `url(${this.iconClass}) no-repeat 50% 50%`,
"-webkit-mask": `url(${this.iconClass}) no-repeat 50% 50%`
};
}
}
};
</script>
<style scoped>
.svg-icon {
width: 1.5em;
height: 1.5em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
.svg-external-icon {
background-color: currentColor;
mask-size: cover !important;
display: inline-block;
}
</style>
import Vue from "vue";
import SvgIcon from "@/components/SvgIcon"; // svg组件
// 注册为全局组件
Vue.component("svg-icon", SvgIcon);
const req = require.context("./svg", false, /\.svg$/);
const requireAll = requireContext => requireContext.keys().map(requireContext);
requireAll(req);
<?xml version="1.0" encoding="UTF-8"?>
<svg width="13px" height="7px" viewBox="0 0 13 7" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
<title>形状</title>
<desc>Created with Sketch.</desc>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="查询与认定-交互" transform="translate(-422.000000, -517.000000)" fill="#999999" fill-rule="nonzero">
<g id="单元格2" transform="translate(328.000000, 492.000000)">
<path d="M105.171561,26.8333333 L100.504895,26.8333333 C99.9448947,26.8333333 99.5715614,27.2 99.5715614,27.75 L99.5715614,28.6666667 L96.3048947,28.6666667 C96.0248947,28.6666667 95.838228,28.4833333 95.838228,28.2083333 L95.838228,25 L97.7048947,25 C98.2648947,25 92.478228,25 93.038228,25 L94.9048947,25 L94.9048947,28.2083333 C94.9048947,28.9416667 95.558228,29.5833333 96.3048947,29.5833333 L99.5715614,29.5833333 L99.5715614,30.5 C99.5715614,31.05 99.9448947,31.4166667 100.504895,31.4166667 L105.171561,31.4166667 C105.731561,31.4166667 106.104895,31.05 106.104895,30.5 L106.104895,27.75 C106.104895,27.2 105.731561,26.8333333 105.171561,26.8333333 Z M105.171561,30.5 L100.504895,30.5 L100.504895,27.75 L105.171561,27.75 L105.171561,30.5 Z" id="形状"></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="14px" height="11px" viewBox="0 0 14 11" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
<title>形状备份 37</title>
<desc>Created with Sketch.</desc>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="查询与认定-交互" transform="translate(-404.000000, -739.000000)" fill="#666666" fill-rule="nonzero">
<g id="单元格7" transform="translate(328.000000, 739.000000)">
<path d="M89.0666667,6.41666667 L84.4,6.41666667 C83.84,6.41666667 83.4666667,6.78333333 83.4666667,7.33333333 L83.4666667,8.25 L80.2,8.25 C79.92,8.25 79.7333333,8.06666667 79.7333333,7.79166667 L79.7333333,4.58333333 L81.6,4.58333333 C82.16,4.58333333 82.5333333,4.21666667 82.5333333,3.66666667 L82.5333333,0.916666667 C82.5333333,0.366666667 82.16,0 81.6,0 L76.9333333,0 C76.3733333,0 76,0.366666667 76,0.916666667 L76,3.66666667 C76,4.21666667 76.3733333,4.58333333 76.9333333,4.58333333 L78.8,4.58333333 L78.8,7.79166667 C78.8,8.525 79.4533333,9.16666667 80.2,9.16666667 L83.4666667,9.16666667 L83.4666667,10.0833333 C83.4666667,10.6333333 83.84,11 84.4,11 L89.0666667,11 C89.6266667,11 90,10.6333333 90,10.0833333 L90,7.33333333 C90,6.78333333 89.6266667,6.41666667 89.0666667,6.41666667 Z M89.0666667,10.0833333 L84.4,10.0833333 L84.4,7.33333333 L89.0666667,7.33333333 L89.0666667,10.0833333 Z" id="形状备份-37"></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
......@@ -9,7 +9,7 @@
export default [
{
path: "/",
redirect: "/login"
redirect: "/login1"
},
{
path: "/login",
......
......@@ -188,7 +188,7 @@
effect="dark"
content="编辑"
placement="top"
open-delay='200'
:open-delay='200'
@click="handleClick(scope.row)"
>
<div
......@@ -205,8 +205,8 @@
class="item"
effect="dark"
content="收藏"
open-delay='200'
placement="top"
:open-delay='200'
>
<div
class="icon sc"
......@@ -223,7 +223,7 @@
effect="dark"
content="改号"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon gx"
......@@ -240,11 +240,11 @@
effect="dark"
content="发查询"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon look"
@click="handleClick(scope.row)"
@click="isShowFcxBtn1(scope.row)"
>
<img
src="../../assets/img/qbryk/search.png"
......@@ -257,7 +257,7 @@
effect="dark"
content="复制数据"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon bz"
......@@ -274,7 +274,7 @@
effect="dark"
content="打印"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon print"
......@@ -291,7 +291,7 @@
effect="dark"
content="删除"
placement="top"
open-delay='200'
:open-delay='200'
>
<el-popconfirm
placement="top-start"
......@@ -441,14 +441,14 @@ export default {
methods: {
// 获取全部人员列表请求
search () {
console.info("请求===>", this.reqParam);
// console.info("请求===>", this.reqParam);
this.$axios
.post("/api/personstore/allperson", this.reqParam)
.then(response => {
if (response.data.code === 0) {
this.tableDate = response.data.ret.list;
this.reqParam.page.total = response.data.ret.total;
console.info("查询结果===>", this.tableDate);
// console.info("查询结果===>", this.tableDate);
// this.userInfo = this.getUserInfo(this.tableDate);
} else {
this.$message.error(response.data.message);
......@@ -605,9 +605,17 @@ export default {
this.search()
},
//发查询操作
isShowFcxBtn (val) {
console.log('发查询', val)
//发查询操作(多行)
isShowFcxBtn () {
if (this.multipleSelection.length === 0) {
this.$message.error("请选择需要发查询的数据!");
} else {
this.rowData = this.multipleSelection
this.isShowFcx = true;
}
},
isShowFcxBtn1 (val) {
console.log('单行人员发查询数据', val)
this.rowData = val
this.isShowFcx = true;
},
......
......@@ -69,7 +69,7 @@ export default {
},
mounted () {
this.dialogVisible = this.isShowGgrytm;
console.log('更改条码类型', this.type)
// console.log('更改条码类型', this.type)
this.type == 'ry' ? this.title = '更改人员条码' : this.title = '更改案件条码'
},
watch: {
......
......@@ -106,8 +106,8 @@ export default {
labelPosition: 'left', // 标签对齐方式
dialogVisible: false, // 弹窗状态
checkQue: '', //选择队列
delbmp: '', // 删除原图
replacecpr: '',// 覆盖原图
delbmp: '', // 删除原图
replacecpr: '0',// 覆盖原图
managetype: '',// 处理模式
manageorgCpr: '',//处理对象
reqParam: { // 请求参数
......@@ -116,7 +116,7 @@ export default {
},
mounted () {
this.dialogVisible = this.isShowTjddl;
console.log('添加到队列类型', this.type)
// console.log('添加到队列类型', this.type)
this.type == 'ry' ? this.title = '添加到人员队列' : this.title = '添加到案件队列'
},
watch: {
......@@ -154,7 +154,7 @@ export default {
}
newReqParams.checkQue = this.checkQue
newReqParams.delbmp = this.delbmp
newReqParams.replacecpr = this.replacec
newReqParams.replacecpr = this.replacecpr
newReqParams.managetype = this.managetype
newReqParams.manageorgCpr = this.manageorgCpr
console.log(this.reqParam, '人员添加到队列')
......@@ -180,7 +180,7 @@ export default {
}
newReqParams.checkQue = this.checkQue
newReqParams.delbmp = this.delbmp
newReqParams.replacecpr = this.replacec
newReqParams.replacecpr = this.replacecpr
newReqParams.managetype = this.managetype
newReqParams.manageorgCpr = this.manageorgCpr
console.log(this.reqParam, '案件添加到队列')
......
......@@ -156,7 +156,7 @@
effect="dark"
content="编辑"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon bj"
......@@ -173,7 +173,7 @@
effect="dark"
content="收藏"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon sc"
......@@ -190,7 +190,7 @@
effect="dark"
content="改号"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon gx"
......@@ -207,11 +207,11 @@
effect="dark"
content="发查询"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon look"
@click="handleClick(scope.row)"
@click="isShowFcxBtn1(scope.row)"
>
<img
src="../../assets/img/qbryk/search.png"
......@@ -224,7 +224,7 @@
effect="dark"
content="复制数据"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon bz"
......@@ -241,7 +241,7 @@
effect="dark"
content="打印"
placement="top"
open-delay='200'
:open-delay='200'
>
<div
class="icon print"
......@@ -258,7 +258,7 @@
effect="dark"
content="删除"
placement="top"
open-delay='200'
:open-delay='200'
>
<el-popconfirm
placement="top-start"
......@@ -389,14 +389,14 @@ export default {
methods: {
// 获取案件数据
search () {
console.info("案件请求===>", this.reqParam);
// console.info("案件请求===>", this.reqParam);
this.$axios
.post("/api/casestore/allcase", this.reqParam)
.then(response => {
if (response.data.code === 0) {
this.tableDate = response.data.ret.list;
this.reqParam.page.total = response.data.ret.total;
console.info("案件库返回列表===>", this.tableDate);
// console.info("案件库返回列表===>", this.tableDate);
} else {
this.$message.error(response.data.message);
}
......@@ -558,9 +558,17 @@ export default {
this.isShowFztm = val
this.search()
},
//发查询操作
isShowFcxBtn (val) {
console.log('发查询', val)
//发查询操作(多行)
isShowFcxBtn () {
if (this.multipleSelection.length === 0) {
this.$message.error("请选择需要发查询的数据!");
} else {
this.rowData = this.multipleSelection
this.isShowFcx = true;
}
},
isShowFcxBtn1 (val) {
console.log('单行案件发查询数据', val)
this.rowData = val
this.isShowFcx = true;
},
......
<template>
<div class='page '>
<div class="page ">
<!-- 头部 -->
<div class="header">
<!-- 头部左侧 -->
<div class='left'>
<div><img
src="../../assets/img/Home/badges.png"
alt=""
></div>
<span><img
src="../../assets/img/Home/logo.svg"
alt=""
></span>
<div class="left">
<div><img src="../../assets/img/Home/badges.png" alt="" /></div>
<span><img src="../../assets/img/Home/logo.svg" alt=""/></span>
</div>
<!-- 头部右侧 -->
<div class='right'>
<div> <img
src="../../assets/img/Home/setting.svg"
alt=""
> 系统管理</div>
<div class="role"><img
src="../../assets/img/Home/role.svg"
alt=""
>用户角色
<div class="right">
<div>
<img src="../../assets/img/Home/setting.svg" alt="" /> 系统管理
</div>
<div class="role">
<img src="../../assets/img/Home/role.svg" alt="" />用户角色
<div class="rolelist">
<ul>
<li>姓名:xxxx</li>
......@@ -31,24 +23,18 @@
</ul>
</div>
</div>
<div><img
src="../../assets/img/Home/exit.svg"
alt=""
>安全退出</div>
<div><img src="../../assets/img/Home/exit.svg" alt="" />安全退出</div>
</div>
</div>
<!-- 主体 -->
<div class="main">
<div class="title">欢迎登录</div>
<div class='title1'>方正指掌纹系统</div>
<div class="title1">方正指掌纹系统</div>
<!-- 待办功能区 -->
<div class="todoview">
<div class="todo">
<div>
<img
src="../../assets/img/Home/todoview.svg"
alt=""
>
<img src="../../assets/img/Home/todoview.svg" alt="" />
</div>
<p>待办工作</p>
</div>
......@@ -66,68 +52,63 @@
</div>
</div>
<!-- 功能区域 -->
<div class='todolist'>
<div class="todolist">
<!-- 第一列 -->
<div class='list l1'>
<div class='import_images'>
<img
src="../../assets/img/Home/import_images.svg"
alt=""
>
<div class="list l1">
<div class="import_images">
<img src="../../assets/img/Home/import_images.svg" alt="" />
<div>图片导入</div>
</div>
<div class='import_FTP'>
<img
src="../../assets/img/Home/import_FTP.svg"
alt=""
>
<div class="import_FTP">
<img src="../../assets/img/Home/import_FTP.svg" alt="" />
<div>导入FTP</div>
</div>
</div>
<!-- 第二列 -->
<div class="list l2">
<img
src="../../assets/img/Home/query.svg"
alt=""
>
<img src="../../assets/img/Home/query.svg" alt="" />
<p>发查询</p>
</div>
<!-- 第三列 -->
<div class="list l2 l3">
<img
src="../../assets/img/Home/comparison.svg"
alt=""
>
<div @click="gobdrd" class="list l2 l3">
<img src="../../assets/img/Home/comparison.svg" alt="" />
<p>比对认定</p>
</div>
<!-- 第四列 -->
<div class="list l1 l4">
<div class='import_images collect'>
<div @click="gozzwcj" class="list l1 l4">
<div class="import_images collect">
<img
src="../../assets/img/Home/collect_new.svg"
alt=""
style='width:38px; height:38px'
>
style="width:38px; height:38px"
/>
<div>活体采集</div>
</div>
<div class='import_FTP management'>
<img
src="../../assets/img/Home/management.svg"
alt=""
>
<div @click="gosjzygl" class="import_FTP management">
<img src="../../assets/img/Home/management.svg" alt="" />
<div>数据资源管理</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'Home',
}
name: "Home",
methods: {
gobdrd() {
this.$router.push("/cxyrd");
},
gosjzygl() {
this.$router.push("/AllPersonnelBaseIndex");
},
gozzwcj() {
this.$router.push("/zzwcj");
}
}
};
</script>
<style scoped>
......@@ -425,4 +406,4 @@ export default {
bottom/70px 87px,
linear-gradient(133deg, #42bbf2 0%, #12a1e5 100%);
}
</style>
\ No newline at end of file
</style>
......@@ -184,9 +184,9 @@
height="490"
ref="confirmTable"
tooltip-effect="dark"
:data="tableData"
:data="list"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
row-key="id"
row-key="queryId"
@row-click="edit"
>
<el-table-column
......@@ -197,6 +197,7 @@
></el-table-column>
<el-table-column prop="" label="任务号" width="150">
<template slot-scope="scope">
<svg-icon icon-class="tree_f"> </svg-icon>
{{
scope.row.children || scope.row.children === null
? scope.row.qid
......@@ -301,9 +302,11 @@
<script>
import moment from "moment";
import SvgIcon from "../../components/SvgIcon/index.vue";
export default {
name: "QueryConfirm",
components: { SvgIcon },
data() {
return {
reqParam: {
......@@ -1323,4 +1326,51 @@ b {
bottom: 24px;
height: 34px;
}
/*//有子节点 且未展开*/
/*.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_f.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("./images/file.png") no-repeat 0 3px;*!*/
/* content: "";*/
/* display: block;*/
/* width: 16px;*/
/* height: 18px;*/
/* font-size: 16px;*/
/* background-size: 16px;*/
/*}*/
</style>
<style>
.el-table__expand-icon {
position: absolute;
right: 20px;
cursor: pointer;
color: #b51f1f;
transition: transform 0.2s ease-in-out;
height: 20px;
border: black 1px solid;
margin: 0;
}
</style>
......@@ -375,12 +375,4 @@ div {
width: 763px;
/*background: #f6f8fa;*/
}
/*/deep/ .el-input__inner {*/
/* width: 763px;*/
/* height: 108px;*/
/* background: #f6f8fa;*/
/* box-shadow: 0px 1px 2px 0px rgba(5, 95, 231, 0.18);*/
/* border-radius: 4px;*/
/* border: 1px solid #eeeeee;*/
/*}*/
</style>
......@@ -58,7 +58,7 @@ export default {
data() {
return {
isShow: false,
userInfo: { username: null, password: null },
userInfo: { username: "xxs", password: "123456" },
usernameUrl: require("../../../assets/img/login/user.png"),
passwordUrl: require("../../../assets/img/login/password.png")
};
......@@ -68,7 +68,31 @@ export default {
login() {
console.info(this.userInfo);
// todo 登录请求
this.$message.success("登录成功!");
if (this.userInfo.username && this.userInfo.password) {
this.$router.push("/Home/Home");
}
// this.$store
// .dispatch("user/login", this.userInfo)
// .then(res => {
// if (res.code >= 0) {
// this.$message({
// message: "登录成功!",
// type: "success"
// });
// this.$router.push("/Home");
// } else {
// this.getCaptcha();
// this.$message({
// message: res.message,
// type: "warning"
// });
// }
// })
// .catch(err => {
// this.$message.error(err.message);
// this.getCaptcha();
// });
// x;
}
},
mounted() {
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-09-28 10:26:02
* @LastEditTime: 2021-09-24 11:23:06
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -40,26 +40,27 @@ module.exports = {
lintOnSave: false, //关闭eslint
chainWebpack: config => {
// 配置svg
const svgRule = config.module.rule('svg')
const svgRule = config.module.rule("svg");
// 清除已有的所有 loader,否则接下来的 loader 会附加在该规则现有的 loader 之后。
svgRule.uses.clear()
svgRule.uses.clear();
svgRule
.test(/\.svg$/)
.include.add(path.resolve(__dirname, './src/icons'))// 配置icons的目录
.include.add(path.resolve(__dirname, "./src/icons")) // 配置icons的目录
.end()
.use('svg-sprite-loader')
.loader('svg-sprite-loader')
.use("svg-sprite-loader")
.loader("svg-sprite-loader")
.options({
symbolId: 'icon-[name]'
})
const fileRule = config.module.rule('file')
fileRule.uses.clear()
symbolId: "icon-[name]"
});
const fileRule = config.module.rule("file");
fileRule.uses.clear();
fileRule
.test(/\.svg$/)
.exclude.add(path.resolve(__dirname, './src/icons')) // 配置icons的目录
.exclude.add(path.resolve(__dirname, "./src/icons")) // 配置icons的目录
.end()
.use('file-loader')
.loader('file-loader')
.use("file-loader")
.loader("file-loader");
const oneOfsMap = config.module.rule("scss").oneOfs.store;
oneOfsMap.forEach(item => {
item
......@@ -80,14 +81,14 @@ module.exports = {
proxy: {
"/api": {
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
target: "http://172.18.108.213:8099/", // 张 认定
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://172.18.108.213:8099/", // 张 认定
target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
ws: true,
changeOrigin: true,
pathRewrite: {
'^/api': '/api'
"^/api": "/api"
}
},
}
// 阿里
// "/api": {
// target: "http://47.92.225.109:9101/", // 张 认定
......@@ -97,10 +98,26 @@ module.exports = {
// '^/api': '/api'
// }
// }
},
}
},
css: {
sourceMap: process.env.NODE_ENV === "development" ? true : false // 在开发环境下开启 CSS sourcemaps
}
// chainWebpack(config) {
// config.module
// .rule("svg")
// .exclude.add(resolve("src/icons"))
// .end();
// config.module
// .rule("icons")
// .test(/\.svg$/)
// .include.add(resolve("src/icons"))
// .end()
// .use("svg-sprite-loader")
// .loader("svg-sprite-loader")
// .options({
// symbolId: "icon-[name]"
// })
// .end();
// }
};
This source diff could not be displayed because it is too large. You can view the blob instead.
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