提交 f28a4200 authored 作者: caodi\cd's avatar caodi\cd

fix

:签名校验
上级 3ed676ee
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
> >
</view> </view>
</view> </view>
<view v-if="inspectionNumber > 1" class="profile-right"> <view v-if="allIsSubmitOne" class="profile-right">
<button v-if="!isSign" class="record-button" @click="toSign"> <button v-if="!isSign" class="record-button" @click="toSign">
巡检人签字 巡检人签字
</button> </button>
...@@ -196,6 +196,7 @@ export default { ...@@ -196,6 +196,7 @@ export default {
backValue: "", backValue: "",
all_data: [], //所有数据 all_data: [], //所有数据
jfType: "0", //机房类型 jfType: "0", //机房类型
allIsSubmitOne:false,
}; };
}, },
computed: { computed: {
...@@ -276,6 +277,7 @@ export default { ...@@ -276,6 +277,7 @@ export default {
3 3
); );
} }
this.allIsSubmitOne = detailsInfo.originData.every(item => item.isSubmit === 1);
const group1 = this.cardsInfo.slice(0, 5); const group1 = this.cardsInfo.slice(0, 5);
const group2 = this.cardsInfo.slice(5, 10); const group2 = this.cardsInfo.slice(5, 10);
const group3 = this.cardsInfo.slice(10); const group3 = this.cardsInfo.slice(10);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论