Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_backstage
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_backstage
Commits
73b9875f
提交
73b9875f
authored
10月 21, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复博物馆无法查询的问题
上级
cd5e71d8
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
13 行增加
和
9 行删除
+13
-9
index.vue
src/components/SearchBar/index.vue
+1
-1
TablePage.vue
src/components/Table/TablePage.vue
+1
-1
InfoEditDialog.vue
src/views/culturalRelic/components/InfoEditDialog.vue
+1
-1
index.vue
src/views/museum/index.vue
+10
-6
没有找到文件。
src/components/SearchBar/index.vue
浏览文件 @
73b9875f
...
...
@@ -123,7 +123,7 @@ export default {
},
handleInputChange
:
Debounce
(
function
(
e
)
{
this
.
handleSearch
();
},
5
00
),
},
6
00
),
},
};
</
script
>
...
...
src/components/Table/TablePage.vue
浏览文件 @
73b9875f
...
...
@@ -11,7 +11,7 @@
@
selection-change=
"handleSelectionChange"
@
current-change=
"handleCurrentChange"
>
<el-table-column
type=
"index"
width=
"50"
label=
"序号"
>
</el-table-column>
<el-table-column
type=
"index"
width=
"50"
label=
"序号"
align=
"center"
>
</el-table-column>
<el-table-column
v-if=
"hasMultiSelection"
type=
"selection"
width=
"55"
/>
<el-table-column
v-for=
"(item, index) in tableTitle"
...
...
src/views/culturalRelic/components/InfoEditDialog.vue
浏览文件 @
73b9875f
...
...
@@ -444,7 +444,7 @@ export default {
"culturalRelicType"
,
"culturalRelicSourceWay"
]);
console
.
log
(
this
.
dicts
.
culturalRelicSourceWay
);
let
res
=
await
this
.
$store
.
dispatch
(
"dict/getDictTree"
,
[
"culturalRelicTextureType"
,
"culturalRelicYears"
,
...
...
src/views/museum/index.vue
浏览文件 @
73b9875f
...
...
@@ -12,11 +12,12 @@
:tree-props=
"
{ children: 'children' }"
fit
row-key="id"
:data="
tabel
Data"
:data="
orgTree
Data"
border
stripe
default-expand-all
>
<el-table-column
type=
"index"
width=
"50"
label=
"序号"
align=
"center"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"name"
...
...
@@ -156,7 +157,7 @@ export default {
loading
:
false
,
orgTreeData
:
[],
expandRow
:
[],
tab
el
Data
:
[],
tab
le
Data
:
[],
imgList
:
[],
imgViewerVisible
:
false
,
};
...
...
@@ -184,6 +185,11 @@ export default {
created
()
{
this
.
loadData
(
true
);
},
watch
:{
'searchForm.name'
:
function
(
value
){
console
.
log
(
value
);
}
},
methods
:
{
async
search
(
form
)
{
let
searchValue
=
form
.
name
;
...
...
@@ -245,8 +251,8 @@ export default {
*/
loadData
(
isReload
)
{
this
.
$store
.
dispatch
(
"org/getMuseumTreeData"
,
isReload
).
then
((
res
)
=>
{
this
.
orgTreeData
=
res
;
this
.
tab
elData
=
res
[
0
].
children
;
this
.
orgTreeData
=
res
[
0
].
children
this
.
tab
leData
=
res
[
0
].
children
});
},
...
...
@@ -256,8 +262,6 @@ export default {
case
"add"
:
this
.
drawerVisible
=
true
;
break
;
case
"view"
:
break
;
case
"edit"
:
this
.
form
=
row
;
this
.
drawerVisible
=
true
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论