index.vue 23 KB

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