diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 4a1f370..f08078d 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -46,7 +46,7 @@ }, // 表格高度 height: { - type: Number, + type: String, default() { return null }, @@ -192,7 +192,7 @@ ref="table" v-loading="listLoading" :data="data" - :height="height" + :max-height="props.height" border stripe :size="size" diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 4a1f370..f08078d 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -46,7 +46,7 @@ }, // 表格高度 height: { - type: Number, + type: String, default() { return null }, @@ -192,7 +192,7 @@ ref="table" v-loading="listLoading" :data="data" - :height="height" + :max-height="props.height" border stripe :size="size" diff --git a/src/components/benchCol/index.vue b/src/components/benchCol/index.vue index 6f816d8..aaf49ec 100644 --- a/src/components/benchCol/index.vue +++ b/src/components/benchCol/index.vue @@ -1,4 +1,6 @@ @@ -34,10 +92,39 @@ {{ title }} 更多 > + + + + + + + + + + + @@ -69,6 +156,15 @@ margin-right: 5px; } + .edit-icon { + cursor: pointer; + } + + .delete-icon { + color: red; + cursor: pointer; + } + .title { color: #000; font-size: 16px; diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 4a1f370..f08078d 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -46,7 +46,7 @@ }, // 表格高度 height: { - type: Number, + type: String, default() { return null }, @@ -192,7 +192,7 @@ ref="table" v-loading="listLoading" :data="data" - :height="height" + :max-height="props.height" border stripe :size="size" diff --git a/src/components/benchCol/index.vue b/src/components/benchCol/index.vue index 6f816d8..aaf49ec 100644 --- a/src/components/benchCol/index.vue +++ b/src/components/benchCol/index.vue @@ -1,4 +1,6 @@ @@ -34,10 +92,39 @@ {{ title }} 更多 > + + + + + + + + + + + @@ -69,6 +156,15 @@ margin-right: 5px; } + .edit-icon { + cursor: pointer; + } + + .delete-icon { + color: red; + cursor: pointer; + } + .title { color: #000; font-size: 16px; diff --git a/src/views/tested/dashboard/components/deviceDetail.vue b/src/views/tested/dashboard/components/deviceDetail.vue new file mode 100644 index 0000000..bf41058 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceDetail.vue @@ -0,0 +1,198 @@ + + + + + + + + + 设备详情 + + + + + + 计量计划完成率: 20% + + + + + + 设备类型 + + + + + + 计量专业分类 + + + + + + + + 检定通知 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 4a1f370..f08078d 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -46,7 +46,7 @@ }, // 表格高度 height: { - type: Number, + type: String, default() { return null }, @@ -192,7 +192,7 @@ ref="table" v-loading="listLoading" :data="data" - :height="height" + :max-height="props.height" border stripe :size="size" diff --git a/src/components/benchCol/index.vue b/src/components/benchCol/index.vue index 6f816d8..aaf49ec 100644 --- a/src/components/benchCol/index.vue +++ b/src/components/benchCol/index.vue @@ -1,4 +1,6 @@ @@ -34,10 +92,39 @@ {{ title }} 更多 > + + + + + + + + + + + @@ -69,6 +156,15 @@ margin-right: 5px; } + .edit-icon { + cursor: pointer; + } + + .delete-icon { + color: red; + cursor: pointer; + } + .title { color: #000; font-size: 16px; diff --git a/src/views/tested/dashboard/components/deviceDetail.vue b/src/views/tested/dashboard/components/deviceDetail.vue new file mode 100644 index 0000000..bf41058 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceDetail.vue @@ -0,0 +1,198 @@ + + + + + + + + + 设备详情 + + + + + + 计量计划完成率: 20% + + + + + + 设备类型 + + + + + + 计量专业分类 + + + + + + + + 检定通知 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/deviceList.vue b/src/views/tested/dashboard/components/deviceList.vue new file mode 100644 index 0000000..bf01689 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceList.vue @@ -0,0 +1,315 @@ + + + + + + + + + + + {{ item.name }} + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + + + + + + + diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 4a1f370..f08078d 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -46,7 +46,7 @@ }, // 表格高度 height: { - type: Number, + type: String, default() { return null }, @@ -192,7 +192,7 @@ ref="table" v-loading="listLoading" :data="data" - :height="height" + :max-height="props.height" border stripe :size="size" diff --git a/src/components/benchCol/index.vue b/src/components/benchCol/index.vue index 6f816d8..aaf49ec 100644 --- a/src/components/benchCol/index.vue +++ b/src/components/benchCol/index.vue @@ -1,4 +1,6 @@ @@ -34,10 +92,39 @@ {{ title }} 更多 > + + + + + + + + + + + @@ -69,6 +156,15 @@ margin-right: 5px; } + .edit-icon { + cursor: pointer; + } + + .delete-icon { + color: red; + cursor: pointer; + } + .title { color: #000; font-size: 16px; diff --git a/src/views/tested/dashboard/components/deviceDetail.vue b/src/views/tested/dashboard/components/deviceDetail.vue new file mode 100644 index 0000000..bf41058 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceDetail.vue @@ -0,0 +1,198 @@ + + + + + + + + + 设备详情 + + + + + + 计量计划完成率: 20% + + + + + + 设备类型 + + + + + + 计量专业分类 + + + + + + + + 检定通知 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/deviceList.vue b/src/views/tested/dashboard/components/deviceList.vue new file mode 100644 index 0000000..bf01689 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceList.vue @@ -0,0 +1,315 @@ + + + + + + + + + + + {{ item.name }} + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/editSchedule.vue b/src/views/tested/dashboard/components/editSchedule.vue new file mode 100644 index 0000000..a237371 --- /dev/null +++ b/src/views/tested/dashboard/components/editSchedule.vue @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 确定 + + + 取消 + + + + + + + + diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 4a1f370..f08078d 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -46,7 +46,7 @@ }, // 表格高度 height: { - type: Number, + type: String, default() { return null }, @@ -192,7 +192,7 @@ ref="table" v-loading="listLoading" :data="data" - :height="height" + :max-height="props.height" border stripe :size="size" diff --git a/src/components/benchCol/index.vue b/src/components/benchCol/index.vue index 6f816d8..aaf49ec 100644 --- a/src/components/benchCol/index.vue +++ b/src/components/benchCol/index.vue @@ -1,4 +1,6 @@ @@ -34,10 +92,39 @@ {{ title }} 更多 > + + + + + + + + + + + @@ -69,6 +156,15 @@ margin-right: 5px; } + .edit-icon { + cursor: pointer; + } + + .delete-icon { + color: red; + cursor: pointer; + } + .title { color: #000; font-size: 16px; diff --git a/src/views/tested/dashboard/components/deviceDetail.vue b/src/views/tested/dashboard/components/deviceDetail.vue new file mode 100644 index 0000000..bf41058 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceDetail.vue @@ -0,0 +1,198 @@ + + + + + + + + + 设备详情 + + + + + + 计量计划完成率: 20% + + + + + + 设备类型 + + + + + + 计量专业分类 + + + + + + + + 检定通知 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/deviceList.vue b/src/views/tested/dashboard/components/deviceList.vue new file mode 100644 index 0000000..bf01689 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceList.vue @@ -0,0 +1,315 @@ + + + + + + + + + + + {{ item.name }} + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/editSchedule.vue b/src/views/tested/dashboard/components/editSchedule.vue new file mode 100644 index 0000000..a237371 --- /dev/null +++ b/src/views/tested/dashboard/components/editSchedule.vue @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 确定 + + + 取消 + + + + + + + + diff --git a/src/views/tested/dashboard/components/rightBox.vue b/src/views/tested/dashboard/components/rightBox.vue new file mode 100644 index 0000000..3cdf697 --- /dev/null +++ b/src/views/tested/dashboard/components/rightBox.vue @@ -0,0 +1,350 @@ + + + + + + + + + + + 工作日历 + + + + + + + + {{ data.day.split("-").slice(2).join() }} + + + + + + {{ key }} + + {{ e.scheduleMatters }} + + + + + + + + + + + + + + + + + + + + 展开↓ + + + + + + 通知公告 + + + 查看更多 + + + + + + + + + + + + + + + + + + 审批提醒 + + + 查看更多 + + + + + + + + + + + + + + + + + + 工作提醒 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 4a1f370..f08078d 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -46,7 +46,7 @@ }, // 表格高度 height: { - type: Number, + type: String, default() { return null }, @@ -192,7 +192,7 @@ ref="table" v-loading="listLoading" :data="data" - :height="height" + :max-height="props.height" border stripe :size="size" diff --git a/src/components/benchCol/index.vue b/src/components/benchCol/index.vue index 6f816d8..aaf49ec 100644 --- a/src/components/benchCol/index.vue +++ b/src/components/benchCol/index.vue @@ -1,4 +1,6 @@ @@ -34,10 +92,39 @@ {{ title }} 更多 > + + + + + + + + + + + @@ -69,6 +156,15 @@ margin-right: 5px; } + .edit-icon { + cursor: pointer; + } + + .delete-icon { + color: red; + cursor: pointer; + } + .title { color: #000; font-size: 16px; diff --git a/src/views/tested/dashboard/components/deviceDetail.vue b/src/views/tested/dashboard/components/deviceDetail.vue new file mode 100644 index 0000000..bf41058 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceDetail.vue @@ -0,0 +1,198 @@ + + + + + + + + + 设备详情 + + + + + + 计量计划完成率: 20% + + + + + + 设备类型 + + + + + + 计量专业分类 + + + + + + + + 检定通知 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/deviceList.vue b/src/views/tested/dashboard/components/deviceList.vue new file mode 100644 index 0000000..bf01689 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceList.vue @@ -0,0 +1,315 @@ + + + + + + + + + + + {{ item.name }} + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/editSchedule.vue b/src/views/tested/dashboard/components/editSchedule.vue new file mode 100644 index 0000000..a237371 --- /dev/null +++ b/src/views/tested/dashboard/components/editSchedule.vue @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 确定 + + + 取消 + + + + + + + + diff --git a/src/views/tested/dashboard/components/rightBox.vue b/src/views/tested/dashboard/components/rightBox.vue new file mode 100644 index 0000000..3cdf697 --- /dev/null +++ b/src/views/tested/dashboard/components/rightBox.vue @@ -0,0 +1,350 @@ + + + + + + + + + + + 工作日历 + + + + + + + + {{ data.day.split("-").slice(2).join() }} + + + + + + {{ key }} + + {{ e.scheduleMatters }} + + + + + + + + + + + + + + + + + + + + 展开↓ + + + + + + 通知公告 + + + 查看更多 + + + + + + + + + + + + + + + + + + 审批提醒 + + + 查看更多 + + + + + + + + + + + + + + + + + + 工作提醒 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/verificationDetail.vue b/src/views/tested/dashboard/components/verificationDetail.vue new file mode 100644 index 0000000..fcb8084 --- /dev/null +++ b/src/views/tested/dashboard/components/verificationDetail.vue @@ -0,0 +1,168 @@ + + + + + + + + 检定详情 + + + + + + + {{ item.name }} + + + + + {{ item.value }} + + + + + + + + + + + diff --git a/.env.development b/.env.development index 90ffbff..3b6f68d 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ VITE_SYS_TITLE = 受检设备管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://139.198.29.133:8089 -# VITE_APP_API_BASEURL = http://111.198.10.15:21611 -VITE_APP_API_BASEURL = http://192.168.8.107:5909 +VITE_APP_API_BASEURL = http://111.198.10.15:21611 +# VITE_APP_API_BASEURL = http://192.168.8.107:5909 # VITE_APP_API_BASEURL = http://111.198.10.15:21710 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/public/config/config.json b/public/config/config.json index 0127d2f..3bd0a89 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,4 +1,4 @@ { "title":"计量业务系统", - "baseUrl": "http://192.168.8.107:5909" + "baseUrl": "http://111.198.10.15:21611" } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 4a1f370..f08078d 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -46,7 +46,7 @@ }, // 表格高度 height: { - type: Number, + type: String, default() { return null }, @@ -192,7 +192,7 @@ ref="table" v-loading="listLoading" :data="data" - :height="height" + :max-height="props.height" border stripe :size="size" diff --git a/src/components/benchCol/index.vue b/src/components/benchCol/index.vue index 6f816d8..aaf49ec 100644 --- a/src/components/benchCol/index.vue +++ b/src/components/benchCol/index.vue @@ -1,4 +1,6 @@ @@ -34,10 +92,39 @@ {{ title }} 更多 > + + + + + + + + + + + @@ -69,6 +156,15 @@ margin-right: 5px; } + .edit-icon { + cursor: pointer; + } + + .delete-icon { + color: red; + cursor: pointer; + } + .title { color: #000; font-size: 16px; diff --git a/src/views/tested/dashboard/components/deviceDetail.vue b/src/views/tested/dashboard/components/deviceDetail.vue new file mode 100644 index 0000000..bf41058 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceDetail.vue @@ -0,0 +1,198 @@ + + + + + + + + + 设备详情 + + + + + + 计量计划完成率: 20% + + + + + + 设备类型 + + + + + + 计量专业分类 + + + + + + + + 检定通知 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/deviceList.vue b/src/views/tested/dashboard/components/deviceList.vue new file mode 100644 index 0000000..bf01689 --- /dev/null +++ b/src/views/tested/dashboard/components/deviceList.vue @@ -0,0 +1,315 @@ + + + + + + + + + + + {{ item.name }} + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/editSchedule.vue b/src/views/tested/dashboard/components/editSchedule.vue new file mode 100644 index 0000000..a237371 --- /dev/null +++ b/src/views/tested/dashboard/components/editSchedule.vue @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 确定 + + + 取消 + + + + + + + + diff --git a/src/views/tested/dashboard/components/rightBox.vue b/src/views/tested/dashboard/components/rightBox.vue new file mode 100644 index 0000000..3cdf697 --- /dev/null +++ b/src/views/tested/dashboard/components/rightBox.vue @@ -0,0 +1,350 @@ + + + + + + + + + + + 工作日历 + + + + + + + + {{ data.day.split("-").slice(2).join() }} + + + + + + {{ key }} + + {{ e.scheduleMatters }} + + + + + + + + + + + + + + + + + + + + 展开↓ + + + + + + 通知公告 + + + 查看更多 + + + + + + + + + + + + + + + + + + 审批提醒 + + + 查看更多 + + + + + + + + + + + + + + + + + + 工作提醒 + + + 查看更多 + + + + + + + + + + + + + + + + + + diff --git a/src/views/tested/dashboard/components/verificationDetail.vue b/src/views/tested/dashboard/components/verificationDetail.vue new file mode 100644 index 0000000..fcb8084 --- /dev/null +++ b/src/views/tested/dashboard/components/verificationDetail.vue @@ -0,0 +1,168 @@ + + + + + + + + 检定详情 + + + + + + + {{ item.name }} + + + + + {{ item.value }} + + + + + + + + + + + diff --git a/src/views/tested/dashboard/index.vue b/src/views/tested/dashboard/index.vue index 04869cb..10362ba 100644 --- a/src/views/tested/dashboard/index.vue +++ b/src/views/tested/dashboard/index.vue @@ -1,3 +1,39 @@ + + + - 首页看板 + + + + + + + + + + + + + + +