index.vue 22 KB

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