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