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
7474b7db
authored
Jun 02, 2020
by
lishengfu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
2136ab09
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
src/components/archives/contactInfo.vue
src/components/archives/eduExperience.vue
src/components/archives/wageCardInfo.vue
src/utils/method.ts
src/components/archives/contactInfo.vue
View file @
7474b7db
...
...
@@ -32,7 +32,7 @@
</div>
</div>
<van-popup
v-model=
"show"
position=
"right"
:style=
"
{ height: '100%',width: '
9
0%' }">
<van-popup
v-model=
"show"
position=
"right"
:style=
"
{ height: '100%',width: '
10
0%' }">
<van-form>
<van-field
v-model=
"obj.contactMobile"
label=
"手机号码"
placeholder=
"请填写手机号码"
/>
<van-field
v-model=
"obj.contactTelephone"
label=
"固定电话"
placeholder=
"请填写固定电话"
/>
...
...
@@ -118,6 +118,9 @@ export default class contactInfo extends Vue {
.
then
(
res
=>
{
if
(
res
==
true
)
{
Toast
.
success
(
"保存成功"
);
this
.
show
=
false
;
}
else
{
Toast
.
success
(
res
.
message
);
}
})
.
catch
(
error
=>
{
...
...
src/components/archives/eduExperience.vue
View file @
7474b7db
...
...
@@ -48,7 +48,7 @@ export default class eduExperience extends Vue {
};
this
.
$server
.
EmployeeService
.
getEduExperience
(
params
)
.
then
(
res
=>
{
// console.log("
res=" + JSON.stringify(res));
console
.
log
(
"edu-
res="
+
JSON
.
stringify
(
res
));
this
.
obj
=
res
;
})
.
catch
(
error
=>
{});
...
...
src/components/archives/wageCardInfo.vue
View file @
7474b7db
...
...
@@ -23,7 +23,7 @@
<label>
{{
obj
.
bankNo
}}
</label>
</div>
</div>
<van-popup
v-model=
"show"
position=
"right"
:style=
"
{ height: '100%',width: '
9
0%' }">
<van-popup
v-model=
"show"
position=
"right"
:style=
"
{ height: '100%',width: '
10
0%' }">
<van-form>
<van-field
v-model=
"obj.bankAccount"
label=
"账户名称"
placeholder=
"请填写账户名称"
/>
<van-field
v-model=
"obj.bankName"
label=
"银行名称"
placeholder=
"请填写银行名称"
/>
...
...
@@ -78,7 +78,12 @@ export default class wageCardInfo extends Vue {
};
this
.
$server
.
EmployeeService
.
saveWageCardInfo
(
params
)
.
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
==
true
){
Toast
.
success
(
"保存成功"
);
this
.
show
=
false
;
}
else
{
Toast
.
success
(
res
.
message
);
}
})
.
catch
(
error
=>
{
console
.
log
(
error
);
...
...
src/utils/method.ts
View file @
7474b7db
...
...
@@ -42,10 +42,7 @@ class Request {
*/
public
put
(
url
:
string
,
params
:
any
=
{},
headers
:
any
=
{})
{
return
new
Promise
((
resolve
,
reject
)
=>
{
resolve
(
http
.
put
(
`
${
url
}
?
${
GetCommonPms
()}
`
,
{
params
:
params
,
headers
:
headers
}));
resolve
(
http
.
put
(
`
${
url
}
?
${
GetCommonPms
()}
`
,
params
,
{
headers
:
headers
}));
})
}
...
...
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