index.vue 23 KB

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