Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
a03ee69a
Commit
a03ee69a
authored
Jun 10, 2022
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.对接权限(删除案件指掌纹图片、修改案结案指掌纹序号)
2.修改编辑用户权限界面,高级认定一行样式,改为2行 3.对接序号修改
parent
f5a96243
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
86 additions
and
17 deletions
+86
-17
src/plugins/axios.js
+2
-2
src/views/Editor/modules/ajzwbjLeft.vue
+77
-9
src/views/Home.vue
+2
-1
src/views/Home/Home.vue
+2
-2
src/views/SystemManage/UserPermission.vue
+2
-2
vue.config.js
+1
-1
No files found.
src/plugins/axios.js
View file @
a03ee69a
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2022-0
4-15 20:57:4
4
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2022-0
6-10 11:24:3
4
* @LastEditors:
error: git config user.name && git config user.email & please set dead value or install git
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\plugins\axios.js
*/
...
...
src/views/Editor/modules/ajzwbjLeft.vue
View file @
a03ee69a
<!--
* @Author: your name
* @Date: 2021-10-22 09:42:07
* @LastEditTime: 2022-06-
09 17:51:35
* @LastEditTime: 2022-06-
10 14:37:30
* @LastEditors: error: git config user.name && git config user.email & please set dead value or install git
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
...
...
@@ -29,13 +29,13 @@
<div
class=
"fingerDom"
v-for=
"(item,index) in fingers"
:key=
"index"
@
click=
"FingersChange(item.code, item)"
>
<div
class=
"fingerPic"
:class=
"
{fingerPicActive: activeFinger==item.code}">
<div
class=
"finger-number"
>
{{
(
item
.
code
)
&
lt
;
10
?
(
'0'
+
(
item
.
code
))
:
(
item
.
code
)
}}
</div>
<el-dropdown
class=
"more"
placement=
"bottom"
@
command=
"changeMenu"
>
<el-dropdown
class=
"more"
placement=
"bottom"
@
command=
"changeMenu"
v-show=
"roleArr.includes('F-2-17') || roleArr.includes('F-2-18')"
>
<span
class=
"el-dropdown-link"
style=
"color: 055fe7;"
>
···
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
:command=
"
{command: 1, code: item.code}">删除
</el-dropdown-item>
<el-dropdown-item
:command=
"
{command: 2, code: item.code}">重命名
</el-dropdown-item>
<el-dropdown-item
v-show=
"roleArr.includes('F-2-17')"
:command=
"
{command: 1, code: item.code}">删除
</el-dropdown-item>
<el-dropdown-item
v-show=
"roleArr.includes('F-2-18')"
:command=
"
{command: 2, code: item.code}">重命名
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<div
class=
"finger-pic"
>
...
...
@@ -60,13 +60,13 @@
<div
class=
"fingerDom handDom"
v-for=
"(item,index) in hands"
:key=
"index"
@
click=
"HandChange(item)"
>
<div
class=
"fingerPic handPic"
:class=
"
{fingerPicActive: activeHand===item.seq}">
<div
class=
"finger-number hand-number"
>
{{
item
.
seq
}}
</div>
<el-dropdown
class=
"more"
placement=
"bottom"
@
command=
"changeMenu"
>
<el-dropdown
class=
"more"
placement=
"bottom"
@
command=
"changeMenu"
v-show=
"roleArr.includes('F-2-17') || roleArr.includes('F-2-18')"
>
<span
class=
"el-dropdown-link"
style=
"color: 055fe7;"
>
···
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
:command=
"
{command: 1, code: item.seq}">删除
</el-dropdown-item>
<el-dropdown-item
:command=
"
{command: 2, code: item.seq}">重命名
</el-dropdown-item>
<el-dropdown-item
v-show=
"roleArr.includes('F-2-17')"
:command=
"
{command: 1, code: item.seq}">删除
</el-dropdown-item>
<el-dropdown-item
v-show=
"roleArr.includes('F-2-18')"
:command=
"
{command: 2, code: item.seq}">重命名
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<div
class=
"finger-pic"
>
...
...
@@ -236,10 +236,12 @@ export default {
zyhz
:
state
=>
state
.
zwbj
.
zyhz
,
yxhz
:
state
=>
state
.
zwbj
.
yxhz
,
autoyxhz
:
state
=>
state
.
zwbj
.
autoyxhz
,
autozyhz
:
state
=>
state
.
zwbj
.
autozyhz
autozyhz
:
state
=>
state
.
zwbj
.
autozyhz
,
roleArr
:
state
=>
state
.
layout
.
Menu
})
},
mounted
()
{
console
.
log
(
this
.
roleArr
);
let
self
=
this
//console.log(this.$route);
this
.
barcode
=
this
.
$route
.
params
.
barcode
...
...
@@ -278,12 +280,68 @@ export default {
* @return {*}
*/
renamePicture
()
{
let
self
=
this
this
.
$refs
.
reqParam
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
renameDialogVisible
=
false
console
.
log
(
this
.
selectedPictureCode
);
console
.
log
(
this
.
barcode
);
console
.
log
(
this
.
reqParam
.
code
);
this
.
$axios
({
method
:
'get'
,
url
:
'/api/upload/trait/updateFingerAndPalm'
,
params
:
{
barcode
:
this
.
barcode
,
oldHpseqno
:
this
.
selectedPictureCode
,
newHpseqno
:
this
.
reqParam
.
code
}
}).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
'修改成功!'
)
// 修改号码 -- 指纹
if
(
self
.
selectedPictureCode
<
100
)
{
let
indexFingder
=
this
.
fingers
.
findIndex
((
item
)
=>
item
.
code
==
self
.
selectedPictureCode
)
if
(
indexFingder
!==
-
1
)
{
this
.
fingers
[
indexFingder
].
code
=
this
.
reqParam
.
code
// 选中状态
this
.
activeFinger
=
this
.
reqParam
.
code
}
}
else
{
// 修改号码 -- 掌纹
let
indexHand
=
this
.
hands
.
findIndex
((
item
)
=>
item
.
seq
==
self
.
selectedPictureCode
)
if
(
indexHand
!==
-
1
)
{
this
.
hands
[
indexFingder
].
seq
=
this
.
reqParam
.
code
// 选中状态
this
.
activeHand
=
this
.
reqParam
.
code
}
}
// 重新给新的指纹编号赋值
sessionStorage
.
setItem
(
'zyhz_'
+
this
.
reqParam
.
code
,
sessionStorage
.
getItem
(
'zyhz_'
+
this
.
selectedPictureCode
));
sessionStorage
.
setItem
(
'fingerPosition_'
+
this
.
reqParam
.
code
,
sessionStorage
.
getItem
(
'fingerPosition_'
+
this
.
selectedPictureCode
));
sessionStorage
.
setItem
(
'yxhz_'
+
this
.
reqParam
.
code
,
sessionStorage
.
getItem
(
'yxhz_'
+
this
.
selectedPictureCode
));
sessionStorage
.
setItem
(
'auto_yxhz_'
+
this
.
reqParam
.
code
,
sessionStorage
.
getItem
(
'auto_yxhz_'
+
this
.
selectedPictureCode
));
sessionStorage
.
setItem
(
'auto_zyhz_'
+
this
.
reqParam
.
code
,
sessionStorage
.
getItem
(
'auto_zyhz_'
+
this
.
selectedPictureCode
));
sessionStorage
.
setItem
(
this
.
reqParam
.
code
,
sessionStorage
.
getItem
(
this
.
selectedPictureCode
));
sessionStorage
.
setItem
(
'auto_tzdDom'
+
this
.
reqParam
.
code
,
sessionStorage
.
getItem
(
'auto_tzdDom'
+
this
.
selectedPictureCode
));
sessionStorage
.
setItem
(
'isOption_'
+
this
.
reqParam
.
code
,
sessionStorage
.
getItem
(
'isOption_'
+
this
.
selectedPictureCode
));
// 删除session存储
sessionStorage
.
removeItem
(
'zyhz_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'fingerPosition_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'yxhz_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'auto_yxhz_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'auto_zyhz_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'auto_tzdDom'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'isOption_'
+
this
.
selectedPictureCode
);
}
else
{
this
.
$message
.
error
(
'修改失败!'
)
}
}).
catch
(
err
=>
{
console
.
log
(
err
);
this
.
$message
.
error
(
'修改失败!'
)
})
}
else
{
//console.log('error submit!!');
return
false
;
...
...
@@ -309,6 +367,16 @@ export default {
if
(
res
.
data
.
code
===
0
)
{
this
.
deleteDialogVisible
=
false
this
.
$message
.
success
(
'删除图片成功!'
)
// 删除session存储
sessionStorage
.
removeItem
(
'zyhz_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'fingerPosition_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'yxhz_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'auto_yxhz_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'auto_zyhz_'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'auto_tzdDom'
+
this
.
selectedPictureCode
);
sessionStorage
.
removeItem
(
'isOption_'
+
this
.
selectedPictureCode
);
if
(
this
.
selectedPictureCode
<
100
)
{
// 更新指纹列表
this
.
getCaseFinger
()
...
...
@@ -322,7 +390,7 @@ export default {
}
}).
catch
(
err
=>
{
console
.
log
(
err
);
this
.
$message
.
success
(
'删除图片失败!'
)
this
.
$message
.
error
(
'删除图片失败!'
)
// this.$message.error(err.data.message)
})
},
...
...
src/views/Home.vue
View file @
a03ee69a
...
...
@@ -344,9 +344,10 @@ export default {
// location.href = zzwxtCloud.logoutUrl;
this
.
$message
.
info
(
"退出成功!"
);
this
.
$router
.
replace
(
"/Login"
);
localStorage
.
clear
()
sessionStorage
.
clear
()
removeCookie
()
this
.
$router
.
replace
(
"/Login"
);
/*
this.$axios({
...
...
src/views/Home/Home.vue
View file @
a03ee69a
...
...
@@ -335,11 +335,11 @@ export default {
// location.href = zzwxtCloud.logoutUrl;
this
.
$message
.
info
(
"退出成功!"
);
this
.
$router
.
replace
(
"/Login"
);
localStorage
.
clear
()
sessionStorage
.
clear
()
removeCookie
()
this
.
$router
.
replace
(
"/Login"
);
/*
this.$axios({
method: 'get',
...
...
src/views/SystemManage/UserPermission.vue
View file @
a03ee69a
...
...
@@ -190,7 +190,7 @@
{{
permissionDataList
[
2
].
name
}}
</el-checkbox>
</div>
<div
class=
"div
1
"
>
<div
class=
"div
2
"
>
<el-checkbox
@
change=
"
(boo) =>
{
...
...
@@ -319,7 +319,7 @@
>
</div>
</div>
<div
class=
"div
1
"
>
<div
class=
"div
2
"
>
<div
class=
"line"
v-for=
"item in permissionDataList[3] &&
...
...
vue.config.js
View file @
a03ee69a
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2022-06-
09 15:14:24
* @LastEditTime: 2022-06-
10 10:48:05
* @LastEditors: error: git config user.name && git config user.email & please set dead value or install git
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment