Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
frontend
/
qqxb-self-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c55bf7bc
authored
Jun 24, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://gitlab.corp.qinqinxiaobao.com:9880/frontend_vue/qqxb-self-service
parents
0d7933f5
1925c70d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
19 deletions
src/views/archives/personInfo.vue
src/views/archives/workInfo.vue
src/views/archives/personInfo.vue
View file @
c55bf7bc
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<city-list
@
childCityList=
"birthCity"
/>
<city-list
@
childCityList=
"birthCity"
/>
</van-popup>
</van-popup>
<!-- 民族 -->
<!-- 民族 -->
<
!--
<
van-field
<van-field
readonly
readonly
clickable
clickable
:value=
"obj.infoNation"
:value=
"obj.infoNation"
...
@@ -70,8 +70,8 @@
...
@@ -70,8 +70,8 @@
@
confirm=
"onConfirmNation"
@
confirm=
"onConfirmNation"
@
cancel=
"showNation = false"
@
cancel=
"showNation = false"
/>
/>
</van-popup>
-->
</van-popup>
<
popup-picker
:label=
"label"
/
>
<
!--
<popup-picker
:label=
"label"
/>
--
>
<!-- 政治面貌 -->
<!-- 政治面貌 -->
<van-field
<van-field
readonly
readonly
...
@@ -230,7 +230,64 @@ export default class personInfo extends Vue {
...
@@ -230,7 +230,64 @@ export default class personInfo extends Vue {
private
showWorkStartDate
:
boolean
=
false
;
private
showWorkStartDate
:
boolean
=
false
;
private
currentDate
:
Date
=
new
Date
();
private
currentDate
:
Date
=
new
Date
();
private
columns
:
any
=
{
private
columns
:
any
=
{
nation
:
[
"汉族"
,
"回族"
,
"蒙古族"
],
nation
:
[
"汉族"
,
"满族"
,
"蒙古族"
,
"回族"
,
"藏族"
,
"维吾尔族"
,
"苗族"
,
"彝族"
,
"壮族"
,
"布依族"
,
"侗族"
,
"瑶族"
,
"白族"
,
"土家族"
,
"哈尼族"
,
"哈萨克族"
,
"傣族"
,
"黎族"
,
"傈僳族"
,
"佤族"
,
"畲族"
,
"高山族"
,
"拉祜族"
,
"水族"
,
"东乡族"
,
"纳西族"
,
"景颇族"
,
"柯尔克孜族"
,
"土族"
,
"达斡尔族"
,
"仫佬族"
,
"羌族"
,
"布朗族"
,
"撒拉族"
,
"毛南族"
,
"仡佬族"
,
"锡伯族"
,
"阿昌族"
,
"普米族"
,
"朝鲜族"
,
"塔吉克族"
,
"怒族"
,
"乌孜别克族"
,
"俄罗斯族"
,
"鄂温克族"
,
"德昂族"
,
"保安族"
,
"裕固族"
,
"京族"
,
"塔塔尔族"
,
"独龙族"
,
"鄂伦春族"
,
"赫哲族"
,
"门巴族"
,
"珞巴族"
,
"基诺族"
],
political
:
[
"群众"
,
"共青团员"
,
"预备党员"
,
"中共党员"
,
"其他"
],
political
:
[
"群众"
,
"共青团员"
,
"预备党员"
,
"中共党员"
,
"其他"
],
edu
:
[
edu
:
[
"小学"
,
"小学"
,
...
@@ -253,11 +310,10 @@ export default class personInfo extends Vue {
...
@@ -253,11 +310,10 @@ export default class personInfo extends Vue {
let
params
=
{
let
params
=
{
edId
:
this
.
$route
.
query
.
ed_id
edId
:
this
.
$route
.
query
.
ed_id
};
};
this
.
$server
.
EmployeeService
.
getPersonInfo
(
params
)
this
.
$server
.
EmployeeService
.
getPersonInfo
(
params
).
then
(
res
=>
{
.
then
(
res
=>
{
this
.
obj
=
res
;
this
.
obj
=
res
;
console
.
log
(
res
);
console
.
log
(
res
);
});
})
}
}
editInfo
():
void
{
editInfo
():
void
{
this
.
show
=
true
;
this
.
show
=
true
;
...
@@ -323,8 +379,6 @@ export default class personInfo extends Vue {
...
@@ -323,8 +379,6 @@ export default class personInfo extends Vue {
console
.
log
(
error
);
console
.
log
(
error
);
});
});
}
}
}
}
</
script
>
</
script
>
...
...
src/views/archives/workInfo.vue
View file @
c55bf7bc
...
@@ -7,23 +7,23 @@
...
@@ -7,23 +7,23 @@
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"item"
>
<div
class=
"item"
>
<span>
派遣公司
</span>
<span>
派遣公司
</span>
<label></label>
<label>
{{
query
.
sp_full_name
}}
</label>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<span>
用工单位
</span>
<span>
用工单位
</span>
<label></label>
<label>
{{
obj
.
workUnit
}}
</label>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<span>
工作地点
</span>
<span>
工作地点
</span>
<label></label>
<label>
{{
query
.
work_address
}}
</label>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<span>
工作职位
</span>
<span>
工作职位
</span>
<label>
xx
</label>
<label>
{{
obj
.
position
}}
</label>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<span>
入职时间
</span>
<span>
入职时间
</span>
<label>
xxx
</label>
<label>
{{
obj
.
workStartDate
}}
</label>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -40,7 +40,8 @@ import { Component } from "vue-property-decorator";
...
@@ -40,7 +40,8 @@ import { Component } from "vue-property-decorator";
}
}
})
})
export
default
class
workInfo
extends
Vue
{
export
default
class
workInfo
extends
Vue
{
obj
:
object
=
{};
obj
:
any
=
""
;
query
:
any
=
""
sortKey
(
array
:
any
,
key
:
any
)
{
sortKey
(
array
:
any
,
key
:
any
)
{
return
array
.
sort
(
function
(
a
:
any
,
b
:
any
)
{
return
array
.
sort
(
function
(
a
:
any
,
b
:
any
)
{
var
x
=
a
[
key
];
var
x
=
a
[
key
];
...
@@ -54,8 +55,8 @@ export default class workInfo extends Vue {
...
@@ -54,8 +55,8 @@ export default class workInfo extends Vue {
idNo
:
this
.
$route
.
query
.
id_no
idNo
:
this
.
$route
.
query
.
id_no
};
};
this
.
$server
.
EmployeeService
.
getDispatchInfo
(
params
).
then
(
res
=>
{
this
.
$server
.
EmployeeService
.
getDispatchInfo
(
params
).
then
(
res
=>
{
console
.
log
(
"res======="
+
JSON
.
stringify
(
res
.
workData
));
this
.
query
=
res
this
.
sortKey
(
res
.
workDat
,
""
)
;
this
.
obj
=
this
.
sortKey
(
res
.
workData
,
"res.workData.workStartDate"
)[
0
]
;
});
});
}
}
}
}
...
...
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