diff --git a/src/components/file/list.vue b/src/components/file/list.vue
index 8236ba5..adeb3f6 100644
--- a/src/components/file/list.vue
+++ b/src/components/file/list.vue
@@ -499,4 +499,4 @@ function rotateRight() {
color: #fff;
}
}
-
\ No newline at end of file
+
diff --git a/src/components/file/upload.vue b/src/components/file/upload.vue
index dd8609b..59e65b0 100644
--- a/src/components/file/upload.vue
+++ b/src/components/file/upload.vue
@@ -70,7 +70,7 @@ watch(
watch(files, () => {
emit("update:files", files.value);
-});
+},{immediate:true});
function beforeUpload(file) {
// 文件大小限制 1024 * 1024 * 100 (100MB)
diff --git a/src/views/mobileSupervise/Inspection.vue b/src/views/mobileSupervise/Inspection.vue
index eb48f1d..658e541 100644
--- a/src/views/mobileSupervise/Inspection.vue
+++ b/src/views/mobileSupervise/Inspection.vue
@@ -1124,7 +1124,7 @@
@@ -1135,9 +1135,14 @@
+
未下发
@@ -1240,6 +1245,11 @@
width="140"
show-overflow-tooltip
/>
+
+
督察状态: {{ props.row.supStatus }}
督察方式: {{ props.row.supType }}
督察情况: {{props.row.supDesc}}
+ 录入人:{{props.row.createName}}
附件:
@@ -1652,6 +1668,7 @@
+
下发
diff --git a/src/views/mobileSupervise/TaskProblem.vue b/src/views/mobileSupervise/TaskProblem.vue
index 5487b4f..ab09cdc 100644
--- a/src/views/mobileSupervise/TaskProblem.vue
+++ b/src/views/mobileSupervise/TaskProblem.vue
@@ -69,8 +69,9 @@
-
-
+
+
+
{{ getDictLable(dict.taskType, row.taskType) }}
@@ -83,6 +84,7 @@
-
+
未分发
已分发
@@ -111,13 +114,7 @@
@click="showDeatil(row)"
>问题详情
-
- {{row.problemState == '1'?'删除':'恢复'}}
-
+
-
+
+ {{row.problemState == '1'?'删除':'恢复'}}
+
@@ -425,7 +428,7 @@
+ v-model:files="upFormData.files">
@@ -519,7 +522,7 @@
inputPeopleFun();
const handleUpData = async()=>{
upLoading.value=true
- console.log('upFormData',upFormData.value)
+
const res = await upTaskProblem(upFormData.value)
upShow.value=false;
getList()
@@ -533,6 +536,7 @@
upFormData.value={
}
}
+
//下发问题
const handleSubmitTask =async ()=>{
await formRefs.value.validate();
@@ -599,7 +603,7 @@
upFormData.value=await getTaskProblem(row.id)
upFormData.value.files = JSON.parse(upFormData.value.files )
if(upFormData.value.peoples ){
- console.log('peoples',upFormData.value.peoples)
+
let lists = JSON.parse(upFormData.value.peoples );
upFormData.value.peoples=lists;
upFormData.value.peopleIds = lists.map((s)=>{
@@ -626,6 +630,12 @@
},{deep:true,immediate:true})
+
+ watch(()=>upFormData.value.files,(val)=>{
+ console.log('val',val)
+ upFormData.value.files = val;
+ },{immediate:true,deep:true})
+