Commit a58f014d by liyuhang19990520

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

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