flx:修复盾构机时间问题

This commit is contained in:
Rain_ 2025-06-10 11:12:35 +08:00
parent a5ffc31612
commit 9e7172e852
2 changed files with 5 additions and 2 deletions

View File

@ -56,7 +56,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="进洞时间">
<el-date-picker v-model="formData.installationTime" type="date" placeholder="选择日期"> </el-date-picker>
<el-date-picker value-format="yyyy-MM-dd HH:mm:ss" v-model="formData.installationTime" type="datetime" placeholder="选择日期"> </el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">

View File

@ -634,7 +634,10 @@ export default {
submitDealForm() {
this.$refs["dealForm"].validate((valid) => {
if (valid) {
let params = Object.assign({}, this.dealForm);
let params = Object.assign({}, {
...this.dealForm,
projectSn: this.$store.state.projectSn,
});
if(this.dealForm.fileList.length > 0) {
params.imageUrl = this.dealForm.fileList[0].name;
}