|
|
|
@ -29,20 +29,33 @@
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="20" :xs="24" style="height: 100%; flex: 1">
|
|
|
|
|
<div class="L-main" id="L-size-main">
|
|
|
|
|
<div class="content-search" id="L-header">
|
|
|
|
|
<el-col
|
|
|
|
|
:span="20"
|
|
|
|
|
:xs="24"
|
|
|
|
|
style="height: 100%; flex: 1"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
class="L-main"
|
|
|
|
|
id="L-size-main"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
class="content-search"
|
|
|
|
|
id="L-header"
|
|
|
|
|
>
|
|
|
|
|
<div class="search-title">查询条件</div>
|
|
|
|
|
<el-form
|
|
|
|
|
:inline="true"
|
|
|
|
|
ref="queryForm"
|
|
|
|
|
:model="formInline"
|
|
|
|
|
size="small"
|
|
|
|
|
size="default"
|
|
|
|
|
class="demo-form-inline"
|
|
|
|
|
>
|
|
|
|
|
<el-row :gutter="30">
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="系统名称:" prop="xtmc">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="系统名称:"
|
|
|
|
|
prop="xtmc"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="formInline.xtmc"
|
|
|
|
|
placeholder="请输入系统名称"
|
|
|
|
@ -50,7 +63,10 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="系统类型:" prop="xtlx">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="系统类型:"
|
|
|
|
|
prop="xtlx"
|
|
|
|
|
>
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="formInline.xtlx"
|
|
|
|
|
placeholder="请选择系统类型"
|
|
|
|
@ -66,7 +82,10 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="新增时间:" prop="time">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="新增时间:"
|
|
|
|
|
prop="time"
|
|
|
|
|
>
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="formInline.time"
|
|
|
|
|
format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
@ -82,7 +101,10 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row :gutter="30">
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="单位名称:" prop="dwmc">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="单位名称:"
|
|
|
|
|
prop="dwmc"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="formInline.dwmc"
|
|
|
|
|
placeholder="请输入单位名称"
|
|
|
|
@ -90,7 +112,10 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="系统状态:" prop="xtzt">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="系统状态:"
|
|
|
|
|
prop="xtzt"
|
|
|
|
|
>
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="formInline.xtzt"
|
|
|
|
|
placeholder="请选择系统状态"
|
|
|
|
@ -105,7 +130,10 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" style="text-align: right; padding-right: 35px">
|
|
|
|
|
<el-col
|
|
|
|
|
:span="8"
|
|
|
|
|
style="text-align: right; padding-right: 35px"
|
|
|
|
|
>
|
|
|
|
|
<el-form-item
|
|
|
|
|
style="
|
|
|
|
|
display: flex;
|
|
|
|
@ -113,8 +141,10 @@
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<el-button size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
|
<el-button size="mini" type="primary" @click="handleQuery"
|
|
|
|
|
<el-button @click="resetQuery">重置</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="handleQuery"
|
|
|
|
|
>查询</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -125,13 +155,15 @@
|
|
|
|
|
<main>
|
|
|
|
|
<div class="search-title">
|
|
|
|
|
<span class="search-title-span">资产列表</span>
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
<el-row
|
|
|
|
|
:gutter="10"
|
|
|
|
|
class="mb8"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="info"
|
|
|
|
|
plain
|
|
|
|
|
icon="Upload"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleImport"
|
|
|
|
|
>导入</el-button
|
|
|
|
|
>
|
|
|
|
@ -141,7 +173,6 @@
|
|
|
|
|
type="warning"
|
|
|
|
|
plain
|
|
|
|
|
icon="Download"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
>导出</el-button
|
|
|
|
|
>
|
|
|
|
@ -151,7 +182,6 @@
|
|
|
|
|
type="primary"
|
|
|
|
|
plain
|
|
|
|
|
icon="Plus"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleAdd"
|
|
|
|
|
>新增资产</el-button
|
|
|
|
|
>
|
|
|
|
@ -186,7 +216,10 @@
|
|
|
|
|
align="center"
|
|
|
|
|
>
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="zc_xtlx" :value="scope.row.xtlx" />
|
|
|
|
|
<dict-tag
|
|
|
|
|
:options="zc_xtlx"
|
|
|
|
|
:value="scope.row.xtlx"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
@ -209,22 +242,34 @@
|
|
|
|
|
align="center"
|
|
|
|
|
>
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<span v-if="scope.row.xtzt == 1" style="color: #16b771"
|
|
|
|
|
<span
|
|
|
|
|
v-if="scope.row.xtzt == 1"
|
|
|
|
|
style="color: #16b771"
|
|
|
|
|
>已安装</span
|
|
|
|
|
>
|
|
|
|
|
<span v-if="scope.row.xtzt == 2" style="color: #f58a0c"
|
|
|
|
|
<span
|
|
|
|
|
v-if="scope.row.xtzt == 2"
|
|
|
|
|
style="color: #f58a0c"
|
|
|
|
|
>测试中</span
|
|
|
|
|
>
|
|
|
|
|
<span v-if="scope.row.xtzt == 3" style="color: #1485ef"
|
|
|
|
|
<span
|
|
|
|
|
v-if="scope.row.xtzt == 3"
|
|
|
|
|
style="color: #1485ef"
|
|
|
|
|
>使用中</span
|
|
|
|
|
>
|
|
|
|
|
<span v-if="scope.row.xtzt == 4" style="color: #29a07a"
|
|
|
|
|
<span
|
|
|
|
|
v-if="scope.row.xtzt == 4"
|
|
|
|
|
style="color: #29a07a"
|
|
|
|
|
>维护中</span
|
|
|
|
|
>
|
|
|
|
|
<span v-if="scope.row.xtzt == 5" style="color: #f50c0c"
|
|
|
|
|
<span
|
|
|
|
|
v-if="scope.row.xtzt == 5"
|
|
|
|
|
style="color: #f50c0c"
|
|
|
|
|
>关停</span
|
|
|
|
|
>
|
|
|
|
|
<span v-if="scope.row.xtzt == 6" style="color: #f50c0c"
|
|
|
|
|
<span
|
|
|
|
|
v-if="scope.row.xtzt == 6"
|
|
|
|
|
style="color: #f50c0c"
|
|
|
|
|
>备用</span
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
@ -258,7 +303,11 @@
|
|
|
|
|
/>
|
|
|
|
|
<span
|
|
|
|
|
class="look-info"
|
|
|
|
|
style="color: #1485ef; margin-right: 15px;white-space: nowrap;"
|
|
|
|
|
style="
|
|
|
|
|
color: #1485ef;
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
"
|
|
|
|
|
>查看</span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
@ -277,7 +326,11 @@
|
|
|
|
|
/>
|
|
|
|
|
<span
|
|
|
|
|
class="look-info"
|
|
|
|
|
style="color: #1485ef; margin-right: 15px;white-space: nowrap;"
|
|
|
|
|
style="
|
|
|
|
|
color: #1485ef;
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
"
|
|
|
|
|
>编辑</span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
@ -296,7 +349,11 @@
|
|
|
|
|
/>
|
|
|
|
|
<span
|
|
|
|
|
class="look-info"
|
|
|
|
|
style="color: #f50c0c; margin-right: 10px;white-space: nowrap;"
|
|
|
|
|
style="
|
|
|
|
|
color: #f50c0c;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
"
|
|
|
|
|
>删除</span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
@ -352,7 +409,9 @@
|
|
|
|
|
</el-upload>
|
|
|
|
|
<template #footer>
|
|
|
|
|
<div class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitFileForm"
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="submitFileForm"
|
|
|
|
|
>确 定</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button @click="upload.open = false">取 消</el-button>
|
|
|
|
|