修改bug

This commit is contained in:
zyx.net
2022-08-15 17:14:22 +08:00
parent e5cf0dd81e
commit fabc0f9914
2 changed files with 7 additions and 6 deletions
@@ -43,8 +43,8 @@
:columns="columns" :columns="columns"
> >
<span slot="projectName" slot-scope="text,record" :title="text"> <span slot="projectName" slot-scope="text,record" :title="text">
<a @click="entryNameClick(record)"> <a >
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }} {{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }}
</a> </a>
</span> </span>
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
@@ -113,8 +113,9 @@
{ {
title: this.$t('entryName'), title: this.$t('entryName'),
align: 'center', align: 'center',
width: '10%', width: '13%',
dataIndex: 'projectName' dataIndex: 'projectName',
scopedSlots: { customRender: 'projectName' }
}, },
{ {
title: this.$t('ListTitle'), title: this.$t('ListTitle'),
@@ -5,13 +5,13 @@
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="6" :sm="10"> <a-col :md="6" :sm="10">
<a-form-item :label="$t('Collectlist')"> <a-form-item :label="$t('Collectlist')">
<a-select v-model="queryParam.ctype" @change="getonChange" :getPopupContainer="triggerNode => triggerNode.parentNode"> <a-select v-model="queryParam.ctype" @change="getonChange" :getPopupContainer="triggerNode => triggerNode.parentNode" :popper-append-to-body="false">
<a-select-option v-for="d in options" :key="d.value" :value="d.value" >{{ d.label }}</a-select-option> <a-select-option v-for="d in options" :key="d.value" :value="d.value" >{{ d.label }}</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :md="6" :sm="14"> <a-col :md="6" :sm="14">
<a-form-model-item :label="$t('Statisticalmodels')" prop="value" class="process-form-item"> <a-form-model-item :label="$t('Statisticalmodels')" prop="value" style='width: 388px' class="process-form-item">
<a-radio-group v-model="queryParam.value" @change="onChange" style='width: 253px'> <a-radio-group v-model="queryParam.value" @change="onChange" style='width: 253px'>
<a-radio :value="1"> <a-radio :value="1">
{{$t('Thepercentage')}} {{$t('Thepercentage')}}