Browse Source

no message

linwenxin 2 months ago
parent
commit
1853ca5943
1 changed files with 18 additions and 3 deletions
  1. 18 3
      src/views/workOrder/qualityFeedback/index.vue

+ 18 - 3
src/views/workOrder/qualityFeedback/index.vue

@@ -775,7 +775,12 @@ export default {
           },
           render: (h, { props, onInput }) => {
             return (
-              <ImageUpload fileList={this.formData.neijitiaoma} limit={1} isEdit={![2, 3].includes(this.formType)} />
+              <ImageUpload
+                fileType={['image']}
+                fileList={this.formData.neijitiaoma}
+                limit={1}
+                isEdit={![2, 3].includes(this.formType)}
+              />
             )
           }
         },
@@ -789,7 +794,12 @@ export default {
           },
           render: (h, { props, onInput }) => {
             return (
-              <ImageUpload fileList={this.formData.waijitiaoma} limit={1} isEdit={![2, 3].includes(this.formType)} />
+              <ImageUpload
+                fileType={['image']}
+                fileList={this.formData.waijitiaoma}
+                limit={1}
+                isEdit={![2, 3].includes(this.formType)}
+              />
             )
           }
         },
@@ -804,7 +814,12 @@ export default {
           render: (h, { props, onInput }) => {
             return (
               <div>
-                <ImageUpload fileList={this.formData.qita} limit={3} isEdit={![2, 3].includes(this.formType)} />
+                <ImageUpload
+                  fileType={['image']}
+                  fileList={this.formData.qita}
+                  limit={3}
+                  isEdit={![2, 3].includes(this.formType)}
+                />
                 <div style="color:orange">可上传最多3个图片</div>
               </div>
             )