|
@@ -31,13 +31,13 @@
|
|
|
<span>{{ item1.nodeInfo }}</span>
|
|
|
<!-- <span class="text-gray">(238卷)</span> -->
|
|
|
</template>
|
|
|
- <div :style="`height: ${item1.list !== null ? '300px' : 'auto'};`">
|
|
|
+ <div :style="`height: ${item1.list !== null && item1.list.length > 9 ? '300px' : 'auto'};`">
|
|
|
<!-- <HcTable
|
|
|
ref="tableRef" :column="tableColumn" :datas="item1.list" :loading="tableLoading"
|
|
|
is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
|
@selection-change="tableSelection"
|
|
|
/> -->
|
|
|
- <visualTable :table-data="item1.list " />
|
|
|
+ <visualTable :table-data="item1.list " @getTableKeys="getTableKeys" />
|
|
|
</div>
|
|
|
</HcCardItem>
|
|
|
</template>
|
|
@@ -133,119 +133,26 @@ const getTotalData = async ()=>{
|
|
|
|
|
|
}
|
|
|
}
|
|
|
-//tab数据和相关处理
|
|
|
-const tabKey = ref('tab2')
|
|
|
-const tabData = ref([
|
|
|
- // { key:'tab1', name: '全部汇总' },
|
|
|
- { key:'tab2', name: '历史验收报告' },
|
|
|
- { key:'tab3', name: '历史整改报告' },
|
|
|
-])
|
|
|
-const tabChange = (item) => {
|
|
|
- tabKey.value = item?.key
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-//------立项审批
|
|
|
-
|
|
|
-//搜索表单
|
|
|
-const searchForm = ref({
|
|
|
- current: 1, size: 20, total: 0,
|
|
|
-})
|
|
|
|
|
|
-//分页被点击
|
|
|
-const pageChange = ({ current, size }) => {
|
|
|
- searchForm.value.current = current
|
|
|
- searchForm.value.size = size
|
|
|
- getTableData()
|
|
|
-}
|
|
|
|
|
|
-//表头
|
|
|
-const tableRef = ref(null)
|
|
|
-const tableColumn = ref([
|
|
|
- { key:'fileNumber', name: '档号', width: 180 },
|
|
|
- { key:'name', name: '案卷题名' },
|
|
|
- { key:'pageN', name: '总页数', width: 120 },
|
|
|
- { key:'storageTimeValue', name: '保管期限', width: 120 },
|
|
|
- { key:'remark', name: '备注' },
|
|
|
-])
|
|
|
-const tableData = ref([])
|
|
|
|
|
|
-//获取数据
|
|
|
-const tableLoading = ref(false)
|
|
|
-const getTableData = async () => {
|
|
|
+//------立项审批
|
|
|
|
|
|
-}
|
|
|
|
|
|
-//多选
|
|
|
-const tableKeys = ref([])
|
|
|
-const tableSelection = (rows) => {
|
|
|
- tableKeys.value = rows
|
|
|
-}
|
|
|
|
|
|
-//------勘察设计文件
|
|
|
|
|
|
-//搜索表单
|
|
|
-const searchFormFile = ref({
|
|
|
- current: 1, size: 20, total: 0,
|
|
|
-})
|
|
|
|
|
|
-//分页被点击
|
|
|
-const pageFileChange = ({ current, size }) => {
|
|
|
- searchFormFile.value.current = current
|
|
|
- searchFormFile.value.size = size
|
|
|
- getTableFileData()
|
|
|
-}
|
|
|
|
|
|
-//表头
|
|
|
-const tableFileRef = ref(null)
|
|
|
-const tableFileColumn = ref([
|
|
|
- { key:'key1', name: '档号', width: 180 },
|
|
|
- { key:'key2', name: '案卷题名' },
|
|
|
- { key:'key3', name: '总页数', width: 120 },
|
|
|
- { key:'key4', name: '保管期限', width: 120 },
|
|
|
- { key:'key5', name: '备注' },
|
|
|
-])
|
|
|
-const tableFileData = ref([
|
|
|
- {
|
|
|
- id: 1,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: '初步设计外业验收有关文件、工程初步设计图纸、初步设计批复、初步设计审查咨询报告',
|
|
|
- key3: '293',
|
|
|
- key4: '永久',
|
|
|
- key5: '备注信息',
|
|
|
- },
|
|
|
- {
|
|
|
- id: 2,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: '初步设计外业验收有关文件、工程初步设计图纸、初步设计批复、初步设计审查咨询报告',
|
|
|
- key3: '293',
|
|
|
- key4: '永久',
|
|
|
- key5: '备注信息',
|
|
|
- },
|
|
|
- {
|
|
|
- id: 2,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: '初步设计外业验收有关文件、工程初步设计图纸、初步设计批复、初步设计审查咨询报告',
|
|
|
- key3: '293',
|
|
|
- key4: '永久',
|
|
|
- key5: '备注信息',
|
|
|
- },
|
|
|
-])
|
|
|
|
|
|
-//获取数据
|
|
|
-const tableFileLoading = ref(false)
|
|
|
-const getTableFileData = async () => {
|
|
|
|
|
|
-}
|
|
|
|
|
|
-//多选
|
|
|
-const tableFileKeys = ref([])
|
|
|
-const tableeFileSelection = (rows) => {
|
|
|
- tableFileKeys.value = rows
|
|
|
-}
|
|
|
|
|
|
|
|
|
//上报
|
|
|
+const tableKeys = ref([])
|
|
|
+const getTableKeys = (val)=>{
|
|
|
+ tableKeys.value = val
|
|
|
+}
|
|
|
const reportIds = ref('')
|
|
|
const reportTaskName = ref('')
|
|
|
const reportDatas = ref([])
|