From f5d5f8703970503a23e4d33bb2b02893322ef256 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期三, 28 十二月 2022 17:44:44 +0800 Subject: [PATCH] 报案人员页面修改 --- src/views/cause/Entry.vue | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/cause/Entry.vue b/src/views/cause/Entry.vue index 32074a5..c4d8e84 100644 --- a/src/views/cause/Entry.vue +++ b/src/views/cause/Entry.vue @@ -222,7 +222,7 @@ <el-button type="primary" @click="addVisibelReport">娣诲姞</el-button> </el-form-item> <el-form-item> - <el-upload name="multipartFile" class="upload-demo" action="/api/cause/reporterUpload" + <el-upload name="multipartFile" class="upload-demo" action="/api/report/reporterUpload" :show-file-list="false" :data="{ causeId: this.reportCauseId }" :before-upload="beforeAvatarUpload" :on-success="reporterRespond" :limit="1"> <el-button type="primary">瀵煎叆</el-button> @@ -266,9 +266,9 @@ }}</span> </template> </el-table-column> - <el-table-column width="200" prop="ctime" label="鎶ユ鏃堕棿"> + <el-table-column width="200" prop="reportTime" label="鎶ユ鏃堕棿"> <template slot-scope="scope"> - <span>{{ scope.row.ctime === null ? "2022-07-12 10:32:56" : scope.row.ctime }}</span> + <span>{{ scope.row.reportTime === null ? "2022-07-12 10:32:56" : scope.row.reportTime }}</span> </template> </el-table-column> <el-table-column label="鎿嶄綔"> @@ -393,13 +393,13 @@ </el-form-item> </el-col> - <el-col :span="12"> + <!-- <el-col :span="12"> <el-form-item prop="reportTime" label="鎶ユ鏃堕棿"> <el-date-picker v-model="updateReportForm.reportTime" type="datetime" placeholder="閫夋嫨鏃ユ湡鏃堕棿" clearable :style="{ width: '100%' }" value-format="yyyy-MM-dd HH:mm:ss"> </el-date-picker> </el-form-item> - </el-col> + </el-col> --> <el-col :span="12"> <el-form-item label="琚獥鏃堕棿" prop="cheatTime"> <el-date-picker v-model="updateReportForm.cheatTime" type="datetime" placeholder="閫夋嫨鏃ユ湡鏃堕棿" clearable @@ -1230,7 +1230,7 @@ this.updateReportPrams.groupId = this.updateReportForm.groupId this.updateReportPrams.id = this.updateReportForm.id this.updateReportPrams.reportMaterials = this.updateReportPrams.fileList.map(i => i.data).join(',') - debugger + this.updateReportPrams.pic=this.updateReportForm.pic let form = null; form = this.updateReportPrams; @@ -1249,7 +1249,6 @@ //缂栬緫妗堜欢浜哄憳 updataReport(val) { - debugger this.updateReportVisible = true; this.updateReportForm = Object.assign({}, val); this.causeId = val.causeId; -- Gitblit v1.8.0