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
d2652333
Commit
d2652333
authored
Nov 27, 2021
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
dcbd58e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
211 additions
and
6 deletions
+211
-6
src/views/AllPersonnelBase/AllPersonnelBase.vue
+14
-2
src/views/AllPersonnelBase/modules/ajxxk.vue
+122
-0
src/views/AllPersonnelBase/modules/ryxxk.vue
+75
-4
No files found.
src/views/AllPersonnelBase/AllPersonnelBase.vue
View file @
d2652333
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
style=
"width: 100%"
style=
"width: 100%"
:class=
"
{delSelection: !selectBoo}"
:class=
"
{delSelection: !selectBoo}"
@selection-change="handleSelectionChange"
@selection-change="handleSelectionChange"
@row-click="
handle
"
@row-click="
isShowRyxxkBtn
"
>
>
<el-table-column
<el-table-column
type=
"selection"
type=
"selection"
...
@@ -442,7 +442,7 @@
...
@@ -442,7 +442,7 @@
<ryxxk
<ryxxk
:isShowRyxxk=
"isShowRyxxk"
:isShowRyxxk=
"isShowRyxxk"
:rowData=
"rowData"
:rowData=
"rowData"
@
close
Xzry=
"closeXzry
"
@
close
Ryxxk=
"closeRyxxk
"
>
</ryxxk>
>
</ryxxk>
<!-- <el-drawer
<!-- <el-drawer
...
@@ -508,6 +508,7 @@ export default {
...
@@ -508,6 +508,7 @@ export default {
isShowFztm
:
false
,
//复制条码
isShowFztm
:
false
,
//复制条码
isShowFcx
:
false
,
//发查询
isShowFcx
:
false
,
//发查询
isShowXzry
:
false
,
// 新增人员
isShowXzry
:
false
,
// 新增人员
isShowRyxxk
:
false
,
// 人员信息卡
type
:
"ry"
,
// 人员还是案件
type
:
"ry"
,
// 人员还是案件
rowData
:
{},
// 单行数据
rowData
:
{},
// 单行数据
ysxtAsjxgrybh
:
null
,
ysxtAsjxgrybh
:
null
,
...
@@ -603,6 +604,17 @@ export default {
...
@@ -603,6 +604,17 @@ export default {
this
.
isShowXzry
=
val
;
this
.
isShowXzry
=
val
;
// this.search();
// this.search();
},
},
// 人员信息卡操作
isShowRyxxkBtn
()
{
this
.
isShowRyxxk
=
true
;
},
closeRyxxk
(
val
)
{
//console.log("新增人员关闭", val);
// 增加毛玻璃
this
.
$bus
.
emit
(
'isBlur'
,
val
)
this
.
isShowRyxxk
=
val
;
// this.search();
},
// 时间格式化
// 时间格式化
dateTimeFormat
(
row
,
colnum
)
{
dateTimeFormat
(
row
,
colnum
)
{
let
prop
=
colnum
.
property
;
let
prop
=
colnum
.
property
;
...
...
src/views/AllPersonnelBase/modules/ajxxk.vue
0 → 100644
View file @
d2652333
<
template
>
<div>
<el-drawer
class=
"ajxxkDrawer"
title=
"标题"
:visible
.
sync=
"drawer"
:direction=
"direction"
:before-close=
"handleClose"
:with-header=
"false"
:modal=
'false'
append-to-body
size=
'36%'
>
<div
class=
"header"
>
<div
class=
"header-title"
>
人员档案信息
</div>
<div
class=
"header-close"
@
click=
"closeDrawer"
>
<svg
class=
"icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#icon-fanhui"
></use>
</svg>
</div>
</div>
</el-drawer>
</div>
</
template
>
<
script
>
export
default
{
name
:
"ryxxk"
,
props
:
{
isShowRyxxk
:
{
type
:
[
Number
,
String
,
Boolean
],
default
:
false
},
rowData
:
{
default
:
false
}
},
data
()
{
return
{
drawer
:
false
,
direction
:
'rtl'
,
};
},
mounted
()
{
this
.
drawer
=
this
.
isShowRyxxk
;
},
watch
:
{
isShowRyxxk
(
newVal
,
oldVal
)
{
this
.
drawer
=
newVal
;
},
drawer
(
val
)
{
this
.
$emit
(
'closeRyxxk'
,
this
.
drawer
);
}
},
methods
:
{
handleClose
(
done
)
{
console
.
log
(
1111111111111111
)
// this.$confirm('确认关闭?')
// .then(_ => {
// done();
// })
// .catch(_ => { });
this
.
drawer
=
false
this
.
$emit
(
'closeRyxxk'
,
this
.
drawer
);
},
closeDrawer
()
{
this
.
drawer
=
false
this
.
$emit
(
'closeRyxxk'
,
this
.
drawer
);
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
.ajxxkDrawer
{
width
:
100%
;
height
:
100%
;
/deep/
.el-drawer.rtl
{
overflow
:
auto
;
}
}
.header
{
position
:
fixed
;
background
:
#ffffff
;
height
:
50px
;
width
:
688px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
padding
:
0
32px
;
border-bottom
:
1px
solid
#eeeeee
;
z-index
:
999
;
.header-title
{
font-size
:
16px
;
font-family
:
MicrosoftYaHei
;
color
:
#282f3c
;
}
.header-close
{
width
:
20px
;
height
:
14px
;
cursor
:
pointer
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
.icon
{
cursor
:
pointer
;
width
:
20px
;
height
:
14px
;
overflow
:
hidden
;
}
}
}
</
style
>
src/views/AllPersonnelBase/modules/ryxxk.vue
View file @
d2652333
<
template
>
<
template
>
<div>
<div>
<el-drawer
<el-drawer
class=
"ryxxkDrawer"
title=
"标题"
title=
"标题"
:visible
.
sync=
"drawer"
:visible
.
sync=
"drawer"
:direction=
"direction"
:direction=
"direction"
:before-close=
"handleClose"
:before-close=
"handleClose"
:with-header=
"false"
:with-header=
"false"
:modal=
'false'
:modal=
'false'
append-to-body
size=
'36%'
>
>
<span>
我来啦!
</span>
<div
class=
"header"
>
<div
class=
"header-title"
>
人员档案信息
</div>
<div
class=
"header-close"
@
click=
"closeDrawer"
>
<svg
class=
"icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#icon-fanhui"
></use>
</svg>
</div>
</div>
</el-drawer>
</el-drawer>
</div>
</div>
</
template
>
</
template
>
...
@@ -38,14 +55,68 @@ export default {
...
@@ -38,14 +55,68 @@ export default {
isShowRyxxk
(
newVal
,
oldVal
)
{
isShowRyxxk
(
newVal
,
oldVal
)
{
this
.
drawer
=
newVal
;
this
.
drawer
=
newVal
;
},
},
dialogVisible
(
val
)
{
drawer
(
val
)
{
//console.log(this.dialogVisible, 123)
this
.
$emit
(
'closeRyxxk'
,
this
.
drawer
);
this
.
$emit
(
'closeGz'
,
this
.
dialogVisible
);
}
}
},
},
methods
:
{
methods
:
{
handleClose
(
done
)
{
console
.
log
(
1111111111111111
)
// this.$confirm('确认关闭?')
// .then(_ => {
// done();
// })
// .catch(_ => { });
this
.
drawer
=
false
this
.
$emit
(
'closeRyxxk'
,
this
.
drawer
);
},
closeDrawer
()
{
this
.
drawer
=
false
this
.
$emit
(
'closeRyxxk'
,
this
.
drawer
);
}
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
.ryxxkDrawer
{
width
:
100%
;
height
:
100%
;
/deep/
.el-drawer.rtl
{
overflow
:
auto
;
}
}
.header
{
position
:
fixed
;
background
:
#ffffff
;
height
:
50px
;
width
:
688px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
padding
:
0
32px
;
border-bottom
:
1px
solid
#eeeeee
;
z-index
:
999
;
.header-title
{
font-size
:
16px
;
font-family
:
MicrosoftYaHei
;
color
:
#282f3c
;
}
.header-close
{
width
:
20px
;
height
:
14px
;
cursor
:
pointer
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
.icon
{
cursor
:
pointer
;
width
:
20px
;
height
:
14px
;
overflow
:
hidden
;
}
}
}
</
style
>
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