index.vue 25 KB

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