-
+
+
-
© 中建材智能自动化研究院有限公司
-
-
-
+
+ © 中建材智能自动化研究院有限公司
diff --git a/src/views/infra/apiErrorLog/index.vue b/src/views/infra/apiErrorLog/index.vue
new file mode 100644
index 00000000..f076bc72
--- /dev/null
+++ b/src/views/infra/apiErrorLog/index.vue
@@ -0,0 +1,228 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+
+
+
+
+
+ {{ parseTime(scope.row.exceptionTime) }}
+
+
+
+
+
+
+
+
+
+
+ 详细
+ 已处理
+ 已忽略
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ form.id }}
+ {{ form.traceId }}
+ {{ form.applicationName }}
+
+ {{ form.userId }} | {{ form.userIp }} | {{ form.userAgent}}
+
+ {{ form.requestMethod }} | {{ form.requestUrl }}
+ {{ form.requestParams }}
+ {{ parseTime(form.exceptionTime) }}
+ {{ form.exceptionName }}
+
+
+
+
+
+
+ {{ form.processUserId }}
+ {{ parseTime(form.processTime) }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/App.vue b/src/views/infra/build/App.vue
new file mode 100644
index 00000000..b25f0b56
--- /dev/null
+++ b/src/views/infra/build/App.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/CodeTypeDialog.vue b/src/views/infra/build/CodeTypeDialog.vue
new file mode 100644
index 00000000..6f0c0d19
--- /dev/null
+++ b/src/views/infra/build/CodeTypeDialog.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/DraggableItem.vue b/src/views/infra/build/DraggableItem.vue
new file mode 100644
index 00000000..4cccea6b
--- /dev/null
+++ b/src/views/infra/build/DraggableItem.vue
@@ -0,0 +1,120 @@
+
diff --git a/src/views/infra/build/FormDrawer.vue b/src/views/infra/build/FormDrawer.vue
new file mode 100644
index 00000000..8c3c3059
--- /dev/null
+++ b/src/views/infra/build/FormDrawer.vue
@@ -0,0 +1,331 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ template
+
+
+
+
+
+
+ script
+
+
+
+
+
+
+ css
+
+
+
+
+
+
+
+
+
+
+
+ 刷新
+
+
+
+ 导出vue文件
+
+
+
+ 复制代码
+
+
+
+ 关闭
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/IconsDialog.vue b/src/views/infra/build/IconsDialog.vue
new file mode 100644
index 00000000..ae4b2e80
--- /dev/null
+++ b/src/views/infra/build/IconsDialog.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
diff --git a/src/views/infra/build/JsonDrawer.vue b/src/views/infra/build/JsonDrawer.vue
new file mode 100644
index 00000000..07dfbf9c
--- /dev/null
+++ b/src/views/infra/build/JsonDrawer.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+ 刷新
+
+
+
+ 复制JSON
+
+
+
+ 导出JSON文件
+
+
+
+ 关闭
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/README.md b/src/views/infra/build/README.md
new file mode 100644
index 00000000..e69de29b
diff --git a/src/views/infra/build/ResourceDialog.vue b/src/views/infra/build/ResourceDialog.vue
new file mode 100644
index 00000000..58b728ab
--- /dev/null
+++ b/src/views/infra/build/ResourceDialog.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+ jQuery1.8.3
+
+
+ http-vue-loader
+
+
+ 添加其他
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/RightPanel.vue b/src/views/infra/build/RightPanel.vue
new file mode 100644
index 00000000..ca5dc0f5
--- /dev/null
+++ b/src/views/infra/build/RightPanel.vue
@@ -0,0 +1,1050 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.__config__.label }}
+
+
+
+
+
+
+
+
+ {{ activeData.__config__.componentName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选择
+
+
+
+
+
+
+ 选择
+
+
+
+
+
+
+ 选择
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 默认
+
+
+ 右侧
+
+
+
+
+
+
+ 个字符
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text
+
+
+ picture
+
+
+ picture-card
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选项
+
+
+
+
+
+ 添加选项
+
+
+
+
+
+
+ 选项
+
+
+
+ 动态数据
+
+
+ 静态数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加父级
+
+
+
+
+
+
+
+
+ 默认
+
+
+ 按钮
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 中等
+
+
+ 较小
+
+
+ 迷你
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 布局结构树
+
+
+
+
+ {{ node.label }}
+
+
+
+
+
+
+ 正则校验
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加规则
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 中等
+
+
+ 较小
+
+
+ 迷你
+
+
+
+
+
+
+ 左对齐
+
+
+ 右对齐
+
+
+ 顶部对齐
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/TreeNodeDialog.vue b/src/views/infra/build/TreeNodeDialog.vue
new file mode 100644
index 00000000..62d8c88f
--- /dev/null
+++ b/src/views/infra/build/TreeNodeDialog.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定
+
+
+ 取消
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/index.vue b/src/views/infra/build/index.vue
new file mode 100644
index 00000000..83f68240
--- /dev/null
+++ b/src/views/infra/build/index.vue
@@ -0,0 +1,470 @@
+
+
+
+
+
+
Form Generator
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+ {{ element.__config__.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看json
+
+
+ 导出vue文件
+
+
+ 复制代码
+
+
+ 清空
+
+
+
+
+
+
+
+
+
+ 从左侧拖入或点选组件进行表单设计
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/build/main.js b/src/views/infra/build/main.js
new file mode 100644
index 00000000..9ced7172
--- /dev/null
+++ b/src/views/infra/build/main.js
@@ -0,0 +1,19 @@
+import Vue from 'vue'
+import App from './App.vue'
+import router from '@/router'
+import '@/styles/index.scss'
+import '@/assets/icons'
+import axios from 'axios'
+import Tinymce from '@/components/tinymce/index.vue'
+
+Vue.component('tinymce', Tinymce)
+
+Vue.config.productionTip = false
+Vue.prototype.$axios = axios
+
+// add by 芋道源码:引用自 https://github.com/JakHuang/form-generator/tree/dev/src/views/index
+
+new Vue({
+ router,
+ render: h => h(App)
+}).$mount('#app')
diff --git a/src/views/infra/codegen/basicInfoForm.vue b/src/views/infra/codegen/basicInfoForm.vue
new file mode 100644
index 00000000..d2b37444
--- /dev/null
+++ b/src/views/infra/codegen/basicInfoForm.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 实体类名称
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/codegen/editTable.vue b/src/views/infra/codegen/editTable.vue
new file mode 100644
index 00000000..fee16c34
--- /dev/null
+++ b/src/views/infra/codegen/editTable.vue
@@ -0,0 +1,235 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+ 返回
+
+
+
+
+
diff --git a/src/views/infra/codegen/genInfoForm.vue b/src/views/infra/codegen/genInfoForm.vue
new file mode 100644
index 00000000..a9a6ac8f
--- /dev/null
+++ b/src/views/infra/codegen/genInfoForm.vue
@@ -0,0 +1,339 @@
+
+
+
+
+
+ 生成模板
+
+
+
+
+
+
+
+ 前端类型
+
+
+
+
+
+
+
+
+ 生成场景
+
+
+
+
+
+
+
+
+ 上级菜单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 模块名
+
+
+
+
+
+
+
+
+
+
+
+ 业务名
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 类名称
+
+
+
+
+
+
+
+
+
+
+
+ 类描述
+
+
+
+
+
+
+
+
+
+
+
+ 自定义路径
+
+
+
+
+
+
+
+ 最近路径快速选择
+
+
+
+ 恢复默认的生成基础路径
+
+
+
+
+
+
+
+
+
+
+
+
+ 树编码字段
+
+
+
+
+
+
+
+
+
+
+
+
+ 树父编码字段
+
+
+
+
+
+
+
+
+
+
+
+
+ 树名称字段
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 关联子表的表名
+
+
+
+
+
+
+
+
+
+
+
+
+ 子表关联的外键名
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/codegen/importTable.vue b/src/views/infra/codegen/importTable.vue
new file mode 100644
index 00000000..bf5252d4
--- /dev/null
+++ b/src/views/infra/codegen/importTable.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/codegen/index.vue b/src/views/infra/codegen/index.vue
new file mode 100644
index 00000000..252f1197
--- /dev/null
+++ b/src/views/infra/codegen/index.vue
@@ -0,0 +1,317 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 导入
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ {{ parseTime(scope.row.updateTime) }}
+
+
+
+
+ 预览
+ 编辑
+ 删除
+ 同步
+ 生成代码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 复制
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/config/index.vue b/src/views/infra/config/index.vue
new file mode 100644
index 00000000..6ec5ac0b
--- /dev/null
+++ b/src/views/infra/config/index.vue
@@ -0,0 +1,262 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.visible ? '是' : '否' }}
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/dataSourceConfig/index.vue b/src/views/infra/dataSourceConfig/index.vue
new file mode 100644
index 00000000..576259ce
--- /dev/null
+++ b/src/views/infra/dataSourceConfig/index.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/dbDoc/index.vue b/src/views/infra/dbDoc/index.vue
new file mode 100644
index 00000000..a7b40f8c
--- /dev/null
+++ b/src/views/infra/dbDoc/index.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+ 导出 HTML
+ 导出 Word
+ 导出 Markdown
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/druid/index.vue b/src/views/infra/druid/index.vue
new file mode 100644
index 00000000..88a70a5b
--- /dev/null
+++ b/src/views/infra/druid/index.vue
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/file/index.vue b/src/views/infra/file/index.vue
new file mode 100644
index 00000000..b4ebf35f
--- /dev/null
+++ b/src/views/infra/file/index.vue
@@ -0,0 +1,216 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 上传文件
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无法预览,点击
+ 下载
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或 点击上传
+
+ 提示:仅允许导入 jpg、png、gif 格式文件!
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/fileConfig/index.vue b/src/views/infra/fileConfig/index.vue
new file mode 100644
index 00000000..01e671fa
--- /dev/null
+++ b/src/views/infra/fileConfig/index.vue
@@ -0,0 +1,305 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+ 主配置
+ 测试
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 主动模式
+ 主动模式
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/job/index.vue b/src/views/infra/job/index.vue
new file mode 100644
index 00000000..7bf1f2f7
--- /dev/null
+++ b/src/views/infra/job/index.vue
@@ -0,0 +1,378 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+ 执行日志
+
+
+
+
+
+
+
+
+
+
+
+ >
+
+
+
+
+
+ 修改
+ 开启
+ 暂停
+ 删除
+ handleCommand(command, scope.row)"
+ v-hasPermi="['infra:job:trigger', 'infra:job:query']">
+ 更多
+
+ 执行一次
+ 任务详细
+ 调度日志
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 生成表达式
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ form.id }}
+ {{ form.name }}
+
+
+
+ {{ form.handlerName }}
+ {{ form.handlerParam }}
+ {{ form.cronExpression }}
+ {{ form.retryCount }}
+ {{ form.retryInterval + " 毫秒" }}
+ {{ form.monitorTimeout > 0 ? form.monitorTimeout + " 毫秒" : "未开启" }}
+ {{ Array.from(nextTimes, x => parseTime(x)).join('; ')}}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/job/log.vue b/src/views/infra/job/log.vue
new file mode 100644
index 00000000..9293883d
--- /dev/null
+++ b/src/views/infra/job/log.vue
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.beginTime) + ' ~ ' + parseTime(scope.row.endTime) }}
+
+
+
+
+ {{ scope.row.duration + ' 毫秒' }}
+
+
+
+
+
+
+
+
+
+ 详细
+
+
+
+
+
+
+
+
+
+
+
+ {{ form.id }}
+ {{ form.jobId }}
+ {{ form.handlerName }}
+ {{ form.handlerParam }}
+ {{ form.executeIndex }}
+ {{ parseTime(form.beginTime) + ' ~ ' + parseTime(form.endTime) }}
+ {{ form.duration + ' 毫秒' }}
+
+
+
+ {{ form.result }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/redis/index.vue b/src/views/infra/redis/index.vue
new file mode 100644
index 00000000..0f08aef8
--- /dev/null
+++ b/src/views/infra/redis/index.vue
@@ -0,0 +1,157 @@
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+
+ Redis版本 |
+ {{ cache.info.redis_version }} |
+ 运行模式 |
+ {{ cache.info.redis_mode === "standalone" ? "单机" : "集群" }} |
+ 端口 |
+ {{ cache.info.tcp_port }} |
+ 客户端数 |
+ {{ cache.info.connected_clients }} |
+
+
+ 运行时间(天) |
+ {{ cache.info.uptime_in_days }} |
+ 使用内存 |
+ {{ cache.info.used_memory_human }} |
+ 使用CPU |
+ {{ parseFloat(cache.info.used_cpu_user_children).toFixed(2) }} |
+ 内存配置 |
+ {{ cache.info.maxmemory_human }} |
+
+
+ AOF是否开启 |
+ {{ cache.info.aof_enabled === "0" ? "否" : "是" }} |
+ RDB是否成功 |
+ {{ cache.info.rdb_last_bgsave_status }} |
+ Key数量 |
+ {{ cache.dbSize }} |
+ 网络入口/出口 |
+ {{ cache.info.instantaneous_input_kbps }}kps/{{cache.info.instantaneous_output_kbps}}kps |
+
+
+
+
+
+
+
+
+
+ 命令统计
+
+
+
+
+
+
+
+ 内存信息
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/server/index.vue b/src/views/infra/server/index.vue
new file mode 100644
index 00000000..575597d8
--- /dev/null
+++ b/src/views/infra/server/index.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
diff --git a/src/views/infra/skywalking/index.vue b/src/views/infra/skywalking/index.vue
new file mode 100644
index 00000000..2b3f2a19
--- /dev/null
+++ b/src/views/infra/skywalking/index.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
diff --git a/src/views/infra/swagger/index.vue b/src/views/infra/swagger/index.vue
new file mode 100644
index 00000000..249269c8
--- /dev/null
+++ b/src/views/infra/swagger/index.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
diff --git a/src/views/infra/testDemo/index.vue b/src/views/infra/testDemo/index.vue
new file mode 100644
index 00000000..a68c2162
--- /dev/null
+++ b/src/views/infra/testDemo/index.vue
@@ -0,0 +1,257 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 请选择字典生成
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/infra/webSocket/index.vue b/src/views/infra/webSocket/index.vue
new file mode 100644
index 00000000..d48ffd3c
--- /dev/null
+++ b/src/views/infra/webSocket/index.vue
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ ws && ws.readyState === 1 ? "已连接" : "连接" }}
+
+ 断开
+
+
+
+
+
+
+
+ 发送消息
+
+
+
+
+
+ 清空消息
+
+
+
+
+
+
diff --git a/src/views/report/glass/inputTable.vue b/src/views/report/glass/inputTable.vue
index 4b33c779..d1a7f80d 100644
--- a/src/views/report/glass/inputTable.vue
+++ b/src/views/report/glass/inputTable.vue
@@ -1,14 +1,14 @@
- 编辑
+ 编辑
返回
保存
@@ -20,7 +20,7 @@
{{ scope.row[y.prop] }}
-
@@ -158,9 +158,19 @@ const cols = [
cols,
remark:null,
edit: false,
+ noData:false,
};
},
- watch: {
+ watch: {
+ data: {
+ handler(newv, oldv) {
+ if (newv.length != 0) {
+ this.noData = false
+ } else {
+ this.noData = true
+ }
+ }
+ },
time: {
immediate: true,
handler(newv, oldv) {
diff --git a/src/views/report/productionDayReport/index.vue b/src/views/report/productionDayReport/index.vue
index f16e7da3..03698658 100644
--- a/src/views/report/productionDayReport/index.vue
+++ b/src/views/report/productionDayReport/index.vue
@@ -1,7 +1,7 @@
@@ -17,7 +17,7 @@
@click="handleExport">导出
- 编辑
+ 编辑
返回
保存
@@ -28,59 +28,61 @@
-
+
{{ scope.row.lineName }}
-
+
{{ scope.row.inputNow }}
-
+
{{ scope.row.inputHis }}
-
- {{ scope.row.inputTrend ? parseFloat((scope.row.inputTrend * 100).toFixed(2)) + '%' :
- null}}
+
+ {{ scope.row.inputTrend && scope.row.inputTrend != 0 ? parseFloat((scope.row.inputTrend *
+ 100).toFixed(2)) + '%' : scope.row.inputTrend == 0 ? 0 : null }}
-
+
{{ scope.row.goodProductNow }}
-
+
{{ scope.row.goodProductHis }}
-
+
- {{ scope.row.goodProductTrend ? parseFloat((scope.row.goodProductTrend * 100).toFixed(2)) +
- '%' : null }}
+ {{ scope.row.goodProductTrend && scope.row.goodProductTrend != 0 ?
+ parseFloat((scope.row.goodProductTrend * 100).toFixed(2)) + '%' : scope.row.goodProductTrend == 0 ? 0 :
+ null
+ }}
-
+
{{ scope.row.missCheckNow ? parseFloat((scope.row.missCheckNow *
100).toFixed(2)) +
'%' : null }}
@@ -89,7 +91,7 @@
-
+
{{ scope.row.missCheckHis ? parseFloat((scope.row.missCheckHis *
100).toFixed(2)) +
'%' : null }}
@@ -98,19 +100,18 @@
-
+
- {{ scope.row.missCheckTrend ? parseFloat((scope.row.missCheckTrend *
- 100).toFixed(2)) +
- '%' : null }}
-
+ {{ scope.row.missCheckTrend && scope.row.missCheckTrend != 0 ?
+ parseFloat((scope.row.missCheckTrend * 100).toFixed(2)) + '%' : scope.row.missCheckTrend == 0 ? 0 : null
+ }}
-
+
{{ scope.row.goodProductPassNow ? parseFloat((scope.row.goodProductPassNow *
100).toFixed(2)) +
@@ -120,7 +121,7 @@
-
+
{{ scope.row.goodProductPassHis ? parseFloat((scope.row.goodProductPassHis *
100).toFixed(2)) +
@@ -130,12 +131,13 @@
-
+
- {{ scope.row.goodProductPassTrend ? parseFloat((scope.row.goodProductPassTrend *
- 100).toFixed(2)) +
- '%' : null }}
-
+ {{ scope.row.goodProductPassTrend && scope.row.goodProductPassTrend != 0 ?
+ parseFloat((scope.row.goodProductPassTrend * 100).toFixed(2)) + '%' : scope.row.goodProductPassTrend ==
+ 0 ? 0 :
+ null
+ }}
@@ -284,6 +286,7 @@ export default {
urlOptions: {
exportURL: exportProductExcel
},
+ noData:false,
isSave:false,
disabled: true,
sumArr: [],
@@ -631,6 +634,11 @@ export default {
params: this.listQuery
})
console.log(res)
+ if (res.data.list.length == 0) {
+ this.noData = true
+ } else {
+ this.noData = false
+ }
// let sum = undefined
// res.data.list.forEach((ele, index) => {
// if (ele.det === false) {
diff --git a/src/views/report/productionMonthReport/index.vue b/src/views/report/productionMonthReport/index.vue
index ccbf66e3..4e261440 100644
--- a/src/views/report/productionMonthReport/index.vue
+++ b/src/views/report/productionMonthReport/index.vue
@@ -1,7 +1,7 @@
@@ -17,7 +17,7 @@
@click="handleExport">导出
- 编辑
+ 编辑
返回
保存
@@ -28,114 +28,122 @@
-
+
{{ scope.row.lineName }}
-
+
{{ scope.row.inputNow }}
-
+
{{ scope.row.inputHis }}
-
- {{ scope.row.inputTrend ? parseFloat((scope.row.inputTrend *
- 100).toFixed(2)) + '%' : undefined }}
+
+
+ {{ scope.row.inputTrend && scope.row.inputTrend != 0 ?
+ parseFloat((scope.row.inputTrend * 100).toFixed(2)) + '%' : scope.row.inputTrend == 0 ? 0 :
+ null
+ }}
-
+
{{ scope.row.goodProductNow }}
-
+
{{ scope.row.goodProductHis }}
-
+
- {{ scope.row.goodProductTrend ? parseFloat((scope.row.goodProductTrend *
- 100).toFixed(2)) + '%' : undefined }}
+ {{ scope.row.goodProductTrend && scope.row.goodProductTrend != 0 ?
+ parseFloat((scope.row.goodProductTrend * 100).toFixed(2)) + '%' : scope.row.goodProductTrend == 0 ? 0 :
+ null
+ }}
-
+
{{ scope.row.missCheckNow ? parseFloat((scope.row.missCheckNow *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
{{ scope.row.missCheckHis ? parseFloat((scope.row.missCheckHis *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
- {{ scope.row.missCheckTrend ? parseFloat((scope.row.missCheckTrend *
- 100).toFixed(2)) +
- '%' : undefined }}
-
+ {{ scope.row.missCheckTrend && scope.row.missCheckTrend != 0 ?
+ parseFloat((scope.row.missCheckTrend * 100).toFixed(2)) + '%' : scope.row.missCheckTrend == 0 ?
+ 0 :
+ null
+ }}
-
+
{{ scope.row.goodProductPassNow ? parseFloat((scope.row.goodProductPassNow *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
{{ scope.row.goodProductPassHis ? parseFloat((scope.row.goodProductPassHis *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
- {{ scope.row.goodProductPassTrend ? parseFloat((scope.row.goodProductPassTrend *
- 100).toFixed(2)) +
- '%' : undefined }}
-
+ {{ scope.row.goodProductPassTrend && scope.row.goodProductPassTrend != 0 ?
+ parseFloat((scope.row.goodProductPassTrend * 100).toFixed(2)) + '%' : scope.row.goodProductPassTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
@@ -288,6 +296,7 @@ export default {
isSave:false,
disabled: true,
sumArr: [],
+ noData:false,
timeTips:'',
searchBarFormConfig: [
// {
@@ -666,6 +675,11 @@ export default {
params: this.dataForm
})
console.log(res)
+ if (res.data.list.length == 0) {
+ this.noData = true
+ } else {
+ this.noData = false
+ }
// let sum = undefined
// res.data.list.forEach((ele, index) => {
// if (ele.det === false) {
diff --git a/src/views/report/productionShipmentsReport/index.vue b/src/views/report/productionShipmentsReport/index.vue
index 350872ac..005440df 100644
--- a/src/views/report/productionShipmentsReport/index.vue
+++ b/src/views/report/productionShipmentsReport/index.vue
@@ -1,7 +1,7 @@
@@ -25,7 +25,7 @@
background: '#F2F4F9',
color: '#606266'
}">
-
+
@@ -39,7 +39,7 @@
-
+
@@ -59,7 +59,7 @@
-->
-
+
diff --git a/src/views/report/productionWeekReport/index.vue b/src/views/report/productionWeekReport/index.vue
index 55d75c3d..a7d91a1c 100644
--- a/src/views/report/productionWeekReport/index.vue
+++ b/src/views/report/productionWeekReport/index.vue
@@ -1,7 +1,7 @@
@@ -20,7 +20,7 @@
@click="handleExport">导出
- 编辑
+ 编辑
返回
保存
@@ -31,114 +31,126 @@
-
+
{{ scope.row.lineName }}
-
+
{{ scope.row.inputNow }}
-
+
{{ scope.row.inputHis }}
-
- {{ scope.row.inputTrend ? parseFloat((scope.row.inputTrend *
- 100).toFixed(2)) + '%' : undefined }}
+
+ {{ scope.row.inputTrend && scope.row.inputTrend != 0 ?
+ parseFloat((scope.row.inputTrend * 100).toFixed(2)) + '%' : scope.row.inputTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
-
+
{{ scope.row.goodProductNow }}
-
+
{{ scope.row.goodProductHis }}
-
+
- {{ scope.row.goodProductTrend ? parseFloat((scope.row.goodProductTrend *
- 100).toFixed(2)) + '%' : undefined }}
+ {{ scope.row.goodProductTrend && scope.row.goodProductTrend != 0 ?
+ parseFloat((scope.row.goodProductTrend * 100).toFixed(2)) + '%' : scope.row.goodProductTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
-
+
{{ scope.row.missCheckNow ? parseFloat((scope.row.missCheckNow *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
{{ scope.row.missCheckHis ? parseFloat((scope.row.missCheckHis *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
- {{ scope.row.missCheckTrend ? parseFloat((scope.row.missCheckTrend *
- 100).toFixed(2)) +
- '%' : undefined }}
-
+ {{ scope.row.missCheckTrend && scope.row.missCheckTrend != 0 ?
+ parseFloat((scope.row.missCheckTrend * 100).toFixed(2)) + '%' : scope.row.missCheckTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
-
+
{{ scope.row.goodProductPassNow ? parseFloat((scope.row.goodProductPassNow *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
{{ scope.row.goodProductPassHis ? parseFloat((scope.row.goodProductPassHis *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
- {{ scope.row.goodProductPassTrend ? parseFloat((scope.row.goodProductPassTrend *
- 100).toFixed(2)) +
- '%' : undefined }}
-
+ {{ scope.row.goodProductPassTrend && scope.row.goodProductPassTrend != 0 ?
+ parseFloat((scope.row.goodProductPassTrend * 100).toFixed(2)) + '%' : scope.row.goodProductPassTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
@@ -296,6 +308,7 @@ export default {
isSave:false,
disabled: true,
sumArr: [],
+ noData:false,
weekValue1: null,//最多24周
weekValue2: null,
searchBarFormConfig: [
@@ -629,6 +642,11 @@ export default {
})
// console.log(this.queryParams);
console.log(res)
+ if (res.data.list.length == 0) {
+ this.noData = true
+ } else {
+ this.noData = false
+ }
// let sum = undefined
// res.data.list.forEach((ele, index) => {
// if (ele.det === false) {
diff --git a/src/views/report/productionYearReport/index.vue b/src/views/report/productionYearReport/index.vue
index c0c81cec..e86fd126 100644
--- a/src/views/report/productionYearReport/index.vue
+++ b/src/views/report/productionYearReport/index.vue
@@ -1,7 +1,7 @@
@@ -21,7 +21,7 @@
保存 -->
- 编辑
+ 编辑
返回
保存
@@ -33,114 +33,126 @@
-
+
{{ scope.row.lineName }}
-
+
{{ scope.row.inputNow }}
-
+
{{ scope.row.inputHis }}
-
- {{ scope.row.inputTrend ? parseFloat((scope.row.inputTrend *
- 100).toFixed(2)) + '%' : undefined }}
+
+ {{ scope.row.inputTrend && scope.row.inputTrend != 0 ?
+ parseFloat((scope.row.inputTrend * 100).toFixed(2)) + '%' : scope.row.inputTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
-
+
{{ scope.row.goodProductNow }}
-
+
{{ scope.row.goodProductHis }}
-
+
- {{ scope.row.goodProductTrend ? parseFloat((scope.row.goodProductTrend *
- 100).toFixed(2)) + '%' : undefined }}
+ {{ scope.row.goodProductTrend && scope.row.goodProductTrend != 0 ?
+ parseFloat((scope.row.goodProductTrend * 100).toFixed(2)) + '%' : scope.row.goodProductTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
-
+
{{ scope.row.missCheckNow ? parseFloat((scope.row.missCheckNow *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
{{ scope.row.missCheckHis ? parseFloat((scope.row.missCheckHis *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
- {{ scope.row.missCheckTrend ? parseFloat((scope.row.missCheckTrend *
- 100).toFixed(2)) +
- '%' : undefined }}
-
+ {{ scope.row.missCheckTrend && scope.row.missCheckTrend != 0 ?
+ parseFloat((scope.row.missCheckTrend * 100).toFixed(2)) + '%' : scope.row.missCheckTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
-
+
{{ scope.row.goodProductPassNow ? parseFloat((scope.row.goodProductPassNow *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
{{ scope.row.goodProductPassHis ? parseFloat((scope.row.goodProductPassHis *
- 100).toFixed(2)) +
- '%' : undefined }}
+ 100).toFixed(2)) +
+ '%' : null }}
-
+
- {{ scope.row.goodProductPassTrend ? parseFloat((scope.row.goodProductPassTrend *
- 100).toFixed(2)) +
- '%' : undefined }}
-
+ {{ scope.row.goodProductPassTrend && scope.row.goodProductPassTrend != 0 ?
+ parseFloat((scope.row.goodProductPassTrend * 100).toFixed(2)) + '%' : scope.row.goodProductPassTrend ==
+ 0 ?
+ 0 :
+ null
+ }}
@@ -291,6 +303,7 @@ export default {
yearValue2: null,
// dynamicProps: [],
tableProps,
+ noData:false,
reportTime: [],
startTimeStamp: '',
endTimeStamp: '',
@@ -567,7 +580,12 @@ export default {
})
// console.log(this.queryParams);
console.log(res)
- let sum = undefined
+ if (res.data.list.length == 0) {
+ this.noData = true
+ } else {
+ this.noData = false
+ }
+ // let sum = undefined
// res.data.list.forEach((ele, index) => {
// if (ele.det === false) {
// sum = res.data.list.splice(index, 1)
diff --git a/src/views/safetyEnvironmental/environmental/voc/vocManagement/index.vue b/src/views/safetyEnvironmental/environmental/voc/vocManagement/index.vue
index 4045c752..ff45dd42 100644
--- a/src/views/safetyEnvironmental/environmental/voc/vocManagement/index.vue
+++ b/src/views/safetyEnvironmental/environmental/voc/vocManagement/index.vue
@@ -9,10 +9,11 @@
-
{{item.checkValue ? (item.checkValue).toFixed(2) : '-'}}
+
{{ item.checkValue ? (item.checkValue).toFixed(2) : '-' }}
- {{item.name}}
+ {{ item.name }}
+
@@ -24,8 +25,8 @@
检测指标趋势图
-
-
+
+
@@ -37,11 +38,11 @@ import LineChart from './../../components/lineChart'
import SearchArea from './../../components/searchArea'
import moment from 'moment'
export default {
- name: 'Voc',
- data(){
+ name: 'VocManagement',
+ data() {
return {
- realtimeList:[],
- queryParams:{
+ realtimeList: [],
+ queryParams: {
checkType: 3,
timeDim: null,
timeRange: []
@@ -53,18 +54,18 @@ export default {
mounted() {
this.getMsg()
this.queryParams.timeDim = this.getDictDatas(this.DICT_TYPE.TIME_DIM)[0].value // 默认时
- this.queryParams.timeRange = [moment().startOf('day')+0, moment().endOf('day')-59*61*1000]
+ this.queryParams.timeRange = [moment().startOf('day') + 0, moment().endOf('day') - 59 * 61 * 1000]
this.getTrend()
},
methods: {
getMsg() {
- environmentalCheckRealtime({checkType: 3}).then(res => {
+ environmentalCheckRealtime({ checkType: 3 }).then(res => {
console.log(res)
this.realtimeList = res.data || []
})
},
getTrend() {
- environmentalCheckRealtimeTrend({...this.queryParams}).then(res => {
+ environmentalCheckRealtimeTrend({ ...this.queryParams }).then(res => {
if (res.code === 0) {
this.chartData = res.data
} else {
@@ -85,34 +86,41 @@ export default {