(修复)修复问题单无法显示null的问题

This commit is contained in:
2024-07-29 18:32:53 +08:00
parent 7aecdb2df6
commit 8773e5f927
16 changed files with 891 additions and 4432 deletions

View File

@@ -365,7 +365,7 @@ const columns = ref([
title: "原因分析",
hide: true,
dataIndex: "analysis",
formType: "editor"
formType: "textarea"
},
{
title: "影响域分析",

View File

@@ -130,7 +130,7 @@ const columnsOptions = reactive([
{
title: "原因分析",
dataIndex: "analysis",
formType: "editor"
formType: "textarea"
},
{
title: "影响域分析",

View File

@@ -330,7 +330,7 @@ const crudColumns = ref([
hide: true,
align: "center",
dataIndex: "analysis",
formType: "editor"
formType: "textarea"
},
{
title: "影响域分析",

View File

@@ -168,7 +168,7 @@ const crudColumns = ref([
align: "center",
dataIndex: "ref",
search: true,
commonRules: [{ required: true, message: "用户标识或编号必填" }],
commonRules: [{ required: true, message: "用户标识必填" }],
validateTrigger: "blur",
help: "客户使用的标识"
},

View File

@@ -52,7 +52,7 @@ const headerData: ComputedRef<IPageHeaderProps> = computed(() => {
name: loadingData.value.name as string
}
})
// 切换is_main
// 在表格切换is_main属性
const beforeSwitchChange = (record: any) => {
return async function (newVal: boolean) {
await FragApi.update(record.id, {

View File

@@ -123,6 +123,7 @@ import wtdGenerateApi from "@/api/generate/wtdGenerate"
import { Message } from "@arco-design/web-vue"
import Progress from "./cpns/progress.vue"
import hoosk from "@/views/testmanage/projmanage/hooks.js"
import { validateBlank } from "@/utils/extensions/arcoValidator"
const router = useRouter()
// 定义预览组件的Ref
const previewRef = ref()
@@ -500,7 +501,10 @@ const crudColumns = ref([
sortable: { sortDirections: ["ascend"] },
dataIndex: "ident",
search: true,
commonRules: [{ required: true, message: "标识是必填" }],
commonRules: [
{ required: true, message: "标识是必填" },
{ validator: validateBlank, message: "标识格式不正确" }
],
validateTrigger: "blur"
},
{
@@ -536,7 +540,7 @@ const crudColumns = ref([
{
validator: (value, validationCallbackFunction) => {
let beginTime = crudRef.value.getFormData().beginTime
value < beginTime ? validationCallbackFunction("开始时间必须小于结束时间") : null
value < beginTime ? validationCallbackFunction("开始时间必须小于等于结束时间") : null
}
}
]