zqq:0406合并

This commit is contained in:
qqGroup0 2023-04-06 20:00:34 +08:00
parent 21e0572f9a
commit 91cc91ab33
1 changed files with 14 additions and 16 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div class="system-user-search mb15"> <div class="system-user-search mb15">
<!-- 选择灾害类型下拉框 --> <!-- 选择灾害类型 -->
<el-select v-model="state.value_disasterType" <el-select v-model="state.value_disasterType"
size="default" size="default"
clearable clearable
@ -12,7 +12,7 @@
:label="item.label" :label="item.label"
:value="item.value" /> :value="item.value" />
</el-select> </el-select>
<!-- 选择灾害时间下拉框 --> <!-- 选择灾害时间 -->
<el-date-picker v-model="state.value_disasterDate" <el-date-picker v-model="state.value_disasterDate"
type="date" type="date"
placeholder="Select disaster time" placeholder="Select disaster time"
@ -22,10 +22,6 @@
size="default" size="default"
@focus="searchDisasterDate" /> @focus="searchDisasterDate" />
<!-- 选择受灾地 --> <!-- 选择受灾地 -->
<!-- <el-input v-model="state.value_disasterCountry"
style="width: 20%;margin-left: 1%;"
placeholder="请输入受灾地" /> -->
<el-select v-model="state.value_disasterCountry" <el-select v-model="state.value_disasterCountry"
size="default" size="default"
clearable clearable
@ -53,9 +49,9 @@
<el-table :data="state.requestData" <el-table :data="state.requestData"
style="width: 100%"> style="width: 100%">
<el-table-column type="index" <el-table-column type="index"
label="ID" label="Index"
align="center" align="center"
width="50"></el-table-column> width="80"></el-table-column>
<el-table-column prop="satelliteCode" <el-table-column prop="satelliteCode"
label="Satellite code" label="Satellite code"
align="center" align="center"
@ -83,11 +79,14 @@
<el-table-column prop="downloadUrl" <el-table-column prop="downloadUrl"
label="Download url" label="Download url"
align="center" align="center"
show-overflow-tooltip> show-overflow-tooltip> </el-table-column>
<!-- <template slot-scope="scope"> <!-- <el-table-column prop="Operate"
label="Operate"
show-overflow-tooltip></el-table-column> -->
<!-- <template slot-scope="scope">
<el-link :href="scope.row.downloadUrl">查看详情</el-link> <el-link :href="scope.row.downloadUrl">查看详情</el-link>
</template> --> </template> -->
</el-table-column>
<!-- <el-table-column prop="Longitude" <!-- <el-table-column prop="Longitude"
label="Longitude" label="Longitude"
show-overflow-tooltip></el-table-column> show-overflow-tooltip></el-table-column>
@ -97,9 +96,7 @@
<el-table-column prop="responseTime" <el-table-column prop="responseTime"
label="Response time" label="Response time"
show-overflow-tooltip></el-table-column> show-overflow-tooltip></el-table-column>
<el-table-column prop="Operate"
label="Operate"
show-overflow-tooltip></el-table-column>
<el-table-column prop="responseStatus" <el-table-column prop="responseStatus"
label="Response status" label="Response status"
show-overflow-tooltip></el-table-column> --> show-overflow-tooltip></el-table-column> -->
@ -178,6 +175,7 @@ const searchRemoteSensingSourceData = () => {
state.tableData.total = res.total; state.tableData.total = res.total;
state.tableData.param.pageNum = res.current; state.tableData.param.pageNum = res.current;
state.tableData.param.pageSize = res.size; state.tableData.param.pageSize = res.size;
console.log(state.requestData)
}) })
} }
@ -250,16 +248,16 @@ const searchDisasterDate = () => {
// //
const onHandleSizeChange = (val) => { const onHandleSizeChange = (val) => {
// searchContent.value = "";
state.tableData.param.pageSize = val; state.tableData.param.pageSize = val;
state.tableData.param.pageNum = state.tableData.param.pageNum; state.tableData.param.pageNum = state.tableData.param.pageNum;
searchRemoteSensingSourceData()
}; };
// //
const onHandleCurrentChange = (val) => { const onHandleCurrentChange = (val) => {
state.tableData.param.pageSize = state.tableData.param.pageSize; state.tableData.param.pageSize = state.tableData.param.pageSize;
state.tableData.param.pageNum = val; state.tableData.param.pageNum = val;
// studentData(classID.value, courseID.value, currentPage.value, pageSize.value); searchRemoteSensingSourceData()
}; };
onMounted(() => { onMounted(() => {