-
-
-
-
- 新 增
- 修 改
- 删 除
-
- 下一步
-
-
- 撤 销
-
-
- 确认提交
-
-
- 修改提交
-
-
-
-
-
- 当前操作节点:
-
-
-
-
- {{ item }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 新 增
+ 修 改
+ 删 除
+
-
-
+ 下一步
+
+
+ 撤 销
+
+
+ 确认提交
+
+
+ 修改提交
+
-
+
+
+ 当前操作节点:
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
-
-
-
-
+ placeholder="请输入变电站名称"
+ >
+
-
-
-
-
-
+
+
+
-
-
-
-
+
-
-
-
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
@@ -1436,6 +1519,8 @@
defineOptions({
name: 'device-boot/deviceter'
})
+import 'splitpanes/dist/splitpanes.css'
+import { Splitpanes, Pane } from 'splitpanes'
import { LocationInformation } from '@element-plus/icons-vue'
import Terminal from '@/components/tree/pqs/Terminal.vue'
import { mainHeight } from '@/utils/layout'
@@ -1449,9 +1534,9 @@ import {
selectDown
} from '@/api/device-boot/Business'
import { useDictData } from '@/stores/dictData'
-import { ref, reactive } from 'vue'
+import { ref, reactive, onMounted } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
-
+const size = ref(0)
const TerminalRef = ref()
const pageHeight = mainHeight(20)
const Height = mainHeight(100)
@@ -2717,13 +2802,19 @@ const area = () => {
deviceBODetail.value.updateTime = year + '-' + month + '-' + day
deviceBODetail.value.nextTimeCheck = year + 1 + '-' + month + '-' + (day - 1 > 10 ? day - 1 : '0' + (day - 1))
}
+onMounted(() => {
+ const dom = document.getElementById('navigation-splitpanes')
+ if (dom) {
+ size.value = Math.round((180 / dom.offsetHeight) * 100)
+ }
+})
area()
-
diff --git a/src/views/pqs/database/algorithm/index.vue b/src/views/pqs/database/algorithm/index.vue
index e72d15d1..6b9d3f2e 100644
--- a/src/views/pqs/database/algorithm/index.vue
+++ b/src/views/pqs/database/algorithm/index.vue
@@ -1,6 +1,6 @@
-
+
-
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+ Click to upload
+
+ jpg/png files with a size less than 500KB.
+
+
@@ -38,6 +72,7 @@ const dialogVisible = ref(false)
const title = ref('')
const tableStore = inject('tableStore') as TableStore
const formRef = ref()
+const fileList = ref([])
// 注意不要和表单ref的命名冲突
const form = reactive({
code: '',
@@ -50,6 +85,8 @@ const rules = {
code: [{ required: true, message: '角色编码不能为空', trigger: 'blur' }]
}
+const handleExceed = (files: any, uploadFiles: any) => {}
+
const open = (text: string, data?: anyObj) => {
title.value = text
dialogVisible.value = true
diff --git a/src/views/pqs/database/case/index.vue b/src/views/pqs/database/case/index.vue
index 8a8ff60c..c29ff43e 100644
--- a/src/views/pqs/database/case/index.vue
+++ b/src/views/pqs/database/case/index.vue
@@ -1,6 +1,6 @@
-
+
新增
@@ -73,7 +73,7 @@ const tableStore = new TableStore({
// 弹框
const addUser = () => {
- popupEditRef.value.open('新增算法')
+ popupEditRef.value.open('新增案例')
}
provide('tableStore', tableStore)
diff --git a/src/views/pqs/database/standard/index.vue b/src/views/pqs/database/standard/index.vue
index 131a4d37..7e1fd624 100644
--- a/src/views/pqs/database/standard/index.vue
+++ b/src/views/pqs/database/standard/index.vue
@@ -1,11 +1,89 @@
-
- 标准
-
+
+
+
+
+
+
+
+
+ 新增
+ 修改
+ 删除
+
+
+
+
+
-
-
diff --git a/src/views/pqs/database/stencil/components/form.vue b/src/views/pqs/database/stencil/components/form.vue
new file mode 100644
index 00000000..1f6a4832
--- /dev/null
+++ b/src/views/pqs/database/stencil/components/form.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Click to upload
+
+ jpg/png files with a size less than 500KB.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/pqs/database/stencil/index.vue b/src/views/pqs/database/stencil/index.vue
index bb32f302..d187e524 100644
--- a/src/views/pqs/database/stencil/index.vue
+++ b/src/views/pqs/database/stencil/index.vue
@@ -1,11 +1,84 @@
-
- 模版
-
+
-
-
+import TableStore from '@/utils/tableStore'
+import TableHeader from '@/components/table/header/index.vue'
+
+import Table from '@/components/table/index.vue'
+import PopupEdit from './components/form.vue'
+defineOptions({
+ name: 'database/case'
+})
+
+const popupEditRef = ref()
+
+const TableHeaderRef = ref()
+
+const tableStore = new TableStore({
+ url: '/user-boot/dept/deptTree',
+ method: 'POST',
+ column: [
+ { title: '模版名称', field: 'name' },
+ {
+ title: '创建时间',
+ field: 'name1'
+ },
+ // {
+ // title: '发生地点',
+ // field: 'name2'
+ // },
+ // {
+ // title: '处理措施',
+ // field: 'name3'
+ // },
+ // {
+ // title: '治理效果',
+ // field: 'name4'
+ // }
+ ],
+ loadCallback: () => {
+ tableStore.table.data = [
+ {
+ name: '测试名称',
+ name1: 'xxx',
+ name2: 'XXX',
+ name3: '1月',
+ name4: '单体系统',
+ name5: '1'
+ },
+ {
+ name: '测试名称',
+ name1: 'xxx',
+ name2: 'XXX',
+ name3: '1月',
+ name4: '单体系统',
+ name5: '0'
+ }
+ ]
+ }
+})
+
+// 弹框
+const addUser = () => {
+ popupEditRef.value.open('新增案例')
+}
+
+provide('tableStore', tableStore)
+onMounted(() => {
+ tableStore.index()
+})
+
+
diff --git a/src/views/pqs/supervise/harmonicSurvey/components/planAdd.vue b/src/views/pqs/supervise/harmonicSurvey/components/planAdd.vue
index 697aad1c..34e7a3e6 100644
--- a/src/views/pqs/supervise/harmonicSurvey/components/planAdd.vue
+++ b/src/views/pqs/supervise/harmonicSurvey/components/planAdd.vue
@@ -173,9 +173,9 @@ const title = ref('')
const planAddition = ref(false)
const key: any = ref(0)
const dynamicProp = computed(() => {
- return supvTypeOptionList.filter(item => item.id === form.value.supvType)[0]?.code == 'Technical_Super'
- ? ''
- : 'substation'
+ // report_supervision
+ let code = supvTypeOptionList.filter(item => item.id === form.value.supvType)[0]?.code
+ return code == 'Technical_Super' ? '' : code == 'report_supervision' ? '' : 'substation'
})
const defaultProps = ref({