标签内容修改
This commit is contained in:
@@ -54,15 +54,16 @@
|
|||||||
<a-table bordered :data-source="tableData" :columns="columns" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" class="tag-con-table">
|
<a-table bordered :data-source="tableData" :columns="columns" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" class="tag-con-table">
|
||||||
|
|
||||||
<template slot="action" slot-scope="text, record">
|
<template slot="action" slot-scope="text, record">
|
||||||
<a-popover placement="right" v-model="typeVisible[record.id]" trigger="click">
|
<a class="action-dict" href="javascript:;" @click="handleDicPop(record)">字典配置</a>
|
||||||
<template slot="content" class="type-popover-content">
|
<!-- <a-popover placement="right" v-model="typeVisible[record.id]" trigger="click">-->
|
||||||
<div class="type-popover">
|
<!-- <template slot="content" class="type-popover-content">-->
|
||||||
<p class="type type-input" @click="handleDicPop(record,'list')">下拉选择</p>
|
<!-- <div class="type-popover">-->
|
||||||
<p class="type type-select" @click="handleDicPop(record,'tree')">树状结构</p>
|
<!-- <p class="type type-input" @click="handleDicPop(record,'list')">下拉选择</p>-->
|
||||||
</div>
|
<!-- <p class="type type-select" @click="handleDicPop(record,'tree')">树状结构</p>-->
|
||||||
</template>
|
<!-- </div>-->
|
||||||
<a class="action-dict" href="javascript:;">字典配置</a>
|
<!-- </template>-->
|
||||||
</a-popover>
|
<!-- <a class="action-dict" href="javascript:;">字典配置</a>-->
|
||||||
|
<!-- </a-popover>-->
|
||||||
<a class="action-edit" href="javascript:;" @click="actionEdit(record)">编辑</a>
|
<a class="action-edit" href="javascript:;" @click="actionEdit(record)">编辑</a>
|
||||||
<a-popconfirm
|
<a-popconfirm
|
||||||
v-if="tableData.length"
|
v-if="tableData.length"
|
||||||
@@ -295,15 +296,13 @@
|
|||||||
this.contentVisible=true
|
this.contentVisible=true
|
||||||
},
|
},
|
||||||
//字典配置
|
//字典配置
|
||||||
handleDicPop(record,val){
|
handleDicPop(record){
|
||||||
this.record=record
|
this.record=record
|
||||||
this.dictVal=val
|
if(record.attributeType=='1'){
|
||||||
if(val=='list'){
|
|
||||||
this.typeVisible[record.id]=false
|
this.typeVisible[record.id]=false
|
||||||
this.dicVisible=true
|
this.dicVisible=true
|
||||||
|
|
||||||
|
}else{
|
||||||
}else if(val == 'tree'){
|
|
||||||
this.typeVisible[record.id]=false
|
this.typeVisible[record.id]=false
|
||||||
this.dicVisible=true
|
this.dicVisible=true
|
||||||
|
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
title: '英文名称',
|
title: '英文名称',
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
dataIndex: 'dbFieldName',
|
dataIndex: 'dbFieldEnName',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '属性类型',
|
title: '属性类型',
|
||||||
|
|||||||
Reference in New Issue
Block a user