index.vue 23 KB

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