Commit a58f014d by liyuhang19990520

更改组权限以及串查的问题

parent 99eb75ec
......@@ -162,7 +162,7 @@
</el-table-column>
<el-table-column
prop="permissionNames"
label="权限"
label="权限"
:width="width6"
show-overflow-tooltip
>
......
......@@ -382,7 +382,7 @@
</el-table-column>
<el-table-column
prop="permissionNames"
label="权限"
label="权限"
:width="groupWidths.width3"
show-overflow-tooltip
>
......
......@@ -70,7 +70,7 @@
<div
class="btn"
@click="switchZhangWen"
:class="{ active: fingerShowType == '掌纹',hui: sourceDel }"
:class="{ active: fingerShowType == '掌纹', hui: sourceDel }"
>
掌纹
</div>
......@@ -267,7 +267,7 @@ export default {
loading: null,
timer: null,
plamList: [],
sourceDel: false
sourceDel: false,
};
},
methods: {
......@@ -275,7 +275,7 @@ export default {
* 切换位掌纹
*/
switchZhangWen() {
if(this.sourceDel) return;
if (this.sourceDel) return;
this.fingerShowType = "掌纹";
this.fingerTotal = this.plamList?.length || 0;
if (this.plamList && this.plamList?.length > 0) {
......@@ -288,6 +288,7 @@ export default {
*/
switchZhiWen() {
this.fingerShowType = "指纹";
this.fingerTotal = this.enumerate?.length || 0;
if (this.enumerate && this.enumerate?.length > 0) {
this.changeStyle(0, this.enumerate[0]);
}
......@@ -320,9 +321,9 @@ export default {
getPlam() {
this.$axios
.post("/api/check/org/case/palm/barcode", {
querytype: '3',
querytype: "3",
barcode: sessionStorage.getItem("srcbarcode"),
qqid: sessionStorage.getItem("qqid")
qqid: sessionStorage.getItem("qqid"),
})
.then((res) => {
if (res.data.code == 0 && res.data.message == "success") {
......@@ -420,10 +421,15 @@ export default {
.then((response) => {
// console.log(response);
if (response.data.code === 0) {
self.enumerate = response.data.ret;
self.fingerTotal = response.data.ret.length;
self.enumerate = response.data.ret || [];
self.fingerTotal = response.data.ret.length || 0;
// 默认选中第一个指纹预览图片
self.changeStyle(0, self.enumerate[0]);
} else {
this.$bus.emit("changImageEdit", "xxx");
this.$bus.emit("changImageEditTarget", "xxx");
self.enumerate = [];
self.fingerTotal = 0
}
});
......@@ -1293,8 +1299,8 @@ del {
text-decoration: underline wavy red; /*红色波浪形下划线*/
text-decoration: line-through red; /*红色删除线*/
}
.hui{
color: #C2C4C7!important;
background-color: #ECEDF1!important;
.hui {
color: #c2c4c7 !important;
background-color: #ecedf1 !important;
}
</style>
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-12-16 14:43:29
* @LastEditTime: 2021-12-20 09:31:46
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -99,8 +99,8 @@ module.exports = {
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
// target:"http://zwpt.xzclub.top:9333/",
target: "http://192.168.128.115:8099", // 江
target:"http://zwpt.xzclub.top:9333/",
// target: "http://192.168.128.115:8099", // 江
ws: true,
changeOrigin: true,
pathRewrite: {
......
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