浏览代码

批量归档

sangwenwei 11 月之前
父节点
当前提交
7a92c55dc9

+ 1 - 1
src/views/cw/fillingbatch/FillingbatchForm.vue

@@ -97,7 +97,7 @@
 							</vxe-column>
 							<vxe-column title="报告号" field="no" align="center">
 								<template #default="scope">
-									<el-link  type="primary" :underline="false" v-if="status === 'audit' || status === 'taskFormDetail'" @click="getProjectInfo(scope.row.id)">{{scope.row.no}}</el-link>
+									<el-link  type="primary" :underline="false" v-if="status === 'audit' || status === 'taskFormDetail'" @click="getProjectInfo(scope.row.projectId)">{{scope.row.no}}</el-link>
 									<el-link  style="color: #1b1e25" type="primary" :underline="false" v-else>{{scope.row.no}}</el-link>
 								</template>
 							</vxe-column>

+ 2 - 1
src/views/cw/fillingbatch/FillingbatchList.vue

@@ -60,7 +60,7 @@
 					:menu-config="{}"
 					:sort-config="{remote:true}"
 					:data="dataList"
-					:tree-config="{transform: true, rowField: 'id', parentField: 'parentId'}"
+					:tree-config="{transform: true, rowField: 'id', parentField: 'parentId', accordion: true}"
 					:checkbox-config="{}">
 					<vxe-column  type="seq" width="60" title="序号"></vxe-column>
 					<vxe-column title="归档批次号/报告号" field="no" align="center" tree-node>
@@ -264,6 +264,7 @@
 				}).then((data) => {
 					console.log('data',data.records)
 					this.dataList = data.records
+					console.log('data1',this.dataList)
 					this.tablePage.total = data.total
 					this.loading = false
 				})

+ 1 - 1
src/views/cw/projectRecords/ProjectRecordsForm2.vue

@@ -1330,7 +1330,7 @@
         this.searchReport()
       },
       viewReport (id) {
-        this.$refs.reportManagementForm.init('view', id)
+        this.$refs.reportManagementForm.init('view', id,'')
       },
       viewProject (id) {
         this.$refs.projectRecordsForm.init('view', id)