|
@@ -1,6 +1,37 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
+ <div class="box-lfet">
|
|
|
+ <div class="data">
|
|
|
+ <p>单位</p>
|
|
|
+ <div class="a1"></div>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="tiem"
|
|
|
+ type="date"
|
|
|
+ :editable="false"
|
|
|
+ placeholder="选择日期"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ @change="shiJian"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </div>
|
|
|
+ <div class="dadui">
|
|
|
+ <img src="../../../images/星星.png" alt="" />
|
|
|
+ 大队
|
|
|
+ </div>
|
|
|
+ <div class="tree">
|
|
|
+ <el-tree
|
|
|
+ class="userAgrees"
|
|
|
+ style="height: 700px; overflow: auto"
|
|
|
+ :data="deptOptions"
|
|
|
+ :props="defaultProps"
|
|
|
+ @node-click="handleNodeClick"
|
|
|
+ default-expand-all
|
|
|
+ highlight-current
|
|
|
+ :expand-on-click-node="false"
|
|
|
+ ></el-tree>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
<el-form-item prop="talkPeople">
|
|
|
<el-input
|
|
|
v-model="queryParams.talkPeople"
|
|
@@ -18,8 +49,8 @@
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item prop="unitId">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item prop="unitId">
|
|
|
<el-input
|
|
|
v-model="queryParams.unitId"
|
|
|
placeholder="请输入单位id"
|
|
@@ -28,7 +59,7 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item prop="talkObject">
|
|
|
+ <!-- <el-form-item prop="talkObject">
|
|
|
<el-input
|
|
|
v-model="queryParams.talkObject"
|
|
|
placeholder="请输入谈心对象"
|
|
@@ -36,8 +67,8 @@
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="谈心对象id" prop="talkObjectId">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="谈心对象id" prop="talkObjectId">
|
|
|
<el-input
|
|
|
v-model="queryParams.talkObjectId"
|
|
|
placeholder="请输入谈心对象id"
|
|
@@ -46,7 +77,7 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item prop="startTime">
|
|
|
+ <!-- <el-form-item prop="startTime">
|
|
|
<el-date-picker clearable size="small"
|
|
|
v-model="queryParams.startTime"
|
|
|
type="date"
|
|
@@ -70,8 +101,8 @@
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="创建人id" prop="createId">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="创建人id" prop="createId">
|
|
|
<el-input
|
|
|
v-model="queryParams.createId"
|
|
|
placeholder="请输入创建人id"
|
|
@@ -80,7 +111,7 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item prop="filePath">
|
|
|
+ <!-- <el-form-item prop="filePath">
|
|
|
<el-input
|
|
|
v-model="queryParams.filePath"
|
|
|
placeholder="请输入文件路径"
|
|
@@ -123,8 +154,8 @@
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="记录人id" prop="recorderId">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="记录人id" prop="recorderId">
|
|
|
<el-input
|
|
|
v-model="queryParams.recorderId"
|
|
|
placeholder="请输入记录人id"
|
|
@@ -133,217 +164,331 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item>
|
|
|
- <!-- <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> -->
|
|
|
- <el-button icon="el-icon-refresh" size="btr" @click="resetQuery">重置</el-button>
|
|
|
+ <!-- <el-form-item> -->
|
|
|
+ <!-- <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</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="['thought:talk: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="['thought:talk: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="['thought:talk: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="['thought:talk:export']"
|
|
|
- >导出</el-button>
|
|
|
- </el-col>
|
|
|
- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
- </el-row>
|
|
|
-
|
|
|
- <el-table v-loading="loading" :data="talkList" @selection-change="handleSelectionChange">
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="主键id" align="center" prop="id" />
|
|
|
- <el-table-column label="谈心人员" align="center" prop="talkPeople" />
|
|
|
- <el-table-column label="单位名称" align="center" prop="unitName" />
|
|
|
- <el-table-column label="单位id" align="center" prop="unitId" />
|
|
|
- <el-table-column label="谈心对象" align="center" prop="talkObject" />
|
|
|
- <el-table-column label="谈心对象id" align="center" prop="talkObjectId" />
|
|
|
- <el-table-column label="开始时间" align="center" prop="startTime" width="180">
|
|
|
- <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="180">
|
|
|
- <template slot-scope="scope">
|
|
|
- <span>{{ parseTime(scope.row.endTime, '{y}-{m}-{d}') }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="创建人姓名" align="center" prop="createName" />
|
|
|
- <el-table-column label="创建人id" align="center" prop="createId" />
|
|
|
- <el-table-column label="文件路径" align="center" prop="filePath" />
|
|
|
- <el-table-column label="文件名称" align="center" prop="fileName" />
|
|
|
- <el-table-column label="谈话内容" align="center" prop="talkContent" />
|
|
|
- <el-table-column label="谈话时间" align="center" prop="talkTime" width="180">
|
|
|
- <template slot-scope="scope">
|
|
|
- <span>{{ parseTime(scope.row.talkTime, '{y}-{m}-{d}') }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="谈话地点" align="center" prop="talkAddress" />
|
|
|
- <el-table-column label="记录人" align="center" prop="recorder" />
|
|
|
- <el-table-column label="记录人id" align="center" prop="recorderId" />
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
- <template slot-scope="scope">
|
|
|
+ </el-form> -->
|
|
|
+ <div class="box-right">
|
|
|
+ <el-row :gutter="10" class="mb8">
|
|
|
+ <el-col :span="1.5">
|
|
|
<el-button
|
|
|
- size="btu"
|
|
|
- type="text"
|
|
|
-
|
|
|
- @click="handleUpdate(scope.row)"
|
|
|
+ type="primary"
|
|
|
+ plain
|
|
|
+ icon="el-icon-plus"
|
|
|
+ size="mini"
|
|
|
+ @click="handleAdd"
|
|
|
+ v-hasPermi="['thought:talk: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="['thought:talk:edit']"
|
|
|
- >修改</el-button>
|
|
|
+ >修改</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
<el-button
|
|
|
- size="btd"
|
|
|
- type="text"
|
|
|
-
|
|
|
- @click="handleDelete(scope.row)"
|
|
|
+ type="danger"
|
|
|
+ plain
|
|
|
+ icon="el-icon-delete"
|
|
|
+ size="mini"
|
|
|
+ :disabled="multiple"
|
|
|
+ @click="handleDelete"
|
|
|
v-hasPermi="['thought:talk:remove']"
|
|
|
- >删除</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-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="['thought:talk:export']"
|
|
|
+ >导出</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
+ <right-toolbar
|
|
|
+ :showSearch.sync="showSearch"
|
|
|
+ @queryTable="getList"
|
|
|
+ ></right-toolbar>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ <el-table
|
|
|
+ v-loading="loading"
|
|
|
+ :data="talkList"
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
+ >
|
|
|
+ <el-table-column type="selection" width="55" align="center" />
|
|
|
+ <el-table-column label="序号" type="index" width="50" align="center" />
|
|
|
+ <el-table-column label="谈心人名称" align="center" prop="talkPeople" />
|
|
|
+ <el-table-column label="谈心对象名称" align="center" prop="talkObject" />
|
|
|
+ <el-table-column label="谈心单位名称" align="center" prop="unitName" />
|
|
|
+ <!-- <el-table-column label="单位id" align="center" prop="unitId" /> -->
|
|
|
+<!--
|
|
|
+ <el-table-column
|
|
|
+ label="谈心对象id"
|
|
|
+ align="center"
|
|
|
+ prop="talkObjectId"
|
|
|
+ /> -->
|
|
|
+ <el-table-column
|
|
|
+ label="开始时间"
|
|
|
+ align="center"
|
|
|
+ prop="startTime"
|
|
|
+ width="180"
|
|
|
+ >
|
|
|
+ <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="180"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ parseTime(scope.row.endTime, "{y}-{m}-{d}") }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="创建人姓名" align="center" prop="createName" />
|
|
|
+ <!-- <el-table-column label="创建人id" align="center" prop="createId" /> -->
|
|
|
+ <!-- <el-table-column label="文件路径" align="center" prop="filePath" /> -->
|
|
|
+ <el-table-column label="文件名称" align="center" prop="fileName" />
|
|
|
+ <el-table-column label="谈话内容" align="center" prop="talkContent" />
|
|
|
+ <!-- <el-table-column
|
|
|
+ label="谈话时间"
|
|
|
+ align="center"
|
|
|
+ prop="talkTime"
|
|
|
+ width="180"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ parseTime(scope.row.talkTime, "{y}-{m}-{d}") }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column> -->
|
|
|
+ <!-- <el-table-column label="谈话地点" align="center" prop="talkAddress" />
|
|
|
+ <el-table-column label="记录人" align="center" prop="recorder" />
|
|
|
+ <el-table-column label="记录人id" align="center" prop="recorderId" /> -->
|
|
|
+ <el-table-column
|
|
|
+ label="操作"
|
|
|
+ align="center"
|
|
|
+ class-name="small-padding fixed-width"
|
|
|
+ width="150px"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ size="btu"
|
|
|
+ type="text"
|
|
|
+ @click="handleUpdate(scope.row)"
|
|
|
+ v-hasPermi="['thought:talk:edit']"
|
|
|
+ >修改</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ size="btd"
|
|
|
+ type="text"
|
|
|
+ @click="handleDelete(scope.row)"
|
|
|
+ v-hasPermi="['thought:talk:remove']"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
|
|
|
- <!-- 添加或修改谈心记录卡对话框 -->
|
|
|
- <el-dialog :title="title"
|
|
|
- :visible.sync="open"
|
|
|
- width="1100px"
|
|
|
- append-to-body
|
|
|
- :close-on-click-modal="false">
|
|
|
- <el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true">
|
|
|
- <el-form-item label="谈心人员" prop="talkPeople">
|
|
|
- <el-input v-model="form.talkPeople" placeholder="请输入谈心人员" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="记录人" prop="recorder">
|
|
|
- <el-input v-model="form.recorder" placeholder="请输入记录人" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="单位名称" prop="unitName">
|
|
|
- <el-input v-model="form.unitName" placeholder="请输入单位名称" />
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="单位id" prop="unitId">
|
|
|
+ <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="1120px"
|
|
|
+ append-to-body
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ >
|
|
|
+ <el-form
|
|
|
+ ref="form"
|
|
|
+ :model="form"
|
|
|
+ :rules="rules"
|
|
|
+ label-width="110px"
|
|
|
+ :inline="true"
|
|
|
+ >
|
|
|
+ <el-form-item label="谈心人员" prop="talkPeople">
|
|
|
+ <!-- <el-input v-model="form.talkPeople" placeholder="请输入谈心人员" /> -->
|
|
|
+ <el-select
|
|
|
+ filterable
|
|
|
+ v-model="form.talkPeople"
|
|
|
+ ref="createName"
|
|
|
+ placeholder="请选择谈心人员"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in executors"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.name"
|
|
|
+ @click.native="zuzhiPeople(item.id)"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="谈心对象单位" prop="unitName">
|
|
|
+ <!-- <el-input v-model="form.unitName" placeholder="请输入单位名称" /> -->
|
|
|
+ <treeselect
|
|
|
+ v-model="form.unitName"
|
|
|
+ :options="users"
|
|
|
+ placeholder="请选择单位"
|
|
|
+ class="threeselects"
|
|
|
+ @select="selectPeo"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="谈心对象" prop="talkObject">
|
|
|
+ <!-- <el-input v-model="form.talkObject" placeholder="请输入谈心对象" /> -->
|
|
|
+ <el-select
|
|
|
+ filterable
|
|
|
+ v-model="form.talkObject"
|
|
|
+ placeholder="请选择谈心对象"
|
|
|
+ ref="peoplenames"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in tanxinexecutor"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.name"
|
|
|
+ @click.native="peopleIds(item)"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="谈心开始时间" prop="startTime">
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ size="small"
|
|
|
+ v-model="form.startTime"
|
|
|
+ type="date"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择开始时间"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="谈心结束时间" prop="endTime" label-width="125px">
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ size="small"
|
|
|
+ v-model="form.endTime"
|
|
|
+ type="date"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择结束时间"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <!-- <el-form-item label="记录人" prop="recorder">
|
|
|
+ <el-input v-model="form.recorder" placeholder="请输入记录人" />
|
|
|
+ </el-form-item> -->
|
|
|
+
|
|
|
+ <!-- <el-form-item label="单位id" prop="unitId">
|
|
|
<el-input v-model="form.unitId" placeholder="请输入单位id" />
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item label="谈心对象" prop="talkObject">
|
|
|
- <el-input v-model="form.talkObject" placeholder="请输入谈心对象" />
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="谈心对象id" prop="talkObjectId">
|
|
|
+
|
|
|
+ <!-- <el-form-item label="谈心对象id" prop="talkObjectId">
|
|
|
<el-input v-model="form.talkObjectId" placeholder="请输入谈心对象id" />
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item label="开始时间" prop="startTime">
|
|
|
- <el-date-picker clearable size="small"
|
|
|
- v-model="form.startTime"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="选择开始时间">
|
|
|
- </el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="结束时间" prop="endTime" label-width="115px">
|
|
|
- <el-date-picker clearable size="small"
|
|
|
- v-model="form.endTime"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="选择结束时间">
|
|
|
- </el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="创建人姓名" prop="createName">
|
|
|
- <el-input v-model="form.createName" placeholder="请输入创建人姓名" />
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="创建人id" prop="createId">
|
|
|
+
|
|
|
+ <!-- <el-form-item label="创建人姓名" prop="createName">
|
|
|
+ <el-input
|
|
|
+ v-model="form.createName"
|
|
|
+ placeholder="请输入创建人姓名"
|
|
|
+ />
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="创建人id" prop="createId">
|
|
|
<el-input v-model="form.createId" placeholder="请输入创建人id" />
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item label="文件路径" prop="filePath">
|
|
|
- <el-input v-model="form.filePath" placeholder="请输入文件路径" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="文件名称" prop="fileName">
|
|
|
- <el-input v-model="form.fileName" placeholder="请输入文件名称" />
|
|
|
- </el-form-item>
|
|
|
-
|
|
|
- <el-form-item label="谈话时间" prop="talkTime">
|
|
|
- <el-date-picker clearable size="small"
|
|
|
- v-model="form.talkTime"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="选择谈话时间">
|
|
|
- </el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="谈话地点" prop="talkAddress" label-width="115px">
|
|
|
- <el-input v-model="form.talkAddress" placeholder="请输入谈话地点" />
|
|
|
- </el-form-item>
|
|
|
-
|
|
|
- <!-- <el-form-item label="记录人id" prop="recorderId">
|
|
|
+ <!-- <el-form-item label="文件路径" prop="filePath">
|
|
|
+ <el-input v-model="form.filePath" placeholder="请输入文件路径" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="文件名称" prop="fileName">
|
|
|
+ <el-input v-model="form.fileName" placeholder="请输入文件名称" />
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="谈话时间" prop="talkTime">
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ size="small"
|
|
|
+ v-model="form.talkTime"
|
|
|
+ type="date"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择谈话时间"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="谈话地点" prop="talkAddress" label-width="115px">
|
|
|
+ <el-input v-model="form.talkAddress" placeholder="请输入谈话地点" />
|
|
|
+ </el-form-item> -->
|
|
|
+
|
|
|
+ <!-- <el-form-item label="记录人id" prop="recorderId">
|
|
|
<el-input v-model="form.recorderId" placeholder="请输入记录人id" />
|
|
|
</el-form-item> -->
|
|
|
- <div class="jiben">谈话内容</div>
|
|
|
- <el-form-item >
|
|
|
- <!-- <editor v-model="form.talkContent" :min-height="192"/> -->
|
|
|
- <quill-editor
|
|
|
+ <div class="jiben">谈话内容</div>
|
|
|
+ <el-form-item>
|
|
|
+ <!-- <editor v-model="form.talkContent" :min-height="192"/> -->
|
|
|
+ <quill-editor
|
|
|
class="quill-editor"
|
|
|
ref="myTextEditor"
|
|
|
v-model="form.talkContent"
|
|
|
style="
|
|
|
height: 150px;
|
|
|
- width: 1010px;
|
|
|
+ width: 1040px;
|
|
|
margin-left: 0px;
|
|
|
color: white;
|
|
|
margin-bottom: 60px;
|
|
|
"
|
|
|
></quill-editor>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- <div slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
- <el-button @click="cancel" size="btn">取 消</el-button>
|
|
|
- </div>
|
|
|
- </el-dialog>
|
|
|
+ </el-form-item>
|
|
|
+ <div class="jiben">附件</div>
|
|
|
+ <el-form-item>
|
|
|
+ <FileUpload v-model="form.fileName" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
+ <el-button @click="cancel" size="btn">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listTalk, getTalk, delTalk, addTalk, updateTalk, exportTalk } from "@/api/thought/talk";
|
|
|
-
|
|
|
+import {
|
|
|
+ listTalk,
|
|
|
+ getTalk,
|
|
|
+ delTalk,
|
|
|
+ addTalk,
|
|
|
+ updateTalk,
|
|
|
+ exportTalk,
|
|
|
+} from "@/api/thought/talk";
|
|
|
+import Treeselect from "@riophae/vue-treeselect";
|
|
|
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
+import {
|
|
|
+ getDept2,
|
|
|
+ getAll,
|
|
|
+ getWeiShu,
|
|
|
+} from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
+import { deptUser } from "@/api/doormanManage/bdglVisit";
|
|
|
export default {
|
|
|
name: "Talk",
|
|
|
+ components: { Treeselect },
|
|
|
data() {
|
|
|
return {
|
|
|
// 遮罩层
|
|
@@ -385,23 +530,142 @@ export default {
|
|
|
talkTime: null,
|
|
|
talkAddress: null,
|
|
|
recorder: null,
|
|
|
- recorderId: null
|
|
|
+ recorderId: null,
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {},
|
|
|
// 表单校验
|
|
|
rules: {
|
|
|
- }
|
|
|
+ talkPeople: [
|
|
|
+ { required: true, message: "谈心人员不能为空", trigger: "blur" },
|
|
|
+ ],
|
|
|
+ startTime: [
|
|
|
+ { required: true, message: "开始时间不能为空", trigger: "blur" },
|
|
|
+ ],
|
|
|
+ endTime: [
|
|
|
+ { required: true, message: "结束时间不能为空", trigger: "blur" },
|
|
|
+ ],
|
|
|
+ unitName: [
|
|
|
+ { required: true, message: "谈心对象单位不能为空", trigger: "blur" },
|
|
|
+ ],
|
|
|
+ talkObject: [
|
|
|
+ { required: true, message: "谈心对象不能为空", trigger: "blur" },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ // 左侧树形
|
|
|
+ deptOptions: "",
|
|
|
+ //左侧时间选择
|
|
|
+ pickerOptions: {
|
|
|
+ disabledDate(time) {
|
|
|
+ return time.getTime() > Date.now();
|
|
|
+ },
|
|
|
+ },
|
|
|
+ // 树形配置
|
|
|
+ defaultProps: {
|
|
|
+ children: "children",
|
|
|
+ label: "label",
|
|
|
+ },
|
|
|
+ // 搜索时间的保存
|
|
|
+ timeDate: "",
|
|
|
+ tiem: "",
|
|
|
+ executors: [],
|
|
|
+ recodeexecutor: [],
|
|
|
+ // 获取单位列表
|
|
|
+ users:[],
|
|
|
+ // 谈心对象列表
|
|
|
+ tanxinexecutor:[],
|
|
|
+ unitName:""
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
this.getList();
|
|
|
+ this.treeselect();
|
|
|
+ this.getSuoYou();
|
|
|
+ // 获取执行单位列表
|
|
|
+ getDept2().then((res) => {
|
|
|
+ // console.log(res,2)
|
|
|
+ this.users = res.data;
|
|
|
+ // console.log(this.users);
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
+ peopleIds(item){
|
|
|
+ this.form.talkObjectId=item.id
|
|
|
+ console.log(item)
|
|
|
+ },
|
|
|
+ // 选中单位
|
|
|
+ selectPeo(val) {
|
|
|
+ console.log(val);
|
|
|
+ this.form.talkObject = "";
|
|
|
+ this.form.unitId = val.id;
|
|
|
+ this.unitName = val.label;
|
|
|
+ // this.form.phone = "";
|
|
|
+ this.getZhuChi(this.form.unitId);
|
|
|
+ },
|
|
|
+ // 获取执行人
|
|
|
+ getZhuChi(id) {
|
|
|
+ // console.log(id)
|
|
|
+ deptUser(id).then((res) => {
|
|
|
+ // 谈心对象
|
|
|
+ this.tanxinexecutor = res.data;
|
|
|
+ // this.executors = res.data;
|
|
|
+ // console.log(this.executor)
|
|
|
+ // this.form.unitName=this.executor
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 获取所有人员
|
|
|
+ getSuoYou() {
|
|
|
+ getAll().then((response) => {
|
|
|
+ this.executors = response.rows;
|
|
|
+ // 添加的人员
|
|
|
+ // this.executor = response.rows;
|
|
|
+ // 记录人
|
|
|
+ this.recodeexecutor = response.rows;
|
|
|
+ // console.log(this.executors);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ zuzhiPeople(id) {
|
|
|
+ // console.log(id)
|
|
|
+ this.form.talkPeopleId = id;
|
|
|
+ },
|
|
|
+ jiluPeople(id) {
|
|
|
+ this.form.recorderId = id;
|
|
|
+ // console.log(id)
|
|
|
+ },
|
|
|
+ // 获取部门数据
|
|
|
+ getShuJu(data) {
|
|
|
+ exportBdgShuju(data).then((res) => {
|
|
|
+ this.DataTime = data;
|
|
|
+ this.registrationData = res;
|
|
|
+ this.cg = res.cg;
|
|
|
+ this.sb = res.sb;
|
|
|
+ // this.yishenpi = res.yiShenPi;
|
|
|
+ // this.weishenpi = res.weiShenPi;
|
|
|
+ this.tiems = res.time;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 搜索时间触发
|
|
|
+ shiJian(data) {
|
|
|
+ this.queryParams.diaryTime = data;
|
|
|
+ this.timeDate = data;
|
|
|
+ this.getList();
|
|
|
+ this.getShuJu(data);
|
|
|
+ },
|
|
|
+ // 获取外面部门树形
|
|
|
+ treeselect() {
|
|
|
+ getWeiShu().then((res) => {
|
|
|
+ this.deptOptions = res.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ //外面树形选择搜索
|
|
|
+ handleNodeClick(data) {
|
|
|
+ this.queryParams.unitId = data.id;
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
/** 查询谈心记录卡列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
- listTalk(this.queryParams).then(response => {
|
|
|
+ listTalk(this.queryParams).then((response) => {
|
|
|
this.talkList = response.rows;
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
@@ -433,7 +697,7 @@ export default {
|
|
|
talkTime: null,
|
|
|
talkAddress: null,
|
|
|
recorder: null,
|
|
|
- recorderId: null
|
|
|
+ recorderId: null,
|
|
|
};
|
|
|
this.resetForm("form");
|
|
|
},
|
|
@@ -449,9 +713,9 @@ export default {
|
|
|
},
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
- this.ids = selection.map(item => item.id)
|
|
|
- this.single = selection.length!==1
|
|
|
- this.multiple = !selection.length
|
|
|
+ this.ids = selection.map((item) => item.id);
|
|
|
+ this.single = selection.length !== 1;
|
|
|
+ this.multiple = !selection.length;
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd() {
|
|
@@ -462,8 +726,8 @@ export default {
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
|
- const id = row.id || this.ids
|
|
|
- getTalk(id).then(response => {
|
|
|
+ const id = row.id || this.ids;
|
|
|
+ getTalk(id).then((response) => {
|
|
|
this.form = response.data;
|
|
|
this.open = true;
|
|
|
this.title = "修改谈心记录卡";
|
|
@@ -471,16 +735,22 @@ export default {
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
submitForm() {
|
|
|
- this.$refs["form"].validate(valid => {
|
|
|
+ if(this.form.fileName){
|
|
|
+ this.form.filePath=this.form.fileName[0].url
|
|
|
+ this.form.fileName=this.form.fileName[0].name
|
|
|
+ }
|
|
|
+ this.form.unitName=this.unitName
|
|
|
+ console.log(this.form)
|
|
|
+ this.$refs["form"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
if (this.form.id != null) {
|
|
|
- updateTalk(this.form).then(response => {
|
|
|
+ updateTalk(this.form).then((response) => {
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
});
|
|
|
} else {
|
|
|
- addTalk(this.form).then(response => {
|
|
|
+ addTalk(this.form).then((response) => {
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
@@ -492,28 +762,50 @@ export default {
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
const ids = row.id || this.ids;
|
|
|
- this.$modal.confirm('是否确认删除谈心记录卡编号为"' + ids + '"的数据项?').then(function() {
|
|
|
- return delTalk(ids);
|
|
|
- }).then(() => {
|
|
|
- this.getList();
|
|
|
- this.$modal.msgSuccess("删除成功");
|
|
|
- }).catch(() => {});
|
|
|
+ this.$modal
|
|
|
+ .confirm('是否确认删除谈心记录卡编号为"' + ids + '"的数据项?')
|
|
|
+ .then(function () {
|
|
|
+ return delTalk(ids);
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.$modal.msgSuccess("删除成功");
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
const queryParams = this.queryParams;
|
|
|
- this.$modal.confirm('是否确认导出所有谈心记录卡数据项?').then(() => {
|
|
|
- this.exportLoading = true;
|
|
|
- return exportTalk(queryParams);
|
|
|
- }).then(response => {
|
|
|
- this.$download.name(response.msg);
|
|
|
- this.exportLoading = false;
|
|
|
- }).catch(() => {});
|
|
|
- }
|
|
|
- }
|
|
|
+ this.$modal
|
|
|
+ .confirm("是否确认导出所有谈心记录卡数据项?")
|
|
|
+ .then(() => {
|
|
|
+ this.exportLoading = true;
|
|
|
+ return exportTalk(queryParams);
|
|
|
+ })
|
|
|
+ .then((response) => {
|
|
|
+ this.$download.name(response.msg);
|
|
|
+ this.exportLoading = false;
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
+/* 树形样式 */
|
|
|
+::v-deep .vue-treeselect__control {
|
|
|
+ background-color: #004d86;
|
|
|
+ width: 216px;
|
|
|
+ margin-right: 25px;
|
|
|
+ color: white;
|
|
|
+}
|
|
|
+.threeselects {
|
|
|
+ width: 216px;
|
|
|
+ margin-right: 22px;
|
|
|
+}
|
|
|
+::v-deep .vue-treeselect__single-value {
|
|
|
+ color: white;
|
|
|
+}
|
|
|
::v-deep .el-dialog {
|
|
|
background-color: #004d86 !important;
|
|
|
}
|
|
@@ -529,7 +821,7 @@ export default {
|
|
|
border: 1px solid white !important;
|
|
|
}
|
|
|
/* 表格样式 */
|
|
|
-::v-deep .el-table .el-table__header-wrapper th{
|
|
|
+::v-deep .el-table .el-table__header-wrapper th {
|
|
|
background-color: #004d86 !important;
|
|
|
color: white;
|
|
|
}
|
|
@@ -539,30 +831,30 @@ export default {
|
|
|
/* border-bottom: 1px solid white; */
|
|
|
}
|
|
|
/* 标题下划线 */
|
|
|
-::v-deep .el-dialog__header{
|
|
|
+::v-deep .el-dialog__header {
|
|
|
border-bottom: 1px solid white;
|
|
|
}
|
|
|
/* 日历样式 */
|
|
|
-::v-deep .el-date-editor .el-input__inner{
|
|
|
+::v-deep .el-date-editor .el-input__inner {
|
|
|
height: 36px !important;
|
|
|
line-height: 36px;
|
|
|
}
|
|
|
-::v-deep .datesend .el-form-item__label{
|
|
|
+::v-deep .datesend .el-form-item__label {
|
|
|
width: 115px !important;
|
|
|
}
|
|
|
/* 会议文本域样式 */
|
|
|
-::v-deep .el-form-item__content .el-textarea{
|
|
|
- width: 660px;
|
|
|
- /* height: 80px !important; */
|
|
|
+::v-deep .el-form-item__content .el-textarea {
|
|
|
+ width: 660px;
|
|
|
+ /* height: 80px !important; */
|
|
|
}
|
|
|
-::v-deep .el-form-item__content .el-textarea .el-textarea__inner{
|
|
|
- /* width: 1000px; */
|
|
|
- height: 80px !important;
|
|
|
+::v-deep .el-form-item__content .el-textarea .el-textarea__inner {
|
|
|
+ /* width: 1000px; */
|
|
|
+ height: 80px !important;
|
|
|
}
|
|
|
::v-deep .el-dialog__body {
|
|
|
- padding-left: 45px !important;
|
|
|
- padding-right: 0px !important;
|
|
|
- padding-bottom: 0px !important;
|
|
|
+ padding-left: 40px !important;
|
|
|
+ padding-right: 0px !important;
|
|
|
+ padding-bottom: 0px !important;
|
|
|
}
|
|
|
/* 富文本内容 */
|
|
|
/* ::v-deep .editor{
|
|
@@ -602,7 +894,7 @@ export default {
|
|
|
::v-deep .ql-toolbar.ql-snow .ql-formats {
|
|
|
margin-right: 7px;
|
|
|
}
|
|
|
-::v-deep .ql-toolbar{
|
|
|
+::v-deep .ql-toolbar {
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
}
|
|
@@ -617,7 +909,182 @@ export default {
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
-::v-deep .el-input__suffix{
|
|
|
+::v-deep .el-input__suffix {
|
|
|
+ right: 22px;
|
|
|
+}
|
|
|
+::v-deep .data .el-date-editor.el-input {
|
|
|
+ width: 100%;
|
|
|
+ border: none !important;
|
|
|
+}
|
|
|
+::v-deep .data .el-input__inner {
|
|
|
+ width: 100% !important;
|
|
|
+ border: none !important;
|
|
|
+}
|
|
|
+::v-deep .data .el-input--medium .el-input__icon {
|
|
|
+ line-height: 36px;
|
|
|
+ position: absolute;
|
|
|
+ right: -223px;
|
|
|
+ top: 2px;
|
|
|
+}
|
|
|
+::v-deep .data .el-input__inner {
|
|
|
+ background-color: transparent !important;
|
|
|
+ color: #fff;
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 2px;
|
|
|
+}
|
|
|
+::v-deep .data .el-input__suffix {
|
|
|
+ position: absolute;
|
|
|
+ right: 281px;
|
|
|
+}
|
|
|
+.app-container .box-lfet .data {
|
|
|
+ height: 40px;
|
|
|
+ background: #003156;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ color: #fff;
|
|
|
+ display: flex;
|
|
|
+ font-size: 13px;
|
|
|
+ line-height: 25px;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.box-lfet .data p {
|
|
|
+ position: absolute;
|
|
|
+ top: -5px;
|
|
|
+ left: 15px;
|
|
|
+}
|
|
|
+.box-lfet .data .a1 {
|
|
|
+ width: 128px;
|
|
|
+ height: 26px;
|
|
|
+ background: rgba(23, 74, 112, 0.4);
|
|
|
+ border-radius: 13px;
|
|
|
+ position: absolute;
|
|
|
+ top: 7px;
|
|
|
+ left: 60px;
|
|
|
+}
|
|
|
+::v-deep .data .el-date-editor.el-input {
|
|
|
+ width: 100%;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+::v-deep .data .el-input__inner {
|
|
|
+ width: 100% !important;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+::v-deep .data .el-input--medium .el-input__icon {
|
|
|
+ line-height: 36px;
|
|
|
+ position: absolute;
|
|
|
+ right: -223px;
|
|
|
+ top: 2px;
|
|
|
+}
|
|
|
+::v-deep .data .el-input__inner {
|
|
|
+ background-color: transparent;
|
|
|
+ color: #fff;
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 2px;
|
|
|
+}
|
|
|
+::v-deep .data .el-input__suffix {
|
|
|
+ position: absolute;
|
|
|
+ right: 281px;
|
|
|
+}
|
|
|
+/* 头部样式 */
|
|
|
+.box-lfet .dadui {
|
|
|
+ height: 40px;
|
|
|
+ background: #003156;
|
|
|
+ /* border-bottom: 1px solid #718A9D ; */
|
|
|
+ background-image: url(../../../images/矩形底部边框.png);
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-position: 0px 39px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #1d96ff;
|
|
|
+}
|
|
|
+.box-lfet .dadui img {
|
|
|
+ margin: 10px 10px 0px 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.box-lfet .data p {
|
|
|
+ position: absolute;
|
|
|
+ top: -5px;
|
|
|
+ left: 15px;
|
|
|
+}
|
|
|
+.box-lfet .data .a1 {
|
|
|
+ width: 128px;
|
|
|
+ height: 26px;
|
|
|
+ background: rgba(23, 74, 112, 0.4);
|
|
|
+ border-radius: 13px;
|
|
|
+ position: absolute;
|
|
|
+ top: 7px;
|
|
|
+ left: 60px;
|
|
|
+}
|
|
|
+/* 划过效果 */
|
|
|
+::v-deep .el-tree-node__content:hover {
|
|
|
+ /* color: #fff; */
|
|
|
+ background-color: #003156;
|
|
|
+ background-image: url("../../../assets/images/选中.png");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+}
|
|
|
+.app-container {
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+/* 左侧树状盒子 */
|
|
|
+.app-container .box-lfet {
|
|
|
+ width: 15%;
|
|
|
+ min-height: 740px;
|
|
|
+ /* background: #003156; */
|
|
|
+ /* padding: 10px; */
|
|
|
+ margin-right: 10px;
|
|
|
+ /* border: 1px solid white; */
|
|
|
+}
|
|
|
+/* 右侧内容盒子 */
|
|
|
+.app-container .box-right {
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+.app-container .box-lfet .data {
|
|
|
+ height: 40px;
|
|
|
+ background: #003156;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ color: #fff;
|
|
|
+ display: flex;
|
|
|
+ font-size: 13px;
|
|
|
+ line-height: 25px;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.el-tree {
|
|
|
+ background: #003156;
|
|
|
+ color: #fff;
|
|
|
+ margin-right: 2px;
|
|
|
+ padding-top: 7px;
|
|
|
+}
|
|
|
+::v-deep .el-dialog {
|
|
|
+ background-color: #004d86 !important;
|
|
|
+}
|
|
|
+::v-deep .el-input__suffix {
|
|
|
right: 22px;
|
|
|
}
|
|
|
+::v-deep .el-tree-node__content {
|
|
|
+ height: 32px;
|
|
|
+}
|
|
|
+::v-deep
|
|
|
+ .el-tree--highlight-current
|
|
|
+ .el-tree-node.is-current
|
|
|
+ > .el-tree-node__content {
|
|
|
+ height: 32px;
|
|
|
+ color: #fff !important;
|
|
|
+ background-color: #003156;
|
|
|
+ background-image: url("../../../assets/images/选中.png");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+}
|
|
|
+/* 计划附件 */
|
|
|
+::v-deep .el-upload__tip {
|
|
|
+ color: white;
|
|
|
+ position: absolute;
|
|
|
+ top: -5px;
|
|
|
+ width: 500px;
|
|
|
+ left: 90px;
|
|
|
+ color: white;
|
|
|
+}
|
|
|
+::v-deep .el-link.el-link--default {
|
|
|
+ color: white;
|
|
|
+ text-indent: 0.5em;
|
|
|
+}
|
|
|
</style>
|