|
@@ -62,7 +62,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="header-button-ri">
|
|
<div class="header-button-ri">
|
|
<slot name="toolButton">
|
|
<slot name="toolButton">
|
|
- <img class="setting" src="@/assets/images/setting2.png" />
|
|
|
|
|
|
+ <img class="setting" src="@/assets/images/setting2.png" @click="handleSetting"/>
|
|
</slot>
|
|
</slot>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -90,6 +90,42 @@
|
|
<!-- 分页组件 -->
|
|
<!-- 分页组件 -->
|
|
<Pagination :pageable="pageable" :handle-size-change="handleSizeChange" :handle-current-change="handleCurrentChange" />
|
|
<Pagination :pageable="pageable" :handle-size-change="handleSizeChange" :handle-current-change="handleCurrentChange" />
|
|
</div>
|
|
</div>
|
|
|
|
+ <!-- 添加或修改岗位对话框 -->
|
|
|
|
+ <el-dialog :title="dialog.title" v-model="dialog.visible" width="940px" append-to-body>
|
|
|
|
+ <div style="height: 500px">
|
|
|
|
+ <el-tabs tab-position="left" class="demo-tabs" style="height: 100%">
|
|
|
|
+ <el-tab-pane label="风">
|
|
|
|
+ <div class="container-tag">
|
|
|
|
+ <div class="item-tag">2分钟平均风速</div>
|
|
|
|
+ <div class="item-tag-active">2分钟平均风向</div>
|
|
|
|
+ <div class="item-tag">10分钟平均风速</div>
|
|
|
|
+ <div class="item-tag">10分钟平均风向</div>
|
|
|
|
+ <div class="item-tag">小时最大风速</div>
|
|
|
|
+ <div class="item-tag-active">小时最大风速的风向</div>
|
|
|
|
+ <div class="item-tag">小时极大风速出现时间</div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+ <el-tab-pane label="温湿度">Config</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="气压">Role</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="降水">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="云">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="能见度">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="天气现象">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="积雪">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="地面温度">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="大气电场">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="闪电">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="日照">Task</el-tab-pane>
|
|
|
|
+ <el-tab-pane label="总辐射">Task</el-tab-pane>
|
|
|
|
+ </el-tabs>
|
|
|
|
+ </div>
|
|
|
|
+ <template #footer>
|
|
|
|
+ <div class="dialog-footer">
|
|
|
|
+ <el-button @click="cancel">取 消</el-button>
|
|
|
|
+ <el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -97,6 +133,26 @@
|
|
import Pagination from "@/components/ProTable/components/Pagination.vue";
|
|
import Pagination from "@/components/ProTable/components/Pagination.vue";
|
|
import { ref, reactive } from "vue";
|
|
import { ref, reactive } from "vue";
|
|
import { ColumnProps } from "@/components/ProTable/interface";
|
|
import { ColumnProps } from "@/components/ProTable/interface";
|
|
|
|
+
|
|
|
|
+const dialog = reactive<any>({
|
|
|
|
+ visible: false,
|
|
|
|
+ title: ''
|
|
|
|
+});
|
|
|
|
+
|
|
|
|
+const handleSetting = () => {
|
|
|
|
+ dialog.title = "列表字段设置"
|
|
|
|
+ dialog.visible = true;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+const submitForm = () => {
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+const cancel = () => {
|
|
|
|
+ dialog.visible = false;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
const pageable = ref<any>({
|
|
const pageable = ref<any>({
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
pageSize: 20,
|
|
pageSize: 20,
|