index.vue 21 KB

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