Commit fcafb588 by 前端

增加平安工单重推功能

1 parent 964412ac
...@@ -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();
}, },
// 工单重推请求 // 工单重推请求
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!