index.vue 22 KB

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