fix: BUG修改

This commit is contained in:
kun 2023-08-08 19:17:53 +08:00
parent f37a62f26c
commit 26b39d8619
6 changed files with 7 additions and 7 deletions

View File

@ -159,7 +159,7 @@ const formSmallConfig = {
rules: {
name: [
{ required: true, message: "请输入", trigger: "blur" },
{ max: 50, message: "长度不能大于50位数" }
{ max: 200, message: "长度不能大于50位数" }
]
}
};

View File

@ -259,7 +259,6 @@
<el-input
v-if="dangerForm.questionType"
v-model="dangerForm.questionDesc"
:disabled="dangerForm.questionType == 1"
type="textarea"
:rows="2"
placeholder="请输入"
@ -808,7 +807,7 @@ const allSubmit = async () => {
return;
}
recordData.value.map(item => {
item.image = item.image && item.length > 0 ? JSON.stringify(item.image) : null;
item.image = item.image && item.image.length > 0 ? JSON.stringify(item.image) : null;
});
let requestData = {
...basicData.value,

View File

@ -491,6 +491,7 @@ onMounted(() => {});
width: 95px;
height: 53px;
margin-right: 15px;
margin-bottom: 5px;
}
}
.face-img {

View File

@ -138,7 +138,7 @@ const formSmallConfig = {
rules: {
name: [
{ required: true, message: "请输入", trigger: "blur" },
{ max: 50, message: "长度不能大于50位数" }
{ max: 200, message: "长度不能大于50位数" }
]
}
};

View File

@ -260,7 +260,6 @@
<el-input
v-if="dangerForm.questionType"
v-model="dangerForm.questionDesc"
:disabled="dangerForm.questionType == 1"
type="textarea"
:rows="2"
placeholder="请输入"
@ -790,7 +789,7 @@ const allSubmit = async () => {
return;
}
recordData.value.map(item => {
item.image = item.image && item.length > 0 ? JSON.stringify(item.image) : null;
item.image = item.image && item.image.length > 0 ? JSON.stringify(item.image) : null;
});
let requestData = {
...basicData.value,

View File

@ -34,7 +34,7 @@
</el-col>
<el-col :span="8">
<span class="row-span" v-if="basicData?.engineeringName">工程名称{{ basicData?.engineeringName }}</span>
<span class="row-span" v-if="basicData?.projectName">项目名称{{ basicData?.projectName }}</span>
<span class="row-span" v-else-if="basicData?.projectName">项目名称{{ basicData?.projectName }}</span>
</el-col>
<el-col :span="8">
<span class="row-span">检查人员{{ basicData?.inspectUserName }}</span></el-col
@ -499,6 +499,7 @@ onMounted(() => {});
width: 95px;
height: 53px;
margin-right: 15px;
margin-bottom: 5px;
}
}
.face-img {