|
|
@@ -49,6 +49,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<van-action-sheet v-model="showSign" :title="shwoSignTitle" class="sheet">
|
|
|
+ <template #title>
|
|
|
+ <span style="margin-left: 20px;margin-right: 20px;">{{shwoSignTitle}}</span>
|
|
|
+ </template>
|
|
|
<writingPad ref="esign" :old-signature-seal="oldSignatureSeal" @resultImg="resultSignImg" @cancelSign="cancelSign"></writingPad>
|
|
|
</van-action-sheet>
|
|
|
<!-- 扫描弹框 -->
|
|
|
@@ -194,9 +197,9 @@ export default {
|
|
|
}
|
|
|
let endDate = Date.parse(new Date())
|
|
|
|
|
|
- let taskTotalTime = this.taskData.taskTotalTime + parseFloat((endDate - startDate) / 3600.0);
|
|
|
+ let taskTotalTime = this.taskData.taskTotalTime + parseFloat((endDate - startDate) /1000.0/ 3600.0);
|
|
|
if (endDate - startDate) {
|
|
|
- this.shwoSignTitle= `本次调阅时长为${this.dateTime(endDate - startDate)},调阅总时长为:${taskTotalTime}小时,是否结束调阅?`;
|
|
|
+ this.shwoSignTitle= `本次调阅时长为${this.dateTime(endDate - startDate)},调阅总时长为:${taskTotalTime.toFixed(2)}小时,是否结束调阅?`;
|
|
|
this.showSign=true;
|
|
|
}
|
|
|
|