BUG 30868
This commit is contained in:
@@ -49,7 +49,7 @@ export default {
|
||||
permissions: Function
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
...mapState(['user', 'sys']),
|
||||
rules() {
|
||||
return {
|
||||
labelName: [{required: true, message: "请输入标签"}],
|
||||
@@ -57,7 +57,12 @@ export default {
|
||||
},
|
||||
dialogTitle() {
|
||||
return `${this.form.id ? "编辑" : "添加"}标签`
|
||||
}
|
||||
},
|
||||
colConfigs: v => [{type: "selection"},
|
||||
{label: "标签信息", prop: "labelName"},
|
||||
{label: "创建时间", prop: "createTime", align: '120px'},
|
||||
{label: "创建人", prop: "createUserName", align: 'center', openType: v.sys.info?.edition == "saas" ? "userName" : null},
|
||||
{slot: "options"}]
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -66,13 +71,6 @@ export default {
|
||||
tableData: [],
|
||||
search: {name: "", ids: ""},
|
||||
form: {},
|
||||
colConfigs: [
|
||||
{type: "selection"},
|
||||
{label: "标签信息", prop: "labelName"},
|
||||
{label: "创建时间", prop: "createTime", align: '120px'},
|
||||
{label: "创建人", prop: "createUserName", align: 'center'},
|
||||
{slot: "options"}
|
||||
]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user