|
@@ -23,12 +23,16 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view style="display: flex;justify-content: center;align-items: center;" v-if="isShowUpload && !isSpecial">
|
|
|
+ <view style="display: flex;justify-content: center;align-items: center;" v-if="isShowUpload && !isSpecial && !isTimeOut">
|
|
|
<image style="height: 60rpx;width: 60rpx;" src="../../static/img/icon-time.png"></image>
|
|
|
- <p style="font-size: 30rpx;color: #f2d241;" v-if="!isTimeOut">剩余时间:{{timeLeft}}</p>
|
|
|
- <p style="font-size: 30rpx;color: #f2d241;" v-if="isTimeOut">超时:{{timeLeft}}</p>
|
|
|
+ <p style="font-size: 30rpx;color: #f2d241;">剩余时间:{{timeLeft}}</p>
|
|
|
</view>
|
|
|
|
|
|
+ <view style="display: flex;justify-content: center;align-items: center;" v-if="isShowUpload && !isSpecial && isTimeOut">
|
|
|
+ <image style="height: 60rpx;width: 60rpx;" src="../../static/img/icon-time2.png"></image>
|
|
|
+ <p style="font-size: 30rpx;color: ##f70c0c;">超时:{{timeLeft}}</p>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="address" v-if="!isSpecial">
|
|
|
<view class="address_icon">
|
|
|
<image style="width: 50rpx;height: 50rpx;" :src="picture.icon_loc" mode="">
|
|
@@ -429,7 +433,7 @@
|
|
|
switch (this.task.task_stage) {
|
|
|
case 7:
|
|
|
// 首次提交
|
|
|
- if (this.task.script_status === 1) {
|
|
|
+ if (this.task.script_status === 1 || this.task.script_status === 2) {
|
|
|
let logistics = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-logistics-info' +
|
|
|
"?" +
|
|
@@ -439,7 +443,7 @@
|
|
|
).then(res => {
|
|
|
logistics = res.data.data
|
|
|
})
|
|
|
- if (logistics.auto_script_break_at !== "") {
|
|
|
+ if (logistics.auto_script_break_at !== null && logistics.auto_script_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(logistics.auto_script_break_at)
|
|
|
} else {
|
|
|
// 为脚本违约限制时间赋值并返回
|
|
@@ -450,7 +454,7 @@
|
|
|
this.timeLeft = this.thistime(res.data.data)
|
|
|
})
|
|
|
}
|
|
|
- } else {
|
|
|
+ } else if (this.task.script_status === 3 || this.task.script_status === 4) {
|
|
|
let scriptList = null;
|
|
|
let script = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-script' +
|
|
@@ -466,7 +470,7 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- if (script.auto_script_break_at !== "") {
|
|
|
+ if (script.auto_script_break_at !== null && script.auto_script_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(script.auto_script_break_at)
|
|
|
} else {
|
|
|
// 为脚本违约限制时间赋值并返回
|
|
@@ -482,7 +486,7 @@
|
|
|
break;
|
|
|
case 9:
|
|
|
// 首次提交
|
|
|
- if (this.task.sketch_status === 1) {
|
|
|
+ if (this.task.sketch_status === 1 || this.task.sketch_status === 2) {
|
|
|
if (this.project.content_type === 1) {
|
|
|
let logistics = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-logistics-info' +
|
|
@@ -493,7 +497,7 @@
|
|
|
).then(res => {
|
|
|
logistics = res.data.data
|
|
|
})
|
|
|
- if (logistics.auto_sketch_break_at !== "") {
|
|
|
+ if (logistics.auto_sketch_break_at !== null && logistics.auto_sketch_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(logistics.auto_sketch_break_at)
|
|
|
} else {
|
|
|
// 为初稿违约限制时间赋值并返回
|
|
@@ -517,7 +521,7 @@
|
|
|
})
|
|
|
for (let i = 0; i < scriptList.length; ++i) {
|
|
|
if (scriptList[i].is_ok === 1) {
|
|
|
- if (scriptList[i].auto_sketch_break_at !== "") {
|
|
|
+ if (scriptList[i].auto_sketch_break_at !== null && scriptList[i].auto_sketch_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(scriptList[i].auto_sketch_break_at)
|
|
|
} else {
|
|
|
// 为初稿违约限制时间赋值并返回
|
|
@@ -531,7 +535,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else { //修改
|
|
|
+ } else if (this.task.sketch_status === 3 || this.task.sketch_status === 4){ //修改
|
|
|
let sketchList = null;
|
|
|
let sketch = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-sketch' +
|
|
@@ -547,7 +551,7 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- if (sketch.auto_sketch_break_at !== "") {
|
|
|
+ if (sketch.auto_sketch_break_at !== null && sketch.auto_sketch_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(sketch.auto_sketch_break_at)
|
|
|
} else {
|
|
|
// 为脚本违约限制时间赋值并返回
|
|
@@ -564,7 +568,7 @@
|
|
|
break;
|
|
|
case 11:
|
|
|
// 首次提交
|
|
|
- if (this.task.link_status === 1) {
|
|
|
+ if (this.task.link_status === 1 || this.task.link_status === 2) {
|
|
|
let sketchList = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-sketch' +
|
|
|
"?" +
|
|
@@ -576,7 +580,7 @@
|
|
|
})
|
|
|
for (let i = 0; i < sketchList.length; ++i) {
|
|
|
if (sketchList[i].is_ok === 1) {
|
|
|
- if (sketchList[i].auto_link_break_at !== "") {
|
|
|
+ if (sketchList[i].auto_link_break_at !== null && sketchList[i].auto_link_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(sketchList[i].auto_link_break_at)
|
|
|
} else {
|
|
|
// 为链接违约限制时间赋值并返回
|
|
@@ -589,7 +593,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else {
|
|
|
+ } else if(this.task.link_status === 3 || this.task.link_status === 4){
|
|
|
let linkList = null;
|
|
|
let link = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-link' +
|
|
@@ -605,7 +609,7 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- if (link.auto_link_break_at !== "") {
|
|
|
+ if (link.auto_link_break_at !== null && link.auto_link_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(link.auto_link_break_at)
|
|
|
} else {
|
|
|
// 为脚本违约限制时间赋值并返回
|
|
@@ -621,7 +625,7 @@
|
|
|
break;
|
|
|
case 13:
|
|
|
// 首次提交
|
|
|
- if (this.task.data_status === 1) {
|
|
|
+ if (this.task.data_status === 1 || this.task.data_status === 2) {
|
|
|
let linkList = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-link' +
|
|
|
"?" +
|
|
@@ -634,7 +638,7 @@
|
|
|
|
|
|
for (let i = 0; i < linkList.length; ++i) {
|
|
|
if (linkList[i].is_ok === 1) {
|
|
|
- if (linkList[i].auto_data_break_at !== "") {
|
|
|
+ if (linkList[i].auto_data_break_at !== null && linkList[i].auto_data_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(linkList[i].auto_data_break_at)
|
|
|
} else {
|
|
|
// 为数据违约限制时间赋值并返回
|
|
@@ -647,7 +651,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else {
|
|
|
+ } else if (this.task.data_status === 3 || this.task.data_status === 4){
|
|
|
let dataList = null;
|
|
|
let data = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-data' +
|
|
@@ -663,7 +667,7 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- if (data.auto_data_break_at !== "") {
|
|
|
+ if (data.auto_data_break_at !== null && data.auto_data_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(data.auto_data_break_at)
|
|
|
} else {
|
|
|
// 为脚本违约限制时间赋值并返回
|