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
6c83aee0
Commit
6c83aee0
authored
Dec 03, 2021
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增人员逻辑库
parent
767412f5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
46 deletions
+33
-46
src/views/AllPersonnelBase/dclb.vue
+0
-0
src/views/AllPersonnelBase/gzlb.vue
+2
-4
src/views/AllPersonnelBase/modules/xzry.vue
+31
-42
No files found.
src/views/AllPersonnelBase/dclb.vue
View file @
6c83aee0
This diff is collapsed.
Click to expand it.
src/views/AllPersonnelBase/gzlb.vue
View file @
6c83aee0
...
@@ -704,7 +704,6 @@ export default {
...
@@ -704,7 +704,6 @@ export default {
isShowDcftpx
:
false
,
// 导出FPTX
isShowDcftpx
:
false
,
// 导出FPTX
isShowDcfptx1
:
false
,
// 导出FPTX
isShowDcfptx1
:
false
,
// 导出FPTX
isSelected
:
false
,
// 是否批量操作
isShowTjddl
:
false
,
// 添加到队列
isShowTjddl
:
false
,
// 添加到队列
isShowFztm
:
false
,
//复制条码
isShowFztm
:
false
,
//复制条码
isShowFcx
:
false
,
//发查询
isShowFcx
:
false
,
//发查询
...
@@ -912,7 +911,7 @@ export default {
...
@@ -912,7 +911,7 @@ export default {
//console.log("添加到队列");
//console.log("添加到队列");
if
(
this
.
multipleSelection
.
length
===
0
)
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要添加到队列的数据!"
);
this
.
$message
.
error
(
"请选择需要添加到队列的数据!"
);
this
.
isSelected
=
true
;
this
.
selectBoo
=
true
;
}
else
{
}
else
{
if
(
this
.
showType
==
1
)
{
if
(
this
.
showType
==
1
)
{
this
.
type
=
"ry"
this
.
type
=
"ry"
...
@@ -1020,7 +1019,7 @@ export default {
...
@@ -1020,7 +1019,7 @@ export default {
isShowFcxBtn
()
{
isShowFcxBtn
()
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要发查询的数据!"
);
this
.
$message
.
error
(
"请选择需要发查询的数据!"
);
this
.
isSelected
=
true
;
this
.
selectBoo
=
true
;
}
else
{
}
else
{
if
(
this
.
showType
==
1
)
{
if
(
this
.
showType
==
1
)
{
this
.
type
=
"ry"
this
.
type
=
"ry"
...
@@ -1077,7 +1076,6 @@ export default {
...
@@ -1077,7 +1076,6 @@ export default {
*/
*/
batch
()
{
batch
()
{
this
.
selectBoo
=
!
this
.
selectBoo
;
this
.
selectBoo
=
!
this
.
selectBoo
;
// this.isSelected = !this.isSelected;
this
.
isShowTip
=
!
this
.
isShowTip
;
this
.
isShowTip
=
!
this
.
isShowTip
;
this
.
toggleSelection
();
this
.
toggleSelection
();
},
},
...
...
src/views/AllPersonnelBase/modules/xzry.vue
View file @
6c83aee0
...
@@ -435,16 +435,7 @@
...
@@ -435,16 +435,7 @@
<
script
>
<
script
>
import
Cascader
from
"@/components/Cascader.vue"
;
import
Cascader
from
"@/components/Cascader.vue"
;
import
SelectCode
from
"@/components/SelectCode.vue"
;
import
SelectCode
from
"@/components/SelectCode.vue"
;
const
targetOptions
=
[
const
targetOptions
=
[
'基本人员库'
,
'高危人员库'
,
'非法人员库'
,
'在逃人员库'
,
'布控人员库'
,
'前科人员库'
,
'协查人员库'
];
"本地案件库"
,
"比中案件库"
,
"已破案件库"
,
"重大案件库"
,
"B类案件库"
,
"C类案件库"
,
"勘查案件库"
,
"协查案件库"
,
];
export
default
{
export
default
{
name
:
"xzry"
,
name
:
"xzry"
,
components
:
{
components
:
{
...
@@ -487,9 +478,6 @@ export default {
...
@@ -487,9 +478,6 @@ export default {
xzzDzmc
:
""
,
// 现住址
xzzDzmc
:
""
,
// 现住址
bz
:
""
,
// 备注
bz
:
""
,
// 备注
// logicDatabaseCode: [],// 逻辑库代码
// logicDatabaseName: [],//逻辑库名称
nydwGajgmc
:
""
,
// 捺印单位
nydwGajgmc
:
""
,
// 捺印单位
nyryXm
:
""
,
// 捺印人姓名
nyryXm
:
""
,
// 捺印人姓名
nysj
:
""
,
// 捺印时间
nysj
:
""
,
// 捺印时间
...
@@ -500,6 +488,7 @@ export default {
...
@@ -500,6 +488,7 @@ export default {
zwbdxtlxms
:
"1"
,
// 指纹比对描述
zwbdxtlxms
:
"1"
,
// 指纹比对描述
nydwGajgjgdm
:
"1"
,
// 捺印单位代码
nydwGajgjgdm
:
"1"
,
// 捺印单位代码
},
},
logicList
:
[],
// 逻辑库代码
rules
:
{
rules
:
{
ysxtAsjxgrybh
:
[
ysxtAsjxgrybh
:
[
{
required
:
true
,
message
:
"请输入人员条码号"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入人员条码号"
,
trigger
:
"blur"
},
...
@@ -594,42 +583,42 @@ export default {
...
@@ -594,42 +583,42 @@ export default {
if
(
this
.
checkedTargets
.
length
==
0
)
{
if
(
this
.
checkedTargets
.
length
==
0
)
{
this
.
$message
.
error
(
'请选择逻辑库'
)
this
.
$message
.
error
(
'请选择逻辑库'
)
}
else
{
}
else
{
//
for (var i = 0; i
<=
this
.
checkedTargets
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<=
this
.
checkedTargets
.
length
;
i
++
)
{
//
if (this.checkedTargets[i] == '基本人员库') {
if
(
this
.
checkedTargets
[
i
]
==
'基本人员库'
)
{
// this.logicDatabaseCode.push('1'
)
this
.
logicList
.
push
(
1
)
//
} else if (this.checkedTargets[i] == '高危人员库') {
}
else
if
(
this
.
checkedTargets
[
i
]
==
'高危人员库'
)
{
// this.logicDatabaseCode.push('2'
)
this
.
logicList
.
push
(
2
)
//
} else if (this.checkedTargets[i] == '非法人员库') {
}
else
if
(
this
.
checkedTargets
[
i
]
==
'非法人员库'
)
{
// this.logicDatabaseCode.push('3'
)
this
.
logicList
.
push
(
3
)
//
} else if (this.checkedTargets[i] == '在逃人员库') {
}
else
if
(
this
.
checkedTargets
[
i
]
==
'在逃人员库'
)
{
// this.logicDatabaseCode.push('4'
)
this
.
logicList
.
push
(
4
)
//
} else if (this.checkedTargets[i] == '布控人员库') {
}
else
if
(
this
.
checkedTargets
[
i
]
==
'布控人员库'
)
{
// this.logicDatabaseCode.push('5'
)
this
.
logicList
.
push
(
5
)
//
} else if (this.checkedTargets[i] == '前科人员库') {
}
else
if
(
this
.
checkedTargets
[
i
]
==
'前科人员库'
)
{
// this.logicDatabaseCode.push('6'
)
this
.
logicList
.
push
(
6
)
//
} else if (this.checkedTargets[i] == '协查人员库') {
}
else
if
(
this
.
checkedTargets
[
i
]
==
'协查人员库'
)
{
// this.logicDatabaseCode.push('7'
)
this
.
logicList
.
push
(
7
)
//
}
}
//
}
}
// console.log(this.logicDatabaseCode)
// console.log(this.logicDatabaseCode)
let
reqParam
=
{
let
reqParam
=
{
personDo
:
""
,
personDo
:
""
,
logicList
:
[]
};
};
reqParam
.
personDo
=
this
.
ruleForm
;
reqParam
.
personDo
=
this
.
ruleForm
;
reqParam
.
personDo
.
ysxtAsjxgrybh
=
'R'
+
this
.
ruleForm
.
ysxtAsjxgrybh
reqParam
.
personDo
.
ysxtAsjxgrybh
=
'R'
+
this
.
ruleForm
.
ysxtAsjxgrybh
// reqParam.personDo.logicDatabaseCode = this.logicDatabaseCode
reqParam
.
logicList
=
this
.
logicList
// reqParam.personDo.logicDatabaseName = this.checkedTargets
this
.
$axios
// this.$axios
.
post
(
"/api/personstore/personadd"
,
reqParam
)
// .post("/api/personstore/personadd", reqParam)
.
then
((
response
)
=>
{
// .then((response) => {
if
(
response
.
data
.
code
===
0
)
{
// if (response.data.code === 0) {
this
.
$message
.
success
(
"新增成功"
);
// this.$message.success("新增成功");
this
.
dialogVisible
=
false
;
// this.dialogVisible = false;
//
} else {
}
else
{
//
this.$message.error("新增失败");
this
.
$message
.
error
(
"新增失败"
);
//
}
}
//
});
});
}
}
}
else
{
}
else
{
return
false
;
return
false
;
...
...
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