index.vue 23 KB

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