index.vue 23 KB

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