fix bug
This commit is contained in:
@@ -146,9 +146,11 @@
|
||||
<el-table-column label="序号" type="index" width="90" align="center" />
|
||||
<el-table-column label="信用等级" prop="creditLevel" width="120" align="center" />
|
||||
<el-table-column label="标准说明" prop="standardDescription" min-width="320" />
|
||||
<el-table-column v-if="!readonly" label="操作" width="160" align="center">
|
||||
<el-table-column label="操作" width="160" align="center">
|
||||
<template #default="{ row, $index }">
|
||||
<el-link type="primary" @click="openStandard(row, $index)">编辑</el-link>
|
||||
<el-link type="primary" @click="openStandard(row, $index)">
|
||||
{{ readonly ? '查看' : '编辑' }}
|
||||
</el-link>
|
||||
<el-link type="danger" v-if="!readonly" @click="removeStandard($index)"
|
||||
>删除</el-link
|
||||
>
|
||||
@@ -450,7 +452,7 @@
|
||||
</el-form>
|
||||
</section-card>
|
||||
<template #footer>
|
||||
<el-button @click="standardBox = false">取消</el-button>
|
||||
<el-button @click="standardBox = false">{{ readonly ? '关闭' : '取消' }}</el-button>
|
||||
<el-button type="primary" v-if="!readonly" @click="saveStandard">保存</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
|
||||
Reference in New Issue
Block a user