|
@@ -32,6 +32,18 @@
|
|
<div class="ml-2 w-64">
|
|
<div class="ml-2 w-64">
|
|
<HcDatePicker :dates="filebetweenTime" clearable @change="filebetweenTimeUpdate" />
|
|
<HcDatePicker :dates="filebetweenTime" clearable @change="filebetweenTimeUpdate" />
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="ml-2 w-60">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="filesearchFormPage.reportNo" clearable placeholder="请输入报告编号"
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="ml-2 w-40">
|
|
|
|
+ <el-select v-model="filesearchFormPage.reportType" placeholder="请选择所属方" clearable>
|
|
|
|
+ <el-option label="施工" :value="1" />
|
|
|
|
+ <el-option label="监理" :value="2" />
|
|
|
|
+ <el-option label="业主" :value="3" />
|
|
|
|
+ </el-select>
|
|
|
|
+ </div>
|
|
<div class="ml-2">
|
|
<div class="ml-2">
|
|
<el-button type="primary" @click="filesearchClick">
|
|
<el-button type="primary" @click="filesearchClick">
|
|
<HcIcon name="search-2" />
|
|
<HcIcon name="search-2" />
|
|
@@ -144,18 +156,12 @@ const radioChange = (val) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//获取试验文件树树数据
|
|
//获取试验文件树树数据
|
|
-const fileModaltreeDatas = ref([])
|
|
|
|
|
|
+
|
|
//节点被点击
|
|
//节点被点击
|
|
//节点被点击
|
|
//节点被点击
|
|
const filenodeItemInfo = ref({})
|
|
const filenodeItemInfo = ref({})
|
|
const filenodeDataInfo = ref({})
|
|
const filenodeDataInfo = ref({})
|
|
-const fileTableData1 = ref([])
|
|
|
|
-const fileTableColumn = ref([
|
|
|
|
- { key: 'recordNo', name: '报告编号' },
|
|
|
|
- { key: 'reportDate', name: '报告日期' },
|
|
|
|
- { key: 'projectPositionName', name: '工程用途及部位' },
|
|
|
|
- { key: 'detectionResultName', name: '检测结果' },
|
|
|
|
-])
|
|
|
|
|
|
+
|
|
|
|
|
|
const fileModalElTreeClick = async ({ data, node }) => {
|
|
const fileModalElTreeClick = async ({ data, node }) => {
|
|
filenodeItemInfo.value = node
|
|
filenodeItemInfo.value = node
|
|
@@ -205,6 +211,9 @@ const getthirdTreetavleDatas = async () => {
|
|
startTime: filesearchFormPage.value.startTime,
|
|
startTime: filesearchFormPage.value.startTime,
|
|
endTime: filesearchFormPage.value.lastTime,
|
|
endTime: filesearchFormPage.value.lastTime,
|
|
qualityTestPKeyId: isPrimaryKeyId.value,
|
|
qualityTestPKeyId: isPrimaryKeyId.value,
|
|
|
|
+ reportNo: filesearchFormPage.value.reportNo,
|
|
|
|
+ reportType:filesearchFormPage.value.reportType,
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
})
|
|
})
|
|
@@ -220,11 +229,7 @@ const getthirdTreetavleDatas = async () => {
|
|
defaultarr.push(item)
|
|
defaultarr.push(item)
|
|
|
|
|
|
}
|
|
}
|
|
- if (fileModalradio.value === 2) {
|
|
|
|
- outtabtoggleSelection(defaultarr)
|
|
|
|
- } else {
|
|
|
|
- thirdtabtoggleSelection(defaultarr)
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -243,7 +248,7 @@ const thirdtreeDatasElTreeClick = (data, node) => {
|
|
|
|
|
|
const filebetweenTime = ref([])
|
|
const filebetweenTime = ref([])
|
|
const filesearchFormPage = ref({
|
|
const filesearchFormPage = ref({
|
|
- startTime: null, lastTime: null, wbsId: null, current: 1, size: 20, total: 0,
|
|
|
|
|
|
+ startTime: null, lastTime: null, wbsId: null, current: 1, size: 20, total: 0, reportType:'', reportNo:'',
|
|
})
|
|
})
|
|
const filesearchFormPageChange = ({ current, size }) => {
|
|
const filesearchFormPageChange = ({ current, size }) => {
|
|
filesearchFormPage.value.current = current
|
|
filesearchFormPage.value.current = current
|
|
@@ -303,6 +308,8 @@ const getfileNodeData = async () => {
|
|
startTime: filesearchFormPage.value.startTime,
|
|
startTime: filesearchFormPage.value.startTime,
|
|
endTime: filesearchFormPage.value.lastTime,
|
|
endTime: filesearchFormPage.value.lastTime,
|
|
qualityTestPKeyId: isPrimaryKeyId.value,
|
|
qualityTestPKeyId: isPrimaryKeyId.value,
|
|
|
|
+ reportNo: filesearchFormPage.value.reportNo,
|
|
|
|
+ reportType:filesearchFormPage.value.reportType,
|
|
})
|
|
})
|
|
//处理数据
|
|
//处理数据
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|