提交: 例行更新修复问题代码
This commit is contained in:
parent
96655b167a
commit
9da5ab9fce
|
@ -95,70 +95,77 @@
|
||||||
width="120"
|
width="120"
|
||||||
prop="otaSize"
|
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">
|
<template slot-scope="scope">
|
||||||
<span
|
<div style="display: flex; align-items: center">
|
||||||
style="
|
<span
|
||||||
max-width: calc(100% - 60px);
|
style="
|
||||||
white-space: nowrap;
|
max-width: calc(100% - 60px);
|
||||||
display: inline-block;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
display: inline-block;
|
||||||
text-overflow: ellipsis;
|
overflow: hidden;
|
||||||
line-height: 30px;
|
text-overflow: ellipsis;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
"
|
line-height: 20px;
|
||||||
>{{ scope.row.otaUrl || '--'}}</span
|
"
|
||||||
>
|
>{{ scope.row.otaUrl || "--" }}</span
|
||||||
<span
|
>
|
||||||
v-if="scope.row.otaUrl"
|
<span
|
||||||
style="
|
v-if="scope.row.otaUrl"
|
||||||
cursor: default;
|
style="
|
||||||
position: relative;
|
cursor: default;
|
||||||
right: -10px;
|
position: relative;
|
||||||
color: #3a8ee6;
|
right: -10px;
|
||||||
"
|
color: #3a8ee6;
|
||||||
@click="copyOnClick(scope.row.otaUrl)"
|
"
|
||||||
>复制</span
|
@click="copyOnClick(scope.row.otaUrl)"
|
||||||
>
|
>复制</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="文件地址" align="left" prop="txtUrl">
|
<el-table-column label="文件地址" align="left" prop="txtUrl">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span
|
<div style="display: flex; align-items: center">
|
||||||
style="
|
<span
|
||||||
max-width: calc(100% - 60px);
|
style="
|
||||||
white-space: nowrap;
|
max-width: calc(100% - 60px);
|
||||||
display: inline-block;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
display: inline-block;
|
||||||
text-overflow: ellipsis;
|
overflow: hidden;
|
||||||
height: 20px;
|
text-overflow: ellipsis;
|
||||||
line-height: 30px;
|
height: 20px;
|
||||||
"
|
line-height: 20px;
|
||||||
>{{ scope.row.txtUrl || '--'}}</span
|
"
|
||||||
>
|
>{{ scope.row.txtUrl || "--" }}</span
|
||||||
<span
|
>
|
||||||
v-if="scope.row.txtUrl"
|
<span
|
||||||
style="
|
v-if="scope.row.txtUrl"
|
||||||
cursor: default;
|
style="
|
||||||
position: relative;
|
cursor: default;
|
||||||
right: -10px;
|
position: relative;
|
||||||
color: #3a8ee6;
|
right: -10px;
|
||||||
"
|
color: #3a8ee6;
|
||||||
@click="copyOnClick(scope.row.txtUrl)"
|
"
|
||||||
>复制</span
|
@click="copyOnClick(scope.row.txtUrl)"
|
||||||
>
|
>复制</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column label="升级信息" align="left" prop="otaInfo">
|
||||||
label="升级信息"
|
<template slot-scope="scope">
|
||||||
align="left"
|
<div style="display: flex; align-items: center">
|
||||||
prop="otaInfo"
|
<span class="lay-table-textarea" :title="scope.row.otaInfo">
|
||||||
>
|
{{ scope.row.otaInfo }}
|
||||||
<template slot-scope="scope">
|
</span>
|
||||||
<span class="lay-table-textarea" :title="scope.row.otaInfo">
|
</div>
|
||||||
{{ scope.row.otaInfo }}
|
</template>
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label=" 创建时间"
|
label=" 创建时间"
|
||||||
|
@ -182,14 +189,14 @@
|
||||||
v-hasPermi="['system:ota:edit']"
|
v-hasPermi="['system:ota:edit']"
|
||||||
>修改</el-button
|
>修改</el-button
|
||||||
>
|
>
|
||||||
<!-- <el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:ota:remove']"
|
v-hasPermi="['system:ota:remove']"
|
||||||
>删除</el-button
|
>删除</el-button
|
||||||
> -->
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -204,7 +211,12 @@
|
||||||
|
|
||||||
<!-- 添加或修改固件版本对话框 -->
|
<!-- 添加或修改固件版本对话框 -->
|
||||||
<div>
|
<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
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
|
|
Loading…
Reference in New Issue