|
@@ -889,11 +889,15 @@ const getTableData = async () => {
|
|
|
if (tabKey.value === 'tab1') {
|
|
|
tableData.value = getArrValue(data['records'])
|
|
|
searchForm.value.total = data['total'] || 0
|
|
|
+ } else {
|
|
|
+ guiItemData.value = getArrValue(data)
|
|
|
}
|
|
|
} else {
|
|
|
if (tabKey.value === 'tab1') {
|
|
|
tableData.value = []
|
|
|
searchForm.value.total = 0
|
|
|
+ } else {
|
|
|
+ guiItemData.value = []
|
|
|
}
|
|
|
}
|
|
|
//案卷列表
|
|
@@ -1295,30 +1299,7 @@ const tabGuiChange = (item) => {
|
|
|
|
|
|
|
|
|
//测试档案柜的数据
|
|
|
-const guiItemData = ref([
|
|
|
- {
|
|
|
- children: [
|
|
|
- {id: '柜子id或其他的唯一值', name: '01', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- {id: '柜子id或其他的唯一值', name: '02', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- {id: '柜子id或其他的唯一值', name: '03', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- {id: '柜子id或其他的唯一值', name: '04', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- children: [
|
|
|
- {id: '柜子id或其他的唯一值', name: '05', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- {id: '柜子id或其他的唯一值', name: '06', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- {id: '柜子id或其他的唯一值', name: '07', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- {id: '柜子id或其他的唯一值', name: '08', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- children: [
|
|
|
- {id: '柜子id或其他的唯一值', name: '09', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- {id: '柜子id或其他的唯一值', name: '10', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
- ]
|
|
|
- }
|
|
|
-])
|
|
|
+const guiItemData = ref([])
|
|
|
|
|
|
//柜子被点击
|
|
|
const isGuiInfoDrawer = ref(false)
|