|
|
@@ -58,12 +58,10 @@ const canAdd = shallowRef(false)
|
|
|
const { run } = useRequest(queryUserESignRecord, {
|
|
|
onSuccess: (res) => {
|
|
|
if (res.data.length != 0) {
|
|
|
- dataList.value = res.data.filter(obj => {
|
|
|
- return obj.templatetype === 2
|
|
|
- })
|
|
|
+ dataList.value = res.data.filter(obj => obj.templatetype === 2)
|
|
|
}
|
|
|
/// 只有全部签署才可以进行下一步
|
|
|
- canAdd.value = dataList.value.some(obj => { [1, 4].includes(obj.recordstatus) })
|
|
|
+ canAdd.value = dataList.value.some(obj => [1, 4].includes(obj.recordstatus) )
|
|
|
}
|
|
|
})
|
|
|
|