yuebonui-vue3/src/views/app/index.vue
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<div class="app-container">
<el-form ref="searchformRef" v-show="showSearch" :inline="true" :model="queryParams" class="demo-form-inline">
<el-form-item label="应用名称:" prop="Keywords">
<el-input v-model="queryParams.Keywords" clearable placeholder="应用AppId或授权Url" />
</el-form-item>
<el-form-item>
<el-button type="primary" icon="search" @click="handleSearch()">查询</el-button>
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-button-group>
<el-button v-hasPermi="['APP/Add']" type="primary" icon="plus" @click="ShowEditOrViewDialog()">新增</el-button>
<el-button v-hasPermi="['APP/Edit']" type="primary" icon="edit" :disabled="single" class="el-button-modify"
@click="ShowEditOrViewDialog('edit')">修改</el-button>
<el-button v-hasPermi="['APP/Enable']" type="info" icon="video-pause" :disabled="multiple"
@click="setEnable('0')">禁用</el-button>
<el-button v-hasPermi="['APP/Enable']" type="success" icon="video-play" :disabled="multiple"
@click="setEnable('1')">启用</el-button>
<el-button v-hasPermi="['APP/DeleteSoft']" type="warning" icon="delete" :disabled="multiple"
@click="deleteSoft('0')">软删除</el-button>
<el-button v-hasPermi="['APP/Delete']" type="danger" icon="delete" :disabled="multiple"
@click="deletePhysics()">删除</el-button>
<el-button v-hasPermi="['APP/ResetAppSecret']" type="primary" icon="refresh-right" :disabled="single"
@click="haddlerResetAppSecret()">重置AppSecret</el-button>
<el-button v-hasPermi="['APP/ResetEncodingAESKey']" type="primary" icon="refresh-right" :disabled="single"
@click="haddlerResetEncodingAESKey()">重置消息密钥</el-button>
</el-button-group>
<right-toolbar v-model:showSearch="showSearch" @queryTable="loadTableData"></right-toolbar>
</el-row>
<el-table v-loading="tableloading" :data="tableData" stripe highlight-current-row style="width: 100%"
:default-sort="{prop: 'SortCode', order: 'ascending'}" @selection-change="handleSelectChange"
@sort-change="handleSortChange">
<el-table-column type="selection" width="55" />
<el-table-column prop="AppId" label="应用Id" sortable="custom" width="130" fixed />
<el-table-column prop="AppSecret" label="AppSecret" sortable="custom" width="320" fixed />
<el-table-column prop="Token" label="Token" sortable="custom" width="150" />
<el-table-column label="消息加密" sortable="custom" width="120" prop="IsOpenAEKey" align="center">
<template #default="scope">
<el-tag :type="scope.row.IsOpenAEKey === true ? 'success' : 'info'" disable-transitions>{{
scope.row.IsOpenAEKey===true?'启用':'禁用' }}</el-tag>
</template>
</el-table-column>
<el-table-column prop="RequestUrl" label="授权URL" sortable="custom" />
<el-table-column label="启用" sortable="custom" width="90" prop="EnabledMark" align="center">
<template #default="scope">
<el-tag :type="scope.row.EnabledMark === true ? 'success' : 'info'" disable-transitions>{{
scope.row.EnabledMark===true?'启用':'禁用' }}</el-tag>
</template>
</el-table-column>
<el-table-column label="是否删除" sortable="custom" width="120" prop="DeleteMark" align="center">
<template #default="scope">
<el-tag :type="scope.row.DeleteMark === true ? 'danger' : 'success'" disable-transitions>{{
scope.row.DeleteMark===true?'已删除':'否' }}</el-tag>
</template>
</el-table-column>
<el-table-column prop="CreatorTime" label="创建时间" sortable width="170" />
后面还有 317 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。