|
@@ -159,6 +159,8 @@ export const useDocumentStore = defineStore({
|
|
|
highlightForm: true,
|
|
|
redactionPrompted: false, // redaction首次进入提示
|
|
|
autoJumpNextSign: false,
|
|
|
+ disableDigitalSignature: false, // 允许数字签名
|
|
|
+ disableElectronicSignature: false // 允许电子签名
|
|
|
}),
|
|
|
getters: {
|
|
|
getTotalPages () {
|
|
@@ -322,6 +324,12 @@ export const useDocumentStore = defineStore({
|
|
|
getAutoJumpNextSign () {
|
|
|
return this.autoJumpNextSign
|
|
|
},
|
|
|
+ getDisableDigitalSignature() {
|
|
|
+ return this.disableDigitalSignature
|
|
|
+ },
|
|
|
+ getDisableElectronicSignature() {
|
|
|
+ return this.disableElectronicSignature
|
|
|
+ }
|
|
|
},
|
|
|
actions: {
|
|
|
resetSetting () {
|
|
@@ -530,5 +538,11 @@ export const useDocumentStore = defineStore({
|
|
|
this.autoJumpNextSign = val
|
|
|
core.setAutoJumpNextSign(val)
|
|
|
},
|
|
|
+ setDisableDigitalSignature (val) {
|
|
|
+ this.disableDigitalSignature = val
|
|
|
+ },
|
|
|
+ setDisableElectronicSignature (val) {
|
|
|
+ this.disableElectronicSignature = val
|
|
|
+ }
|
|
|
}
|
|
|
})
|