|
@@ -1,89 +1,37 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <el-form
|
|
|
- :model="queryParams"
|
|
|
- ref="queryForm"
|
|
|
- :inline="true"
|
|
|
- label-width="68px"
|
|
|
- >
|
|
|
+ <el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px">
|
|
|
<el-form-item label="" prop="unitId">
|
|
|
- <treeselect
|
|
|
- v-model="queryParams.unitId"
|
|
|
- :options="deptOptions"
|
|
|
- placeholder="请选择单位"
|
|
|
- @select="selectshou"
|
|
|
- />
|
|
|
+ <treeselect v-model="queryParams.unitId" :options="deptOptions" placeholder="请选择单位" @select="selectshou" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="" prop="kind">
|
|
|
- <el-select
|
|
|
- v-model="queryParams.kind"
|
|
|
- placeholder="请选择类型"
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- @change="secrecy"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in ziDian"
|
|
|
- :key="item.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
- class="input_xiala"
|
|
|
- />
|
|
|
+ <el-select v-model="queryParams.kind" placeholder="请选择类型" clearable size="small" @change="secrecy">
|
|
|
+ <el-option v-for="item in ziDian" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue"
|
|
|
+ class="input_xiala" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="peopleName">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.peopleName"
|
|
|
- placeholder="请输入责任人"
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- @input="handleQuery"
|
|
|
- />
|
|
|
+ <el-input v-model="queryParams.peopleName" placeholder="请输入责任人" clearable size="small" @input="handleQuery" />
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button icon="el-icon-refresh" size="btr" @click="resetQuery"
|
|
|
- >重置</el-button
|
|
|
- >
|
|
|
+ <el-button icon="el-icon-refresh" size="btr" @click="resetQuery">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- plain
|
|
|
- icon="el-icon-plus"
|
|
|
- size="mini"
|
|
|
- @click="handleAdd"
|
|
|
- v-hasPermi="['bdglSecret:secret:add']"
|
|
|
- >新增</el-button
|
|
|
- >
|
|
|
+ <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
|
|
+ v-hasPermi="['bdglSecret:secret:add']">新增</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="success"
|
|
|
- plain
|
|
|
- icon="el-icon-edit"
|
|
|
- size="mini"
|
|
|
- :disabled="single"
|
|
|
- @click="handleUpdate"
|
|
|
- v-hasPermi="['bdglSecret:secret:edit']"
|
|
|
- >修改</el-button
|
|
|
- >
|
|
|
+ <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
|
|
|
+ v-hasPermi="['bdglSecret:secret:edit']">修改</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="danger"
|
|
|
- plain
|
|
|
- icon="el-icon-delete"
|
|
|
- size="mini"
|
|
|
- :disabled="multiple"
|
|
|
- @click="handleDelete"
|
|
|
- v-hasPermi="['bdglSecret:secret:remove']"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
+ <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
|
|
+ v-hasPermi="['bdglSecret:secret:remove']">删除</el-button>
|
|
|
</el-col>
|
|
|
- <!-- <el-col :span="1.5">
|
|
|
+ <!-- <el-col :span="1.5">
|
|
|
<el-button
|
|
|
type="warning"
|
|
|
plain
|
|
@@ -98,54 +46,49 @@
|
|
|
</el-row>
|
|
|
|
|
|
<div class="hezi">
|
|
|
- <div class="tji">涉密物品统计</div>
|
|
|
- <div style="display: flex;
|
|
|
+ <div class="tji">涉密物品统计</div>
|
|
|
+ <div style="display: flex;
|
|
|
justify-content:space-evenly;
|
|
|
padding: 41px 20px;">
|
|
|
- <div style="width: 173px;
|
|
|
+ <div style="width: 173px;
|
|
|
display: flex;
|
|
|
justify-content: space-evenly;
|
|
|
align-items: center;">
|
|
|
- <span>移动载体</span>
|
|
|
- <span><span style="font-size: 25px; margin-right: 18px;">{{tongJiList[3]}}</span>台</span>
|
|
|
+ <span>移动载体</span>
|
|
|
+ <span><span style="font-size: 25px; margin-right: 18px;">{{tongJiList[3]}}</span>台</span>
|
|
|
</div>
|
|
|
- <div style="width: 173px;
|
|
|
+ <div style="width: 173px;
|
|
|
display: flex;
|
|
|
justify-content:space-between;
|
|
|
align-items: center;">
|
|
|
- <span>军用手机</span>
|
|
|
- <span><span style="font-size: 25px; margin-right: 18px;">{{tongJiList[0]}}</span>台</span>
|
|
|
- </div>
|
|
|
- <div style="width: 173px;
|
|
|
+ <span>军用手机</span>
|
|
|
+ <span><span style="font-size: 25px; margin-right: 18px;">{{tongJiList[0]}}</span>台</span>
|
|
|
+ </div>
|
|
|
+ <div style="width: 173px;
|
|
|
display: flex;
|
|
|
justify-content: space-evenly;
|
|
|
align-items: center;">
|
|
|
-<span>电脑</span>
|
|
|
- <span><span style="font-size: 25px; margin-right: 18px;">{{tongJiList[1]}}</span>台</span>
|
|
|
- </div>
|
|
|
- <div style="width: 173px;
|
|
|
+ <span>电脑</span>
|
|
|
+ <span><span style="font-size: 25px; margin-right: 18px;">{{tongJiList[1]}}</span>台</span>
|
|
|
+ </div>
|
|
|
+ <div style="width: 173px;
|
|
|
display: flex;
|
|
|
justify-content: space-evenly;
|
|
|
align-items: center;">
|
|
|
-<span>相机</span>
|
|
|
- <span><span style="font-size: 25px; margin-right: 18px;">{{tongJiList[2]}}</span>台</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <span>相机</span>
|
|
|
+ <span><span style="font-size: 25px; margin-right: 18px;">{{tongJiList[2]}}</span>台</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
- <el-table
|
|
|
- v-loading="loading"
|
|
|
- :data="bdglsecrecyList"
|
|
|
- @selection-change="handleSelectionChange"
|
|
|
- :header-cell-style="{ background: '#003C69', color: 'white' }"
|
|
|
- style="width: 100%"
|
|
|
- >
|
|
|
+ <el-table v-loading="loading" :data="bdglsecrecyList" @selection-change="handleSelectionChange"
|
|
|
+ :header-cell-style="{ background: '#003C69', color: 'white' }" style="width: 100%">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
<!-- <el-table-column label="序号" align="center" prop="id" /> -->
|
|
|
<el-table-column label="序号" type="index" width="50" align="center">
|
|
|
<template scope="scope">
|
|
|
<span>{{
|
|
|
- (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
|
|
+ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
|
|
}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -158,65 +101,26 @@
|
|
|
<el-table-column label="编号" align="center" prop="number" width="200" />
|
|
|
<!-- <el-table-column label="密级" align="center" prop="confidential" /> -->
|
|
|
<!-- <el-table-column label="使用人" align="center" prop="people1Name" /> -->
|
|
|
- <el-table-column
|
|
|
- label="使用单位"
|
|
|
- align="center"
|
|
|
- prop="unitId"
|
|
|
- :formatter="deptIdformatter"
|
|
|
- width="200"
|
|
|
- />
|
|
|
+ <el-table-column label="使用单位" align="center" prop="unitId" :formatter="deptIdformatter" width="200" />
|
|
|
<el-table-column label="责任人" align="center" prop="peopleName" />
|
|
|
- <el-table-column
|
|
|
- label="用途"
|
|
|
- align="center"
|
|
|
- show-overflow-tooltip
|
|
|
- prop="people2Name"
|
|
|
- width="200"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="启用时间"
|
|
|
- align="center"
|
|
|
- prop="startTime"
|
|
|
- width="160"
|
|
|
- >
|
|
|
+ <el-table-column label="用途" align="center" show-overflow-tooltip prop="people2Name" width="200" />
|
|
|
+ <el-table-column label="启用时间" align="center" prop="startTime" width="160">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.startTime, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="停用时间"
|
|
|
- align="center"
|
|
|
- prop="endTime"
|
|
|
- width="160"
|
|
|
- >
|
|
|
+ <el-table-column label="停用时间" align="center" prop="endTime" width="160">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.endTime, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="归还时间"
|
|
|
- align="center"
|
|
|
- prop="hindOverTime"
|
|
|
- width="160"
|
|
|
- >
|
|
|
+ <el-table-column label="归还时间" align="center" prop="hindOverTime" width="160">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.hindOverTime, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="备注"
|
|
|
- align="center"
|
|
|
- show-overflow-tooltip
|
|
|
- prop="remarks"
|
|
|
- width="200"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="操作"
|
|
|
- align="center"
|
|
|
- class-name="small-padding fixed-width"
|
|
|
- width="200"
|
|
|
- fixed="right"
|
|
|
- >
|
|
|
+ <el-table-column label="备注" align="center" show-overflow-tooltip prop="remarks" width="200" />
|
|
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<!-- <el-button
|
|
|
size="btk"
|
|
@@ -225,66 +129,30 @@
|
|
|
v-hasPermi="['grassrootsregistration:bdgldiary:edit']"
|
|
|
><span class="chakan">查看</span></el-button
|
|
|
> -->
|
|
|
- <el-button
|
|
|
- size="btu"
|
|
|
- type="text"
|
|
|
- @click="handleUpdate(scope.row)"
|
|
|
- v-hasPermi="['bdglSecret:secret:edit']"
|
|
|
- ><span class="edit">修改</span></el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- size="btd"
|
|
|
- type="text"
|
|
|
- @click="handleDelete(scope.row)"
|
|
|
- v-hasPermi="['bdglSecret:secret:remove']"
|
|
|
- ><span class="delete">删除</span></el-button
|
|
|
- >
|
|
|
+ <el-button size="btu" type="text" @click="handleUpdate(scope.row)" v-hasPermi="['bdglSecret:secret:edit']">
|
|
|
+ <span class="edit">修改</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button size="btd" type="text" @click="handleDelete(scope.row)" v-hasPermi="['bdglSecret:secret:remove']">
|
|
|
+ <span class="delete">删除</span>
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
|
|
|
- <pagination
|
|
|
- v-show="total > 0"
|
|
|
- :total="total"
|
|
|
- :page.sync="queryParams.pageNum"
|
|
|
- :limit.sync="queryParams.pageSize"
|
|
|
- @pagination="getList"
|
|
|
- />
|
|
|
+ <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
|
|
+ @pagination="getList" />
|
|
|
|
|
|
<!-- 添加或修改网络/手机/涉密载体登记本对话框 -->
|
|
|
- <el-dialog
|
|
|
- :title="title"
|
|
|
- :visible.sync="open"
|
|
|
- width="1016px"
|
|
|
- append-to-body
|
|
|
- :close-on-click-modal="false"
|
|
|
- >
|
|
|
+ <el-dialog :title="title" :visible.sync="open" width="1016px" append-to-body :close-on-click-modal="false">
|
|
|
<div class="jiben">基本信息</div>
|
|
|
- <el-form
|
|
|
- ref="form"
|
|
|
- :model="form"
|
|
|
- :rules="rules"
|
|
|
- label-width="80px"
|
|
|
- :inline="true"
|
|
|
- >
|
|
|
+ <el-form ref="form" :model="form" :rules="rules" label-width="80px" :inline="true">
|
|
|
<el-form-item label="使用单位" prop="unitId">
|
|
|
- <treeselect
|
|
|
- v-model="form.unitId"
|
|
|
- :options="deptOptions"
|
|
|
- placeholder="请选择使用单位"
|
|
|
- @select="selectPeo"
|
|
|
- @open="blurSelect"
|
|
|
- />
|
|
|
+ <treeselect v-model="form.unitId" :options="deptOptions" placeholder="请选择使用单位" @select="selectPeo" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="类型" prop="kind">
|
|
|
<el-select v-model="form.kind" placeholder="请选择类型">
|
|
|
- <el-option
|
|
|
- v-for="item in ziDian"
|
|
|
- :key="item.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
- class="input_xiala"
|
|
|
- >
|
|
|
+ <el-option v-for="item in ziDian" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue"
|
|
|
+ class="input_xiala">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -316,14 +184,8 @@
|
|
|
</el-form-item> -->
|
|
|
<el-form-item label="责任人" prop="peopleId">
|
|
|
<el-select v-model="form.peopleId" placeholder="请选择负责人">
|
|
|
- <el-option
|
|
|
- v-for="(item, i) in renYuan"
|
|
|
- :key="i"
|
|
|
- :label="item.name"
|
|
|
- :value="item.id"
|
|
|
- @click.native="zheRenRe(item.name)"
|
|
|
- class="input_xiala"
|
|
|
- >
|
|
|
+ <el-option v-for="(item, i) in renYuan" :key="i" :label="item.name" :value="item.id"
|
|
|
+ @click.native="zheRenRe(item.name)" class="input_xiala">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -341,57 +203,27 @@
|
|
|
</el-select>
|
|
|
</el-form-item> -->
|
|
|
<el-form-item label="启用时间" prop="startTime">
|
|
|
- <el-date-picker
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- v-model="form.startTime"
|
|
|
- type="date"
|
|
|
- :editable="false"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="请选择启用时间"
|
|
|
- >
|
|
|
+ <el-date-picker clearable size="small" v-model="form.startTime" type="date" :editable="false"
|
|
|
+ value-format="yyyy-MM-dd" placeholder="请选择启用时间">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="停用时间" prop="endTime">
|
|
|
- <el-date-picker
|
|
|
- ref="bb"
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- v-model="form.endTime"
|
|
|
- type="date"
|
|
|
- :editable="false"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="请选择停用时间"
|
|
|
- >
|
|
|
+ <el-date-picker ref="bb" clearable size="small" v-model="form.endTime" type="date" :editable="false"
|
|
|
+ value-format="yyyy-MM-dd" placeholder="请选择停用时间">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="归还时间" prop="hindOverTime">
|
|
|
- <el-date-picker
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- v-model="form.hindOverTime"
|
|
|
- type="date"
|
|
|
- :editable="false"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="请选择归还时间"
|
|
|
- >
|
|
|
+ <el-date-picker clearable size="small" v-model="form.hindOverTime" type="date" :editable="false"
|
|
|
+ value-format="yyyy-MM-dd" placeholder="请选择归还时间">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<div class="jiben">用途</div>
|
|
|
<el-form-item label="" prop="people2Name">
|
|
|
- <el-input
|
|
|
- v-model="form.people2Name"
|
|
|
- type="textarea"
|
|
|
- placeholder="请输入用途"
|
|
|
- />
|
|
|
+ <el-input v-model="form.people2Name" type="textarea" placeholder="请输入用途" />
|
|
|
</el-form-item>
|
|
|
<div class="jiben">备注</div>
|
|
|
<el-form-item label="" prop="remarks">
|
|
|
- <el-input
|
|
|
- v-model="form.remarks"
|
|
|
- type="textarea"
|
|
|
- placeholder="请输入备注"
|
|
|
- />
|
|
|
+ <el-input v-model="form.remarks" type="textarea" placeholder="请输入备注" />
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
@@ -400,18 +232,9 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<div class="fff">
|
|
|
- <el-dialog
|
|
|
- :visible.sync="menuRoleVisible"
|
|
|
- :title="title"
|
|
|
- append-to-body
|
|
|
- id="chakan"
|
|
|
- :close-on-click-modal="false"
|
|
|
- >
|
|
|
- <bdglsecrecy
|
|
|
- v-if="menuRoleVisible"
|
|
|
- ref="menuRole"
|
|
|
- :message="wordInfo"
|
|
|
- ></bdglsecrecy>
|
|
|
+ <el-dialog :visible.sync="menuRoleVisible" :title="title" append-to-body id="chakan"
|
|
|
+ :close-on-click-modal="false">
|
|
|
+ <bdglsecrecy v-if="menuRoleVisible" ref="menuRole" :message="wordInfo"></bdglsecrecy>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -528,7 +351,7 @@ export default {
|
|
|
},
|
|
|
unitId: [],
|
|
|
//获取统计数据
|
|
|
- tongJiList:{}
|
|
|
+ tongJiList: {}
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -542,16 +365,16 @@ export default {
|
|
|
this.tongJi()
|
|
|
},
|
|
|
methods: {
|
|
|
- //获取统计数量
|
|
|
- tongJi(unitids){
|
|
|
- getNumber(unitids).then(res=>{
|
|
|
- this.tongJiList=res.data
|
|
|
- })
|
|
|
- },
|
|
|
+ //获取统计数量
|
|
|
+ tongJi(unitids) {
|
|
|
+ getNumber(unitids).then(res => {
|
|
|
+ this.tongJiList = res.data
|
|
|
+ })
|
|
|
+ },
|
|
|
selectshou(data) {
|
|
|
this.queryParams.unitId = data.id;
|
|
|
this.getList();
|
|
|
- this.tongJi({unitid:this.queryParams.unitId})
|
|
|
+ this.tongJi({ unitid: this.queryParams.unitId })
|
|
|
},
|
|
|
//单位翻译
|
|
|
deptIdformatter(row, column) {
|
|
@@ -584,11 +407,11 @@ export default {
|
|
|
// 重置表单人员
|
|
|
ChongZhiRen() {
|
|
|
// 批准人
|
|
|
- (this.form.peopleId2 = null),
|
|
|
- // 使用人
|
|
|
- (this.form.peopleId1 = null),
|
|
|
- // 责任人
|
|
|
- (this.form.peopleId = null);
|
|
|
+ this.form.peopleId2 = null;
|
|
|
+ // 使用人
|
|
|
+ this.form.peopleId1 = null;
|
|
|
+ // 责任人
|
|
|
+ this.form.peopleId = null;
|
|
|
},
|
|
|
// 获取主持人
|
|
|
getZhuChi(id) {
|
|
@@ -685,18 +508,13 @@ export default {
|
|
|
this.reset();
|
|
|
this.resetForm("queryForm");
|
|
|
this.queryParams.unitId = null;
|
|
|
- this.tongJi({unitid:this.queryParams.unitId})
|
|
|
+ this.tongJi({ unitid: this.queryParams.unitId })
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
/** 对话框重置按钮操作 */
|
|
|
resertwo() {
|
|
|
this.reset();
|
|
|
},
|
|
|
- // 让select失去焦点
|
|
|
- blurSelect() {
|
|
|
- this.$refs.aa.blur();
|
|
|
- this.$refs.bb.blur();
|
|
|
- },
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
this.ids = selection.map((item) => item.id);
|
|
@@ -706,9 +524,9 @@ export default {
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd() {
|
|
|
// 人员列表
|
|
|
- (this.renYuan = []),
|
|
|
- // 获取分类
|
|
|
- this.reset();
|
|
|
+ this.renYuan = [];
|
|
|
+ // 获取分类
|
|
|
+ this.reset();
|
|
|
this.getTreeselect();
|
|
|
// 查询字典
|
|
|
this.getdict();
|
|
@@ -753,14 +571,14 @@ export default {
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
- this.tongJi({unitid:this.queryParams.unitId})
|
|
|
+ this.tongJi({ unitid: this.queryParams.unitId })
|
|
|
});
|
|
|
} else {
|
|
|
addSecret(this.form).then((response) => {
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
- this.tongJi({unitid:this.queryParams.unitId})
|
|
|
+ this.tongJi({ unitid: this.queryParams.unitId })
|
|
|
|
|
|
});
|
|
|
}
|
|
@@ -780,10 +598,10 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.getList();
|
|
|
- this.tongJi({unitid:this.queryParams.unitId})
|
|
|
+ this.tongJi({ unitid: this.queryParams.unitId })
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => { });
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
@@ -798,7 +616,7 @@ export default {
|
|
|
this.$download.name(response.msg);
|
|
|
this.exportLoading = false;
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => { });
|
|
|
},
|
|
|
},
|
|
|
};
|
|
@@ -808,25 +626,31 @@ export default {
|
|
|
::v-deep .el-dialog {
|
|
|
background: #004d86 !important;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-textarea__inner {
|
|
|
width: 920px;
|
|
|
height: 104px;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-dialog__header {
|
|
|
border-bottom: 1px solid #718a9d;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-dialog__title {
|
|
|
color: #fff;
|
|
|
font: 18px;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-dialog__headerbtn .el-dialog__close {
|
|
|
color: #fff;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-form-item__label {
|
|
|
font: 16px;
|
|
|
color: #fff;
|
|
|
width: 100px !important;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-input__inner {
|
|
|
/* width: 200px !important;
|
|
|
height: 36px; */
|
|
@@ -835,11 +659,13 @@ export default {
|
|
|
border: 1px solid white !important;
|
|
|
border-color: #fff !important;
|
|
|
}
|
|
|
+
|
|
|
/* 单位框背景颜色 */
|
|
|
::v-deep .vue-treeselect__control {
|
|
|
background: transparent !important;
|
|
|
color: #fff;
|
|
|
}
|
|
|
+
|
|
|
/* 基本信息背景 */
|
|
|
.jiben {
|
|
|
width: 920px;
|
|
@@ -850,12 +676,14 @@ export default {
|
|
|
padding-left: 16px;
|
|
|
line-height: 32px;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-dialog__body {
|
|
|
margin: 10px 30px 20px 50px;
|
|
|
padding-top: 20px !important;
|
|
|
box-sizing: border-box;
|
|
|
/* padding: 30px 12px 30px 28px; */
|
|
|
}
|
|
|
+
|
|
|
/*调整表单间距 */
|
|
|
::v-deep .el-form-item__content {
|
|
|
width: 200px;
|
|
@@ -864,14 +692,17 @@ export default {
|
|
|
.contents {
|
|
|
padding: 0px 40px !important;
|
|
|
}
|
|
|
+
|
|
|
/* 下拉菜单 */
|
|
|
.el-dropdown-link {
|
|
|
cursor: pointer;
|
|
|
color: #409eff;
|
|
|
}
|
|
|
+
|
|
|
.el-icon-arrow-down {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
+
|
|
|
/* 刷新图标 */
|
|
|
/* .el-icon-refresh {
|
|
|
width: 76px;
|
|
@@ -889,20 +720,24 @@ export default {
|
|
|
background-color: #004d86;
|
|
|
color: #fff;
|
|
|
}
|
|
|
+
|
|
|
.el-select-dropdown__item {
|
|
|
color: #fff;
|
|
|
}
|
|
|
+
|
|
|
/* 时间选择 */
|
|
|
::v-deep .el-input--small .el-input__inner {
|
|
|
width: 200px;
|
|
|
height: 36px;
|
|
|
line-height: 36px;
|
|
|
}
|
|
|
+
|
|
|
.el-date-editor.el-input {
|
|
|
width: 200px;
|
|
|
height: 36px;
|
|
|
line-height: 36px;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-date-editor.el-input .el-input__inner {
|
|
|
height: 36px;
|
|
|
line-height: 36px;
|
|
@@ -912,18 +747,22 @@ export default {
|
|
|
::v-deep .vue-treeselect__single-value {
|
|
|
color: #fff !important;
|
|
|
}
|
|
|
+
|
|
|
/* 分页按钮 */
|
|
|
::v-deep .el-pagination.is-background .el-pager li {
|
|
|
background-color: #004d86;
|
|
|
color: #fff;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-pagination.is-background .btn-next {
|
|
|
background-color: #004d86;
|
|
|
color: #fff;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-input__inner {
|
|
|
cursor: pointer !important;
|
|
|
}
|
|
|
+
|
|
|
/* 底部确定取消按钮 */
|
|
|
::v-deep .el-dialog__footer {
|
|
|
padding: 18px 40px 30px 0px;
|
|
@@ -934,46 +773,53 @@ export default {
|
|
|
::v-deep .el-dialog {
|
|
|
width: 1060px !important;
|
|
|
}
|
|
|
+
|
|
|
::v-deep .el-dialog__body {
|
|
|
padding: none !important;
|
|
|
}
|
|
|
+
|
|
|
/* 文件编号背景颜色 */
|
|
|
::v-deep .el-input.is-disabled .el-input__inner {
|
|
|
background: transparent !important;
|
|
|
}
|
|
|
+
|
|
|
/* 调整输入框提示文字颜色 */
|
|
|
::v-deep .vue-treeselect__placeholder {
|
|
|
color: #bdbdbd4f !important;
|
|
|
}
|
|
|
+
|
|
|
::v-deep input::-webkit-input-placeholder {
|
|
|
color: #bdbdbd4f !important;
|
|
|
}
|
|
|
+
|
|
|
::v-deep input:-moz-placeholder {
|
|
|
color: #bdbdbd4f !important;
|
|
|
}
|
|
|
-.hezi{
|
|
|
- height: 100px;
|
|
|
- margin-bottom: 13px;
|
|
|
- margin-top: 15px;
|
|
|
- position: relative;
|
|
|
- background:rgb(0, 60, 105);
|
|
|
- color: #fff;
|
|
|
- font-size: 18px;
|
|
|
- font-weight: 600;
|
|
|
-
|
|
|
-
|
|
|
-}
|
|
|
-.tji{
|
|
|
- width: 176px;
|
|
|
- height: 36px;
|
|
|
- text-align: center;
|
|
|
- line-height: 36px;
|
|
|
- position: absolute;
|
|
|
- top: -18px;
|
|
|
- right: 87px;
|
|
|
- color: #fff;
|
|
|
- font-size: 18px;
|
|
|
- font-weight: 600;
|
|
|
- background: #004D86;
|
|
|
+
|
|
|
+.hezi {
|
|
|
+ height: 100px;
|
|
|
+ margin-bottom: 13px;
|
|
|
+ margin-top: 15px;
|
|
|
+ position: relative;
|
|
|
+ background: rgb(0, 60, 105);
|
|
|
+ color: #fff;
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 600;
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+.tji {
|
|
|
+ width: 176px;
|
|
|
+ height: 36px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 36px;
|
|
|
+ position: absolute;
|
|
|
+ top: -18px;
|
|
|
+ right: 87px;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 600;
|
|
|
+ background: #004D86;
|
|
|
}
|
|
|
</style>
|