|
@@ -0,0 +1,650 @@
|
|
|
+<template>
|
|
|
+ <div class="app-container">
|
|
|
+ <el-form
|
|
|
+ :model="queryParams"
|
|
|
+ ref="queryForm"
|
|
|
+ :inline="true"
|
|
|
+ v-show="showSearch"
|
|
|
+ label-width="68px"
|
|
|
+ >
|
|
|
+ <el-form-item label="" prop="unitId">
|
|
|
+ <el-select
|
|
|
+ v-model="queryParams.unitId"
|
|
|
+ placeholder="请选择单位"
|
|
|
+ @change="host"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, i) in deptOptionss"
|
|
|
+ :key="i"
|
|
|
+ :label="item.deptName"
|
|
|
+ :value="item.deptId"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button size="btr" @click="resetQuery" icon="el-icon-refresh"
|
|
|
+ >重置</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="['grassrootsregistration:bdglpublicproperty: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="['grassrootsregistration:bdglpublicproperty: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="['grassrootsregistration:bdglpublicproperty:remove']"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="warning"
|
|
|
+ plain
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ :loading="exportLoading"
|
|
|
+ @click="handleExport"
|
|
|
+ v-hasPermi="['grassrootsregistration:bdglpublicproperty:export']"
|
|
|
+ >导出</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
+ <!-- <right-toolbar
|
|
|
+ :showSearch.sync="showSearch"
|
|
|
+ @queryTable="getList"
|
|
|
+ ></right-toolbar> -->
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ <el-table
|
|
|
+ v-loading="loading"
|
|
|
+ :data="bdglpublicpropertyList"
|
|
|
+ @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="单位" align="center" prop="unitName" />
|
|
|
+ <el-table-column label="名称" align="center" prop="name" />
|
|
|
+ <el-table-column label="规格型号" align="center" prop="version" />
|
|
|
+ <el-table-column label="数量" align="center" prop="quantity" />
|
|
|
+ <el-table-column label="单价" align="center" prop="price" />
|
|
|
+ <el-table-column label="总价" align="center" prop="totalPrice" />
|
|
|
+ <el-table-column
|
|
|
+ label="装备时间"
|
|
|
+ align="center"
|
|
|
+ prop="equipTime"
|
|
|
+ width="180"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ parseTime(scope.row.equipTime, "{y}-{m}-{d}") }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="保管人" align="center" prop="peopleName" />
|
|
|
+ <el-table-column label="取得方式" align="center" prop="acquire" />
|
|
|
+ <el-table-column label="质量状况" align="center" prop="quality" />
|
|
|
+ <el-table-column label="放置地点" align="center" prop="address" />
|
|
|
+ <!-- <el-table-column label="备注" align="center" prop="remark" /> -->
|
|
|
+ <!-- <el-table-column label="单位" align="center" prop="unitId" /> -->
|
|
|
+ <!-- <el-table-column label="创建时间" align="center" prop="createtime" /> -->
|
|
|
+ <!-- <el-table-column label="更新时间" align="center" prop="updatetime" /> -->
|
|
|
+ <el-table-column
|
|
|
+ label="操作"
|
|
|
+ align="center"
|
|
|
+ class-name="small-padding fixed-width"
|
|
|
+ width="200"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ size="btu"
|
|
|
+ type="text"
|
|
|
+ @click="handleUpdate(scope.row)"
|
|
|
+ v-hasPermi="['grassrootsregistration:bdglpublicproperty:edit']"
|
|
|
+ ><span class="edit">修改</span></el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ size="btd"
|
|
|
+ type="text"
|
|
|
+ @click="handleDelete(scope.row)"
|
|
|
+ v-hasPermi="['grassrootsregistration:bdglpublicproperty: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"
|
|
|
+ />
|
|
|
+
|
|
|
+ <!-- 添加或修改营产,公物管理登记簿对话框 -->
|
|
|
+ <el-dialog
|
|
|
+ :title="title"
|
|
|
+ :visible.sync="open"
|
|
|
+ width="1016px"
|
|
|
+ append-to-body
|
|
|
+ >
|
|
|
+ <el-form
|
|
|
+ ref="form"
|
|
|
+ :model="form"
|
|
|
+ :rules="rules"
|
|
|
+ label-width="80px"
|
|
|
+ :inline="true"
|
|
|
+ >
|
|
|
+ <div class="jiben">基本信息</div>
|
|
|
+
|
|
|
+ <el-form-item label="单位" prop="unitId">
|
|
|
+ <treeselect
|
|
|
+ v-model="form.unitId"
|
|
|
+ :options="deptOptions"
|
|
|
+ placeholder="选择单位"
|
|
|
+ @select="selectPeo"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="名称" prop="name">
|
|
|
+ <el-input v-model="form.name" placeholder="请输入名称" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="规格型号" prop="version">
|
|
|
+ <el-input v-model="form.version" placeholder="请输入规格型号" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="数量" prop="quantity">
|
|
|
+ <!-- <el-input v-model="form.quantity" placeholder="请输入数量" /> -->
|
|
|
+ <el-input-number
|
|
|
+ v-model="form.quantity"
|
|
|
+ controls-position="right"
|
|
|
+ :min="0"
|
|
|
+ :max="99999999"
|
|
|
+ ></el-input-number>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="单价" prop="price">
|
|
|
+ <!-- <el-input v-model="form.price" placeholder="请输入单价" /> -->
|
|
|
+ <el-input-number
|
|
|
+ v-model="form.price"
|
|
|
+ controls-position="right"
|
|
|
+ :min="0"
|
|
|
+ :max="99999999"
|
|
|
+ :step="0.1"
|
|
|
+ ></el-input-number>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="总价" prop="totalPrice">
|
|
|
+ <!-- <el-input v-model="form.totalPrice" placeholder="请输入总价" /> -->
|
|
|
+ <el-input-number
|
|
|
+ v-model="form.totalPrice"
|
|
|
+ controls-position="right"
|
|
|
+ :min="0"
|
|
|
+ :max="99999999"
|
|
|
+ :step="0.1"
|
|
|
+ ></el-input-number>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="装备时间" prop="equipTime">
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ size="small"
|
|
|
+ v-model="form.equipTime"
|
|
|
+ type="date"
|
|
|
+ :editable="false"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择装备时间"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="保管人" prop="peopleId">
|
|
|
+ <el-select v-model="form.peopleId" placeholder="请选择保管人">
|
|
|
+ <el-option
|
|
|
+ v-for="item in roleOptions"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id"
|
|
|
+ :disabled="item.status == 1"
|
|
|
+ @click.native="baoGuan(item.name)"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="取得方式" prop="acquire">
|
|
|
+ <el-input v-model="form.acquire" placeholder="请输入取得方式" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="质量状况" prop="quality">
|
|
|
+ <el-input v-model="form.quality" placeholder="请输入质量状况" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="放置地点" prop="address">
|
|
|
+ <el-input v-model="form.address" placeholder="请输入放置地点" />
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <div class="jiben">备注</div>
|
|
|
+ <el-input
|
|
|
+ type="textarea"
|
|
|
+ :rows="3"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ v-model="form.remark"
|
|
|
+ >
|
|
|
+ </el-input>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="resertwo">重置</el-button>
|
|
|
+ <el-button type="primary" @click="submitForm(1)">确 定</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import {
|
|
|
+ listBdglpublicproperty,
|
|
|
+ getBdglpublicproperty,
|
|
|
+ delBdglpublicproperty,
|
|
|
+ addBdglpublicproperty,
|
|
|
+ updateBdglpublicproperty,
|
|
|
+ exportBdglpublicproperty,
|
|
|
+} from "@/api/grassrootsregistration/bdglpublicproperty";
|
|
|
+import { getZhuChiRen } from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
+
|
|
|
+// 导入树形结构
|
|
|
+import Treeselect from "@riophae/vue-treeselect";
|
|
|
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
+import { treeselect } from "@/api/system/dept";
|
|
|
+import { getDept } from "@/api/grassrootsregistration/bdgleven";
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: "Bdglpublicproperty",
|
|
|
+ components: {
|
|
|
+ Treeselect,
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ //判断关闭
|
|
|
+ style: "2",
|
|
|
+ // 遮罩层
|
|
|
+ loading: true,
|
|
|
+ // 导出遮罩层
|
|
|
+ exportLoading: false,
|
|
|
+ // 选中数组
|
|
|
+ ids: [],
|
|
|
+ // 非单个禁用
|
|
|
+ single: true,
|
|
|
+ // 非多个禁用
|
|
|
+ multiple: true,
|
|
|
+ // 显示搜索条件
|
|
|
+ showSearch: true,
|
|
|
+ // 总条数
|
|
|
+ total: 0,
|
|
|
+ // 营产,公物管理登记簿表格数据
|
|
|
+ bdglpublicpropertyList: [],
|
|
|
+ // 弹出层标题
|
|
|
+ title: "",
|
|
|
+ // 是否显示弹出层
|
|
|
+ open: false,
|
|
|
+ // 查询参数
|
|
|
+ queryParams: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ name: null,
|
|
|
+ version: null,
|
|
|
+ quantity: null,
|
|
|
+ price: null,
|
|
|
+ totalPrice: null,
|
|
|
+ equipTime: null,
|
|
|
+ peopleId: null,
|
|
|
+ acquire: null,
|
|
|
+ quality: null,
|
|
|
+ address: null,
|
|
|
+ unitId: null,
|
|
|
+ createtime: null,
|
|
|
+ updatetime: null,
|
|
|
+ },
|
|
|
+ // 表单参数
|
|
|
+ form: {},
|
|
|
+ // 表单校验
|
|
|
+ rules: {
|
|
|
+ unitId: [
|
|
|
+ { required: true, message: "单位名称不能为空", trigger: "blur" },
|
|
|
+ ],
|
|
|
+ equipTime: [
|
|
|
+ { required: true, message: "装备时间不能为空", trigger: "blur" },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ //下拉
|
|
|
+ options: [],
|
|
|
+ // 获取单位树形
|
|
|
+ deptOptions: [],
|
|
|
+ // 人员的列表
|
|
|
+ roleOptions: [],
|
|
|
+ // 获取单位列表
|
|
|
+ deptOptionss: [],
|
|
|
+ };
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.getList();
|
|
|
+ this.getdept();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ // 搜索单位触发
|
|
|
+ host() {
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ // //获取部门列表
|
|
|
+ getdept() {
|
|
|
+ getDept().then((response) => {
|
|
|
+ this.deptOptionss = response.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 选中保管人触发
|
|
|
+ baoGuan(name) {
|
|
|
+ this.form.peopleName = name;
|
|
|
+ },
|
|
|
+ // 重置表单人员
|
|
|
+ ChongZhiRen() {
|
|
|
+ this.form.peopleId = null;
|
|
|
+ },
|
|
|
+ // 单位选择触发
|
|
|
+ selectPeo(val) {
|
|
|
+ this.ChongZhiRen();
|
|
|
+ this.form.unitId = val.id;
|
|
|
+ this.getZhuChi(this.form.unitId);
|
|
|
+ },
|
|
|
+ // 获取人员
|
|
|
+ getZhuChi(id) {
|
|
|
+ getZhuChiRen(id).then((res) => {
|
|
|
+ this.roleOptions = res.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /** 查询部门下拉树结构 */
|
|
|
+ getTreeselect() {
|
|
|
+ treeselect().then((response) => {
|
|
|
+ this.deptOptions = response.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /** 查询营产,公物管理登记簿列表 */
|
|
|
+ getList() {
|
|
|
+ this.loading = true;
|
|
|
+ listBdglpublicproperty(this.queryParams).then((response) => {
|
|
|
+ this.bdglpublicpropertyList = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 取消按钮
|
|
|
+ cancel() {
|
|
|
+ this.open = false;
|
|
|
+ this.reset();
|
|
|
+ },
|
|
|
+ // 表单重置
|
|
|
+ reset() {
|
|
|
+ this.form = {
|
|
|
+ id: null,
|
|
|
+ name: null,
|
|
|
+ version: null,
|
|
|
+ quantity: null,
|
|
|
+ price: null,
|
|
|
+ totalPrice: null,
|
|
|
+ equipTime: null,
|
|
|
+ peopleId: null,
|
|
|
+ acquire: null,
|
|
|
+ quality: null,
|
|
|
+ address: null,
|
|
|
+ remark: null,
|
|
|
+ unitId: null,
|
|
|
+ createtime: null,
|
|
|
+ updatetime: null,
|
|
|
+ };
|
|
|
+ this.resetForm("form");
|
|
|
+ },
|
|
|
+ /** 搜索按钮操作 */
|
|
|
+ handleQuery() {
|
|
|
+ this.queryParams.pageNum = 1;
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ /** 重置按钮操作 */
|
|
|
+ resetQuery() {
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.handleQuery();
|
|
|
+ },
|
|
|
+ /** 对话框重置按钮操作 */
|
|
|
+ resertwo() {
|
|
|
+ this.reset();
|
|
|
+ },
|
|
|
+ // 多选框选中数据
|
|
|
+ handleSelectionChange(selection) {
|
|
|
+ this.ids = selection.map((item) => item.id);
|
|
|
+ this.single = selection.length !== 1;
|
|
|
+ this.multiple = !selection.length;
|
|
|
+ },
|
|
|
+ /** 新增按钮操作 */
|
|
|
+ handleAdd() {
|
|
|
+ // 人员的列表
|
|
|
+ (this.roleOptions = []), this.getTreeselect();
|
|
|
+ this.reset();
|
|
|
+ this.open = true;
|
|
|
+ this.style = 2;
|
|
|
+ this.title = "添加营产,公物管理登记簿";
|
|
|
+ },
|
|
|
+ /** 修改按钮操作 */
|
|
|
+ handleUpdate(row) {
|
|
|
+ this.getTreeselect();
|
|
|
+ this.reset();
|
|
|
+ this.form.unitId = row.unitId;
|
|
|
+ this.getZhuChi(this.form.unitId);
|
|
|
+ const id = row.id || this.ids;
|
|
|
+ getBdglpublicproperty(id).then((response) => {
|
|
|
+ this.form = response.data;
|
|
|
+ this.open = true;
|
|
|
+ this.title = "修改营产,公物管理登记簿";
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /** 提交按钮 */
|
|
|
+ submitForm(style) {
|
|
|
+ this.style = style;
|
|
|
+ this.$refs["form"].validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ if (this.form.id != null) {
|
|
|
+ updateBdglpublicproperty(this.form).then((response) => {
|
|
|
+ this.$modal.msgSuccess("修改成功");
|
|
|
+ this.open = false;
|
|
|
+ this.getList();
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ addBdglpublicproperty(this.form).then((response) => {
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
+ this.open = false;
|
|
|
+ this.getList();
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /** 删除按钮操作 */
|
|
|
+ handleDelete(row) {
|
|
|
+ const ids = row.id || this.ids;
|
|
|
+ this.$modal
|
|
|
+ .confirm(
|
|
|
+ '是否确认删除营产,公物管理登记簿编号为"' + ids + '"的数据项?'
|
|
|
+ )
|
|
|
+ .then(function () {
|
|
|
+ return delBdglpublicproperty(ids);
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.$modal.msgSuccess("删除成功");
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ },
|
|
|
+ /** 导出按钮操作 */
|
|
|
+ handleExport() {
|
|
|
+ const queryParams = this.queryParams;
|
|
|
+ this.$modal
|
|
|
+ .confirm("是否确认导出所有营产,公物管理登记簿数据项?")
|
|
|
+ .then(() => {
|
|
|
+ this.exportLoading = true;
|
|
|
+ return exportBdglpublicproperty(queryParams);
|
|
|
+ })
|
|
|
+ .then((response) => {
|
|
|
+ this.$download.name(response.msg);
|
|
|
+ this.exportLoading = false;
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style scoped>
|
|
|
+/* 对话框背景颜色 */
|
|
|
+::v-deep .el-dialog {
|
|
|
+ background: #004d86 !important;
|
|
|
+}
|
|
|
+::v-deep .el-textarea__inner {
|
|
|
+ width: 884px;
|
|
|
+ height: 104px;
|
|
|
+ margin-left: 29px;
|
|
|
+}
|
|
|
+::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; */
|
|
|
+ background: transparent;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+/* 单位框背景颜色 */
|
|
|
+::v-deep .vue-treeselect__control {
|
|
|
+ background: #004d86 !important;
|
|
|
+}
|
|
|
+/* 基本信息背景 */
|
|
|
+.jiben {
|
|
|
+ width: 952px;
|
|
|
+ height: 32px;
|
|
|
+ background-image: url(../../../images/小标题底.png);
|
|
|
+ margin-bottom: 25px;
|
|
|
+ color: #fff;
|
|
|
+ padding-left: 16px;
|
|
|
+ line-height: 32px;
|
|
|
+}
|
|
|
+/*调整表单间距 */
|
|
|
+::v-deep .el-form-item__content {
|
|
|
+ width: 200px;
|
|
|
+}
|
|
|
+
|
|
|
+.contents {
|
|
|
+ padding: 0px 40px !important;
|
|
|
+}
|
|
|
+/* 下拉菜单 */
|
|
|
+.el-dropdown-link {
|
|
|
+ cursor: pointer;
|
|
|
+ color: #409eff;
|
|
|
+}
|
|
|
+.el-icon-arrow-down {
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
+/* 刷新图标 */
|
|
|
+/* .el-icon-refresh {
|
|
|
+ width: 76px;
|
|
|
+ height: 36px;
|
|
|
+ color: #fff;
|
|
|
+ background-color: #1d96ff !important;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: none;
|
|
|
+ margin-left: 20px;
|
|
|
+ font-size: 14px;
|
|
|
+} */
|
|
|
+/* 下拉菜单字体/背景颜色 */
|
|
|
+.el-select-dropdown__item.hover,
|
|
|
+.el-select-dropdown__item:hover {
|
|
|
+ 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;
|
|
|
+}
|
|
|
+/* 单位框背景颜色 */
|
|
|
+::v-deep .vue-treeselect__control {
|
|
|
+ background: #004d86 !important;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+/* 单位下拉菜单选中字体颜色 */
|
|
|
+::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-number__increase {
|
|
|
+ background-color: transparent !important;
|
|
|
+ border: none;
|
|
|
+ color: #cccccc;
|
|
|
+ border-bottom: none !important;
|
|
|
+}
|
|
|
+::v-deep .el-input-number__decrease {
|
|
|
+ background-color: transparent !important;
|
|
|
+ border: none !important;
|
|
|
+ color: #cccccc;
|
|
|
+}
|
|
|
+
|
|
|
+/* ::v-deep .el-table--enable-row-transition .el-table__body td.el-table__cell{
|
|
|
+ background: #004d86;
|
|
|
+} */
|
|
|
+</style>
|