From d87726d60385c1f3c635d93d43340fa83cb55f27 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期六, 05 八月 2023 21:20:15 +0800
Subject: [PATCH] 模板流程表单保存失败关闭禁用功能重新提交
---
Source/UBCS-WEB/src/views/code/code.vue | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue
index 0aa01d7..e354964 100644
--- a/Source/UBCS-WEB/src/views/code/code.vue
+++ b/Source/UBCS-WEB/src/views/code/code.vue
@@ -835,6 +835,7 @@
import fixedValueOption from "@/const/code/fixedValueMgrDialog";
import {mapGetters} from "vuex";
import {getByRoleUserList} from "@/api/system/user";
+ import func from "@/util/func";
export default {
data() {
@@ -2616,7 +2617,7 @@
/** 鐮佹绫诲瀷鏀瑰彉鏃讹紝澧炲姞瀵瑰簲鐨刦orm琛ㄥ崟涓殑灞炴��*/
changeSectypeFormItems(row){
//console.log(row);
- if(this.enumParam.secTypeList.length==0){
+ if(func.isEmpty(this.enumParam.secTypeList) || this.enumParam.secTypeList.length==0){
this.loadCodeSecType();
}
if(row != null){
@@ -2752,14 +2753,14 @@
},
/** 鏋氫妇鍜屽彲杈撳彲閫夊唴瀹规煡璇� */
loadCodeSecType(){
- this.enumParam.secTypeList = this.getLocalStorageEnum("codeSecType");
+ this.enumParam.secTypeList = this.getLocalStorageEnum("codeSecType") | [];
this.loadCodeSecLength();
},
loadCodeSecLength(){
- this.enumParam.codeSecLengthType = this.getLocalStorageEnum("codeSecLength");
+ this.enumParam.codeSecLengthType = this.getLocalStorageEnum("codeSecLength") | [];
},
loadCodeFillType(){
- this.enumParam.codeFillType = this.getLocalStorageEnum("codeFillType");
+ this.enumParam.codeFillType = this.getLocalStorageEnum("codeFillType") | [];
},
loadCodeFillSeparator(){
let enumCach = JSON.parse(localStorage.getItem("codeFillSeparator"));
@@ -2771,13 +2772,13 @@
}
},
loadCodeLevelType(){
- this.enumParam.codeLevelType = this.getLocalStorageEnum("codeLevelType");
+ this.enumParam.codeLevelType = this.getLocalStorageEnum("codeLevelType") | [];
},
loadCodeCutType(){
- this.enumParam.codeCutType = this.getLocalStorageEnum("codeCutType");
+ this.enumParam.codeCutType = this.getLocalStorageEnum("codeCutType") | [];
},
loadCodeGetValueType(){
- this.enumParam.codeGetValueType = this.getLocalStorageEnum("codeGetValueType");
+ this.enumParam.codeGetValueType = this.getLocalStorageEnum("codeGetValueType") | [];
},
}
--
Gitblit v1.9.3