Browse Source

附件名称

ZaiZai 1 year ago
parent
commit
8ca12630d8
2 changed files with 3 additions and 8 deletions
  1. 1 1
      public/version.json
  2. 2 7
      src/views/tasks/components/hc-data/start-work-form.vue

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240703181707"
+  "value": "20240704102520"
 }

+ 2 - 7
src/views/tasks/components/hc-data/start-work-form.vue

@@ -46,13 +46,8 @@
                         v-model="baseForm.fileList"
                         is-del
                         is-res
-                        :disabled="!isEdits || taskInfo.status !== 2"
-                        :options="{
-                            type: 'list',
-                            props: uploadFormProps,
-                            isArr: true,
-                            num: 0,
-                        }"
+                        :disabled="!isEdits || taskInfo.status === 2"
+                        :options="{ type: 'list', props: uploadFormProps, isArr: true, num: 0 }"
                         :upload="{ options: { multiple: false } }"
                         @success="uploadFileSuccess"
                         @del="attachmentUploadDel"