index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  1. <template>
  2. <div class="app-container">
  3. <el-form
  4. :model="queryParams"
  5. ref="queryForm"
  6. :inline="true"
  7. v-show="showSearch"
  8. label-width="68px"
  9. >
  10. <!-- <el-form-item prop="unitId">
  11. <el-select
  12. v-model="queryParams.unitId"
  13. placeholder="请选择单位"
  14. @change="host"
  15. class="input_xiala"
  16. >
  17. <el-option
  18. v-for="(item, i) in buMens"
  19. :key="i"
  20. :label="item.deptName"
  21. :value="item.deptId"
  22. class="input_xiala"
  23. >
  24. </el-option>
  25. </el-select>
  26. </el-form-item> -->
  27. <el-form-item label="" prop="compereId">
  28. <el-select
  29. v-model="queryParams.compereId"
  30. placeholder="请选择主持人"
  31. @change="Renyuan"
  32. filterable
  33. class="input_xiala"
  34. >
  35. <el-option
  36. v-for="item in renYuans"
  37. :key="item.id"
  38. :label="item.name"
  39. :value="item.id"
  40. class="input_xiala"
  41. >
  42. </el-option>
  43. </el-select>
  44. </el-form-item>
  45. <el-form-item>
  46. <el-button size="btr" @click="resetQuery">重置</el-button>
  47. </el-form-item>
  48. </el-form>
  49. <el-row :gutter="10" class="mb8">
  50. <el-col :span="1.5">
  51. <el-button
  52. type="primary"
  53. plain
  54. icon="el-icon-plus"
  55. size="mini"
  56. @click="handleAdd"
  57. v-hasPermi="['grassrootsregistration:bdgleven:add']"
  58. >新增</el-button
  59. >
  60. </el-col>
  61. <!-- <el-col :span="1.5">
  62. <el-button
  63. type="success"
  64. plain
  65. icon="el-icon-edit"
  66. size="mini"
  67. :disabled="single"
  68. @click="handleUpdate"
  69. v-hasPermi="['grassrootsregistration:bdgleven:edit']"
  70. >修改</el-button
  71. >
  72. </el-col>
  73. <el-col :span="1.5">
  74. <el-button
  75. type="danger"
  76. plain
  77. icon="el-icon-delete"
  78. size="mini"
  79. :disabled="multiple"
  80. @click="handleDelete"
  81. v-hasPermi="['grassrootsregistration:bdgleven:remove']"
  82. >删除</el-button
  83. >
  84. </el-col>
  85. <el-col :span="1.5">
  86. <el-button
  87. type="warning"
  88. plain
  89. icon="el-icon-download"
  90. size="mini"
  91. :loading="exportLoading"
  92. @click="handleExport"
  93. v-hasPermi="['grassrootsregistration:bdgleven:export']"
  94. >导出</el-button
  95. >
  96. </el-col> -->
  97. </el-row>
  98. <el-table
  99. v-loading="loading"
  100. :data="bdglevenList"
  101. @selection-change="handleSelectionChange"
  102. :header-cell-style="{ background: '#003C69', color: 'white' }"
  103. >
  104. <el-table-column type="selection" width="55" align="center" />
  105. <!-- <el-table-column label="序号" align="center" prop="id" /> -->
  106. <el-table-column label="序号" type="index" width="50" align="center">
  107. <template scope="scope">
  108. <span>{{
  109. (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
  110. }}</span>
  111. </template>
  112. </el-table-column>
  113. <el-table-column label="单位" align="center" prop="unitName" />
  114. <!-- <el-table-column
  115. label="会议议题"
  116. align="center"
  117. prop="title"
  118. show-overflow-tooltip
  119. /> -->
  120. <el-table-column label="会议议题" align="center" show-overflow-tooltip>
  121. <template slot-scope="scope">
  122. <span>{{ onEditor(scope.row.title) }}</span>
  123. </template>
  124. </el-table-column>
  125. <el-table-column label="主持人" align="center" prop="compereRen" />
  126. <el-table-column label="出席人" align="center" prop="joinId" />
  127. <!-- <el-table-column label="记录人" align="center" prop="peopleJiLu" /> -->
  128. <!-- <el-table-column label="会议议题" align="center" prop="title" /> -->
  129. <el-table-column label="召开地点" align="center" prop="address" />
  130. <el-table-column
  131. label="操作"
  132. align="center"
  133. class-name="small-padding fixed-width"
  134. width="200"
  135. >
  136. <template slot-scope="scope">
  137. <el-button
  138. size="btk"
  139. type="text"
  140. @click="handleChakan(scope.row)"
  141. v-hasPermi="['grassrootsregistration:bdgldiary:edit']"
  142. ><span class="chakan">查看</span></el-button
  143. >
  144. <el-button
  145. size="btu"
  146. type="text"
  147. @click="handleUpdate(scope.row)"
  148. v-hasPermi="['grassrootsregistration:bdgleven:edit']"
  149. ><span>修改</span></el-button
  150. >
  151. <el-button
  152. size="btd"
  153. type="text"
  154. @click="handleDelete(scope.row)"
  155. v-hasPermi="['grassrootsregistration:bdgleven:remove']"
  156. ><span class="delete">删除</span></el-button
  157. >
  158. </template>
  159. </el-table-column>
  160. </el-table>
  161. <pagination
  162. v-show="total > 0"
  163. :total="total"
  164. :page.sync="queryParams.pageNum"
  165. :limit.sync="queryParams.pageSize"
  166. @pagination="getList"
  167. />
  168. <!-- 添加或修改连务会记录本对话框 -->
  169. <el-dialog
  170. :title="title"
  171. :visible.sync="open"
  172. width="1016px"
  173. append-to-body
  174. :close-on-click-modal="false"
  175. >
  176. <div class="userAgree">
  177. <div class="jiben">基本信息</div>
  178. <el-form
  179. ref="form"
  180. :model="form"
  181. :rules="rules"
  182. label-width="80px"
  183. :inline="true"
  184. >
  185. <el-form-item label="单位" prop="unitId">
  186. <treeselect
  187. v-model="form.unitId"
  188. :options="deptOptions"
  189. placeholder="请选择单位"
  190. @select="selectPeo"
  191. @open="blurSelect"
  192. />
  193. </el-form-item>
  194. <el-form-item label="召开时间" prop="convokeTime" class="convokeTime">
  195. <el-date-picker
  196. class="item"
  197. clearable
  198. size="mini"
  199. v-model="form.convokeTime"
  200. type="date"
  201. :editable="false"
  202. value-format="yyyy-MM-dd"
  203. placeholder="请选择召开时间"
  204. >
  205. </el-date-picker>
  206. </el-form-item>
  207. <el-form-item label="召开地点" prop="address" class="address">
  208. <el-input v-model="form.address" placeholder="请输入召开地点" />
  209. </el-form-item>
  210. <el-form-item label="主持人" prop="compereId">
  211. <el-select
  212. ref="headerSearchSelect"
  213. v-model="form.compereId"
  214. placeholder="请选择主持人"
  215. class="input_xiala"
  216. >
  217. <el-option
  218. v-for="(item, i) in renYuan"
  219. :key="i"
  220. :label="item.name"
  221. :value="item.id"
  222. @click.native="compere(item.name)"
  223. class="input_xiala"
  224. >
  225. </el-option>
  226. </el-select>
  227. </el-form-item>
  228. <el-form-item label="记录人" prop="peopleId">
  229. <el-select
  230. v-model="form.peopleId"
  231. placeholder="请选择记录人"
  232. class="input_xiala"
  233. >
  234. <el-option
  235. v-for="(item, i) in renYuan"
  236. :key="i"
  237. :value="item.id"
  238. :label="item.name"
  239. @click.native="people(item.name)"
  240. class="input_xiala"
  241. >
  242. </el-option>
  243. </el-select>
  244. </el-form-item>
  245. <!-- <el-form-item label="会议议题" prop="title">
  246. <el-input v-model="form.title" placeholder="请输入会议议题" />
  247. </el-form-item> -->
  248. <el-form-item label="出席人" prop="joinId" class="joinId">
  249. <el-select
  250. ref="abc"
  251. v-model="form.joinId"
  252. multiple
  253. placeholder="请选择出席人"
  254. class="input_xiala"
  255. >
  256. <el-option
  257. v-for="(item, i) in renYuan"
  258. :key="i"
  259. :label="item.name"
  260. :value="item.name"
  261. class="input_xiala"
  262. >
  263. </el-option>
  264. </el-select>
  265. </el-form-item>
  266. <div class="jiben">会议议题</div>
  267. <quill-editor
  268. class="quill-editor"
  269. ref="myTextEditor"
  270. v-model="form.title"
  271. style="
  272. height: 150px;
  273. width: 920px;
  274. margin-left: 0px;
  275. margin-bottom: 60px;
  276. "
  277. ></quill-editor>
  278. <div class="jiben">会议内容</div>
  279. <quill-editor
  280. class="quill-editor"
  281. ref="myTextEditor"
  282. v-model="form.contents"
  283. style="height: 150px; width: 920px; margin-left: 0px"
  284. ></quill-editor>
  285. </el-form>
  286. </div>
  287. <div slot="footer" class="dialog-footer" v-if="opens">
  288. <el-button type="primary" @click="submitForm">确 定</el-button>
  289. <el-button @click="cancel" size="btn">取 消</el-button>
  290. </div>
  291. </el-dialog>
  292. <div class="fff">
  293. <el-dialog
  294. :visible.sync="menuRoleVisible"
  295. :title="title"
  296. append-to-body
  297. id="chakan"
  298. :close-on-click-modal="false"
  299. >
  300. <bdgleven
  301. v-if="menuRoleVisible"
  302. ref="menuRole"
  303. :message="wordInfo"
  304. ></bdgleven>
  305. </el-dialog>
  306. </div>
  307. </div>
  308. </template>
  309. <script>
  310. import bdgleven from "@/components/look_word/bdgleven.vue";
  311. // 自建API
  312. import { getDeptId } from "@/api/getApi/getApi";
  313. import "@/utils/lodJs.js";
  314. import {
  315. listBdgleven,
  316. getBdgleven,
  317. delBdgleven,
  318. addBdgleven,
  319. updateBdgleven,
  320. exportBdgleven,
  321. getDept,
  322. } from "@/api/grassrootsregistration/bdgleven";
  323. import {
  324. getZhuChiRen,
  325. getShouBu,
  326. getAll,
  327. } from "@/api/grassrootsregistration/bdglmeeting";
  328. // 富文本
  329. import "quill/dist/quill.core.css";
  330. import "quill/dist/quill.snow.css";
  331. import "quill/dist/quill.bubble.css";
  332. import { quillEditor } from "vue-quill-editor";
  333. // 导入树形结构
  334. import Treeselect from "@riophae/vue-treeselect";
  335. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  336. export default {
  337. name: "Bdgleven",
  338. components: {
  339. Treeselect,
  340. quillEditor,
  341. bdgleven,
  342. },
  343. data() {
  344. return {
  345. //查看页面
  346. menuRoleVisible: false,
  347. wordInfo: {},
  348. islook: true,
  349. // 遮罩层
  350. loading: true,
  351. //判断关闭
  352. // style:'2',
  353. // 导出遮罩层
  354. exportLoading: false,
  355. // 选中数组
  356. ids: [],
  357. // 非单个禁用
  358. single: true,
  359. // 非多个禁用
  360. multiple: true,
  361. // 显示搜索条件
  362. showSearch: true,
  363. // 总条数
  364. total: 0,
  365. // 连务会记录本表格数据
  366. bdglevenList: [],
  367. // 弹出层标题
  368. title: "",
  369. // 是否显示弹出层
  370. open: false,
  371. // 查询参数
  372. queryParams: {
  373. pageNum: 1,
  374. pageSize: 10,
  375. convokeTime: null,
  376. address: null,
  377. compereId: null,
  378. joinId: "",
  379. peopleId: null,
  380. title: null,
  381. contents: null,
  382. createtime: null,
  383. updatetime: null,
  384. unitId: null,
  385. },
  386. // 表单参数
  387. form: {},
  388. // 表单校验
  389. rules: {
  390. unitId: [
  391. { required: true, message: "单位名称不能为空", trigger: "blur" },
  392. ],
  393. convokeTime: [
  394. { required: true, message: "召开时间按不能为空", trigger: "blur" },
  395. ],
  396. address: [
  397. { required: true, message: "召开地点不能为空", trigger: "blur" },
  398. ],
  399. compereId: [
  400. { required: true, message: "主持人不能为空", trigger: "blur" },
  401. ],
  402. joinId: [
  403. { required: true, message: "出席人不能为空", trigger: "blur" },
  404. ],
  405. peopleId: [
  406. { required: true, message: "记录人不能为空", trigger: "blur" },
  407. ],
  408. title: [
  409. { required: true, message: "会议议题不能为空", trigger: "blur" },
  410. ],
  411. },
  412. // 是否为查看
  413. opens: true,
  414. // 人员
  415. renYuan: [],
  416. // 获取部门列表
  417. deptOptions: [],
  418. // 获取外面部门列表
  419. buMens: [],
  420. // 树形配置对象
  421. defaultProps: {
  422. children: "children",
  423. label: "label",
  424. },
  425. // 修改拿到的数据
  426. result: {},
  427. // 外面的人员
  428. renYuans: [],
  429. // 文本显示数字
  430. str: "",
  431. };
  432. },
  433. created() {
  434. this.getList();
  435. this.getBuMen();
  436. this.getSuo();
  437. // this.onEditor();
  438. },
  439. methods: {
  440. // 获取搜索所有人
  441. getSuo() {
  442. getAll().then((res) => {
  443. this.renYuans = res.rows;
  444. });
  445. },
  446. // 获取搜索下拉部门
  447. getBuMen() {
  448. getShouBu().then((res) => {
  449. this.buMens = res.data;
  450. });
  451. },
  452. // 转义视图不加标签
  453. onEditor(str) {
  454. //可以在这里进行对应的操作 quill为富文本对象,html为富文本对象内内容由html标签组成,text为quill内容里面的所有文本内容
  455. if (str) {
  456. var str = str.replace(/<\/?[^>]*>/g, ""); //去除HTML tag
  457. str = str.replace(/[ | ]*\n/g, "\n"); //去除行尾空白
  458. return str;
  459. }
  460. },
  461. // 重置表单人员
  462. ChongZhiRen() {
  463. (this.form.compereId = null),
  464. (this.form.peopleId = null),
  465. (this.form.joinId = null);
  466. },
  467. // 主持人点击触发
  468. compere(name) {
  469. this.form.compereRen = name;
  470. },
  471. // 获取主持人
  472. getZhuChi(id) {
  473. getZhuChiRen(id).then((res) => {
  474. this.renYuan = res.data;
  475. });
  476. },
  477. // 新增选择单位触发
  478. selectPeo(val) {
  479. this.ChongZhiRen();
  480. this.form.unitId = val.id;
  481. // 选中单位触发获取人员
  482. this.getZhuChi(this.form.unitId);
  483. },
  484. // 记录人触发选中
  485. people(name) {
  486. this.form.peopleJiLu = name;
  487. },
  488. /** 查询连务会记录本列表 */
  489. getList() {
  490. this.loading = true;
  491. listBdgleven(this.queryParams).then((response) => {
  492. this.bdglevenList = response.rows;
  493. this.total = response.total;
  494. this.loading = false;
  495. });
  496. },
  497. // 搜索单位触发
  498. host() {
  499. this.getList();
  500. var url = "/grassrootsregistration/common/getZhuChiRen";
  501. // 联动人员
  502. getDeptId(url, this.queryParams.unitId).then((res) => {
  503. this.renYuans = res.data;
  504. });
  505. },
  506. // 搜索人员触发
  507. Renyuan() {
  508. this.getList();
  509. },
  510. // 取消按钮
  511. cancel() {
  512. this.open = false;
  513. this.reset();
  514. },
  515. // 表单重置
  516. reset() {
  517. this.form = {
  518. id: null,
  519. convokeTime: null,
  520. address: null,
  521. compereId: null,
  522. joinId: "",
  523. peopleId: null,
  524. title: null,
  525. contents: null,
  526. createtime: null,
  527. updatetime: null,
  528. unitId: null,
  529. };
  530. this.resetForm("form");
  531. },
  532. //对话框表单重置
  533. reset() {
  534. this.form = {
  535. convokeTime: null,
  536. address: null,
  537. compereId: null,
  538. joinId: "",
  539. peopleId: null,
  540. title: null,
  541. contents: null,
  542. createtime: null,
  543. updatetime: null,
  544. unitId: null,
  545. };
  546. this.resetForm("form");
  547. },
  548. /** 搜索按钮操作 */
  549. handleQuery() {
  550. this.queryParams.pageNum = 1;
  551. this.getList();
  552. },
  553. /** 重置按钮操作 */
  554. resetQuery() {
  555. this.getSuo();
  556. this.resetForm("queryForm");
  557. this.handleQuery();
  558. },
  559. /** 对话框重置按钮操作 */
  560. resertwo() {
  561. this.reset();
  562. },
  563. // 让select失去焦点
  564. blurSelect() {
  565. this.$refs.headerSearchSelect.blur();
  566. this.$refs.abc.blur();
  567. },
  568. //判断对话框添加事件
  569. close() {
  570. if (this.style != 1) {
  571. this.$confirm("您编辑的内容尚未保存,是否退出?", "保存提示", {
  572. confirmButtonText: "确定",
  573. cancelButtonText: "取消",
  574. type: "warning",
  575. })
  576. .then(() => {})
  577. .catch(() => {});
  578. }
  579. },
  580. // 多选框选中数据
  581. handleSelectionChange(selection) {
  582. this.ids = selection.map((item) => item.id);
  583. this.single = selection.length !== 1;
  584. this.multiple = !selection.length;
  585. },
  586. /** 新增按钮操作 */
  587. handleAdd() {
  588. // 人员
  589. this.renYuan = [];
  590. this.reset();
  591. this.getTreeselect();
  592. this.open = true;
  593. this.opens = true;
  594. // this.style = 2;
  595. this.title = "添加连务会记录本";
  596. },
  597. /** 修改按钮操作 */
  598. handleUpdate(row) {
  599. this.reset();
  600. this.form.unitId = row.unitId;
  601. this.getZhuChi(this.form.unitId);
  602. this.getTreeselect();
  603. this.opens = true;
  604. const id = row.id || this.ids;
  605. getBdgleven(id).then((response) => {
  606. this.result = response.data;
  607. if (this.result.joinId !== "") {
  608. this.result.joinId = response.data.joinId.split(",");
  609. }
  610. this.form = this.result;
  611. this.open = true;
  612. this.title = "修改连务会记录本";
  613. });
  614. },
  615. //查看按钮操作
  616. handleChakan(row) {
  617. // 是否隐藏按钮
  618. this.opens = false;
  619. const id = row.id || this.ids;
  620. getBdgleven(id).then((response) => {
  621. this.wordInfo = response.data;
  622. this.title = "查看连务会记录本";
  623. this.menuRoleVisible = true;
  624. });
  625. },
  626. /** 提交按钮 */
  627. submitForm() {
  628. // this.style = style
  629. this.$refs["form"].validate((valid) => {
  630. if (valid) {
  631. if (this.form.id != null) {
  632. if (this.form.joinId !== undefined) {
  633. this.form.joinId = this.form.joinId.join(",");
  634. }
  635. updateBdgleven(this.form).then((response) => {
  636. this.$modal.msgSuccess("修改成功");
  637. this.open = false;
  638. this.getList();
  639. });
  640. } else {
  641. // var str = this.form.title;
  642. // str = str.replace(/<\/?[^>]*>/g, ""); //去除HTML tag
  643. // str = str.replace(/[ | ]*\n/g, "\n"); //去除行尾空白
  644. // str = str.replace(/\n[\s| | ]*\r/g, "\n"); //去除多余空行
  645. // this.form.title = str.replace(/ /gi, ""); //去掉
  646. (this.form.joinId = this.form.joinId.join(",")),
  647. addBdgleven(this.form).then((response) => {
  648. this.$modal.msgSuccess("新增成功");
  649. this.open = false;
  650. this.getList();
  651. });
  652. }
  653. }
  654. });
  655. },
  656. /** 删除按钮操作 */
  657. handleDelete(row) {
  658. const ids = row.id || this.ids;
  659. this.$modal
  660. // .confirm('是否确认删除连务会记录本编号为"' + ids + '"的数据项?')
  661. .confirm("是否确认删除该数据?")
  662. .then(function () {
  663. return delBdgleven(ids);
  664. })
  665. .then(() => {
  666. this.getList();
  667. this.$modal.msgSuccess("删除成功");
  668. })
  669. .catch(() => {});
  670. },
  671. /** 导出按钮操作 */
  672. handleExport() {
  673. const queryParams = this.queryParams;
  674. this.$modal
  675. .confirm("是否确认导出所有连务会记录本数据项?")
  676. .then(() => {
  677. this.exportLoading = true;
  678. return exportBdgleven(queryParams);
  679. })
  680. .then((response) => {
  681. this.$download.name(response.msg);
  682. this.exportLoading = false;
  683. })
  684. .catch(() => {});
  685. },
  686. /** 查询部门下拉树结构 */
  687. getTreeselect() {
  688. getDept().then((response) => {
  689. this.deptOptions = response.data;
  690. });
  691. },
  692. },
  693. };
  694. </script>
  695. <style scoped>
  696. ::v-deep .chakan .el-dialog {
  697. background: red !important;
  698. }
  699. /* 对话框背景颜色 */
  700. ::v-deep .el-dialog {
  701. width: 1016px !important;
  702. background: #004d86 !important;
  703. }
  704. ::v-deep .el-textarea__inner {
  705. width: 882px;
  706. height: 104px;
  707. }
  708. ::v-deep .el-dialog__header {
  709. border-bottom: 1px solid #718a9d;
  710. }
  711. ::v-deep .el-dialog__title {
  712. color: #fff;
  713. font: 18px;
  714. }
  715. ::v-deep .el-dialog__headerbtn .el-dialog__close {
  716. color: #fff;
  717. }
  718. ::v-deep .el-form-item__label {
  719. font: 16px;
  720. color: #fff;
  721. width: 100px !important;
  722. }
  723. ::v-deep .el-input__inner {
  724. /* width: 200px !important;
  725. height: 36px; */
  726. background: transparent;
  727. color: #fff;
  728. border: 1px solid white !important;
  729. border-color: #fff !important;
  730. }
  731. /* 单位框背景颜色 */
  732. ::v-deep .vue-treeselect__control {
  733. background: #004d86 !important;
  734. }
  735. /*调整表单间距 */
  736. ::v-deep .el-form-item__content {
  737. width: 200px;
  738. }
  739. .contents {
  740. padding: 0px 40px !important;
  741. }
  742. /* 下拉菜单 */
  743. .el-dropdown-link {
  744. cursor: pointer;
  745. color: #409eff;
  746. }
  747. .el-icon-arrow-down {
  748. font-size: 12px;
  749. }
  750. ::v-deep .el-dialog__body {
  751. /* margin: 0px 20px; */
  752. box-sizing: border-box;
  753. padding: 30px 0px 30px 42px;
  754. }
  755. /* 刷新图标 */
  756. /* .el-icon-refresh {
  757. width: 76px;
  758. height: 36px;
  759. color: #fff;
  760. background-color: #1d96ff !important;
  761. border-radius: 4px;
  762. border: none;
  763. margin-left: 20px;
  764. font-size: 14px;
  765. } */
  766. /* 下拉菜单字体/背景颜色 */
  767. /* .el-select-dropdown__item.hover,
  768. .el-select-dropdown__item:hover {
  769. background-color: #004d86;
  770. color: #fff;
  771. } */
  772. /* .el-select-dropdown__item {
  773. color: #fff;
  774. } */
  775. /* 时间选择 */
  776. ::v-deep .el-input--small .el-input__inner {
  777. width: 200px;
  778. height: 36px;
  779. line-height: 36px;
  780. }
  781. .el-date-editor.el-input {
  782. width: 200px;
  783. height: 36px;
  784. line-height: 36px;
  785. }
  786. ::v-deep .el-date-editor.el-input .el-input__inner {
  787. height: 36px;
  788. line-height: 36px;
  789. }
  790. /* 富文本 */
  791. ::v-deep .ql-snow .ql-fill,
  792. .ql-snow .ql-stroke.ql-fill {
  793. fill: #fff !important;
  794. }
  795. ::v-deep .ql-snow .ql-stroke {
  796. stroke: #fff !important;
  797. }
  798. ::v-deep .ql-snow .ql-picker {
  799. color: #fff !important;
  800. }
  801. ::v-deep .ql-editor ql-blank {
  802. color: #fff !important;
  803. }
  804. /* 出席人 */
  805. ::v-deep .joinId {
  806. width: 650px !important;
  807. }
  808. ::v-deep .joinId .el-input__inner {
  809. width: 510px !important;
  810. }
  811. /* 单位下拉菜单选中字体颜色 */
  812. ::v-deep .vue-treeselect__single-value {
  813. color: #fff !important;
  814. }
  815. /* 分页按钮 */
  816. ::v-deep .el-pagination.is-background .el-pager li {
  817. background-color: #004d86;
  818. color: #fff;
  819. border: none !important;
  820. }
  821. ::v-deep .el-pagination.is-background .btn-next {
  822. background-color: #004d86;
  823. color: #fff;
  824. border: none !important;
  825. }
  826. /* 富文本删除功能 */
  827. ::v-deep .ql-blockquote {
  828. display: none !important;
  829. }
  830. ::v-deep .ql-strike {
  831. display: none !important;
  832. }
  833. ::v-deep .ql-script {
  834. display: none !important;
  835. }
  836. ::v-deep .ql-code-block {
  837. display: none !important;
  838. }
  839. ::v-deep .ql-direction {
  840. display: none !important;
  841. }
  842. ::v-deep .ql-toolbar.ql-snow .ql-formats {
  843. margin-right: 7px;
  844. }
  845. /* 底部确定取消按钮 */
  846. ::v-deep .el-dialog__footer {
  847. padding: 30px 54px;
  848. }
  849. ::v-deep .fff .el-dialog {
  850. background: #fff !important;
  851. color: black !important;
  852. }
  853. /* 调整输入框提示文字颜色 */
  854. ::v-deep .vue-treeselect__placeholder {
  855. color: #bdbdbd4f !important;
  856. }
  857. ::v-deep input::-webkit-input-placeholder {
  858. color: #bdbdbd4f !important;
  859. }
  860. ::v-deep input:-moz-placeholder {
  861. color: #bdbdbd4f !important;
  862. }
  863. </style>