index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805
  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="序号" align="center" prop="id" /> -->
  92. <el-table-column label="序号" type="index" width="50" align="center">
  93. <template scope="scope">
  94. <span>{{
  95. (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
  96. }}</span>
  97. </template>
  98. </el-table-column>
  99. <el-table-column
  100. label="单位"
  101. align="center"
  102. prop="unitName"
  103. width="150"
  104. />
  105. <el-table-column
  106. label="名称"
  107. align="center"
  108. prop="name"
  109. show-overflow-tooltip
  110. />
  111. <el-table-column
  112. label="登记日期"
  113. align="center"
  114. prop="recordDate"
  115. width="180"
  116. >
  117. <template slot-scope="scope">
  118. <span>{{ parseTime(scope.row.recordDate, "{y}-{m}-{d}") }}</span>
  119. </template>
  120. </el-table-column>
  121. <el-table-column label="计量单位" align="center" prop="metering" />
  122. <el-table-column label="交接依据" align="center" prop="gist" />
  123. <el-table-column label="编制数量" align="center" prop="prepareNumber" />
  124. <el-table-column label="现有总数" align="center" prop="sum" />
  125. <el-table-column label="完好数量" align="center" prop="intactNumber" />
  126. <el-table-column label="待修数量" align="center" prop="repairNumber" />
  127. <el-table-column label="送修数量" align="center" prop="sendNumber" />
  128. <el-table-column label="标准配套" align="center" prop="standard" />
  129. <el-table-column label="现有配套" align="center" prop="existing" />
  130. <el-table-column label="缺陷配套" align="center" prop="flaw" />
  131. <el-table-column label="登记人" align="center" prop="peopleName" />
  132. <el-table-column label="核对人" align="center" prop="people1Name" />
  133. <el-table-column
  134. label="操作"
  135. align="center"
  136. class-name="small-padding fixed-width"
  137. width="200"
  138. fixed="right"
  139. >
  140. <template slot-scope="scope">
  141. <el-button
  142. size="btk"
  143. type="text"
  144. @click="handleChakan(scope.row)"
  145. v-hasPermi="['grassrootsregistration:bdgldiary:edit']"
  146. ><span class="chakan">查看</span></el-button
  147. >
  148. <el-button
  149. size="btu"
  150. type="text"
  151. @click="handleUpdate(scope.row)"
  152. v-hasPermi="['grassrootsregistration:bdglarmament:edit']"
  153. ><span class="edit">修改</span></el-button
  154. >
  155. <el-button
  156. size="btd"
  157. type="text"
  158. @click="handleDelete(scope.row)"
  159. v-hasPermi="['grassrootsregistration:bdglarmament:remove']"
  160. ><span class="delete">删除</span></el-button
  161. >
  162. </template>
  163. </el-table-column>
  164. </el-table>
  165. <pagination
  166. v-show="total > 0"
  167. :total="total"
  168. :page.sync="queryParams.pageNum"
  169. :limit.sync="queryParams.pageSize"
  170. @pagination="getList"
  171. />
  172. <!-- 添加或修改军械装备登记簿对话框 -->
  173. <el-dialog
  174. :title="title"
  175. :visible.sync="open"
  176. width="1016px"
  177. append-to-body
  178. :close-on-click-modal="false"
  179. >
  180. <div class="jiben">基本信息</div>
  181. <el-form
  182. ref="form"
  183. :model="form"
  184. :rules="rules"
  185. label-width="80px"
  186. :inline="true"
  187. >
  188. <el-form-item label="单位" prop="unitId">
  189. <treeselect
  190. @select="selectPeo"
  191. v-model="form.unitId"
  192. :options="rese"
  193. placeholder="选择单位"
  194. />
  195. </el-form-item>
  196. <el-form-item label="名称" prop="name">
  197. <el-input v-model="form.name" placeholder="请输入名称" />
  198. </el-form-item>
  199. <el-form-item label="登记日期" prop="recordDate">
  200. <el-date-picker
  201. clearable
  202. size="small"
  203. v-model="form.recordDate"
  204. type="date"
  205. :editable="false"
  206. value-format="yyyy-MM-dd"
  207. placeholder="请选择登记日期"
  208. >
  209. </el-date-picker>
  210. </el-form-item>
  211. <el-form-item label="计量单位" prop="metering">
  212. <el-input v-model="form.metering" placeholder="请输入计量单位" />
  213. </el-form-item>
  214. <el-form-item label="交接依据" prop="gist">
  215. <el-input v-model="form.gist" placeholder="请输入交接依据" />
  216. </el-form-item>
  217. <el-form-item label="编制数量" prop="prepareNumber">
  218. <!-- <el-input v-model="form.prepareNumber" placeholder="请输入编制数量" /> -->
  219. <el-input-number
  220. v-model="form.prepareNumber"
  221. controls-position="right"
  222. :min="0"
  223. :max="99999999"
  224. ></el-input-number>
  225. </el-form-item>
  226. <el-form-item label="现有总数" prop="sum">
  227. <!-- <el-input v-model="form.sum" placeholder="请输入现有总数" /> -->
  228. <el-input-number
  229. v-model="form.sum"
  230. controls-position="right"
  231. :min="0"
  232. :max="99999999"
  233. ></el-input-number>
  234. </el-form-item>
  235. <el-form-item label="完好数量" prop="intactNumber">
  236. <!-- <el-input v-model="form.intactNumber" placeholder="请输入完好数量" /> -->
  237. <el-input-number
  238. v-model="form.intactNumber"
  239. controls-position="right"
  240. :min="0"
  241. :max="99999999"
  242. ></el-input-number>
  243. </el-form-item>
  244. <el-form-item label="待修数量" prop="repairNumber">
  245. <!-- <el-input v-model="form.repairNumber" placeholder="请输入待修数量" /> -->
  246. <el-input-number
  247. v-model="form.repairNumber"
  248. controls-position="right"
  249. :min="0"
  250. :max="99999999"
  251. ></el-input-number>
  252. </el-form-item>
  253. <el-form-item label="送修数量" prop="sendNumber">
  254. <!-- <el-input v-model="form.sendNumber" placeholder="请输入送修数量" /> -->
  255. <el-input-number
  256. v-model="form.sendNumber"
  257. controls-position="right"
  258. :min="0"
  259. :max="99999999"
  260. ></el-input-number>
  261. </el-form-item>
  262. <el-form-item label="标准配套" prop="standard">
  263. <el-input v-model="form.standard" placeholder="请输入标准配套" />
  264. </el-form-item>
  265. <el-form-item label="现有配套" prop="existing">
  266. <el-input v-model="form.existing" placeholder="请输入现有配套" />
  267. </el-form-item>
  268. <el-form-item label="缺陷配套" prop="flaw">
  269. <el-input v-model="form.flaw" placeholder="请输入缺陷配套" />
  270. </el-form-item>
  271. <el-form-item label="登记人" prop="peopleId">
  272. <!-- <el-input v-model="form.peopleId" placeholder="请输入登记人" /> -->
  273. <el-select v-model="form.peopleId" placeholder="请选择人员">
  274. <el-option
  275. v-for="item in renYuan"
  276. :key="item.id"
  277. :label="item.name"
  278. :value="item.id"
  279. :disabled="item.status == 1"
  280. @click.native="dengJi(item.name)"
  281. class="input_xiala"
  282. ></el-option>
  283. </el-select>
  284. </el-form-item>
  285. <el-form-item label="核对人" prop="peopleId1">
  286. <el-select v-model="form.peopleId1" placeholder="请选择人员">
  287. <el-option
  288. v-for="item in renYuan"
  289. :key="item.id"
  290. :label="item.name"
  291. :value="item.id"
  292. :disabled="item.status == 1"
  293. @click.native="heDui(item.name)"
  294. class="input_xiala"
  295. ></el-option>
  296. </el-select>
  297. </el-form-item>
  298. </el-form>
  299. <div slot="footer" class="dialog-footer">
  300. <el-button type="primary" @click="submitForm(1)">确 定 </el-button>
  301. <el-button @click="cancel" size="btn">取消</el-button>
  302. </div>
  303. </el-dialog>
  304. <el-dialog
  305. :visible.sync="menuRoleVisible"
  306. :title="title"
  307. append-to-body
  308. id="chakan"
  309. :close-on-click-modal="false"
  310. >
  311. <bdglarmament
  312. v-if="menuRoleVisible"
  313. ref="menuRole"
  314. :message="wordInfo"
  315. ></bdglarmament>
  316. </el-dialog>
  317. </div>
  318. </template>
  319. <script>
  320. import bdglarmament from "@/components/look_word/bdglarmament.vue";
  321. import {
  322. listBdglarmament,
  323. getBdglarmament,
  324. delBdglarmament,
  325. addBdglarmament,
  326. updateBdglarmament,
  327. exportBdglarmament,
  328. armamentunits,
  329. } from "@/api/grassrootsregistration/bdglarmament";
  330. import {
  331. getZhuChiRen,
  332. getShouBu,
  333. } from "@/api/grassrootsregistration/bdglmeeting";
  334. import { getDept } from "@/api/grassrootsregistration/bdgleven";
  335. // 导入树形结构
  336. import Treeselect from "@riophae/vue-treeselect";
  337. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  338. export default {
  339. name: "Bdglarmament",
  340. components: { Treeselect, bdglarmament },
  341. data() {
  342. return {
  343. //查看页面
  344. menuRoleVisible: false,
  345. wordInfo: {},
  346. //判断关闭
  347. // 树形
  348. rese: [],
  349. // 单位
  350. deptOptions: [],
  351. //判断关闭
  352. style: "2",
  353. // 遮罩层
  354. loading: true,
  355. // 导出遮罩层
  356. exportLoading: false,
  357. // 选中数组
  358. ids: [],
  359. // 非单个禁用
  360. single: true,
  361. // 非多个禁用
  362. multiple: true,
  363. // 显示搜索条件
  364. showSearch: true,
  365. // 总条数
  366. total: 0,
  367. // 军械装备登记簿表格数据
  368. bdglarmamentList: [],
  369. // 弹出层标题
  370. title: "",
  371. // 是否显示弹出层
  372. open: false,
  373. // 查询参数
  374. queryParams: {
  375. pageNum: 1,
  376. pageSize: 10,
  377. name: null,
  378. recordDate: null,
  379. metering: null,
  380. gist: null,
  381. prepareNumber: null,
  382. sum: null,
  383. intactNumber: null,
  384. repairNumber: null,
  385. sendNumber: null,
  386. standard: null,
  387. existing: null,
  388. flaw: null,
  389. peopleId: null,
  390. peopleId1: null,
  391. unitId: null,
  392. createtime: null,
  393. updatetime: null,
  394. },
  395. // 表单参数
  396. form: {},
  397. // 表单校验
  398. rules: {
  399. unitId: [
  400. { required: true, message: "单位名称不能为空", trigger: "blur" },
  401. ],
  402. name: [{ required: true, message: "名称不能为空", trigger: "blur" }],
  403. },
  404. //下拉
  405. options: [],
  406. // 人员
  407. renYuan: [],
  408. roleOptions: [],
  409. };
  410. },
  411. created() {
  412. this.getList();
  413. this.getdept();
  414. },
  415. methods: {
  416. // 搜索时间触发
  417. tiem() {
  418. this.getList();
  419. },
  420. // 搜索单位触发
  421. host() {
  422. this.getList();
  423. },
  424. // 核对人触发
  425. heDui(name) {
  426. this.form.people1Name = name;
  427. },
  428. // 登记触发
  429. dengJi(name) {
  430. this.form.peopleName = name;
  431. },
  432. // 获取主持人
  433. getZhuChi(id) {
  434. getZhuChiRen(id).then((res) => {
  435. this.renYuan = res.data;
  436. });
  437. },
  438. // 重置人员
  439. ChongZhi() {
  440. (this.form.peopleId = null), (this.form.peopleId1 = null);
  441. },
  442. // 选择单位触发
  443. selectPeo(val) {
  444. this.ChongZhi();
  445. this.form.unitId = val.id;
  446. this.getZhuChi(this.form.unitId);
  447. },
  448. // //获取部门列表
  449. getdept() {
  450. getShouBu().then((res) => {
  451. this.deptOptions = res.data;
  452. });
  453. },
  454. /** 查询部门下拉树结构 */
  455. getTreeselect() {
  456. getDept().then((response) => {
  457. this.rese = response.data;
  458. });
  459. },
  460. /** 查询军械装备登记簿列表 */
  461. getList() {
  462. this.loading = true;
  463. listBdglarmament(this.queryParams).then((response) => {
  464. this.bdglarmamentList = response.rows;
  465. this.total = response.total;
  466. this.loading = false;
  467. });
  468. },
  469. // 取消按钮
  470. cancel() {
  471. this.open = false;
  472. this.reset();
  473. },
  474. // 表单重置
  475. reset() {
  476. this.form = {
  477. id: null,
  478. name: null,
  479. recordDate: null,
  480. metering: null,
  481. gist: null,
  482. prepareNumber: null,
  483. sum: null,
  484. intactNumber: null,
  485. repairNumber: null,
  486. sendNumber: null,
  487. standard: null,
  488. existing: null,
  489. flaw: null,
  490. peopleId: null,
  491. peopleId1: null,
  492. unitId: null,
  493. createtime: null,
  494. updatetime: null,
  495. };
  496. this.resetForm("form");
  497. },
  498. /** 搜索按钮操作 */
  499. handleQuery() {
  500. this.queryParams.pageNum = 1;
  501. this.getList();
  502. },
  503. /** 重置按钮操作 */
  504. resetQuery() {
  505. this.resetForm("queryForm");
  506. this.handleQuery();
  507. },
  508. /** 对话框重置按钮操作 */
  509. resertwo() {
  510. this.reset();
  511. },
  512. //判断对话框添加事件
  513. close() {
  514. if (this.style != 1) {
  515. this.$confirm("您编辑的内容尚未保存,是否保存?", "保存提示", {
  516. confirmButtonText: "确定",
  517. cancelButtonText: "取消",
  518. type: "warning",
  519. })
  520. .then(() => {
  521. this.open = false;
  522. })
  523. .catch(() => {
  524. this.open = true;
  525. });
  526. }
  527. },
  528. // 多选框选中数据
  529. handleSelectionChange(selection) {
  530. this.ids = selection.map((item) => item.id);
  531. this.single = selection.length !== 1;
  532. this.multiple = !selection.length;
  533. },
  534. /** 新增按钮操作 */
  535. handleAdd() {
  536. // 人员
  537. (this.renYuan = []), 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>