@zscreate/zhxy-app-component 1.0.234 → 1.0.235

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.
@@ -361,6 +361,9 @@ export default {
361
361
  // this.initPo();
362
362
  },
363
363
  methods: {
364
+ m_isCorrectAudit() {
365
+ return Number(this.isCorrect) === 1 && globalThis._CONFIG.JCTJBT
366
+ },
364
367
  updateFormDataToModels() {
365
368
  // 将formData 中未绑定表单key 的数据也复制到models
366
369
  const modelsKeys = Object.keys(this.models)
@@ -783,7 +786,7 @@ export default {
783
786
  if (this.$refs[i] instanceof Array || this.$refs[i].constructor === Array) {
784
787
  this.$refs[i].forEach(item => {
785
788
  const { canView, disabled } = item._props.widget.options
786
- if (!canView || disabled) return
789
+ if (!canView || (disabled && !this.m_isCorrectAudit())) return
787
790
  if (item.validateInit && typeof item.validateInit === "function") {
788
791
  promiseArr.push(item.validateInit().then(res => {}).catch((error) => {
789
792
  if (this.isScroll && error === false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.234",
3
+ "version": "1.0.235",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",