diff --git a/src/views/dataService/otherData/index.vue b/src/views/dataService/otherData/index.vue
index b606d3c..0443ea4 100644
--- a/src/views/dataService/otherData/index.vue
+++ b/src/views/dataService/otherData/index.vue
@@ -203,8 +203,8 @@ const getTableData = () => {
const data = [];
for (let i = 0; i < 20; i++) {
data.push({
- roleName: i === 0 ? '超级管理员' : '普通用户',
- roleSign: i === 0 ? 'admin' : 'common',
+ roleName: i === 0 ? '超级管理员' : '主要管理员',
+ roleSign: i === 0 ? 'admin' : 'chief',
describe: `测试角色${i + 1}`,
sort: i,
status: true,
diff --git a/src/views/dataService/remoteSensingData/index.vue b/src/views/dataService/remoteSensingData/index.vue
index 97160dd..664548f 100644
--- a/src/views/dataService/remoteSensingData/index.vue
+++ b/src/views/dataService/remoteSensingData/index.vue
@@ -1,11 +1,11 @@
-
@@ -79,17 +262,7 @@
import { ref, reactive } from 'vue';
import Map from "/@/components/Map.vue";
-
-const state = reactive({
- activeName: 'first',
- startTime: '',
- endTime: '',
- addCoord: false,
- satelliteSelected: [],
- coordinateList: [],
-
-})
-
+// 卫星类型
const sensor = ref([
{
value: 'landsat',
@@ -207,6 +380,101 @@ const sensor = ref([
}
])
+// VoRDM ID
+const idOptions = [
+ {
+ value: '2023001001',
+ label: '2023001001',
+ },
+ {
+ value: '2023001002',
+ label: '2023001002',
+ },
+ {
+ value: '2023001003',
+ label: '2023001003',
+ },
+ {
+ value: '2023001004',
+ label: '2023001004',
+ },
+ {
+ value: '2023001005',
+ label: '2023001005',
+ },
+]
+
+//选择灾害类型下拉框
+const options_disastertype = [
+ {
+ value: 'Earthquake',
+ label: 'Earthquake',
+ },
+ {
+ value: 'Hurricane',
+ label: 'Hurricane',
+ },
+ {
+ value: 'Flood',
+ label: 'Flood',
+ },
+ {
+ value: 'Volcano',
+ label: 'Volcano',
+ },
+ {
+ value: 'Drought',
+ label: 'Drought',
+ },
+ {
+ value: 'Landslide',
+ label: 'Landslide',
+ },
+];
+
+//选择爬虫类型下拉框
+const options_crawlertype = [
+ {
+ value: 'Bing',
+ label: 'Bing',
+ },
+ {
+ value: 'Twitter',
+ label: 'Twitter',
+ },
+ {
+ value: 'Baidu',
+ label: 'Baidu',
+ },
+ {
+ value: 'Weibo',
+ label: 'Weibo',
+ },
+];
+
+const state = reactive({
+ activeName: 'first',
+ startTime: '',
+ endTime: '',
+ addCoord: false,
+ satelliteSelected: [],
+ coordinateList: [],
+ selectID: '',
+ tableData: {
+ data: [],
+ total: 0,
+ loading: false,
+ param: {
+ search: '',
+ pageNum: 1,
+ pageSize: 10,
+ },
+ },
+ value_disastertype: '',
+ value_disastertime: '',
+ value_crawlertype: '',
+})
+
const shortcuts = [
{
text: '1 month ago',
@@ -238,12 +506,12 @@ const shortcuts = [
const addCoordinate = () => {
state.addCoord = !state.addCoord;
state.coordinateList = [
- // '43.538', '111.530', '36.195', '120.761'
{
Lat: '43.538'
,
Lng: '111.530'
- }, {
+ },
+ {
Lat: '36.195'
,
Lng: '120.761'
@@ -256,7 +524,12 @@ const clearCoordinate = () => {
state.startTime = '';
state.endTime = '';
}
+// 编辑坐标点
+const editCoordinate = () => {
+}
+
+// 开始爬虫
const startCrawl = () => {
console.log("start time:", state.startTime)
console.log("end time:", state.endTime)
@@ -264,38 +537,41 @@ const startCrawl = () => {
console.log("satelliteSelected:", state.satelliteSelected)
}
+// 清空搜索条件
+const ClearCondition = () => {
+ state.startTime = ''
+ state.endTime = ''
+ state.addCoord = false
+ state.satelliteSelected = []
+ state.coordinateList = []
+ state.selectID = ''
+}
+