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
14499e85
Commit
14499e85
authored
Nov 23, 2021
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二级菜单
parent
70cccda5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
136 additions
and
46 deletions
+136
-46
package-lock.json
+0
-0
src/views/AllPersonnelBase/dclb.vue
+12
-10
src/views/AllPersonnelBase/gzlb.vue
+90
-13
src/views/AllPersonnelBase/modules/dcfptxAj.vue
+6
-5
src/views/AllPersonnelBase/modules/dcftpx.vue
+9
-4
src/views/AllPersonnelBase/modules/fcx.vue
+5
-3
src/views/AllPersonnelBase/modules/tjddl.vue
+8
-5
src/views/AllPersonnelBase/qbalk.vue
+6
-6
src/views/drFPTX/RAList.vue
+0
-0
No files found.
package-lock.json
View file @
14499e85
This diff is collapsed.
Click to expand it.
src/views/AllPersonnelBase/dclb.vue
View file @
14499e85
...
...
@@ -307,19 +307,19 @@
<el-table-column
prop=
"barcode"
label=
"案事件编号"
:width=
"width
1
"
:width=
"width
4
"
>
</el-table-column>
<el-table-column
prop=
"fingerPlamNumber"
label=
"指掌纹个数"
:width=
"width
3
"
:width=
"width
1
"
>
</el-table-column>
<el-table-column
prop=
"exportName"
label=
"导出模式"
:width=
"width
3
"
:width=
"width
1
"
>
</el-table-column>
<el-table-column
width=
"auto"
>
...
...
@@ -370,8 +370,9 @@ export default {
data
()
{
return
{
width3
:
100
,
width2
:
2
1
0
,
width2
:
2
4
0
,
width1
:
220
,
width4
:
400
,
height
:
500
,
dataType
:
null
,
// 导入类型
barcode
:
""
,
// 条码号
...
...
@@ -812,7 +813,7 @@ export default {
this
.
$message
.
error
(
"请选择需要复制条码号的数据!"
);
}
else
{
self
.
multipleSelection
.
forEach
((
item
)
=>
{
self
.
ysxtAsjxgrybh
.
push
(
item
.
ysxtAsjxgrybh
);
self
.
ysxtAsjxgrybh
.
push
(
item
.
barcode
);
});
this
.
ysxtAsjxgrybh
=
this
.
ysxtAsjxgrybh
.
join
(
","
);
}
...
...
@@ -845,6 +846,7 @@ export default {
*/
batch
()
{
this
.
isSelected
=
!
this
.
isSelected
;
this
.
isShowTip
=
!
this
.
isShowTip
;
this
.
toggleSelection
();
},
cancel
()
{
...
...
@@ -866,11 +868,11 @@ export default {
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
console
.
log
(
this
.
multipleSelection
);
if
(
this
.
multipleSelection
.
length
)
{
this
.
isShowTip
=
true
;
}
else
{
this
.
isShowTip
=
false
;
}
//
if (this.multipleSelection.length) {
//
this.isShowTip = true;
//
} else {
//
this.isShowTip = false;
//
}
},
/**
* @description: pageSize 改变时会触发
...
...
src/views/AllPersonnelBase/gzlb.vue
View file @
14499e85
...
...
@@ -150,7 +150,10 @@
>
复制条码
</div>
<div
class=
"btn"
>
导出FPTX
</div>
<div
class=
"btn"
@
click=
"showType==1?isShowDcftpxBtn:dcFptx"
>
FPTX导出
</div>
<div
class=
"btn"
>
删除
</div>
<div
class=
"btn send"
...
...
@@ -448,6 +451,18 @@
:type=
"type"
@
closeFztm=
"closeFztm"
></fztm>
<!-- 导出FPTX弹窗 -->
<dcftpx
:isShowDcftpx=
"isShowDcftpx"
:rowData=
"rowData"
@
closeDcftpx=
"closeDcftpx"
></dcftpx>
<!-- 导出FPTX弹窗 -->
<dcfptxAj
:isShowDcfptx1=
"isShowDcfptx1"
:rowData=
"rowData"
@
closeDcfptx1=
"closeDcfptx1"
></dcfptxAj>
<!-- 发查询弹窗 -->
<fcx
:isShowFcx=
"isShowFcx"
...
...
@@ -461,6 +476,8 @@
<
script
>
import
tjddl
from
"../AllPersonnelBase/modules/tjddl.vue"
;
// 添加到队列弹窗
import
fztm
from
"../AllPersonnelBase/modules/fztm.vue"
;
// 复制数据弹窗
import
dcftpx
from
"../AllPersonnelBase/modules/dcftpx.vue"
;
//导出FPTX弹窗
import
dcfptxAj
from
"../AllPersonnelBase/modules/dcfptxAj.vue"
//导出FPTX弹窗
import
fcx
from
"../AllPersonnelBase/modules/fcx.vue"
;
// 发查询弹窗
import
moment
from
"moment"
;
export
default
{
...
...
@@ -469,6 +486,8 @@ export default {
tjddl
,
fztm
,
fcx
,
dcftpx
,
dcfptxAj
},
data
()
{
return
{
...
...
@@ -532,6 +551,9 @@ export default {
sendTimeStart
:
""
,
// 开始时间
sendTimeEnd
:
""
,
// 结束时间
isShowDcftpx
:
false
,
// 导出FPTX
isShowDcfptx1
:
false
,
// 导出FPTX
...
...
@@ -561,14 +583,10 @@ export default {
showType
(
newNum
,
oldNum
)
{
// ...
console
.
log
(
newNum
,
123
);
this
.
search
();
//
this.search();
this
.
clear
()
},
},
mounted
()
{
this
.
search
();
},
methods
:
{
// 获取全部人员列表请求
search
()
{
...
...
@@ -636,6 +654,8 @@ export default {
this
.
barcode
=
""
;
// 条码号
this
.
logicDatabase
=
""
;
// 逻辑分库
this
.
queryType
=
""
;
// 类型
this
.
multipleSelection
=
[];
this
.
ysxtAsjxgrybh
=
null
;
this
.
search
()
},
// 复制条码号 获取选中条码值
...
...
@@ -646,7 +666,7 @@ export default {
this
.
$message
.
error
(
"请选择需要复制条码号的数据!"
);
}
else
{
self
.
multipleSelection
.
forEach
((
item
)
=>
{
self
.
ysxtAsjxgrybh
.
push
(
item
.
ysxtAsjxgrybh
);
self
.
ysxtAsjxgrybh
.
push
(
item
.
followPerson
.
barcode
||
item
.
followCase
.
barcode
);
});
this
.
ysxtAsjxgrybh
=
this
.
ysxtAsjxgrybh
.
join
(
","
);
}
...
...
@@ -672,6 +692,49 @@ export default {
this
.
$message
.
error
(
"抱歉,复制条码号失败!"
);
}
},
// 导出FPTX
isShowDcftpxBtn
()
{
// 多行
console
.
log
(
"导出FPTX"
);
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要导出FPTX的数据!"
);
// this.selectBoo = true;
}
else
if
(
this
.
multipleSelection
.
length
===
1
)
{
this
.
rowData
=
this
.
multipleSelection
;
this
.
isShowDcftpx
=
true
;
}
else
{
this
.
$message
.
error
(
"只能导出单条数据的FPTX!"
);
}
// if (this.multipleSelection.length === 0) {
// this.$message.error("请选择需要导出的数据!");
// this.selectBoo = true
// } else {
// this.rowData = this.multipleSelection
// this.isShowDcftpx = true;
// }
},
closeDcftpx
(
val
)
{
this
.
$bus
.
emit
(
'isBlur'
,
val
)
console
.
log
(
"导出FPTX关闭"
,
val
);
this
.
isShowDcftpx
=
val
;
},
// 导出
dcFptx
()
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要导出FPTX的数据!"
);
this
.
selectBoo
=
true
}
else
if
(
this
.
multipleSelection
.
length
===
1
)
{
this
.
rowData
=
this
.
multipleSelection
;
this
.
isShowDcfptx1
=
true
;
}
else
{
this
.
$message
.
error
(
"只能导出单条数据的FPTX!"
);
}
},
closeDcfptx1
(
val
)
{
this
.
$bus
.
emit
(
'isBlur'
,
val
)
console
.
log
(
'导出FPTX关闭'
,
val
)
this
.
isShowDcfptx1
=
val
},
// 添加到队列
isShowTjddlBtn
()
{
console
.
log
(
"添加到队列"
);
...
...
@@ -679,7 +742,15 @@ export default {
this
.
$message
.
error
(
"请选择需要添加到队列的数据!"
);
this
.
isSelected
=
true
;
}
else
{
if
(
this
.
showType
==
1
)
{
this
.
type
=
"ry"
console
.
log
(
'人员人员'
)
}
else
if
(
this
.
showType
==
2
)
{
this
.
type
=
'aj'
console
.
log
(
'案件案件'
)
}
this
.
rowData
=
this
.
multipleSelection
;
console
.
log
(
'添加到队列'
,
this
.
rowData
)
this
.
isShowTjddl
=
true
;
}
},
...
...
@@ -696,7 +767,7 @@ export default {
closeFztm
(
val
)
{
console
.
log
(
"closeFztm复制条码关闭"
,
val
);
this
.
isShowFztm
=
val
;
this
.
search
();
//
this.search();
},
//发查询操作(多行)
...
...
@@ -728,6 +799,7 @@ export default {
*/
batch
()
{
this
.
isSelected
=
!
this
.
isSelected
;
this
.
isShowTip
=
!
this
.
isShowTip
;
this
.
toggleSelection
();
},
cancel
()
{
...
...
@@ -740,6 +812,11 @@ export default {
*/
handleClick
(
row
)
{
console
.
log
(
row
);
if
(
this
.
showType
==
1
)
{
this
.
$router
.
push
(
"/ryzwbj/"
+
row
.
followPerson
.
personId
+
"/"
+
row
.
followPerson
.
barcode
);
}
else
if
(
this
.
showType
==
2
)
{
this
.
$router
.
push
(
'/ajzwbj/'
+
row
.
followCase
.
caseId
+
'/'
+
row
.
followCase
.
barcode
)
}
},
/**
* @description: 单选事件
...
...
@@ -749,11 +826,11 @@ export default {
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
console
.
log
(
this
.
multipleSelection
);
if
(
this
.
multipleSelection
.
length
)
{
this
.
isShowTip
=
true
;
}
else
{
this
.
isShowTip
=
false
;
}
//
if (this.multipleSelection.length) {
//
this.isShowTip = true;
//
} else {
//
this.isShowTip = false;
//
}
},
/**
* @description: pageSize 改变时会触发
...
...
src/views/AllPersonnelBase/modules/dcfptxAj.vue
View file @
14499e85
...
...
@@ -117,7 +117,7 @@ let targtOptions = [];
export
default
{
name
:
"dcftpx"
,
props
:
{
isShowDcfptx
:
{
isShowDcfptx
1
:
{
type
:
[
Number
,
String
,
Boolean
],
default
:
false
},
...
...
@@ -146,10 +146,10 @@ export default {
};
},
mounted
()
{
this
.
dialogVisible
=
this
.
isShowDcfptx
;
this
.
dialogVisible
=
this
.
isShowDcfptx
1
;
},
watch
:
{
isShowDcfptx
(
newVal
,
oldVal
)
{
isShowDcfptx
1
(
newVal
,
oldVal
)
{
this
.
dialogVisible
=
newVal
;
if
(
newVal
==
true
)
{
this
.
getHpseqno
()
...
...
@@ -157,7 +157,9 @@ export default {
},
dialogVisible
(
val
)
{
console
.
log
(
this
.
dialogVisible
,
123
)
this
.
$emit
(
'closeDcfptx'
,
this
.
dialogVisible
);
targtOptions
=
[];
this
.
targts
=
targtOptions
this
.
$emit
(
'closeDcfptx1'
,
this
.
dialogVisible
);
},
},
methods
:
{
...
...
@@ -248,7 +250,6 @@ export default {
targtOptions
=
[];
this
.
targts
=
targtOptions
this
.
dialogVisible
=
false
;
},
handleCheckAllChange
(
val
)
{
this
.
checkedTargets
=
val
?
targtOptions
:
[];
...
...
src/views/AllPersonnelBase/modules/dcftpx.vue
View file @
14499e85
...
...
@@ -548,9 +548,14 @@ export default {
},
methods
:
{
focus
()
{
let
barcode
=
null
;
if
(
this
.
rowData
[
0
].
ysxtAsjxgrybh
)
{
barcode
=
this
.
rowData
[
0
].
ysxtAsjxgrybh
}
else
{
barcode
=
this
.
rowData
[
0
].
followPerson
.
barcode
}
this
.
$axios
.
post
(
"/api/export/person/"
+
this
.
rowData
[
0
].
ysxtAsjxgrybh
)
.
post
(
"/api/export/person/"
+
barcode
)
.
then
((
response
)
=>
{
if
(
response
.
status
===
200
)
{
if
(
response
.
data
.
code
)
{
...
...
@@ -558,8 +563,8 @@ export default {
}
else
{
// 创建隐藏的可下载链接
let
eleLink
=
document
.
createElement
(
'a'
)
// let url = 'http://www.meetfood.cn:2390/api/export/person/' +
this.rowData[0].ysxtAsjxgrybh
let
url
=
'http://192.168.128.1
10:8099/api/export/person/'
+
this
.
rowData
[
0
].
ysxtAsjxgrybh
// let url = 'http://www.meetfood.cn:2390/api/export/person/' +
barcode
let
url
=
'http://192.168.128.1
66:8099/api/export/person/'
+
barcode
eleLink
.
download
=
this
.
filenameexport
eleLink
.
style
.
display
=
'none'
eleLink
.
href
=
url
...
...
src/views/AllPersonnelBase/modules/fcx.vue
View file @
14499e85
...
...
@@ -581,8 +581,8 @@ export default {
},
mounted
()
{
this
.
dialogVisible
=
this
.
isShowFcx
;
this
.
type
==
'ry'
?
this
.
title
=
'人员发查询'
:
this
.
title
=
'案件发查询'
this
.
type
==
'ry'
?
this
.
ruleForm
.
cxlx
.
querytype
=
'1'
:
this
.
ruleForm
.
cxlx
.
querytype
=
'2'
//
this.type == 'ry' ? this.title = '人员发查询' : this.title = '案件发查询'
//
this.type == 'ry' ? this.ruleForm.cxlx.querytype = '1' : this.ruleForm.cxlx.querytype = '2'
},
created
()
{
},
...
...
@@ -590,6 +590,8 @@ export default {
isShowFcx
(
newVal
,
oldVal
)
{
this
.
dialogVisible
=
newVal
;
if
(
newVal
==
true
)
{
this
.
type
==
'ry'
?
this
.
title
=
'人员发查询'
:
this
.
title
=
'案件发查询'
this
.
type
==
'ry'
?
this
.
ruleForm
.
cxlx
.
querytype
=
'1'
:
this
.
ruleForm
.
cxlx
.
querytype
=
'2'
this
.
searchZTS
()
this
.
searchsytsArr
()
this
.
bcxh
=
this
.
rowData
.
length
;
...
...
@@ -997,7 +999,7 @@ export default {
});
cityOptions
=
[]
this
.
dialogVisible
=
false
;
this
.
$store
.
commit
(
'layout/delcachePageName'
,
'cxyrd'
);
this
.
$store
.
commit
(
'layout/delcachePageName'
,
'cxyrd'
);
setTimeout
(()
=>
{
this
.
$router
.
push
(
'/cxyrd'
)
},
20
);
...
...
src/views/AllPersonnelBase/modules/tjddl.vue
View file @
14499e85
...
...
@@ -160,11 +160,14 @@ export default {
mounted
()
{
this
.
dialogVisible
=
this
.
isShowTjddl
;
// console.log('添加到队列类型', this.type)
this
.
type
==
'ry'
?
this
.
title
=
'添加到人员队列'
:
this
.
title
=
'添加到案件队列'
//
this.type == 'ry' ? this.title = '添加到人员队列' : this.title = '添加到案件队列'
},
watch
:
{
isShowTjddl
(
newVal
,
oldVal
)
{
this
.
dialogVisible
=
newVal
;
// console.log('添加到队列类型', this.type)
this
.
type
==
'ry'
?
this
.
title
=
'添加到人员队列'
:
this
.
title
=
'添加到案件队列'
console
.
log
(
'数据数据'
,
this
.
rowData
)
},
dialogVisible
(
val
)
{
console
.
log
(
this
.
dialogVisible
,
123
)
...
...
@@ -193,8 +196,8 @@ export default {
ysxtAsjxgrybh
:
''
,
id
:
''
}
arr
.
ysxtAsjxgrybh
=
this
.
rowData
[
i
].
ysxtAsjxgrybh
;
arr
.
id
=
this
.
rowData
[
i
].
id
;
arr
.
ysxtAsjxgrybh
=
this
.
rowData
[
i
].
ysxtAsjxgrybh
||
this
.
rowData
[
i
].
barcode
||
this
.
rowData
[
i
].
followPerson
.
barcode
;
arr
.
id
=
this
.
rowData
[
i
].
id
||
this
.
rowData
[
i
].
followPerson
.
personId
;
newReqParams
.
personDoList
.
push
(
arr
)
this
.
reqParam
=
newReqParams
}
...
...
@@ -219,8 +222,8 @@ export default {
ysxtAsjbh
:
''
,
id
:
''
}
arr
.
ysxtAsjbh
=
this
.
rowData
[
i
].
ysxtAsjbh
;
arr
.
id
=
this
.
rowData
[
i
].
id
;
arr
.
ysxtAsjbh
=
this
.
rowData
[
i
].
ysxtAsjbh
||
this
.
rowData
[
i
].
barcode
||
this
.
rowData
[
i
].
followCase
.
barcode
;
arr
.
id
=
this
.
rowData
[
i
].
id
||
this
.
rowData
[
i
].
followCase
.
caseId
;
newReqParams
.
caseBaseList
.
push
(
arr
)
this
.
reqParam
=
newReqParams
}
...
...
src/views/AllPersonnelBase/qbalk.vue
View file @
14499e85
...
...
@@ -364,9 +364,9 @@
></gz>
<!-- 导出FPTX弹窗 -->
<dcfptxAj
:isShowDcfptx
=
"isShowDcfptx
"
:isShowDcfptx
1=
"isShowDcfptx1
"
:rowData=
"rowData"
@
closeDcfptx
=
"closeDcfptx
"
@
closeDcfptx
1=
"closeDcfptx1
"
></dcfptxAj>
<!-- 更改条码弹窗 -->
<ggrytm
...
...
@@ -443,7 +443,7 @@ export default {
disabled
:
false
,
// 新增案件按钮状态
isShowTjddl
:
false
,
// 添加到队列
isShowGz
:
false
,
// 关注
isShowDcfptx
:
false
,
// 导出FPTX
isShowDcfptx
1
:
false
,
// 导出FPTX
isShowGgrytm
:
false
,
// 更改条码
isShowFztm
:
false
,
//复制条码
isShowFcx
:
false
,
//发查询
...
...
@@ -592,15 +592,15 @@ export default {
this
.
selectBoo
=
true
}
else
if
(
this
.
multipleSelection
.
length
===
1
)
{
this
.
rowData
=
this
.
multipleSelection
;
this
.
isShowDcfptx
=
true
;
this
.
isShowDcfptx
1
=
true
;
}
else
{
this
.
$message
.
error
(
"只能导出单条数据的FPTX!"
);
}
},
closeDcfptx
(
val
)
{
closeDcfptx
1
(
val
)
{
this
.
$bus
.
emit
(
'isBlur'
,
val
)
console
.
log
(
'导出FPTX关闭'
,
val
)
this
.
isShowDcfptx
=
val
this
.
isShowDcfptx
1
=
val
},
// 复制成功时的回调函数
onCopy
(
e
)
{
...
...
src/views/drFPTX/RAList.vue
View file @
14499e85
This diff is collapsed.
Click to expand it.
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