gaoluyang
2025-02-15 b1187d1141a17fea3a7c184db73f232ca9877a85
src/components/Table/lims-table.vue
@@ -68,17 +68,19 @@
                <template v-for="(o, key) in item.operation">
                  <el-button
                      v-if="o.type!='upload'"
                      size="mini"
                      v-show="o.showHide ? o.showHide(scope.row) : true"
                      :disabled="o.disabled ? o.disabled(scope.row) : false"
                      :icon="o.icon | iconFn(scope.row)"
                      :plain="o.plain" :size="o.size"
                      :style="{ 'color': o.color }"
                      :icon="o.icon | iconFn(scope.row, o)"
                      :plain="o.plain"
                      :style="{ 'color': o.name === '删除' ? '#f56c6c' : o.color }"
                      :type="o.type | typeFn(scope.row)"
                      @click="o.clickFun(scope.row)">
                    {{ o.name }}
                  </el-button>
                  <el-upload
                    action="#"
                    size="mini"
                    :on-change="(file, fileList)=>o.clickFun(scope.row,file, fileList)"
                    :multiple="o.multiple?o.multiple:false"
                    :limit="o.limit?o.limit:1"