index.vue 22 KB

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