
效果一
效果图:
view
<el-link :underline="false" type="primary" @click="openStatisticsVisible(scope.row)">统计</el-link>
<el-dialog v-model="statisticsVisible" title="统计" width="399">
<div style="width: 100%; display: flex; justify-content: space-around">
<el-button type="primary" :icon="Star" plain>收费统计</el-button>
<el-button type="success" :icon="Star" plain>用水户统计</el-button>
</div>
</el-dialog>
ts:
const statisticsVisible = ref(false);
const openStatisticsVisible = (data:any) => {
statisticsVisible.value = true;
};
效果二
下载模板的
<el-dialog v-model="state.importTemplateDialogVisible" title="导入模板下载" width="500">
<div style="width: 100%; display: flex; justify-content: space-around">
<el-button type="primary" @click="downLoadFileFromName('6d21321b90e34346a99c5cb54599d90e', '培训任务导入模板')" :icon="Download" plain
>培训任务导入模板</el-button
>
<el-button type="success" @click="downLoadFileFromName('b03e5fcd3fbe4aa69bdad570ff81d74c', '培训项目导入模板')" :icon="Download" plain
>培训项目导入模板</el-button
>
</div>
</el-dialog>
<el-dialog v-model="state.importDialogVisible" title="证书导入" width="399">
<div style="width: 100%; display: flex; justify-content: space-around">
<el-button type="primary" @click="openChoiseFile" :icon="Plus" plain>导入证书</el-button>
<el-button type="success" @click="openChoiseCreateFile" :icon="Plus" plain>批量生成证书</el-button>
</div>
</el-dialog>
图标的导入:
import { Search, Plus, Edit, Download } from '@element-plus/icons-vue'
欢迎加群讨论技术,1群:677373950(满了,可以加,但通过不了),2群:656732739。有需要软件开发,或者学习软件技术的朋友可以和我联系~(Q:815170684)
评价
排名
9
文章
120
粉丝
5
评论
5
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2025TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:
50010702506256


欢迎加群交流技术