[update] 样式
This commit is contained in:
@@ -122,10 +122,6 @@ export default {
|
|||||||
this.visible = true
|
this.visible = true
|
||||||
this.title = '新增'
|
this.title = '新增'
|
||||||
this.formInline = {}
|
this.formInline = {}
|
||||||
this.formInline.state = '1'
|
|
||||||
// this.$nextTick(() => {
|
|
||||||
// this.$refs['ruleForm'].resetFields();
|
|
||||||
// })
|
|
||||||
},
|
},
|
||||||
editModel(value) {
|
editModel(value) {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
|
|||||||
@@ -59,6 +59,9 @@
|
|||||||
<span slot="projectName" slot-scope="text,record">
|
<span slot="projectName" slot-scope="text,record">
|
||||||
<a @click="entryNameClick(record)">{{text}}</a>
|
<a @click="entryNameClick(record)">{{text}}</a>
|
||||||
</span>
|
</span>
|
||||||
|
<span slot="titleName" slot-scope="text,record" :title="text">
|
||||||
|
{{ text && text.length > 100 ? text.slice(0, 99) + '...' : text }}
|
||||||
|
</span>
|
||||||
<span slot="operation" slot-scope="text,record">
|
<span slot="operation" slot-scope="text,record">
|
||||||
<a class="text-operation" v-has="'params:template:edit'" @click="edit(record)">{{$t('edit')}}</a>
|
<a class="text-operation" v-has="'params:template:edit'" @click="edit(record)">{{$t('edit')}}</a>
|
||||||
<a class="text-operation" v-has="'params:template:delete'" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
|
<a class="text-operation" v-has="'params:template:delete'" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
|
||||||
@@ -160,7 +163,8 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('contentDescription'),
|
title: this.$t('contentDescription'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'description'
|
dataIndex: 'description',
|
||||||
|
scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('createTime'),
|
title: this.$t('createTime'),
|
||||||
|
|||||||
Reference in New Issue
Block a user