修改禅道bug
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
<a-form-model-item class="itemModel" prop="templateName">
|
<a-form-model-item class="itemModel" prop="templateName">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline.templateName"
|
v-model.trim="formInline.templateName"
|
||||||
:placeholder="$t('PleaseEnter')+$t('templateName')"/>
|
:placeholder="$t('PleaseEnter')+$t('templateName')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
<a-input class="box-input add-input"
|
<a-input class="box-input add-input"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline.description"
|
v-model.trim="formInline.description"
|
||||||
:placeholder="$t('PleaseEnter')+$t('contentDescription')"/>
|
:placeholder="$t('PleaseEnter')+$t('contentDescription')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -44,7 +44,10 @@
|
|||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
<span slot="projectName" slot-scope="text,record" :title="text">
|
<span slot="projectName" slot-scope="text,record" :title="text">
|
||||||
{{ text && text.length > 100 ? text.slice(0, 99) + '...' : text }}
|
{{ text && text.length > 60 ? text.slice(0, 59) + '...' : text }}
|
||||||
|
</span>
|
||||||
|
<span slot="templateName" slot-scope="text,record" :title="text">
|
||||||
|
{{ text && text.length > 25 ? text.slice(0, 21) + '...' : text }}
|
||||||
</span>
|
</span>
|
||||||
<span slot="operation" slot-scope="text,record">
|
<span slot="operation" slot-scope="text,record">
|
||||||
<a class="text-operation" v-has="'report:exportTemplate:edit'" @click="edit(record)">{{$t('edit')}}</a>
|
<a class="text-operation" v-has="'report:exportTemplate:edit'" @click="edit(record)">{{$t('edit')}}</a>
|
||||||
@@ -146,7 +149,8 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('templateName'),
|
title: this.$t('templateName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'templateName'
|
dataIndex: 'templateName',
|
||||||
|
scopedSlots: { customRender: 'templateName' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('contentDescription'),
|
title: this.$t('contentDescription'),
|
||||||
|
|||||||
Reference in New Issue
Block a user