Browse Source

fit:督察任务(日常督察-附件)

main
pengwei 7 months ago
parent
commit
3352ec1e07
  1. 14
      src/views/mobileSupervise/Inspection.vue

14
src/views/mobileSupervise/Inspection.vue

@ -588,6 +588,13 @@
/> />
</div> </div>
</el-form-item> </el-form-item>
<div class="flex v-center" style="height:30px;margin-bottom: 10px">
<h5>任务附件</h5>
</div>
<file-upload
style="width: 100%"
:uploadDrag="true"
v-model:files="form.fileList"></file-upload>
</div> </div>
</el-form> </el-form>
</el-scrollbar> </el-scrollbar>
@ -877,6 +884,10 @@
<div v-html="activeRow.taskContentHtml"></div> <div v-html="activeRow.taskContentHtml"></div>
</div> </div>
</el-form-item> </el-form-item>
<div class="flex v-center" style="height:30px;margin-bottom: 10px">
<h5>任务附件</h5>
</div>
<file-list v-model:files="activeRow.files" :removeEnable="false" />
</div> </div>
</el-form> </el-form>
</el-scrollbar> </el-scrollbar>
@ -1729,6 +1740,9 @@ async function handleShowDetail(row) {
try { try {
const res = await getTaskManagementDetail(row.id); const res = await getTaskManagementDetail(row.id);
activeRow.value = res; activeRow.value = res;
if(res.files){
activeRow.value.files = JSON.parse(res.files)
}
if (res.samplingTarget == '自定义人员') { if (res.samplingTarget == '自定义人员') {
samplingQuery.value.ids = res.samplingIds; samplingQuery.value.ids = res.samplingIds;
getSamplingList() getSamplingList()

Loading…
Cancel
Save