Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
83b58013
Commit
83b58013
authored
May 12, 2020
by
郝珍华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'hzh'
parent
b9fabe56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
5 deletions
+59
-5
bpo-admin/app/front/vues/pages/entcontractall2/entcontractall2.html
+20
-1
bpo-admin/app/front/vues/pages/entcontractall2/entcontractall2.js
+39
-4
No files found.
bpo-admin/app/front/vues/pages/entcontractall2/entcontractall2.html
View file @
83b58013
...
...
@@ -100,7 +100,7 @@
<el-table-column
prop=
"completed_at"
label=
"签约时间"
:formatter=
"onColFormater"
align=
"center"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"操作"
>
<template
slot-scope=
"scope"
align=
"center"
>
<a
v-if=
"!scope.row.esignUrl"
href=
"javascript:;"
@
click=
"toHand(scope.row.id)"
style=
"float:left;text-decoration: none;color:#59C1A6;font-size: 14px;margin-left: 10px;"
>
发起手动
</a>
<a
href=
"javascript:;"
@
click=
"toHand(scope.row.id)"
style=
"float:left;text-decoration: none;color:#59C1A6;font-size: 14px;margin-left: 10px;"
>
发起手动
</a>
</template>
</el-table-column>
</el-table>
...
...
@@ -222,6 +222,25 @@
<el-button
:loading=
"submitLoading"
@
click=
"autoSave"
style=
"width:120px;height:36px; background:#54C4A7; border-radius:4px;color: #FFFFFF;font-size: 16px;padding-top: 10px;"
>
保存
</el-button>
</div>
</el-dialog>
<el-dialog
width=
"862px"
:visible
.
sync=
"showDong"
>
<div
slot=
"title"
>
<div
style=
"width: 862px; height: 1px;background-color: #E3E3E3;margin: 17px 20px 0px -20px"
></div>
</div>
<el-form
:model=
"enttemplate"
:rules=
"rulesd"
ref=
"enttemplate"
label-width=
"100px"
label=
"right"
style=
"padding:0px 100px;"
>
<div
style=
"0px 10px; line-height: 15px;padding-bottom:40px;"
>
<div
style=
"width:2px;height:15px;float: left;background-color: #54C4A7"
>
</div>
<span
style=
"font-size:15px;color: #333333;float: left;font-weight:bold;margin-left: 7px;"
>
模板信息
</span>
</div>
<el-form-item
label=
"模板名称:"
prop=
"name"
>
<el-input
v-model=
"enttemplate.name"
placeholder=
"请输入模板名称:例如韵达、沐冉"
maxlength=
"50"
style=
"width:468px;"
clearable
></el-input>
</el-form-item>
</el-form>
<div
style=
"margin-left: 200px;"
>
<el-button
:loading=
"saveLoading"
@
click=
"saveTemplate"
style=
"width:120px;height:36px; background:#54C4A7; border-radius:4px;color: #FFFFFF;font-size: 16px;padding-top: 10px;"
>
保存
</el-button>
</div>
</el-dialog>
</div>
</gsb-pcpage>
bpo-admin/app/front/vues/pages/entcontractall2/entcontractall2.js
View file @
83b58013
...
...
@@ -73,6 +73,16 @@
aggreement
:
{},
autoAggreement
:
{},
autoUploadResult
:
null
,
enttemplate
:
{},
showDong
:
false
,
saveLoading
:
false
,
rulesd
:
{
name
:
[
{
required
:
true
,
message
:
'请输入模板名称'
,
trigger
:
'blur'
},
{
validator
:
validMethod
,
trigger
:
'blur'
}
],
},
}
},
mounted
:
function
()
{
...
...
@@ -80,7 +90,35 @@
},
created
:
function
()
{},
methods
:
{
saveTemplate
()
{
var
self
=
this
;
self
.
$refs
.
enttemplate
.
validate
((
valid
)
=>
{
if
(
valid
)
{
self
.
saveLoading
=
true
;
setTimeout
(()
=>
{
self
.
saveLoading
=
false
;
},
15000
);
self
.
$root
.
postReq
(
"/web/enttemplateCtl/mysave"
,
self
.
enttemplate
).
then
(
function
(
d
)
{
if
(
d
.
status
==
0
)
{
self
.
$message
.
success
(
`保存成功`
);
self
.
showEdit
=
false
;
self
.
getList
();
}
else
{
self
.
$alert
(
d
.
msg
||
'保存失败'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
callback
:
action
=>
{}
});
}
self
.
saveLoading
=
false
;
});
}
else
{
self
.
saveLoading
=
false
;
return
false
;
}
});
},
getEmptySearch
()
{
return
{
list
:
[],
...
...
@@ -439,10 +477,7 @@
id
:
id
}).
then
(
function
(
d
)
{
if
(
d
.
status
==
0
&&
d
.
data
)
{
self
.
$alert
(
"https://bpohhr.gongsibao.com/bpoent?entid="
+
id
,
'提示'
,
{
confirmButtonText
:
'确定'
,
callback
:
action
=>
{}
});
self
.
showDong
=
true
;
}
else
{
self
.
$message
.
warning
(
d
.
msg
||
"签署失败"
);
}
...
...
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