|
|
@@ -72,7 +72,7 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
|
|
|
router.back()
|
|
|
})
|
|
|
|
|
|
-const isReadonly = computed(() => userESignRecords.value.every((e) => e.templatetype === 1 && e.recordstatus === 3))
|
|
|
+const isReadonly = computed(() => userESignRecords.value.some((e) => e.templatetype === 1 && e.recordstatus === 3))
|
|
|
|
|
|
/// 查询记录
|
|
|
const { loading: buttonLoading, dataList: userESignRecords, run: getUserESignRecord } = useRequest(queryUserESignRecord, {
|
|
|
@@ -182,7 +182,7 @@ const onCheckCardNum = () => {
|
|
|
}
|
|
|
|
|
|
const onSubmit = () => {
|
|
|
- if (userESignRecords.value.every((e) => e.templatetype === 1 && e.recordstatus === 1)) {
|
|
|
+ if (userESignRecords.value.some((e) => e.templatetype === 1 && e.recordstatus === 1)) {
|
|
|
formRef.value?.submit()
|
|
|
} else {
|
|
|
openComponent('certification-next')
|