Browse Source

细节变更

main
piexlmax 3 years ago
parent
commit
746372ae3c
  1. 2
      server/resource/template/web/table.vue.tpl
  2. 2
      web/src/style/main.scss
  3. 2
      web/src/view/example/customer/customer.vue
  4. 4
      web/src/view/example/upload/upload.vue
  5. 8
      web/src/view/superAdmin/api/api.vue
  6. 9
      web/src/view/superAdmin/authority/authority.vue
  7. 4
      web/src/view/superAdmin/dictionary/sysDictionary.vue
  8. 2
      web/src/view/superAdmin/dictionary/sysDictionaryDetail.vue
  9. 2
      web/src/view/superAdmin/menu/menu.vue

2
server/resource/template/web/table.vue.tpl

@ -67,7 +67,7 @@
{{- end }}
<el-table-column label="按钮组">
<template #default="scope">
<el-button size="small" type="text" icon="el-icon-edit" class="table-button" @click="update{{.StructName}}(scope.row)">变更</el-button>
<el-button type="text" icon="el-icon-edit" size="small" class="table-button" @click="update{{.StructName}}(scope.row)">变更</el-button>
<el-button type="text" icon="el-icon-delete" size="mini" @click="deleteRow(scope.row)">删除</el-button>
</template>
</el-table-column>

2
web/src/style/main.scss

@ -1080,7 +1080,7 @@ li {
.el-input-number__increase {
position: absolute;
z-index: 1;
top: 6px !important;
top: 3px !important;
width: 42px;
height: 29px;
line-height: 29px;

2
web/src/view/example/customer/customer.vue

@ -21,7 +21,7 @@
<el-table-column label="接入人ID" prop="sysUserId" width="120" />
<el-table-column label="按钮组" min-width="160">
<template #default="scope">
<el-button size="small" type="text" @click="updateCustomer(scope.row)">变更</el-button>
<el-button size="small" type="text" icon="el-icon-edit" @click="updateCustomer(scope.row)">变更</el-button>
<el-popover v-model:visible="scope.row.visible" placement="top" width="160">
<p>确定要删除吗</p>
<div style="text-align: right; margin: 0">

4
web/src/view/example/upload/upload.vue

@ -45,8 +45,8 @@
</el-table-column>
<el-table-column label="操作" width="160">
<template #default="scope">
<el-button size="small" type="text" @click="downloadFile(scope.row)">下载</el-button>
<el-button size="small" type="text" @click="deleteFile(scope.row)">删除</el-button>
<el-button size="small" icon="el-icon-download" type="text" @click="downloadFile(scope.row)">下载</el-button>
<el-button size="small" icon="el-icon-delete" type="text" @click="deleteFile(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>

8
web/src/view/superAdmin/api/api.vue

@ -60,8 +60,14 @@
<el-table-column fixed="right" label="操作" width="200">
<template #default="scope">
<el-button size="small" type="text" @click="editApi(scope.row)">编辑</el-button>
<el-button
icon="el-icon-edit"
size="small"
type="text"
@click="editApi(scope.row)"
>编辑</el-button>
<el-button
icon="el-icon-delete"
size="small"
type="text"
@click="deleteApi(scope.row)"

9
web/src/view/superAdmin/authority/authority.vue

@ -14,7 +14,12 @@
<el-table-column label="角色名称" min-width="180" prop="authorityName" />
<el-table-column label="操作" width="460">
<template #default="scope">
<el-button size="mini" type="text" @click="opdendrawer(scope.row)">设置权限</el-button>
<el-button
icon="el-icon-setting"
size="mini"
type="text"
@click="opdendrawer(scope.row)"
>设置权限</el-button>
<el-button
icon="el-icon-plus"
size="mini"
@ -42,8 +47,8 @@
</template>
</el-table-column>
</el-table>
<warning-bar title="注:右上角头像下拉可切换角色" style="margin-top:12px;" />
</div>
<warning-bar title="注:右上角头像下拉可切换角色" style="margin-top:12px;" />
<!-- 新增角色弹窗 -->
<el-dialog v-model="dialogFormVisible" :title="dialogTitle">
<el-form ref="authorityForm" :model="form" :rules="rules" label-width="80px">

4
web/src/view/superAdmin/dictionary/sysDictionary.vue

@ -49,8 +49,8 @@
<el-table-column label="按钮组">
<template #default="scope">
<el-button size="mini" type="text" @click="toDetile(scope.row)">详情</el-button>
<el-button size="mini" type="text" @click="updateSysDictionary(scope.row)">变更</el-button>
<el-button size="mini" icon="el-icon-document" type="text" @click="toDetile(scope.row)">详情</el-button>
<el-button size="mini" icon="el-icon-edit" type="text" @click="updateSysDictionary(scope.row)">变更</el-button>
<el-popover v-model:visible="scope.row.visible" placement="top" width="160">
<p>确定要删除吗</p>
<div style="text-align: right; margin: 0">

2
web/src/view/superAdmin/dictionary/sysDictionaryDetail.vue

@ -46,7 +46,7 @@
<el-table-column label="按钮组">
<template #default="scope">
<el-button size="small" type="text" @click="updateSysDictionaryDetail(scope.row)">变更</el-button>
<el-button size="small" type="text" icon="el-icon-edit" @click="updateSysDictionaryDetail(scope.row)">变更</el-button>
<el-popover v-model:visible="scope.row.visible" placement="top" width="160">
<p>确定要删除吗</p>
<div style="text-align: right; margin: 0">

2
web/src/view/superAdmin/menu/menu.vue

@ -34,7 +34,7 @@
<el-button
size="mini"
type="text"
icon="el-icon-edit"
icon="el-icon-plus"
@click="addMenu(scope.row.ID)"
>添加子菜单</el-button>
<el-button

Loading…
Cancel
Save