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 2e92e380
authored
Mar 30, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
屏蔽重推
1 parent
398a2d5a
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 @
2e92e38
...
@@ -599,7 +599,7 @@
...
@@ -599,7 +599,7 @@
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
class=
"left"
>
<div
class=
"left"
>
<
template
v-if=
"form.orderType == 'PAZL' && form.businessStatus == 4"
>
<
!-- <
template v-if="form.orderType == 'PAZL' && form.businessStatus == 4">
<el-button
<el-button
type="primary"
type="primary"
size="small"
size="small"
...
@@ -612,7 +612,7 @@
...
@@ -612,7 +612,7 @@
<span class="tips"
<span class="tips"
><i class="cred">*</i>说明:重推等待时长为15秒</span
><i class="cred">*</i>说明:重推等待时长为15秒</span
>
>
</
template
>
</template>
-->
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<el-button
<el-button
...
@@ -1405,24 +1405,24 @@ export default {
...
@@ -1405,24 +1405,24 @@ export default {
// 平安工单重推
// 平安工单重推
repush
()
{
repush
()
{
let
_this
=
this
;
//
let _this = this;
let
time
=
this
.
pushTime
;
//
let time = this.pushTime;
if
(
this
.
pushInterval
)
{
//
if (this.pushInterval) {
clearInterval
(
this
.
pushInterval
);
//
clearInterval(this.pushInterval);
_this
.
pushInterval
=
null
;
//
_this.pushInterval = null;
}
//
}
_this
.
pushInterval
=
setInterval
(
function
()
{
//
_this.pushInterval = setInterval(function () {
if
(
time
<=
0
)
{
//
if (time <= 0) {
clearInterval
(
_this
.
pushInterval
);
//
clearInterval(_this.pushInterval);
_this
.
pushTime
=
15
;
//
_this.pushTime = 15;
_this
.
pushInterval
=
null
;
//
_this.pushInterval = null;
return
false
;
//
return false;
}
//
}
time
-=
1
;
//
time -= 1;
_this
.
pushTime
=
time
;
//
_this.pushTime = time;
console
.
log
(
time
);
//
console.log(time);
},
1000
);
//
}, 1000);
_this
.
repushWorkOrder
();
//
_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