flx:取消禁用

This commit is contained in:
Rain_ 2025-08-14 18:59:46 +08:00
parent c99d550644
commit 18f138e742

View File

@ -70,7 +70,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <el-input
:disabled="!enableProject"
v-model="scope.row.displayFieldName" v-model="scope.row.displayFieldName"
placeholder="请输入" placeholder="请输入"
></el-input> ></el-input>
@ -79,7 +79,7 @@
<el-table-column prop="defaultDataType" align="center" label="默认数据"> <el-table-column prop="defaultDataType" align="center" label="默认数据">
<template slot-scope="scope"> <template slot-scope="scope">
<el-select <el-select
:disabled="!enableProject"
v-model="scope.row.defaultDataType" v-model="scope.row.defaultDataType"
placeholder="请选择" placeholder="请选择"
> >
@ -95,7 +95,7 @@
<el-table-column prop="isRequired" align="center" label="是否必填"> <el-table-column prop="isRequired" align="center" label="是否必填">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch <el-switch
:disabled="!enableProject"
v-model="scope.row.isRequired" v-model="scope.row.isRequired"
></el-switch> ></el-switch>
</template> </template>
@ -103,7 +103,7 @@
<el-table-column prop="isEnabled" align="center" label="是否启用"> <el-table-column prop="isEnabled" align="center" label="是否启用">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch <el-switch
:disabled="!enableProject"
v-model="scope.row.isEnabled" v-model="scope.row.isEnabled"
></el-switch> ></el-switch>
</template> </template>
@ -111,7 +111,7 @@
<el-table-column prop="isPinned" align="center" label="是否固定到列表"> <el-table-column prop="isPinned" align="center" label="是否固定到列表">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch <el-switch
:disabled="!enableProject"
v-model="scope.row.isPinned" v-model="scope.row.isPinned"
></el-switch> ></el-switch>
</template> </template>