Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-finance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-finance
Commits
d48cc88c
提交
d48cc88c
authored
7月 29, 2024
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
f6cbbe2e
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
7 行增加
和
26 行删除
+7
-26
AppList.vue
src/components/base/AppList.vue
+7
-26
没有找到文件。
src/components/base/AppList.vue
浏览文件 @
d48cc88c
...
@@ -13,19 +13,12 @@
...
@@ -13,19 +13,12 @@
<!-- input -->
<!-- input -->
<el-input
v-model=
"params[item.prop]"
v-bind=
"item"
clearable
v-if=
"item.type === 'input'"
/>
<el-input
v-model=
"params[item.prop]"
v-bind=
"item"
clearable
v-if=
"item.type === 'input'"
/>
<!-- select -->
<!-- select -->
<el-select
<el-select
v-model=
"params[item.prop]"
clearable
v-bind=
"item"
v-if=
"item.type === 'select'"
@
change=
"search"
>
v-model=
"params[item.prop]"
clearable
v-bind=
"item"
v-if=
"item.type === 'select'"
@
change=
"search"
>
<template
v-for=
"(option, index) in item.options"
>
<template
v-for=
"(option, index) in item.options"
>
<el-option
<el-option
:label=
"option[item.labelKey] || option.label || option"
:label=
"option[item.labelKey] || option.label || option"
:value=
"option[item.valueKey] || option.value || option"
:value=
"option[item.valueKey] || option.value || option"
:key=
"index"
:key=
"index"
></el-option>
></el-option>
</
template
>
</
template
>
</el-select>
</el-select>
</template>
</template>
...
@@ -52,8 +45,7 @@
...
@@ -52,8 +45,7 @@
v-bind=
"$attrs"
v-bind=
"$attrs"
v-on=
"$listeners"
v-on=
"$listeners"
style=
"height: 100%"
style=
"height: 100%"
ref=
"table"
ref=
"table"
>
>
<
template
v-for=
"item in currentColumns"
>
<
template
v-for=
"item in currentColumns"
>
<el-table-column
v-bind=
"item"
:key=
"item.prop"
v-if=
"visible(item)"
>
<el-table-column
v-bind=
"item"
:key=
"item.prop"
v-if=
"visible(item)"
>
<template
v-slot:default=
"scope"
v-if=
"item.slots || item.computed"
>
<template
v-slot:default=
"scope"
v-if=
"item.slots || item.computed"
>
...
@@ -73,15 +65,14 @@
...
@@ -73,15 +65,14 @@
<el-pagination
<el-pagination
class=
"table-list-pagination"
class=
"table-list-pagination"
layout=
"total, prev, pager, next, sizes, jumper"
layout=
"total, prev, pager, next, sizes, jumper"
:page-sizes=
"[10, 20, 30, 50
, 100
]"
:page-sizes=
"[10, 20, 30, 50]"
:page-size=
"page.size"
:page-size=
"page.size"
:total=
"page.total"
:total=
"page.total"
:current-page
.
sync=
"page.currentPage"
:current-page
.
sync=
"page.currentPage"
@
size-change=
"pageSizeChange"
@
size-change=
"pageSizeChange"
@
current-change=
"fetchList()"
@
current-change=
"fetchList()"
:hide-on-single-page=
"true"
:hide-on-single-page=
"true"
v-if=
"hasPagination"
v-if=
"hasPagination"
>
>
</el-pagination>
</el-pagination>
</div>
</div>
<!-- 更多筛选 -->
<!-- 更多筛选 -->
...
@@ -98,19 +89,9 @@
...
@@ -98,19 +89,9 @@
<!-- input -->
<!-- input -->
<el-input
v-model=
"params[item.prop]"
v-bind=
"item"
clearable
v-if=
"item.type === 'input'"
/>
<el-input
v-model=
"params[item.prop]"
v-bind=
"item"
clearable
v-if=
"item.type === 'input'"
/>
<!-- select -->
<!-- select -->
<el-select
<el-select
v-model=
"params[item.prop]"
clearable
v-bind=
"item"
v-if=
"item.type === 'select'"
style=
"width: 100%"
>
v-model=
"params[item.prop]"
clearable
v-bind=
"item"
v-if=
"item.type === 'select'"
style=
"width: 100%"
>
<template
v-for=
"(option, index) in item.options"
>
<template
v-for=
"(option, index) in item.options"
>
<el-option
<el-option
:label=
"option[item.labelKey] || option.label"
:value=
"option[item.valueKey] || option.value"
:key=
"index"
></el-option>
:label=
"option[item.labelKey] || option.label"
:value=
"option[item.valueKey] || option.value"
:key=
"index"
></el-option>
</
template
>
</
template
>
</el-select>
</el-select>
</template>
</template>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论