linwe
2023-12-22 183ac5df096af7b1e8c8bac898dd50d7fba12786
src/views/work/process/maintenanceFundApply/handle.vue
@@ -12,10 +12,12 @@
      <el-card shadow="hover">
        <div slot="header">
          <span>审批信息</span>
        </div>
        <avue-form :option="option" :value="form"></avue-form>
        <avue-form :option="option" v-model="form"></avue-form>
        <!-- <el-form-item label="申请人">
          <el-input :disabled="true" v-model="form.flow.assigneeName" />
        </el-form-item>
@@ -101,7 +103,6 @@
          startTime: '',
          endTime: '',
          reason: '',
          comment: '',
        },
        option: {
          height: "auto",
@@ -297,27 +298,27 @@
                trigger: "blur",
              }, ],
            },
            // {
            //   label: '施工方案附件',
            //   prop: 'constructionSchemeUrls',
            //   type: 'upload',
            //   span: 24,
            //   hide: true,
            //   labelWidth: 140,
            //   multiple: true,
            //   // showFileList: true,
            //   propsHttp: {
            //     res: 'data',
            //     name: "originalName",
            //     url: "link"
            //   },
            //   action: '/api/blade-resource/oss/endpoint/put-file-attach',
            //   rules: [{
            //     required: true,
            //     message: "请上传施工方案",
            //     trigger: "blur",
            //   }, ],
            // }
            {
              label: '施工方案附件',
              prop: 'constructionSchemeUrls',
              type: 'upload',
              span: 24,
              hide: true,
              labelWidth: 140,
              multiple: true,
              // showFileList: true,
              propsHttp: {
                res: 'data',
                name: "originalName",
                url: "link"
              },
              action: '/api/blade-resource/oss/endpoint/put-file-attach',
              rules: [{
                required: true,
                message: "请上传施工方案",
                trigger: "blur",
              }, ],
            }
          ],
        }
      }
@@ -354,7 +355,6 @@
        })
      },
      handleAgree() {
        this.form.comment = '同意'
        if (!this.form.comment) {
          this.$message.warning('请先填写批复意见');
          return;
@@ -379,7 +379,6 @@
        })
      },
      handleDisagree() {
        this.form.comment = '不同意'
        if (!this.form.comment) {
          this.$message.warning('请先填写批复意见');
          return;