index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  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 icon="el-icon-refresh" size="btr" @click="resetQuery"
  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:bdglsecrecy: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:bdglsecrecy: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:bdglsecrecy: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:bdglsecrecy:export']"
  87. >导出</el-button
  88. >
  89. </el-col> -->
  90. </el-row>
  91. <el-table
  92. v-loading="loading"
  93. :data="bdglsecrecyList"
  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>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</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 @click="resertwo">重置</el-button>
  313. <el-button type="primary" @click="submitForm(1)">确 定</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. // console.log(response);
  499. this.deptOptions = response.data;
  500. });
  501. },
  502. // 查询电子产品
  503. getdict() {
  504. getDicts(this.dictType.dictType).then((res) => {
  505. this.ziDian = res.data;
  506. });
  507. },
  508. // 选中添加部门单位触发
  509. department() {
  510. console.log(this.form);
  511. getZhuChiRen(this.form.unitId).then((res) => {
  512. console.log(res);
  513. this.renYuan = res.data;
  514. });
  515. },
  516. // 选中责任人触发
  517. zheRenRe(name) {
  518. // // console.log(val);
  519. // this.form.peopleId = val.id;
  520. this.form.peopleName = name;
  521. },
  522. // 选中使用人触发
  523. shiYongRen(name) {
  524. this.form.people1Name = name;
  525. },
  526. // 选中批准人触发
  527. piZhuiRen(name) {
  528. // console.log(val);
  529. // this.form.peopleId2 = val.id;
  530. this.form.people2Name = name;
  531. },
  532. // 搜索选中分类触发
  533. secrecy() {
  534. this.getList();
  535. },
  536. // 取消按钮
  537. cancel() {
  538. this.open = false;
  539. this.reset();
  540. },
  541. // 表单重置
  542. reset() {
  543. this.form = {
  544. id: null,
  545. secrecyType: null,
  546. number: null,
  547. name: null,
  548. kind: null,
  549. version: null,
  550. confidential: null,
  551. peopleId: null,
  552. peopleId1: null,
  553. peopleId2: null,
  554. startTime: null,
  555. endTime: null,
  556. hindOverTime: null,
  557. unitId: null,
  558. };
  559. this.resetForm("form");
  560. },
  561. /** 搜索按钮操作 */
  562. handleQuery() {
  563. this.queryParams.pageNum = 1;
  564. this.getList();
  565. },
  566. /** 重置按钮操作 */
  567. resetQuery() {
  568. this.reset();
  569. this.resetForm("queryForm");
  570. this.handleQuery();
  571. },
  572. /** 对话框重置按钮操作 */
  573. resertwo() {
  574. this.reset();
  575. },
  576. // 让select失去焦点
  577. blurSelect() {
  578. this.$refs.aa.blur();
  579. this.$refs.bb.blur();
  580. },
  581. // 多选框选中数据
  582. handleSelectionChange(selection) {
  583. this.ids = selection.map((item) => item.id);
  584. this.single = selection.length !== 1;
  585. this.multiple = !selection.length;
  586. },
  587. /** 新增按钮操作 */
  588. handleAdd() {
  589. // 人员列表
  590. (this.renYuan = []),
  591. // 获取分类
  592. this.reset();
  593. this.getTreeselect();
  594. // 查询字典
  595. this.getdict();
  596. this.style = 2;
  597. this.open = true;
  598. this.title = "添加网络/手机/涉密载体登记本";
  599. },
  600. /** 修改按钮操作 */
  601. handleUpdate(row) {
  602. // 获取分类
  603. this.getdict();
  604. this.form.unitId = row.unitId;
  605. this.getZhuChi(this.form.unitId);
  606. this.reset()
  607. this.getTreeselect();
  608. const id = row.id || this.ids;
  609. getBdglsecrecy(id).then((response) => {
  610. this.form = response.data;
  611. this.open = true;
  612. this.title = "修改网络/手机/涉密载体登记本";
  613. });
  614. },
  615. //查看按钮操作
  616. handleChakan(row) {
  617. // 是否隐藏按钮
  618. this.opens = false;
  619. const id = row.id || this.ids;
  620. getBdglsecrecy(id).then((response) => {
  621. console.log(response);
  622. this.wordInfo = response.data;
  623. this.title = "查看网络/手机/涉密载体登记本";
  624. this.menuRoleVisible = true;
  625. });
  626. },
  627. /** 提交按钮 */
  628. submitForm(style) {
  629. this.style = style;
  630. this.$refs["form"].validate((valid) => {
  631. if (valid) {
  632. if (this.form.id != null) {
  633. updateBdglsecrecy(this.form).then((response) => {
  634. this.$modal.msgSuccess("修改成功");
  635. this.open = false;
  636. this.getList();
  637. });
  638. } else {
  639. addBdglsecrecy(this.form).then((response) => {
  640. this.$modal.msgSuccess("新增成功");
  641. this.open = false;
  642. this.getList();
  643. });
  644. }
  645. }
  646. });
  647. },
  648. /** 删除按钮操作 */
  649. handleDelete(row) {
  650. const ids = row.id || this.ids;
  651. this.$modal
  652. // .confirm(
  653. // '是否确认删除网络/手机/涉密载体登记本编号为"' + ids + '"的数据项?'
  654. // )
  655. .confirm('是否确认删除该数据?')
  656. .then(function () {
  657. return delBdglsecrecy(ids);
  658. })
  659. .then(() => {
  660. this.getList();
  661. this.$modal.msgSuccess("删除成功");
  662. })
  663. .catch(() => {});
  664. },
  665. /** 导出按钮操作 */
  666. handleExport() {
  667. const queryParams = this.queryParams;
  668. this.$modal
  669. .confirm("是否确认导出所有网络/手机/涉密载体登记本数据项?")
  670. .then(() => {
  671. this.exportLoading = true;
  672. return exportBdglsecrecy(queryParams);
  673. })
  674. .then((response) => {
  675. this.$download.name(response.msg);
  676. this.exportLoading = false;
  677. })
  678. .catch(() => {});
  679. },
  680. },
  681. };
  682. </script>
  683. <style scoped>
  684. /* 对话框背景颜色 */
  685. ::v-deep .el-dialog {
  686. background: #004d86 !important;
  687. }
  688. ::v-deep .el-textarea__inner {
  689. width: 882px;
  690. height: 104px;
  691. }
  692. ::v-deep .el-dialog__header {
  693. border-bottom: 1px solid #718a9d;
  694. }
  695. ::v-deep .el-dialog__title {
  696. color: #fff;
  697. font: 18px;
  698. }
  699. ::v-deep .el-dialog__headerbtn .el-dialog__close {
  700. color: #fff;
  701. }
  702. ::v-deep .el-form-item__label {
  703. font: 16px;
  704. color: #fff;
  705. width: 100px !important;
  706. }
  707. ::v-deep .el-input__inner {
  708. /* width: 200px !important;
  709. height: 36px; */
  710. background: transparent;
  711. color: #fff;
  712. border: 1px solid white !important;
  713. border-color: #fff !important;
  714. }
  715. /* 单位框背景颜色 */
  716. ::v-deep .vue-treeselect__control {
  717. background: #004d86 !important;
  718. }
  719. /* 基本信息背景 */
  720. .jiben {
  721. width: 920px;
  722. height: 32px;
  723. background-image: url(../../../images/小标题底.png);
  724. margin-bottom: 25px;
  725. color: #fff;
  726. padding-left: 16px;
  727. line-height: 32px;
  728. }
  729. ::v-deep .el-dialog__body {
  730. margin: 10px 30px 20px 50px;
  731. padding-top: 20px !important;
  732. box-sizing: border-box;
  733. /* padding: 30px 12px 30px 28px; */
  734. }
  735. /*调整表单间距 */
  736. ::v-deep .el-form-item__content {
  737. width: 200px;
  738. }
  739. .contents {
  740. padding: 0px 40px !important;
  741. }
  742. /* 下拉菜单 */
  743. .el-dropdown-link {
  744. cursor: pointer;
  745. color: #409eff;
  746. }
  747. .el-icon-arrow-down {
  748. font-size: 12px;
  749. }
  750. /* 刷新图标 */
  751. /* .el-icon-refresh {
  752. width: 76px;
  753. height: 36px;
  754. color: #fff;
  755. background-color: #1d96ff !important;
  756. border-radius: 4px;
  757. border: none;
  758. margin-left: 20px;
  759. font-size: 14px;
  760. } */
  761. /* 下拉菜单字体/背景颜色 */
  762. .el-select-dropdown__item.hover,
  763. .el-select-dropdown__item:hover {
  764. background-color: #004d86;
  765. color: #fff;
  766. }
  767. .el-select-dropdown__item {
  768. color: #fff;
  769. }
  770. /* 时间选择 */
  771. ::v-deep .el-input--small .el-input__inner {
  772. width: 200px;
  773. height: 36px;
  774. line-height: 36px;
  775. }
  776. .el-date-editor.el-input {
  777. width: 200px;
  778. height: 36px;
  779. line-height: 36px;
  780. }
  781. ::v-deep .el-date-editor.el-input .el-input__inner {
  782. height: 36px;
  783. line-height: 36px;
  784. }
  785. /* 单位框背景颜色 */
  786. ::v-deep .vue-treeselect__control {
  787. background: #004d86 !important;
  788. color: #fff;
  789. }
  790. /* 单位下拉菜单选中字体颜色 */
  791. ::v-deep .vue-treeselect__single-value {
  792. color: #fff !important;
  793. }
  794. /* 分页按钮 */
  795. ::v-deep .el-pagination.is-background .el-pager li {
  796. background-color: #004d86;
  797. color: #fff;
  798. }
  799. ::v-deep .el-pagination.is-background .btn-next {
  800. background-color: #004d86;
  801. color: #fff;
  802. }
  803. ::v-deep .el-input__inner {
  804. cursor: pointer !important;
  805. }
  806. /* 底部确定取消按钮 */
  807. ::v-deep .el-dialog__footer {
  808. padding: 18px 40px 30px 0px;
  809. margin-right: 32px;
  810. }
  811. /* 增加按钮弹框 */
  812. ::v-deep .el-dialog {
  813. width: 1060px !important;
  814. }
  815. ::v-deep .el-dialog__body {
  816. padding: none !important;
  817. }
  818. /* 文件编号背景颜色 */
  819. ::v-deep .el-input.is-disabled .el-input__inner {
  820. background: transparent !important;
  821. }
  822. /* 调整输入框提示文字颜色 */
  823. ::v-deep .vue-treeselect__placeholder {
  824. color: #bdbdbd4f !important;
  825. }
  826. ::v-deep input::-webkit-input-placeholder {
  827. color: #bdbdbd4f !important;
  828. }
  829. ::v-deep input:-moz-placeholder {
  830. color: #bdbdbd4f !important;
  831. }
  832. </style>