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
302dc8e3
Commit
302dc8e3
authored
Nov 09, 2021
by
张超军
Browse files
Options
Browse Files
Download
Plain Diff
人员旋转
parents
60262532
2c19445a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
465 additions
and
81 deletions
+465
-81
src/views/AllPersonnelBase/AllPersonnelBase.vue
+68
-29
src/views/AllPersonnelBase/modules/fcx.vue
+10
-6
src/views/AllPersonnelBase/qbalk.vue
+23
-32
src/views/Editor/modules/imageEd.vue
+1
-1
src/views/Editor/modules/imageEdAJ.vue
+1
-1
src/views/SystemManage/GroupManage.vue
+0
-0
src/views/SystemManage/UserManage.vue
+11
-1
src/views/SystemManage/scss/group.scss
+332
-4
src/views/cxyrd/LT.vue
+0
-0
src/views/cxyrd/QueryConfirm.vue
+2
-0
src/views/cxyrd/TL.vue
+1
-1
src/views/cxyrd/TT.vue
+1
-1
src/views/drFPTX/RAList.vue
+15
-5
No files found.
src/views/AllPersonnelBase/AllPersonnelBase.vue
View file @
302dc8e3
...
...
@@ -599,21 +599,31 @@ export default {
},
// 复制条码号 获取选中条码值
getysxtAsjxgrybh
()
{
this
.
ysxtAsjxgrybh
=
null
;
let
self
=
this
;
this
.
ysxtAsjxgrybh
=
[];
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要复制条码号的数据!"
);
this
.
isSelected
=
true
}
else
if
(
this
.
multipleSelection
.
length
===
1
)
{
this
.
ysxtAsjxgrybh
=
this
.
multipleSelection
[
0
].
ysxtAsjxgrybh
;
}
else
{
this
.
$message
.
error
(
"只能复制单条数据的条码号!"
);
self
.
multipleSelection
.
forEach
(
item
=>
{
self
.
ysxtAsjxgrybh
.
push
(
item
.
ysxtAsjxgrybh
);
});
this
.
ysxtAsjxgrybh
=
this
.
ysxtAsjxgrybh
.
join
(
","
);
}
// else if (this.multipleSelection.length === 1) {
// this.ysxtAsjxgrybh = this.multipleSelection[0].ysxtAsjxgrybh;
// } else {
// this.$message.error("只能复制单条数据的条码号!");
// }
},
// 复制成功时的回调函数
onCopy
(
e
)
{
this
.
$message
({
type
:
"success"
,
message
:
"复制条码号:"
+
this
.
ysxtAsjxgrybh
+
"成功!"
// message: "复制条码号:" + this.ysxtAsjxgrybh + "成功!"
message
:
"已复制到剪切板"
});
},
// 复制失败时的回调函数
...
...
@@ -785,29 +795,15 @@ export default {
},
// 请求删除接口
doDelete
(
psns
)
{
// 删除确认提示
this
.
$confirm
(
"是否确定删除已选择的数据?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
$axios
.
post
(
"/api/personstore/delete"
,
{
psns
:
psns
})
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
"删除成功"
);
this
.
search
();
}
else
{
this
.
$message
.
error
(
"删除失败"
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
});
this
.
$axios
.
post
(
"/api/personstore/delete"
,
{
psns
:
psns
})
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
"删除成功"
);
this
.
search
();
}
else
{
this
.
$message
.
error
(
"删除失败"
);
}
});
},
/**
...
...
@@ -817,6 +813,9 @@ export default {
*/
batch
()
{
this
.
isSelected
=
!
this
.
isSelected
this
.
toggleSelection
()
// this.$set(this.multipleSelection, [])
},
cancel
()
{
alert
(
888
)
...
...
@@ -828,7 +827,7 @@ export default {
*/
handleClick
(
row
)
{
console
.
log
(
row
);
this
.
$router
.
push
(
'/zwbj/ryzwbj/'
+
row
.
id
+
'/'
+
row
.
barcode
)
this
.
$router
.
push
(
'/zwbj/ryzwbj/'
+
row
.
id
+
'/'
+
row
.
ysxtAsjxgrybh
)
},
/**
* @description: 单选事件
...
...
@@ -898,7 +897,47 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
>
.el-popconfirm__main
{
margin
:
23px
24px
17px
24px
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#333333
;
}
.el-popconfirm__action
{
margin-bottom
:
24px
;
padding-bottom
:
24px
;
//
交换
确定
和
取消
按钮的位置
.
el-button
:
nth-child
(
1
)
{
float
:
right
;
margin-right
:
23%
;
width
:
72px
;
height
:
32px
;
background
:
#055fe7
;
border-radius
:
4px
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#ffffff
;
}
.el-button
:nth-child
(
2
)
{
float
:
left
;
margin-left
:
23%
;
width
:
72px
;
height
:
32px
;
background
:
#ffffff
;
border-radius
:
4px
;
border
:
1px
solid
#aeb5c2
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#2e3846
;
}
}
</
style
>
<
style
scoped
lang=
"scss"
>
.el-popconfirm__action
{
text-align
:
right
;
}
//
滚动条的宽度
/
deep
/
.el-table__body-wrapper
::-webkit-scrollbar
{
width
:
6px
;
//
横向滚动条
...
...
src/views/AllPersonnelBase/modules/fcx.vue
View file @
302dc8e3
...
...
@@ -71,14 +71,20 @@
prop=
"cxlx"
>
<el-radio-group
v-model=
"ruleForm.cxlx.querytype"
>
<el-radio
label=
"1"
>
人员倒查
</el-radio>
<el-radio
label=
"0"
>
人员查重
</el-radio>
<el-radio
label=
"1"
class=
'color_e60012'
>
倒查
</el-radio>
<el-radio
label=
"0"
style=
"color: #fa9500"
>
查重
</el-radio>
</el-radio-group>
<el-checkbox-group
v-model=
"ruleForm.cxlx.cxtype"
>
<el-checkbox
<
!--
<
el-checkbox
label=
"无图像,不发送查询"
name=
"type"
></el-checkbox>
></el-checkbox>
-->
<el-checkbox
label=
"已比中,不发送查询"
name=
"type"
...
...
@@ -1048,7 +1054,6 @@ export default {
text-align
:
left
;
border-right
:
1px
solid
#eee
;
.middleTop
{
width
:
52px
;
height
:
20px
;
font-size
:
12px
;
font-family
:
MicrosoftYaHei
;
...
...
@@ -1056,7 +1061,6 @@ export default {
line-height
:
20px
;
}
.middlebottom
{
width
:
52px
;
font-size
:
9px
;
font-family
:
MicrosoftYaHei
;
color
:
#999999
;
...
...
src/views/AllPersonnelBase/qbalk.vue
View file @
302dc8e3
...
...
@@ -511,30 +511,15 @@ export default {
},
// 请求删除接口
doDelete
(
ids
)
{
console
.
log
(
'111111'
,
ids
)
// 删除确认提示
this
.
$confirm
(
"是否确定删除已选择的数据?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
$axios
.
delete
(
"api/casestore/casebase"
,
{
params
:
{
ids
}
})
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
"删除成功"
);
this
.
search
();
}
else
{
this
.
$message
.
error
(
"删除失败"
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
});
this
.
$axios
.
delete
(
"api/casestore/casebase"
,
{
params
:
{
ids
}
})
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
"删除成功"
);
this
.
search
();
}
else
{
this
.
$message
.
error
(
"删除失败"
);
}
});
},
// 时间格式化
...
...
@@ -570,15 +555,22 @@ export default {
},
// 复制条码号 获取选中条码值
getysxtAsjbh
()
{
this
.
ysxtAsjbh
=
null
;
let
self
=
this
;
this
.
ysxtAsjbh
=
[];
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要复制条码号的数据!"
);
this
.
isSelected
=
true
}
else
if
(
this
.
multipleSelection
.
length
===
1
)
{
this
.
ysxtAsjbh
=
this
.
multipleSelection
[
0
].
ysxtAsjbh
;
}
else
{
this
.
$message
.
error
(
"只能复制单条数据的条码号!"
);
self
.
multipleSelection
.
forEach
(
item
=>
{
self
.
ysxtAsjbh
.
push
(
item
.
ysxtAsjbh
);
});
this
.
ysxtAsjbh
=
this
.
ysxtAsjbh
.
join
(
","
);
}
// else if (this.multipleSelection.length === 1) {
// this.ysxtAsjbh = this.multipleSelection[0].ysxtAsjbh;
// } else {
// this.$message.error("只能复制单条数据的条码号!");
// }
},
// 导出
dcFptx
()
{
...
...
@@ -600,7 +592,8 @@ export default {
onCopy
(
e
)
{
this
.
$message
({
type
:
"success"
,
message
:
"复制条码号:"
+
this
.
ysxtAsjbh
+
"成功!"
// message: "复制条码号:" + this.ysxtAsjbh + "成功!"
message
:
"已复制到剪切板"
});
},
// 复制失败时的回调函数
...
...
@@ -733,9 +726,7 @@ export default {
*/
batch
()
{
this
.
isSelected
=
!
this
.
isSelected
;
},
cancel
()
{
alert
(
888
);
this
.
toggleSelection
()
},
/**
* @description: 编辑数据
...
...
src/views/Editor/modules/imageEd.vue
View file @
302dc8e3
<!--
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-11-09 10:0
3:02
* @LastEditTime: 2021-11-09 10:0
5:00
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
...
...
src/views/Editor/modules/imageEdAJ.vue
View file @
302dc8e3
<!--
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-11-0
8 21:00:49
* @LastEditTime: 2021-11-0
9 10:05:10
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
...
...
src/views/SystemManage/GroupManage.vue
View file @
302dc8e3
This diff is collapsed.
Click to expand it.
src/views/SystemManage/UserManage.vue
View file @
302dc8e3
...
...
@@ -57,7 +57,7 @@
<div
class=
"operation"
>
<div
class=
"btn1"
@
click=
"batch"
>
批量操作
</div>
<div
class=
"btns"
>
<div
class=
"btn1"
@
click=
"del
(7
)"
>
删除
</div>
<div
class=
"btn1"
@
click=
"del
More(
)"
>
删除
</div>
<div
class=
"add"
@
click=
"open"
>
<svg-icon
style=
"width: .8125rem;height: .8125rem;margin-bottom: -.0625rem;margin-right: .25rem"
...
...
@@ -788,6 +788,7 @@ export default {
//是否是批量操作
batch
()
{
this
.
isSelected
=
!
this
.
isSelected
;
this
.
toggleSelection
();
},
// 当期页发生变化
handleCurrPageChange
:
function
(
val
)
{
...
...
@@ -882,6 +883,15 @@ export default {
})
.
catch
(
failResponse
=>
{});
},
delMore
()
{
this
.
isSelected
=
true
;
if
(
this
.
isSelected
===
true
&&
this
.
multipleSelection
.
length
>
0
)
{
var
ids
=
""
;
this
.
multipleSelection
.
forEach
((
item
,
index
)
=>
{
ids
=
ids
+
item
.
id
;
});
}
},
del
(
id
)
{
console
.
info
(
"删除方法"
,
id
);
var
user
=
new
URLSearchParams
();
...
...
src/views/SystemManage/scss/group.scss
View file @
302dc8e3
...
...
@@ -15,7 +15,7 @@
line-height
:
24px
;
}
.clear-btn
{
width
:
2
8px
;
width
:
3
8px
;
border
:
none
;
height
:
22px
;
padding
:
0
;
...
...
@@ -243,10 +243,56 @@
.user-dialog
{
.header
{
//border: saddlebrown 1px solid;
width
:
823px
;
height
:
40px
;
width
:
780px
;
height
:
45px
;
padding
:
0
;
.btn
{
width
:
96px
;
height
:
32px
;
border-radius
:
4px
;
border
:
1px
solid
#AEB5C2
;
font-size
:
14px
;
color
:
#2E3846
;
text-align
:
center
;
cursor
:
pointer
;
}
.btn-right
{
//border: 1px solid darkblue;
position
:
absolute
;
right
:
24px
;
.btn
{
width
:
96px
;
height
:
32px
;
border-radius
:
4px
;
border
:
1px
solid
#AEB5C2
;
font-size
:
14px
;
color
:
#2E3846
;
line-height
:
32px
;
text-align
:
center
;
margin-left
:
15px
;
}
}
// 未选中字体颜色
/
deep
/
.el-checkbox
{
font-size
:
14px
;
color
:
#333333
;
font-weight
:
400
;
}
/
deep
/
.el-checkbox__input
.el-checkbox__inner
:hover
{
border-color
:
#055fe7
;
}
// 选中样式
/
deep
/
.el-checkbox__input.is-checked
+
.el-checkbox__label
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#333333
;
}
/
deep
/
.el-checkbox__input.is-checked
.el-checkbox__inner
{
background
:
#055fe7
;
border-color
:
#055fe7
;
}
}
.user-table
{}
}
}
/
deep
/
.el-dialog
{
...
...
@@ -355,4 +401,285 @@
cursor
:pointer
;
}
}
}
// 用户设置
.userDialogBg
{
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
500
;
width
:
100%
;
height
:
100%
;
background
:
rgba
(
$color
:
#fff
,
$alpha
:
0
.65
);
filter
:
blur
(
2px
);
}
.userDialog
{
box-sizing
:
border-box
;
position
:
absolute
;
top
:
calc
(
50%
-
257px
);
left
:
calc
(
50%
-
471
.5px
);
z-index
:
1000
;
width
:
890px
;
height
:
540px
;
background
:
#ffffff
;
box-shadow
:
0px
14px
30px
0px
rgba
(
0
,
21
,
51
,
0
.25
);
border-radius
:
6px
;
.head-title
{
box-sizing
:
border-box
;
width
:
100%
;
height
:
50px
;
display
:
flex
;
justify-content
:
space-between
;
padding
:
14px
32px
;
border-bottom
:
1px
solid
#EEEEEE
;
.left
{
font-size
:
16px
;
color
:
#282f3c
;
.title-img
{
width
:
21px
;
height
:
21px
;
margin-right
:
8px
;
}
}
.close
{
cursor
:
pointer
;
width
:
13px
;
height
:
13px
;
img
{
object-fit
:
contain
;
}
}
}
.info
{
padding
:
12px
24px
12px
24px
;
.header
{
width
:
780px
;
height
:
45px
;
padding
:
0
;
.btn
{
width
:
96px
;
height
:
32px
;
border-radius
:
4px
;
border
:
1px
solid
#AEB5C2
;
font-size
:
14px
;
color
:
#2E3846
;
text-align
:
center
;
cursor
:
pointer
;
}
.btn-right
{
//border: 1px solid darkblue;
position
:
absolute
;
right
:
24px
;
.btn
{
width
:
96px
;
height
:
32px
;
border-radius
:
4px
;
border
:
1px
solid
#AEB5C2
;
font-size
:
14px
;
color
:
#2E3846
;
line-height
:
32px
;
text-align
:
center
;
margin-left
:
15px
;
}
}
// 未选中字体颜色
/
deep
/
.el-checkbox
{
font-size
:
14px
;
color
:
#333333
;
font-weight
:
400
;
}
/
deep
/
.el-checkbox__input
.el-checkbox__inner
:hover
{
border-color
:
#055fe7
;
}
// 选中样式
/
deep
/
.el-checkbox__input.is-checked
+
.el-checkbox__label
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#333333
;
}
/
deep
/
.el-checkbox__input.is-checked
.el-checkbox__inner
{
background
:
#055fe7
;
border-color
:
#055fe7
;
}
}
.tag
{
width
:
100%
;
color
:
#666666
;
margin-bottom
:
1rem
}
.user-table
{
width
:
100%
;
}
}
.addbtns
{
width
:
100%
;
text-align
:
center
;
.btn1
{
width
:
72px
;
height
:
40px
;
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#AEB5C2
;
font-size
:
14px
;
color
:
#2E3846
;
line-height
:
40px
;
margin-right
:
15px
;
cursor
:
pointer
;
}
.btn2
{
width
:
72px
;
height
:
40px
;
background
:
#055FE7
;
border-radius
:
4px
;
font-size
:
14px
;
color
:
#FFFFFF
;
line-height
:
40px
;
cursor
:
pointer
;
}
}
}
// 角色设置 背景
.roleDialogBg
{
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
500
;
width
:
100%
;
height
:
100%
;
background
:
rgba
(
$color
:
#fff
,
$alpha
:
0
.65
);
filter
:
blur
(
2px
);
}
.roleDialog
{
box-sizing
:
border-box
;
position
:
absolute
;
top
:
calc
(
50%
-
257px
);
left
:
calc
(
50%
-
471
.5px
);
z-index
:
1000
;
width
:
626px
;
height
:
440px
;
background
:
#ffffff
;
box-shadow
:
0px
14px
30px
0px
rgba
(
0
,
21
,
51
,
0
.25
);
border-radius
:
6px
;
.head-title
{
box-sizing
:
border-box
;
width
:
100%
;
height
:
50px
;
display
:
flex
;
justify-content
:
space-between
;
padding
:
14px
32px
;
border-bottom
:
1px
solid
#EEEEEE
;
.left
{
font-size
:
16px
;
color
:
#282f3c
;
.title-img
{
width
:
21px
;
height
:
21px
;
margin-right
:
8px
;
}
}
.close
{
cursor
:
pointer
;
width
:
13px
;
height
:
13px
;
img
{
object-fit
:
contain
;
}
}
}
.info
{
padding
:
24px
;
.header
{
width
:
100%
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
margin-bottom
:
10px
}
//border: saddlebrown 1px solid;
.default-role-group
{
width
:
578px
;
height
:
auto
;
background
:
#FDFEFF
;
box-shadow
:
1px
0px
3px
0px
rgba
(
5
,
95
,
231
,
0
.3
)
,
-1px
1px
3px
0px
rgba
(
5
,
95
,
231
,
0
.24
);
border-radius
:
4px
;
padding
:
16px
;
margin
:
0
;
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:wrap
;
.default-btn
{
width
:
160px
;
height
:
32px
;
background
:
#F6F8FA
;
border-radius
:
4px
;
font-size
:
14px
;
color
:
#333333
;
line-height
:
32px
;
text-align
:
center
;
margin-right
:
16px
;
}
}
.add-btn
{
width
:
80px
;
height
:
22px
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#055FE7
;
line-height
:
22px
;
margin
:
16px
0
16px
0
;
}
.add-role-group
{
width
:
578px
;
height
:
111px
;
background
:
#F6F8FA
;
box-shadow
:
1px
0px
3px
0px
rgba
(
5
,
95
,
231
,
0
.3
)
,
-1px
1px
3px
0px
rgba
(
5
,
95
,
231
,
0
.24
);
border-radius
:
4px
;
padding
:
16px
;
margin
:
0
;
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:wrap
;
.default-btn
{
width
:
160px
;
height
:
32px
;
background
:
#F6F8FA
;
box-shadow
:
4px
4px
4px
0px
rgba
(
193
,
216
,
251
,
0
.8
)
,
-4px
-4px
4px
0px
#FFFFFF
;
border-radius
:
4px
;
font-size
:
14px
;
color
:
#333333
;
line-height
:
32px
;
text-align
:
center
;
margin-right
:
16px
;
}
}
}
.addbtns
{
width
:
100%
;
text-align
:
center
;
.btn1
{
width
:
72px
;
height
:
40px
;
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#AEB5C2
;
font-size
:
14px
;
color
:
#2E3846
;
line-height
:
40px
;
cursor
:
pointer
;
margin-right
:
15px
;
}
.btn2
{
width
:
72px
;
height
:
40px
;
background
:
#055FE7
;
border-radius
:
4px
;
font-size
:
14px
;
color
:
#FFFFFF
;
line-height
:
40px
;
cursor
:
pointer
;
}
}
}
\ No newline at end of file
src/views/cxyrd/LT.vue
View file @
302dc8e3
This diff is collapsed.
Click to expand it.
src/views/cxyrd/QueryConfirm.vue
View file @
302dc8e3
...
...
@@ -663,6 +663,7 @@ export default {
// 多选删除
delMore
()
{
// 检查table选择的数据 如果没有选择则不可以删除
this
.
isSelected
=
!
this
.
isSelected
;
if
(
this
.
selectionData
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要删除的数据!"
);
return
;
...
...
@@ -958,6 +959,7 @@ export default {
// 批量操作
batch
()
{
this
.
isSelected
=
!
this
.
isSelected
;
this
.
toggleSelection
();
},
/**
* @description: 清除所有选项
...
...
src/views/cxyrd/TL.vue
View file @
302dc8e3
...
...
@@ -541,7 +541,7 @@ div {
height
:
22px
;
font-size
:
16px
;
font-weight
:
bold
;
color
:
#
333333
;
color
:
#
e60012
;
line-height
:
22px
;
margin-top
:
14px
;
}
...
...
src/views/cxyrd/TT.vue
View file @
302dc8e3
...
...
@@ -1337,7 +1337,7 @@ div {
font-size
:
16px
;
font-family
:
MicrosoftYaHei-Bold
,
MicrosoftYaHei
;
font-weight
:
bold
;
color
:
#
333333
;
color
:
#
fa9500
;
line-height
:
22px
;
margin-top
:
14px
;
}
...
...
src/views/drFPTX/RAList.vue
View file @
302dc8e3
...
...
@@ -435,20 +435,28 @@ export default {
},
// 复制条码号 获取选中条码值
getBarcode
()
{
this
.
ysxtAsjxgrybh
=
null
;
let
self
=
this
;
this
.
ysxtAsjxgrybh
=
[];
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要复制条码号的数据!"
);
}
else
if
(
this
.
multipleSelection
.
length
===
1
)
{
this
.
ysxtAsjxgrybh
=
this
.
multipleSelection
[
0
].
ysxtAsjxgrybh
;
}
else
{
this
.
$message
.
error
(
"只能复制单条数据的条码号!"
);
self
.
multipleSelection
.
forEach
(
item
=>
{
self
.
ysxtAsjxgrybh
.
push
(
item
.
ysxtAsjxgrybh
);
});
this
.
ysxtAsjxgrybh
=
this
.
ysxtAsjxgrybh
.
join
(
","
);
}
// else if (this.multipleSelection.length === 1) {
// this.ysxtAsjxgrybh = this.multipleSelection[0].ysxtAsjxgrybh;
// } else {
// this.$message.error("只能复制单条数据的条码号!");
// }
},
// 复制成功时的回调函数
onCopy
(
e
)
{
this
.
$message
({
type
:
"success"
,
message
:
"复制条码号:"
+
this
.
ysxtAsjxgrybh
+
"成功!"
// message: "复制条码号:" + this.ysxtAsjxgrybh + "成功!"
message
:
"已复制到剪切板"
});
},
// 复制失败时的回调函数
...
...
@@ -511,6 +519,8 @@ export default {
*/
batch
()
{
this
.
isSelected
=
!
this
.
isSelected
this
.
toggleSelection
()
},
cancel
()
{
alert
(
888
)
...
...
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