index.vue 24 KB

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