修改禅道bug

This commit is contained in:
zyx.net
2022-08-05 14:22:45 +08:00
parent 981ab74e67
commit b32b2782ce
2 changed files with 8 additions and 4 deletions
@@ -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'),