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
8d6dea51
Commit
8d6dea51
authored
Sep 26, 2021
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发查询页面
parent
69c4aef8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
423 additions
and
111 deletions
+423
-111
src/assets/img/qbryk/fcx.svg
+21
-0
src/views/AllPersonnelBase/AllPersonnelBase.vue
+41
-8
src/views/AllPersonnelBase/modules/dcftpx.vue
+55
-43
src/views/AllPersonnelBase/modules/fcx.vue
+176
-0
src/views/AllPersonnelBase/modules/ggrytm.vue
+23
-8
src/views/AllPersonnelBase/modules/gz.vue
+29
-5
src/views/AllPersonnelBase/modules/tjddl.vue
+76
-46
src/views/AllPersonnelBase/qbalk.vue
+0
-0
vue.config.js
+2
-1
No files found.
src/assets/img/qbryk/fcx.svg
0 → 100644
View file @
8d6dea51
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"25px"
height=
"26px"
viewBox=
"0 0 25 26"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
<title>
编组 23备份 12
</title>
<desc>
Created with Sketch.
</desc>
<g
id=
"页面-1"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"弹窗-发查询-指纹展开"
transform=
"translate(-576.000000, -217.000000)"
>
<g
id=
"编组-54"
transform=
"translate(514.000000, 110.000000)"
>
<g
id=
"编组-41"
transform=
"translate(32.000000, 81.000000)"
>
<g
id=
"编组-23备份-12"
transform=
"translate(30.000000, 26.000000)"
>
<path
d=
"M6.22416763,11.8796743 L14.9741676,11.8796743 L14.9741676,13.2272017 L6.22416763,13.2272017 L6.22416763,11.8796743 Z M6.22416763,16.8796743 L18.7241676,16.8796743 L18.7241676,18.2272017 L6.22416763,18.2272017 L6.22416763,16.8796743 Z"
id=
"形状"
fill=
"#055FE7"
fill-rule=
"nonzero"
></path>
<rect
id=
"矩形"
stroke=
"#055FE7"
stroke-width=
"1.5"
x=
"0.75"
y=
"3.87967425"
width=
"23.5"
height=
"21"
></rect>
<line
x1=
"8.06774951"
y1=
"4.82724971e-13"
x2=
"8.06774951"
y2=
"6.86588495"
id=
"路径-14"
stroke=
"#055FE7"
stroke-width=
"1.6"
></line>
<line
x1=
"17.0677495"
y1=
"3.16968674e-13"
x2=
"17.0677495"
y2=
"6.86588495"
id=
"路径-14"
stroke=
"#055FE7"
stroke-width=
"1.6"
></line>
</g>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
src/views/AllPersonnelBase/AllPersonnelBase.vue
View file @
8d6dea51
...
...
@@ -51,7 +51,10 @@
>
添加到队列
</div>
<div
class=
"btn"
v-clipboard:copy=
"barcode"
@
click=
"getBarcode"
v-clipboard:success=
"onCopy"
v-clipboard:error=
"onError"
>
复制条码
</div>
<div
class=
"btn"
...
...
@@ -65,7 +68,10 @@
class=
"btn"
@
click=
"delMore"
>
删除
</div>
<div
class=
"btn send"
>
发查询
</div>
<div
class=
"btn send"
@
click=
"isShowFcxBtn"
>
发查询
</div>
</div>
</div>
<!--四 -->
...
...
@@ -101,7 +107,7 @@
</el-table-column>
<el-table-column
prop=
"barcode"
label=
"
条码
号"
label=
"
人员编
号"
width=
"220"
>
</el-table-column>
...
...
@@ -320,6 +326,7 @@
<tjddl
:isShowTjddl=
"isShowTjddl"
:rowData=
"rowData"
:type=
"type"
@
closeTjddl=
"closeTjddl"
></tjddl>
<!-- 关注弹窗 -->
...
...
@@ -344,10 +351,18 @@
<ggrytm
:isShowGgrytm=
"isShowGgrytm"
:rowData=
"rowData"
:type=
"type"
@
closeGgrytm=
"closeGgrytm"
>
</ggrytm>
<!-- 更改人员条码弹窗 -->
<fcx
:isShowFcx=
"isShowFcx"
:rowData=
"rowData"
:type=
"type"
@
closeFcx=
"closeFcx"
>
</fcx>
</div>
</el-container>
</template>
...
...
@@ -358,6 +373,7 @@ import gz from "./modules/gz.vue" // 关注
import
fztm
from
"./modules/fztm.vue"
// 复制数据弹窗
import
dcftpx
from
"./modules/dcftpx.vue"
//导出FTPX弹窗
import
ggrytm
from
"./modules/ggrytm.vue"
// 更改人员条码弹窗
import
fcx
from
"./modules/fcx.vue"
// 发查询弹窗
export
default
{
name
:
'AllPersonnelBase'
,
components
:
{
...
...
@@ -365,7 +381,8 @@ export default {
gz
,
fztm
,
dcftpx
,
ggrytm
ggrytm
,
fcx
},
data
()
{
return
{
...
...
@@ -375,7 +392,10 @@ export default {
isShowDcftpx
:
false
,
// 导出FTPX
isShowGgrytm
:
false
,
// 更改人员条码
isShowFztm
:
false
,
//复制条码
isShowFcx
:
false
,
//发查询
type
:
'ry'
,
// 人员还是案件
rowData
:
{},
// 单行数据
barcode
:
null
,
reqParam
:
{
// 请求参数
page
:
{
total
:
0
,
//表格条数
...
...
@@ -388,7 +408,9 @@ export default {
checkboxQuery
:
[],
//滚动平面等筛选条件
}
},
tableDate
:
[{
tableDate
:
[
{
barcode
:
'B00000022111452111214211'
,
name
:
'王小虎'
,
idnumber
:
'46000000232********'
,
...
...
@@ -400,7 +422,8 @@ export default {
piccount
:
'10'
,
ifidcard
:
'1'
,
collectunitname
:
'海南省海口市公安局'
}],
// 人员列表数据
}
],
// 人员列表数据
multipleSelection
:
[],
// 表单选择项目
isShowTip
:
false
,
//批量操作提示
selectionData
:
[],
...
...
@@ -477,10 +500,8 @@ export default {
this
.
$message
.
error
(
"请选择需要复制条码号的数据!"
);
}
else
if
(
this
.
multipleSelection
.
length
===
1
)
{
this
.
barcode
=
this
.
multipleSelection
[
0
].
barcode
;
this
.
onCopy
()
}
else
{
this
.
$message
.
error
(
"只能复制单条数据的条码号!"
);
// this.onError()
}
},
// 复制成功时的回调函数
...
...
@@ -574,6 +595,18 @@ export default {
this
.
isShowFztm
=
val
this
.
search
()
},
//发查询操作
isShowFcxBtn
(
val
)
{
console
.
log
(
'发查询'
,
val
)
this
.
rowData
=
val
this
.
isShowFcx
=
true
;
},
closeFcx
(
val
)
{
console
.
log
(
'发查询关闭'
,
val
)
this
.
isShowFcx
=
val
this
.
search
()
},
// 多选删除
delMore
()
{
// 检查table选择的数据 如果没有选择则不可以删除
...
...
src/views/AllPersonnelBase/modules/dcftpx.vue
View file @
8d6dea51
...
...
@@ -7,22 +7,22 @@
:before-close=
"handleClose"
>
<div
class=
"head"
>
文字:
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
基本信息
</el-checkbox>
文字:
<el-checkbox
v-model=
"reqParam.wzChecked"
>
基本信息
</el-checkbox>
</div>
<div
class=
"content"
>
<div
class=
"zwDiv gdzw"
>
<div
class=
"top"
>
<span>
滚动指纹
</span>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.wzChecked
"
>
全部
</el-checkbox>
<el-checkbox
v-model=
"reqParam.
gdzw.CheckAll
"
>
全部
</el-checkbox>
</div>
<div
class=
"bottom"
>
<div
class=
"bhead"
>
<div
class=
"righthand"
>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
右手
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
右手
</el-checkbox>
</div>
<div
class=
"line"
></div>
<div
class=
"lefthead"
>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
左手
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
左手
</el-checkbox>
</div>
</div>
<div
class=
"bbottom"
>
...
...
@@ -76,16 +76,16 @@
<div
class=
"zwDiv pmzw"
>
<div
class=
"top"
>
<span>
平面指纹
</span>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
全部
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
全部
</el-checkbox>
</div>
<div
class=
"bottom"
>
<div
class=
"bhead"
>
<div
class=
"righthand"
>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
右手
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
右手
</el-checkbox>
</div>
<div
class=
"line"
></div>
<div
class=
"lefthead"
>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
左手
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
左手
</el-checkbox>
</div>
</div>
<div
class=
"bbottom"
>
...
...
@@ -139,16 +139,16 @@
<div
class=
"zwDiv zw"
>
<div
class=
"top"
>
<span>
掌纹
</span>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
全部
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
全部
</el-checkbox>
</div>
<div
class=
"bottom"
>
<div
class=
"bhead"
>
<div
class=
"righthand"
>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
右手
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
右手
</el-checkbox>
</div>
<div
class=
"line"
></div>
<div
class=
"lefthead"
>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
左手
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
左手
</el-checkbox>
</div>
</div>
<div
class=
"bbottom"
>
...
...
@@ -187,17 +187,17 @@
<div
class=
"zwDiv rx"
>
<div
class=
"top"
>
<span>
人像
</span>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
全部
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
全部
</el-checkbox>
</div>
<div
class=
"bottom"
>
<div
class=
"bhead"
>
<!--
<div
class=
"righthand"
>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
右手
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
右手
</el-checkbox>
</div>
<div
class=
"line"
></div>
<div
class=
"lefthead"
>
<el-checkbox
v-model=
"reqParam.
personStoreCustomSearch.
wzChecked"
>
左手
</el-checkbox>
<el-checkbox
v-model=
"reqParam.wzChecked"
>
左手
</el-checkbox>
</div>
-->
</div>
<div
class=
"bbottom"
>
...
...
@@ -265,11 +265,11 @@
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"focus"
>
确 定
</el-button>
<el-button
@
click=
"dialogVisible = false"
type=
"primary"
@
click=
"focus"
>
确 定
</el-button>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
>
取 消
</el-button>
</span>
</el-dialog>
...
...
@@ -291,9 +291,11 @@ export default {
return
{
dialogVisible
:
false
,
// 弹窗状态
reqParam
:
{
// 请求参数
personStoreCustomSearch
:
{
wzChecked
:
true
//文字单选
}
wzChecked
:
true
,
//文字单选
gdzw
:
{
isIndeterminate
:
true
,
checkAll
:
false
,
},
},
};
},
...
...
@@ -310,31 +312,41 @@ export default {
}
},
methods
:
{
// 滚动指纹全部
handleCheckAllChangeGd
(
val
)
{
this
.
checkedCities
=
val
?
cityOptions
:
[];
this
.
isIndeterminate
=
false
;
},
handleCheckedCitiesChangeGd
(
value
)
{
let
checkedCount
=
value
.
length
;
this
.
checkAll
=
checkedCount
===
this
.
cities
.
length
;
this
.
isIndeterminate
=
checkedCount
>
0
&&
checkedCount
<
this
.
cities
.
length
;
},
focus
()
{
// 确认提示
this
.
$confirm
(
"是否确定提交数据?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"info"
})
.
then
(()
=>
{
this
.
$axios
.
post
(
"/api/api/mypsn/add"
,
{
myPerson
:
''
})
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
"导出成功"
);
this
.
search
();
}
else
{
this
.
$message
.
error
(
"导出失败"
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消提交"
});
});
//
//
确认提示
//
this.$confirm("是否确定提交数据?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "info"
//
})
//
.then(() => {
//
this.$axios
//
.post("/api/api/mypsn/add", { myPerson: '' })
//
.then(response => {
//
if (response.data.code === 0) {
//
this.$message.success("导出成功");
//
this.search();
//
} else {
//
this.$message.error("导出失败");
//
}
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "已取消提交"
//
});
//
});
},
handleClose
(
done
)
{
this
.
$confirm
(
'确认关闭?'
)
...
...
src/views/AllPersonnelBase/modules/fcx.vue
0 → 100644
View file @
8d6dea51
<
template
>
<el-dialog
title=
"发查询"
:visible
.
sync=
"dialogVisible"
width=
"892px"
append-to-body
:before-close=
"handleClose"
>
<div
class=
"top"
>
<div
class=
"left"
>
<img
src=
"../../../assets/img/qbryk/fcx.svg"
alt=
""
>
</div>
<div
class=
"middle"
>
<div
class=
"middleTop"
>
本月总数
</div>
<div
class=
'middlebottom'
><span>
300
</span>
条
</div>
</div>
<div
class=
"right"
>
</div>
</div>
<!-- 折叠面板 -->
<el-collapse
accordion
>
<el-collapse-item
title=
"高级配置"
name=
"1"
>
<div>
与现实生活一致:与现实生活的流程、逻辑保持一致,遵循用户习惯的语言和概念;
</div>
<div>
在界面中一致:所有的元素和结构需保持一致,比如:设计样式、图标和文本、元素的位置等。
</div>
</el-collapse-item>
</el-collapse>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"updata"
>
确 定
</el-button>
<el-button
@
click=
"dialogVisible = false"
type=
"primary"
>
取 消
</el-button>
</span>
</el-dialog>
</
template
>
<
script
>
export
default
{
name
:
"fcx"
,
props
:
{
isShowFcx
:
{
type
:
[
Number
,
String
,
Boolean
],
default
:
false
},
rowData
:
{
default
:
false
},
type
:
{
default
:
false
}
},
data
()
{
return
{
labelPosition
:
'left'
,
// 标签对齐方式
dialogVisible
:
false
,
// 弹窗状态
reqParam
:
{
// 请求参数
barcode
:
''
,
pid
:
''
,
cid
:
''
,
},
};
},
mounted
()
{
this
.
dialogVisible
=
this
.
isShowFcx
;
console
.
log
(
'更改条码类型'
,
this
.
type
)
},
watch
:
{
isShowFcx
(
newVal
,
oldVal
)
{
this
.
dialogVisible
=
newVal
;
},
dialogVisible
(
val
)
{
console
.
log
(
this
.
dialogVisible
,
123
)
this
.
$emit
(
'closeFcx'
,
this
.
dialogVisible
);
}
},
methods
:
{
updata
()
{
},
handleClose
(
done
)
{
this
.
$confirm
(
'确认关闭?'
)
.
then
(
_
=>
{
done
();
this
.
dialogVisible
=
false
;
})
.
catch
(
_
=>
{
});
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
/
deep
/
.el-dialog__header
{
border-bottom
:
1px
solid
#eee
;
}
/
deep
/
.el-dialog__footer
{
text-align
:
center
;
}
.top
{
width
:
828px
;
height
:
79px
;
background
:
#ffffff
;
box-shadow
:
0px
3px
8px
0px
rgba
(
5
,
95
,
231
,
0.18
);
border-radius
:
4px
;
margin
:
0
auto
;
display
:
flex
;
padding
:
13px
16px
;
box-sizing
:
border-box
;
.left
{
width
:
53px
;
height
:
53px
;
background
:
#d9ebff
;
border-radius
:
4px
;
position
:
relative
;
img
{
width
:
25px
;
height
:
26px
;
position
:
absolute
;
top
:
50%
;
left
:
50%
;
margin-top
:
-14px
;
/* 高度的一半 */
margin-left
:
-13px
;
/* 宽度的一半 */
}
}
.middle
{
width
:
97px
;
padding-top
:
6px
;
padding-left
:
10px
;
box-sizing
:
border-box
;
text-align
:
left
;
border-right
:
1px
solid
#eee
;
.middleTop
{
width
:
52px
;
height
:
20px
;
font-size
:
12px
;
font-family
:
MicrosoftYaHei
;
color
:
#666666
;
line-height
:
20px
;
}
.middlebottom
{
width
:
52px
;
font-size
:
9px
;
font-family
:
MicrosoftYaHei
;
color
:
#999999
;
line-height
:
12px
;
span
{
width
:
30px
;
height
:
24px
;
font-size
:
16px
;
font-family
:
MicrosoftYaHei-Bold
,
MicrosoftYaHei
;
font-weight
:
bold
;
color
:
#333333
;
line-height
:
24px
;
}
}
}
.right
{
width
:
650px
;
height
:
100%
;
}
}
</
style
>
\ No newline at end of file
src/views/AllPersonnelBase/modules/ggrytm.vue
View file @
8d6dea51
...
...
@@ -30,11 +30,11 @@
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"updata"
>
确 定
</el-button>
<el-button
@
click=
"dialogVisible = false"
type=
"primary"
@
click=
"updata"
>
确 定
</el-button>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
>
取 消
</el-button>
</span>
</el-dialog>
...
...
@@ -50,6 +50,9 @@ export default {
},
rowData
:
{
default
:
false
},
type
:
{
default
:
false
}
},
data
()
{
...
...
@@ -57,13 +60,15 @@ export default {
labelPosition
:
'left'
,
// 标签对齐方式
dialogVisible
:
false
,
// 弹窗状态
reqParam
:
{
// 请求参数
barcode
:
''
,
//
pid
:
''
,
// 关注ID
barcode
:
''
,
pid
:
''
,
cid
:
''
,
},
};
},
mounted
()
{
this
.
dialogVisible
=
this
.
isShowGgrytm
;
console
.
log
(
'更改条码类型'
,
this
.
type
)
},
watch
:
{
isShowGgrytm
(
newVal
,
oldVal
)
{
...
...
@@ -76,7 +81,17 @@ export default {
},
methods
:
{
updata
()
{
this
.
reqParam
.
pid
=
this
.
rowData
.
pid
let
reqUrl
=
''
;
let
newReqParams
=
{};
if
(
this
.
type
==
'ry'
)
{
reqUrl
=
'/api/personstore/updateBarcode'
newReqParams
.
pid
=
this
.
rowData
.
pid
newReqParams
.
barcode
=
this
.
reqParam
.
barcode
}
else
if
(
this
.
type
==
'aj'
)
{
reqUrl
=
'api/casestore/updateBarcode'
newReqParams
.
cid
=
this
.
rowData
.
cid
newReqParams
.
barcode
=
this
.
reqParam
.
barcode
}
// 确认提示
this
.
$confirm
(
"是否确定更改数据?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -84,9 +99,9 @@ export default {
type
:
"info"
})
.
then
(()
=>
{
console
.
info
(
"请求===>"
,
this
.
reqParam
);
console
.
info
(
"请求===>"
,
newReqParams
);
this
.
$axios
.
put
(
"/api/personstore/update"
,
this
.
reqParam
)
.
put
(
reqUrl
,
newReqParams
)
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
"更改成功"
);
...
...
src/views/AllPersonnelBase/modules/gz.vue
View file @
8d6dea51
...
...
@@ -33,6 +33,7 @@
prop=
"sex"
label=
"性别"
width=
"80"
:formatter=
"sexFormat"
>
</el-table-column>
<el-table-column
...
...
@@ -48,7 +49,7 @@
<el-input
type=
"textarea"
:rows=
"5"
placeholder=
"请输入
内容
"
placeholder=
"请输入
备注信息
"
v-model=
"reqParam.myPerson.comments"
>
</el-input>
...
...
@@ -56,11 +57,11 @@
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"focus"
>
确 定
</el-button>
<el-button
@
click=
"dialogVisible = false"
type=
"primary"
@
click=
"focus"
>
确 定
</el-button>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
>
取 消
</el-button>
</span>
</el-dialog>
...
...
@@ -117,7 +118,12 @@ export default {
this
.
reqParam
.
myPerson
.
pid
=
myPerson
;
this
.
reqParam
.
barcode
=
barCode
[
0
];
this
.
reqParam
.
myPerson
.
barcode
=
barCode
;
console
.
log
(
'关注ID'
,
myPerson
)
console
.
log
(
'关注ID'
,
myPerson
);
if
(
this
.
reqParam
.
myPerson
.
comments
.
length
==
0
)
{
console
.
log
(
'没输入'
)
this
.
$message
.
error
(
"请输入备注信息!"
);
}
else
{
console
.
log
(
'输入了'
)
// 确认提示
this
.
$confirm
(
"是否确定提交数据?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -130,6 +136,7 @@ export default {
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
"关注成功"
);
this
.
reqParam
.
myPerson
.
comments
=
''
this
.
dialogVisible
=
false
;
}
else
{
this
.
$message
.
error
(
"关注失败"
);
...
...
@@ -142,6 +149,23 @@ export default {
message
:
"已取消提交"
});
});
}
},
// 性别格式化
sexFormat
(
row
,
colnum
)
{
let
sex
=
row
.
sex
;
let
showProp
=
null
;
if
(
sex
==
0
)
{
showProp
=
'未知的性别'
}
else
if
(
sex
==
1
)
{
showProp
=
'男'
}
else
if
(
sex
==
2
)
{
showProp
=
'女'
}
else
if
(
sex
==
9
)
{
showProp
=
'未说明的性别'
}
return
showProp
;
},
handleClose
(
done
)
{
this
.
$confirm
(
'确认关闭?'
)
...
...
src/views/AllPersonnelBase/modules/tjddl.vue
View file @
8d6dea51
...
...
@@ -13,51 +13,45 @@
>
<el-form-item
label=
"选择队列"
>
<el-select
v-model=
"reqParam.
personStoreCustomSearch.region
"
v-model=
"reqParam.
checkQue
"
placeholder=
"请选择队列"
>
<el-option
label=
"处理队列"
value=
"cldl"
></el-option>
<el-option
label=
"检查队列"
value=
"jcdl"
></el-option>
<el-option
label=
"编辑队列"
value=
"bjdl"
></el-option>
<el-option
label=
"查询队列"
value=
"cxdl"
></el-option>
<el-option
label=
"上报队列"
value=
"sbdl"
></el-option>
<el-option
label=
"下载队列"
value=
"xzdl"
value=
"personque"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"删除原图"
>
<el-switch
v-model=
"reqParam.personStoreCustomSearch.delivery"
></el-switch>
<el-switch
v-model=
"reqParam.delbmp"
active-value=
"是"
inactive-value=
"否"
></el-switch>
</el-form-item>
<el-form-item
label=
"覆盖原图"
>
<el-switch
v-model=
"reqParam.personStoreCustomSearch.delivery1"
></el-switch>
<el-switch
v-model=
"reqParam.replacecpr"
active-value=
"1"
inactive-value=
"0"
></el-switch>
</el-form-item>
<el-form-item
label=
"处理模式"
>
<el-radio-group
v-model=
"reqParam.personStoreCustomSearch.resource"
>
<el-radio
label=
"全部处理"
></el-radio>
<el-radio
label=
"部分处理"
></el-radio>
<el-radio-group
v-model=
"reqParam.managetype"
>
<el-radio
label=
"全部处理"
value=
'全部处理'
></el-radio>
<el-radio
label=
"部分处理"
value=
'部分处理'
></el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"处理对象"
>
<el-radio-group
v-model=
"reqParam.
personStoreCustomSearch.resource1
"
>
<el-radio
label=
"处理原图"
>
</el-radio>
<el-radio
label=
"处理压缩图"
>
</el-radio>
<el-radio-group
v-model=
"reqParam.
manageorgCpr
"
>
<el-radio
:label=
"0"
>
处理原图
</el-radio>
<el-radio
:label=
"1"
>
处理压缩图
</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
...
...
@@ -65,11 +59,11 @@
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"addList"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"addList"
>
确 定
</el-button>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
@
click=
"dialogVisible = false"
>
取 消
</el-button>
</span>
</el-dialog>
...
...
@@ -85,6 +79,9 @@ export default {
},
rowData
:
{
default
:
false
},
type
:
{
default
:
false
}
},
data
()
{
...
...
@@ -92,24 +89,18 @@ export default {
labelPosition
:
'left'
,
// 标签对齐方式
dialogVisible
:
false
,
// 弹窗状态
reqParam
:
{
// 请求参数
// page: {
// total: 0,//表格条数
// pageSize: 10, //当前选择要显示的条数
// currPage: 1 // 当前在第几页
// },
personStoreCustomSearch
:
{
barcode
:
''
,
// 增加条码号
region
:
''
,
//选择队列
delivery
:
''
,
// 删除原图
delivery1
:
''
,
// 覆盖原图
resource
:
''
,
// 处理模式
resource1
:
''
//处理对象
}
checkQue
:
''
,
//选择队列
delbmp
:
''
,
// 删除原图
replacecpr
:
''
,
// 覆盖原图
managetype
:
''
,
// 处理模式
manageorgCpr
:
''
,
//处理对象
personDoList
:
[]
},
};
},
mounted
()
{
this
.
dialogVisible
=
this
.
isShowTjddl
;
console
.
log
(
'添加到队列类型'
,
this
.
type
)
},
watch
:
{
isShowTjddl
(
newVal
,
oldVal
)
{
...
...
@@ -122,7 +113,46 @@ export default {
},
methods
:
{
addList
()
{
for
(
let
i
=
0
;
i
<
this
.
rowData
.
length
;
i
++
)
{
let
arr
=
{
barcode
:
''
,
pid
:
''
}
arr
.
barcode
=
this
.
rowData
[
i
].
barcode
;
arr
.
pid
=
this
.
rowData
[
i
].
pid
;
// myPerson.push(this.rowData[i].pid);
// barCode.push(this.rowData[i].barcode);
this
.
reqParam
.
personDoList
.
push
(
arr
)
}
// this.reqParam.personDoList.pid = myPerson;
// this.reqParam.personDoList.barcode = barCode;
console
.
log
(
this
.
reqParam
,
'添加到队列'
)
// 确认提示
this
.
$confirm
(
"是否确定添加到队列?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"info"
})
.
then
(()
=>
{
this
.
$axios
.
post
(
"/api/psn/handleque/add"
,
this
.
reqParam
)
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
"添加成功"
);
this
.
params
this
.
dialogVisible
=
false
;
}
else
{
this
.
$message
.
error
(
"添加失败"
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消添加"
});
});
},
handleClose
(
done
)
{
this
.
$confirm
(
'确认关闭?'
)
...
...
src/views/AllPersonnelBase/qbalk.vue
View file @
8d6dea51
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
8d6dea51
...
...
@@ -59,7 +59,8 @@ module.exports = {
proxy
:
{
"/api"
:
{
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
target
:
"http://172.18.108.213:8099/"
,
// 张 认定
// target: "http://172.18.108.213:8099/", // 张 认定
target
:
"http://172.18.116.73:8099/"
,
//统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
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