Commit 2b0c8f94 by 张超军

指位特征提示框ui

parent a33d9671
<?xml version="1.0" encoding="UTF-8"?>
<svg width="22px" height="22px" viewBox="0 0 22 22" 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>编组 106</title>
<desc>Created with Sketch.</desc>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="编组-106" transform="translate(-8.000000, -6.000000)">
<g id="特征点备份" fill="#FFFFFF" fill-opacity="0">
<rect id="矩形" x="0" y="0" width="34" height="34"></rect>
</g>
<g id="编组-13备份-6" transform="translate(5.000000, 3.000000)">
<path d="M17.1923882,8.19238816 C17.6753728,8.19238816 18.0894509,8.45085089 18.1763881,8.80687611 L18.1923882,8.9417637 L18.1923882,26.1923882 C18.1923882,26.1923882 16.1923882,26.1923882 16.1923882,26.1923882 L16.1923882,8.9417637 C16.1923882,8.52789504 16.6401034,8.19238816 17.1923882,8.19238816 Z" id="形状" fill="#FFAA00" fill-rule="nonzero" transform="translate(17.192388, 17.192388) rotate(-45.000000) translate(-17.192388, -17.192388) "></path>
<circle id="椭圆形" fill="#FFAA00" transform="translate(23.556349, 23.556349) rotate(-45.000000) translate(-23.556349, -23.556349) " cx="23.5563492" cy="23.5563492" r="1"></circle>
<path d="M3,8 C3,10.7614238 5.23857625,13 8,13 C10.7614237,13 13,10.7614238 13,8 C13,6.21367208 12.0470054,4.56303697 10.5,3.66987299 C8.95299463,2.776709 7.04700537,2.776709 5.5,3.66987299 C3.95299458,4.56303697 3,6.21367208 3,8 Z" id="路径" fill="#FFAA00" fill-rule="nonzero" transform="translate(8.000000, 8.000000) rotate(-45.000000) translate(-8.000000, -8.000000) "></path>
<path d="M6.36396103,5.86396103 C6.36396103,6.69238816 7.03553391,7.36396103 7.86396103,7.36396103 C8.69238816,7.36396103 9.36396103,6.69238816 9.36396103,5.86396103 C9.36396103,5.03553391 8.69238816,4.36396103 7.86396103,4.36396103 C7.03553391,4.36396103 6.36396103,5.03553391 6.36396103,5.86396103 Z" id="路径" fill="#FFFFFF" fill-rule="nonzero" transform="translate(7.863961, 5.863961) rotate(-45.000000) translate(-7.863961, -5.863961) "></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
......@@ -1157,6 +1157,7 @@ div {
padding: 9px 0;
margin-right: 16px;
text-align: center;
font-size: 14px;
&:last-child {
margin-right: 0;
}
......
<!--
* @Author: your name
* @Date: 2021-09-09 09:28:46
* @LastEditTime: 2021-11-15 15:07:25
* @LastEditTime: 2021-11-29 14:44:21
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\cxyrd\LTz.vue
......@@ -357,8 +357,9 @@
<div class="lt_main_middle">
<div class="lt_main_header">
<div class="features features1" @click.stop="features1Change">
<img src="../assets/img/zcedit/features1.png" alt="" v-show="features1">
<img src="../assets/img/zcedit/features1_d.png" alt="" v-show="!features1">
<!-- <img src="../assets/img/zcedit/features1.png" alt="" v-show="features1">
<img src="../assets/img/zcedit/features1_d.png" alt="" v-show="!features1"> -->
<img src="../assets/img/zcedit/features1.svg" alt="">
</div>
<div class="features features2" @click.stop="features2Change">
<img src="../assets/img/zcedit/features2.png" alt="" v-show="features2">
......
/*
* @Author: your name
* @Date: 2021-11-26 16:37:59
* @LastEditTime: 2021-11-29 10:25:30
* @LastEditTime: 2021-11-29 13:46:31
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\utils\requestLoading.js
......
<!--
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-11-29 13:38:16
* @LastEditTime: 2021-11-29 14:53:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
......@@ -3624,7 +3624,46 @@ export default {
self.newWidth = res.newWidth;
// 切换小图的图片路径
self.smallSrc = self.imageEditor.toDataURL();
// console.log(self.smallSrc);
console.log(self.smallSrc);
// 处理指位信息
let lr_finger = [];
let tj_lr_finger = "";
self.rightFinger.forEach(item => {
if (item.isSelected) {
lr_finger.push(item.code);
}
});
self.leftFinger.forEach(item => {
if (item.isSelected) {
lr_finger.push(item.code);
}
});
tj_lr_finger = lr_finger.join(",");
let tj_data = {
barcode: self.barcode,
hpseqno: self.tjxh,
mastoidlineColor: self.rtxys,
leftPart: self.ylbw,
corpseFinger: self.isSelected_stzw,
corpseNumber: self.stbh,
fingerPosition: tj_lr_finger,
bytess: self.smallSrc
}
console.log(tj_data);
self.$axios({
method: 'post',
url: '/api/upload/trait/case/image/import',
headers: {
"Content-Type": "application/json;charset=UTF-8"
},
data: JSON.stringify(tj_data)
}).then(res => {
console.log(res);
})
// 转8位bmp格式图片
/*let canvas_imgSave = document.querySelector('.tui-image-editor-canvas-container .lower-canvas');
......@@ -3820,7 +3859,7 @@ export default {
* @param {*}
* @return {*}
*/
saveToKuChange () {
async saveToKuChange () {
let self = this
if(this.bcrkActive) {
this.isSwk_flag = false;
......@@ -3828,7 +3867,7 @@ export default {
this.startEditImage = false;
// 裁剪
this.cutImage();
await this.cutImage();
// 修改层级
$(".rule_line").css("z-index", "9");
......@@ -3842,20 +3881,7 @@ export default {
// ************* 提交保存入库接口
// 处理指位信息
let lr_finger = [];
let tj_lr_finger = "";
this.rightFinger.forEach(item => {
if (item.isSelected) {
lr_finger.push(item.code);
}
});
this.leftFinger.forEach(item => {
if (item.isSelected) {
lr_finger.push(item.code);
}
});
tj_lr_finger = lr_finger.join(",");
// 转8位bmp格式图片
/*let canvas_imgSave = document.querySelector('.tui-image-editor-canvas-container .lower-canvas');
......@@ -3888,28 +3914,7 @@ export default {
console.log(imgSrc);
})*/
let tj_data = {
barcode: self.barcode,
hpseqno: self.tjxh,
mastoidlineColor: self.rtxys,
leftPart: self.ylbw,
corpseFinger: self.isSelected_stzw,
corpseNumber: self.stbh,
fingerPosition: tj_lr_finger,
bytes: self.smallSrc
}
console.log(tj_data);
this.$axios({
method: 'post',
url: '/api/upload/trait/case/image/import',
headers: {
"Content-Type": "application/json;charset=UTF-8"
},
data: JSON.stringify(tj_data)
}).then(res => {
console.log(res);
})
}
},
/**
......
......@@ -35,7 +35,7 @@
<div class="ayzzwjbxx-item">
<el-form-item label="采集信息原因:" prop="cjxxyy">
<SelectCode
codeUrl="cjxxyydm"
codeUrl="/api/code/cjxxyydm"
width="16.5"
:clearable="true"
:multiple="false"
......@@ -71,7 +71,7 @@
<div class="ayzzwjbxx-item">
<el-form-item label="性别:" prop="xbdm">
<SelectCode
codeUrl="sex"
codeUrl="/api/code/sex"
width="16.5"
:clearable="true"
:multiple="false"
......@@ -89,7 +89,7 @@
<!-- <el-option label="中国" value="中国"></el-option>-->
<!-- </el-select>-->
<SelectCode
codeUrl="nationality"
codeUrl="/api/code/nationality"
width="16.5"
:clearable="true"
:multiple="false"
......@@ -102,7 +102,7 @@
<!-- <el-option label="汉" value="汉"></el-option>-->
<!-- </el-select>-->
<SelectCode
codeUrl="nation"
codeUrl="/api/code/nation"
width="16.5"
:clearable="true"
:multiple="false"
......@@ -117,7 +117,7 @@
<!-- <el-option label="中国" value="中国"></el-option>-->
<!-- </el-select>-->
<SelectCode
codeUrl="certificates"
codeUrl="/api/code/certificates"
width="16.5"
:clearable="true"
:multiple="false"
......@@ -135,7 +135,7 @@
<!-- <el-option label="中国" value="中国"></el-option>-->
<!-- </el-select>-->
<SelectCode
codeUrl="administrative"
codeUrl="/api/code/administrative"
width="16.5"
:clearable="true"
:multiple="false"
......@@ -150,7 +150,7 @@
<div class="ayzzwjbxx-item">
<el-form-item label="现住址行政区:" prop="xzzXzqhdm" class="select">
<SelectCode
codeUrl="administrative"
codeUrl="/api/code/administrative"
width="16.5"
:clearable="true"
:multiple="false"
......
......@@ -141,20 +141,19 @@
</div>
<el-dialog
title="提示"
class="jump-route"
append-to-body
:modal="false"
:close-on-click-modal="false"
@close="cancelJumpRoute"
:visible.sync="jumpRouteDialogVisible"
:show-close="false"
width="30%"
width="27.625rem"
:before-close="handleClose"
>
<span>当前页面有未保存的指位特征,是否确认跳转路由?</span>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="confirmJumpRoute">确 定</el-button>
<el-button @click="cancelJumpRoute">取 消</el-button>
</span>
<div class="dialog-footer">
<button class="confirm-btn" @click="confirmJumpRoute">确 定</button>
<button class="cancel-btn" @click="cancelJumpRoute">取 消</button>
</div>
</el-dialog>
<div class="shadow" v-show="isCropper"></div>
......@@ -199,7 +198,6 @@ export default {
};
},
mounted() {
console.log(this.loading);
let self = this;
this.menuActive = this.$route.name;
......@@ -267,7 +265,6 @@ export default {
this.$store.commit("loading/setWillRoute", name);
this.routePath = name;
this.routeChangeType = "change";
console.log(this.willRoute);
} else {
if (name == "/Home/htzwcj") {
this.$router.push(name);
......@@ -379,7 +376,6 @@ export default {
this.$store.commit("loading/setWillRoute", name);
this.routePath = name;
this.routeChangeType = "del";
console.log(this.willRoute);
} else {
let routerObj = this.paths.find((i) => i.routeName == name);
if (routerObj) {
......@@ -449,7 +445,6 @@ export default {
this.$store.commit("loading/setWillRoute", index);
// this.menuActive = this.$route.name
this.routeChangeType = "leftMenu";
console.log(this.willRoute);
} else {
this.$router.push({ name: index });
}
......@@ -548,6 +543,78 @@ export default {
};
</script>
<style scoped lang="scss">
/deep/.dialog-footer {
margin-top: 26px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
button {
margin-right: 24px;
}
}
/deep/.el-dialog__body {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
span {
width: 370px;
height: 22px;
font-size: 16px;
font-family: PingFang-SC-Medium, PingFang-SC;
font-weight: 500;
color: #333333;
line-height: 24px;
}
}
.el-dialog {
height: 169px;
background: #FFFFFF;
box-shadow: 0px 18px 28px 10px rgba(0, 21, 51, 0.08) !important;
border-radius: 6px;
.confirm-btn {
cursor: pointer;
outline: none;
width: 72px;
height: 40px;
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #AEB5C2;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #2E3846;
&:hover {
border: 1px solid #377FEC;
color: #377FEC;
}
&:active {
border: 1px solid #044CB9;
color: #044CB9;
}
}
.cancel-btn {
cursor: pointer;
outline: none;
width: 72px;
height: 40px;
background: #055FE7;
border: 1px solid #055FE7;
border-radius: 4px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #FFFFFF;
&:hover {
background: #377fec;
border: 1px solid #377fec;
}
&:active {
background: #044cb9;
border: 1px solid #044cb9;
}
}
}
.v-modal {
background: none;
}
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-11-29 13:43:55
* @LastEditTime: 2021-11-29 14:44:50
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -92,13 +92,13 @@ module.exports = {
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://172.18.108.2:8099/", // 张 认定
// target: "http://192.168.128.166:8099", // 湖南-张
// target: "http://192.168.128.114:8099", // 湖南-马
target: "http://192.168.128.114:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://192.168.128.118:8764", // 湖南-张呈光
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
target: "http://www.meetfood.cn:2390/", // 湖南-线上
// target: "http://www.meetfood.cn:2390/", // 湖南-线上
ws: true,
changeOrigin: true,
......
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