Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
oms-tiger-shield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fcafb588
authored
Apr 04, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加平安工单重推功能
1 parent
964412ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
src/views/business/workOrderModal.vue
src/views/business/workOrderModal.vue
View file @
fcafb58
...
...
@@ -599,7 +599,7 @@
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
class=
"left"
>
<
!-- <
template v-if="form.orderType == 'PAZL' && form.businessStatus == 4">
<
template
v-if=
"form.orderType == 'PAZL' && form.businessStatus == 4"
>
<el-button
type=
"primary"
size=
"small"
...
...
@@ -612,7 +612,7 @@
<span
class=
"tips"
><i
class=
"cred"
>
*
</i>
说明:重推等待时长为15秒
</span
>
</template>
-->
</
template
>
</div>
<div
class=
"right"
>
<el-button
...
...
@@ -1405,24 +1405,24 @@ export default {
// 平安工单重推
repush
()
{
//
let _this = this;
//
let time = this.pushTime;
//
if (this.pushInterval) {
//
clearInterval(this.pushInterval);
//
_this.pushInterval = null;
//
}
//
_this.pushInterval = setInterval(function () {
//
if (time <= 0) {
//
clearInterval(_this.pushInterval);
//
_this.pushTime = 15;
//
_this.pushInterval = null;
//
return false;
//
}
//
time -= 1;
//
_this.pushTime = time;
//
console.log(time);
//
}, 1000);
//
_this.repushWorkOrder();
let
_this
=
this
;
let
time
=
this
.
pushTime
;
if
(
this
.
pushInterval
)
{
clearInterval
(
this
.
pushInterval
);
_this
.
pushInterval
=
null
;
}
_this
.
pushInterval
=
setInterval
(
function
()
{
if
(
time
<=
0
)
{
clearInterval
(
_this
.
pushInterval
);
_this
.
pushTime
=
15
;
_this
.
pushInterval
=
null
;
return
false
;
}
time
-=
1
;
_this
.
pushTime
=
time
;
console
.
log
(
time
);
},
1000
);
_this
.
repushWorkOrder
();
},
// 工单重推请求
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment