修改禅道bug
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<a-form-model-item class="itemModel" prop="templateName">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model="formInline.templateName"
|
||||
v-model.trim="formInline.templateName"
|
||||
:placeholder="$t('PleaseEnter')+$t('templateName')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -57,7 +57,7 @@
|
||||
<a-input class="box-input add-input"
|
||||
type="textarea"
|
||||
:disabled="disabled"
|
||||
v-model="formInline.description"
|
||||
v-model.trim="formInline.description"
|
||||
:placeholder="$t('PleaseEnter')+$t('contentDescription')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
|
||||
@@ -44,7 +44,10 @@
|
||||
:columns="columns"
|
||||
>
|
||||
<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 slot="operation" slot-scope="text,record">
|
||||
<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'),
|
||||
align: 'center',
|
||||
dataIndex: 'templateName'
|
||||
dataIndex: 'templateName',
|
||||
scopedSlots: { customRender: 'templateName' }
|
||||
},
|
||||
{
|
||||
title: this.$t('contentDescription'),
|
||||
|
||||
Reference in New Issue
Block a user