|
@@ -62,8 +62,8 @@
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
|
- <a-divider type="vertical"/>
|
|
|
- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
+ <a-divider type="vertical" v-if='show'/>
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)" v-if='show'>
|
|
|
<a>删除</a>
|
|
|
</a-popconfirm>
|
|
|
</span>
|
|
@@ -115,6 +115,7 @@
|
|
|
},
|
|
|
title: "操作",
|
|
|
visible: false,
|
|
|
+ show:false,
|
|
|
screenWidth: 800,
|
|
|
model: {},
|
|
|
dictId: "",
|
|
@@ -152,6 +153,11 @@
|
|
|
if (record.id) {
|
|
|
this.dictId = record.id;
|
|
|
}
|
|
|
+ if(record.dictName=='印章类别'){
|
|
|
+ this.show = false
|
|
|
+ }else{
|
|
|
+ this.show = true
|
|
|
+ }
|
|
|
this.queryParam = {}
|
|
|
this.form.resetFields();
|
|
|
this.model = Object.assign({}, record);
|