gaoshp
2024-10-07 2d52dbdccc766ad853f11ba65118ce8c9917eff3
src/views/console/workstation/CollDialog.vue
@@ -17,12 +17,12 @@
                    <span>{{ scope.column.label }}</span>
                </template>
                <template #default="scope">
                    <el-select v-model="scope.row[item.prop]" placeholder="Select" size="small"
                    <el-select v-model="scope.row[item.prop]" placeholder="" size="small"
                        v-if="scope.row.status && item.type === 'option'">
                        <el-option v-for="item in item.options" :key="item" :label="item" :value="item" />
                    </el-select>
                    <el-switch size="small" v-model="scope.row[item.prop]"
                        v-else-if="scope.row.status && item.type === 'boolean'" />
                    <el-switch :disabled="!scope.row.status" size="small" v-model="scope.row[item.prop]"
                        v-else-if="item.type === 'boolean'" />
                    <el-input size="small" v-model="scope.row[item.prop]" placeholder=""
                        v-else-if="scope.row.status"></el-input>
                    <span v-else>{{ scope.row[item.prop] }}</span>