Skip to content

Commit

Permalink
feat(dashboard): 4.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dawnwinterLiu committed Aug 26, 2022
1 parent 945fe15 commit 77bd25f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dgiot/dgiot-dashboard",
"version": "4.5.8",
"version": "4.5.9",
"author": "h7ml",
"license": "MPL-2.0",
"private": false,
Expand Down
4 changes: 2 additions & 2 deletions src/views/CloudTest/js/review.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ export default {
// },
{
label: 'Starting time',
width: 'auto',
width: '180',
prop: 'starttime',
sortable: true,
},
{
label: 'end time',
width: 'auto',
width: '180',
prop: 'endtime',
sortable: true,
},
Expand Down
8 changes: 5 additions & 3 deletions src/views/CloudTest/js/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ export default {
columns: [
{
label: 'Starting time',
width: 'auto',
width: '180',
prop: 'starttime',
sortable: true,
},
{
label: 'end time',
width: 'auto',
width: '180',
prop: 'endtime',
sortable: true,
},
Expand Down Expand Up @@ -965,7 +965,9 @@ export default {
if (type) this.visible = false
try {
const loading = this.$baseColorfullLoading()
await putDevice(collectionInfo.objectId, _profile)
if (!collectionInfo.profile.istcp) {
await putDevice(collectionInfo.objectId, _profile)
}
this.$baseMessage(
this.$translateTitle('alert.Data request successfully'),
'success',
Expand Down
6 changes: 3 additions & 3 deletions src/views/CloudTest/review/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
align="center"
:label="$translateTitle('cloudTest.single audit')"
show-overflow-tooltip
:width="180"
:width="120"
>
<template #default="{ row }">
<el-tag
Expand Down Expand Up @@ -282,7 +282,7 @@
align="center"
:label="$translateTitle(`deviceLog.status`)"
show-overflow-tooltip
width="auto"
width="120"
>
<template #default="{ row }">
<el-tooltip
Expand Down Expand Up @@ -321,7 +321,7 @@
align="center"
fixed="right"
:label="$translateTitle(`cloudTest.operate`)"
width="480"
width="420"
>
<template #default="{ row }">
<el-button
Expand Down
7 changes: 2 additions & 5 deletions src/views/CloudTest/task/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -385,23 +385,20 @@
prop="name"
show-overflow-tooltip
sortable
width="160"
/>
<el-table-column
align="center"
label="报告模板"
prop="profile.wordtemplatename"
show-overflow-tooltip
sortable
width="160"
/>
<el-table-column
align="center"
label="测试台体"
prop="name"
show-overflow-tooltip
sortable
width="160"
>
<template #default="{ row }">
<span v-if="row.profile.testbed">{{ row.profile.testbed }}</span>
Expand Down Expand Up @@ -440,7 +437,7 @@
<el-table-column
align="center"
:label="$translateTitle(`deviceLog.status`)"
width="auto"
width="120"
>
<template #default="{ row }">
<el-popover
Expand Down Expand Up @@ -480,7 +477,7 @@
align="center"
fixed="right"
:label="$translateTitle(`cloudTest.operate`)"
width="380"
width="280"
>
<template #default="{ row }">
<el-button
Expand Down

1 comment on commit 77bd25f

@vercel
Copy link

@vercel vercel bot commented on 77bd25f Aug 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dgiot-dashboard – ./

dgiot-dashboard-dgiot.vercel.app
dgiot-dashboard-git-master-dgiot.vercel.app
dgiot-dashboard.vercel.app

Please sign in to comment.