@zscreate/zhxy-app-component 1.0.83 → 1.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -626,6 +626,7 @@ export default {
|
|
|
626
626
|
// firstValidateField: true,//第一次校验
|
|
627
627
|
isScroll: false,
|
|
628
628
|
dataModelShow: '',
|
|
629
|
+
imgUrl: this.uniEnv.imgUrl,
|
|
629
630
|
actionUrl: this.uniEnv.uploadUrl,
|
|
630
631
|
correntArray: ['input', 'textarea'],
|
|
631
632
|
checkboxAndRadioOptions: [],
|
|
@@ -703,12 +704,11 @@ export default {
|
|
|
703
704
|
if (this.widget.options.disabled) return
|
|
704
705
|
const userInfo = uni.getStorageSync('userinfo')
|
|
705
706
|
this.$u.get("workhall/userseal/queryById").then((res) => {
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
}
|
|
707
|
+
const { result = { userSign: '', userSeal : '' } } = res.result || {}
|
|
708
|
+
this.nameSign = result.userSign || userInfo.realname
|
|
709
|
+
this.dataModel = result.userSign || userInfo.realname
|
|
710
|
+
if (this.widget.type.includes('sealSignature') ) {
|
|
711
|
+
this.dataModel = result.userSeal || ""
|
|
712
712
|
}
|
|
713
713
|
})
|
|
714
714
|
},
|
|
@@ -867,7 +867,7 @@ export default {
|
|
|
867
867
|
if (this.widget.type === 'relateSub') {
|
|
868
868
|
this.showLabels(this.dataModel)
|
|
869
869
|
}
|
|
870
|
-
if (['nameSignature', 'sealSignature'].
|
|
870
|
+
if (['nameSignature', 'sealSignature'].some(item => this.widget.type.includes(item))) this.getUserSign()
|
|
871
871
|
},
|
|
872
872
|
|
|
873
873
|
updateRadioOrCheckboxModel(arr) {
|