index.vue 22 KB

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