index.vue 23 KB

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