2024年5月27日 修改问题
This commit is contained in:
parent
0eff32c341
commit
972ed1a437
|
@ -381,7 +381,7 @@ function calcPercentage(averageNum, zrs) {
|
||||||
if(averageNum === 0 || zrs === 0){
|
if(averageNum === 0 || zrs === 0){
|
||||||
return '0%';
|
return '0%';
|
||||||
}else{
|
}else{
|
||||||
return (averageNum / zrs * 100).toFixed(2);
|
return (averageNum / zrs * 100).toFixed(2) + '%';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
<span v-show="three.showBtn">
|
<span v-show="three.showBtn">
|
||||||
<a-space>
|
<a-space>
|
||||||
<a-button type="primary" size="small" title="下载" v-if="three.type == 'video' || three.type == 'document'" @click="downloadFile(three)" class="addBtn"><Icon icon="ant-design:vertical-align-bottom-outlined"/></a-button>
|
<a-button type="primary" size="small" title="下载" v-if="three.type == 'video' || three.type == 'document'" @click="downloadFile(three)" class="addBtn"><Icon icon="ant-design:vertical-align-bottom-outlined"/></a-button>
|
||||||
<a-button type="primary" size="small" title="查看" @click="viewThreePage(three)" class="addBtn"><Icon icon="ant-design:fund-view-outlined"/></a-button>
|
<a-button type="primary" size="small" title="查看" v-if="three.type == 'richText'" @click="viewThreePage(three)" class="addBtn"><Icon icon="ant-design:fund-view-outlined"/></a-button>
|
||||||
<a-button type="primary" size="small" title="编辑" @click="editThreePage(two, Object.assign({},three), threeIndex)" class="addBtn"><Icon icon="ant-design:edit"/></a-button>
|
<a-button type="primary" size="small" title="编辑" @click="editThreePage(two, Object.assign({},three), threeIndex)" class="addBtn"><Icon icon="ant-design:edit"/></a-button>
|
||||||
<a-button type="primary" size="small" title="删除" danger @click="delThree($event, two, three)" class="addBtn"><Icon icon="ant-design:delete"/></a-button>
|
<a-button type="primary" size="small" title="删除" danger @click="delThree($event, two, three)" class="addBtn"><Icon icon="ant-design:delete"/></a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
|
|
|
@ -76,9 +76,7 @@
|
||||||
<span v-show="three.showBtn">
|
<span v-show="three.showBtn">
|
||||||
<a-space>
|
<a-space>
|
||||||
<a-button type="primary" size="small" title="下载" v-if="three.type == 'video' || three.type == 'document'" @click="downloadFile(three)" class="addBtn"><Icon icon="ant-design:vertical-align-bottom-outlined"/></a-button>
|
<a-button type="primary" size="small" title="下载" v-if="three.type == 'video' || three.type == 'document'" @click="downloadFile(three)" class="addBtn"><Icon icon="ant-design:vertical-align-bottom-outlined"/></a-button>
|
||||||
<a-button type="primary" size="small" title="查看" @click="viewThreePage(three)" class="addBtn"><Icon icon="ant-design:fund-view-outlined"/></a-button>
|
<a-button type="primary" size="small" title="查看" v-if="three.type == 'richText'" @click="viewThreePage(three)" class="addBtn"><Icon icon="ant-design:fund-view-outlined"/></a-button>
|
||||||
|
|
||||||
|
|
||||||
</a-space>
|
</a-space>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue