提交: 例行更新修复问题代码
This commit is contained in:
parent
96655b167a
commit
9da5ab9fce
|
@ -95,8 +95,14 @@
|
|||
width="120"
|
||||
prop="otaSize"
|
||||
/>
|
||||
<el-table-column label="升级地址" align="left" prop="otaUrl">
|
||||
<el-table-column
|
||||
label="升级地址"
|
||||
align="left"
|
||||
prop="otaUrl"
|
||||
style="display: flex; align-items: center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div style="display: flex; align-items: center">
|
||||
<span
|
||||
style="
|
||||
max-width: calc(100% - 60px);
|
||||
|
@ -104,10 +110,10 @@
|
|||
display: inline-block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
line-height: 30px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
"
|
||||
>{{ scope.row.otaUrl || '--'}}</span
|
||||
>{{ scope.row.otaUrl || "--" }}</span
|
||||
>
|
||||
<span
|
||||
v-if="scope.row.otaUrl"
|
||||
|
@ -120,10 +126,12 @@
|
|||
@click="copyOnClick(scope.row.otaUrl)"
|
||||
>复制</span
|
||||
>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="文件地址" align="left" prop="txtUrl">
|
||||
<template slot-scope="scope">
|
||||
<div style="display: flex; align-items: center">
|
||||
<span
|
||||
style="
|
||||
max-width: calc(100% - 60px);
|
||||
|
@ -132,9 +140,9 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
height: 20px;
|
||||
line-height: 30px;
|
||||
line-height: 20px;
|
||||
"
|
||||
>{{ scope.row.txtUrl || '--'}}</span
|
||||
>{{ scope.row.txtUrl || "--" }}</span
|
||||
>
|
||||
<span
|
||||
v-if="scope.row.txtUrl"
|
||||
|
@ -147,17 +155,16 @@
|
|||
@click="copyOnClick(scope.row.txtUrl)"
|
||||
>复制</span
|
||||
>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="升级信息"
|
||||
align="left"
|
||||
prop="otaInfo"
|
||||
>
|
||||
<el-table-column label="升级信息" align="left" prop="otaInfo">
|
||||
<template slot-scope="scope">
|
||||
<div style="display: flex; align-items: center">
|
||||
<span class="lay-table-textarea" :title="scope.row.otaInfo">
|
||||
{{ scope.row.otaInfo }}
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
@ -182,14 +189,14 @@
|
|||
v-hasPermi="['system:ota:edit']"
|
||||
>修改</el-button
|
||||
>
|
||||
<!-- <el-button
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['system:ota:remove']"
|
||||
>删除</el-button
|
||||
> -->
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -204,7 +211,12 @@
|
|||
|
||||
<!-- 添加或修改固件版本对话框 -->
|
||||
<div>
|
||||
<dialog-template @close="open = false" :title="title" :visible="open" width="500px">
|
||||
<dialog-template
|
||||
@close="open = false"
|
||||
:title="title"
|
||||
:visible="open"
|
||||
width="500px"
|
||||
>
|
||||
<el-form
|
||||
ref="form"
|
||||
:model="form"
|
||||
|
|
Loading…
Reference in New Issue