wente
2023-11-20 3fc834794153689d33d13605b01f9bf776fae53e
项目表
3个文件已修改
13 ■■■■■ 已修改文件
web/packages/components/zt-uploader/src/zt-uploader.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/src/components/config-uploader/src/config-uploader.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/src/views/modules/project/Environ-AddOrUpdate.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/packages/components/zt-uploader/src/zt-uploader.vue
@@ -71,7 +71,6 @@
          :limit="limit"
          :list-type="drag ? 'picture' : 'picture-card'"
          :multiple="multiple"
          :name="name"
          :on-change="handleChange"
          :on-error="handleUploadError"
          :on-exceed="handleExceed"
web/src/components/config-uploader/src/config-uploader.vue
@@ -2,7 +2,7 @@
  <el-collapse class="config-uploader" v-model="activeNames" v-if="oss">
    <el-collapse-item name="1" v-for="group in (oss.groups || [])" :key="group.busiFieldGroup">
      <template slot="title">
        <el-tag>{{group.busiFieldGroup}}</el-tag>
        <el-tag v-if="!image">{{group.busiFieldGroup}}</el-tag>
      </template>
     <!-- <zt-form-item :label="field.busiFieldName" :prop="field.busiField" v-for="field in group.fields"
                    :key="field.busiField" :rules="field.isRequired ? 'required':''" style="width: 100%;">
@@ -17,7 +17,7 @@
        </el-table-column>
        <el-table-column align="left">
          <template slot-scope="scope">
            <zt-uploader v-model="dataForm[scope.row.busiField]" multiple :limit="scope.row.fileLimit" :file-type="scope.row.fileType"
            <zt-uploader :image="image" v-model="dataForm[scope.row.busiField]" multiple :limit="scope.row.fileLimit" :file-type="scope.row.fileType"
                         :accept="scope.row.accept" :file-size="scope.row.fileSize" @input="change(scope.row.busiField)"/>
          </template>
        </el-table-column>
@@ -33,6 +33,7 @@
    props: {
      value: Object,
      dataForm: Object,
      image:false,
      busiType: String // 业务类型
    },
    data() {
web/src/views/modules/project/Environ-AddOrUpdate.vue
@@ -102,9 +102,9 @@
              动态测试环境图
            </div>
            <div style="width: calc(100% - 120px);">
              <div style="height:150px" class="el-wt-border-left">
              <div :style="'height:'+ (151+image.height)+'px'"   class="el-wt-border-left">
                <span>{{dataForm.environ.testEnvirontDiagram}}</span>
                <config-uploader image busi-type="test_environt_diagram" model-name="dataForm" :dataForm="dataForm"
                <config-uploader busi-type="test_environt_diagram" model-name="dataForm" :dataForm="dataForm"
                                 v-model="dataForm.files"/>
              </div>
            </div>
@@ -202,6 +202,9 @@
  export default {
    data() {
      return {
        image: {
          height:1,
        },
        dataForm: {
          id: '',
          environ:{