guoshilong
2022-10-10 966e200b314f77601cd50d341c2b73e06a879007
事件管理派单添加图片视频上传
1 files modified
19 ■■■■■ changed files
src/views/eventgm/repairsOrder.vue 19 ●●●●● patch | view | raw | blame | history
src/views/eventgm/repairsOrder.vue
@@ -49,6 +49,22 @@
            span: 12
          },
          {
            label: '图片视频上传',
            prop: 'picUrls',
            type: 'upload',
            span: 24,
            fileType:'img',
            listType: 'picture-card',
            limit:5,
            hide:true,
            props:"value",
            propsHttp: {
              url:'link',
              res: 'data'
            },
            action: '/api/blade-resource/oss/endpoint/put-file-attach'
          },
          {
            label: "内容",
            prop: "remark",
            type: "textarea",
@@ -70,6 +86,9 @@
    },
    // 表单提交
    submit(row, done) {
      if (!row.picUrls){
        row.picUrls = null
      }
      disposalAccept(row).then(() => {
        this.$emit("refreshOnLoad")
        this.visible = false