index.vue 23 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="auto"
  9. >
  10. <!-- <el-form-item label="打印id" prop="printId">
  11. <el-input
  12. v-model="queryParams.printId"
  13. placeholder="请输入打印id"
  14. clearable
  15. size="small"
  16. @keyup.enter.native="handleQuery"
  17. />
  18. </el-form-item>-->
  19. <el-form-item prop="printName">
  20. <el-input
  21. v-model="queryParams.printName"
  22. placeholder="请输入打印文件名称"
  23. clearable
  24. size="small"
  25. @input="handleQuery"
  26. />
  27. </el-form-item>
  28. <!-- <el-form-item label="打印份数" prop="printNumber">
  29. <el-input
  30. v-model="queryParams.printNumber"
  31. placeholder="请输入打印份数"
  32. clearable
  33. size="small"
  34. @keyup.enter.native="handleQuery"
  35. />
  36. </el-form-item>
  37. <el-form-item label="是否需要归还(0否1是)" prop="isReturn">
  38. <el-input
  39. v-model="queryParams.isReturn"
  40. placeholder="请输入是否需要归还(0否1是)"
  41. clearable
  42. size="small"
  43. @keyup.enter.native="handleQuery"
  44. />
  45. </el-form-item>
  46. <el-form-item label="文件打印人" prop="printfileName">
  47. <el-input
  48. v-model="queryParams.printfileName"
  49. placeholder="请输入文件打印人"
  50. clearable
  51. size="small"
  52. @keyup.enter.native="handleQuery"
  53. />
  54. </el-form-item>
  55. <el-form-item label="打印时间" prop="printTime">
  56. <el-date-picker clearable size="small"
  57. v-model="queryParams.printTime"
  58. type="date"
  59. value-format="yyyy-MM-dd"
  60. placeholder="选择打印时间">
  61. </el-date-picker>
  62. </el-form-item>-->
  63. <el-form-item prop="statusG">
  64. <el-select
  65. v-model="queryParams.statusG"
  66. clearable
  67. placeholder="请选择归还状态"
  68. @change="handleQuery"
  69. >
  70. <el-option
  71. v-for="dict in statusGlist"
  72. :key="dict.dictValue"
  73. :label="dict.dictLabel"
  74. :value="dict.dictValue"
  75. ></el-option>
  76. </el-select>
  77. </el-form-item>
  78. <!-- <el-form-item label="归还份数" prop="returnNumber">
  79. <el-input
  80. v-model="queryParams.returnNumber"
  81. placeholder="请输入归还份数"
  82. clearable
  83. size="small"
  84. @keyup.enter.native="handleQuery"
  85. />
  86. </el-form-item>-->
  87. <!-- <el-form-item label="原文件路径" prop="primaryPath">
  88. <el-input
  89. v-model="queryParams.primaryPath"
  90. placeholder="请输入原文件路径"
  91. clearable
  92. size="small"
  93. @keyup.enter.native="handleQuery"
  94. />
  95. </el-form-item>
  96. <el-form-item label="现文件路径" prop="presentPath">
  97. <el-input
  98. v-model="queryParams.presentPath"
  99. placeholder="请输入现文件路径"
  100. clearable
  101. size="small"
  102. @keyup.enter.native="handleQuery"
  103. />
  104. </el-form-item>-->
  105. <el-form-item>
  106. <!-- <el-button type="primary" size="btn" @click="handleQuery"
  107. >搜索</el-button
  108. > -->
  109. <el-button size="btr" @click="resetQuery">重置</el-button>
  110. </el-form-item>
  111. </el-form>
  112. <el-row :gutter="10" class="mb8">
  113. <!-- <el-col :span="1.5">
  114. <el-button
  115. type="primary"
  116. plain
  117. icon="el-icon-plus"
  118. size="mini"
  119. @click="handleAdd"
  120. v-hasPermi="['PrintsLog:printlog:add']"
  121. >新增</el-button
  122. >
  123. </el-col>-->
  124. <el-col :span="1.5">
  125. <el-button
  126. type="primary"
  127. @click="handleUpdate"
  128. style="width: 76px; height: 36px"
  129. >归还</el-button
  130. >
  131. </el-col>
  132. <!-- <el-col :span="1.5">
  133. <el-button
  134. type="danger"
  135. icon="el-icon-delete"
  136. size="mini"
  137. :disabled="multiple"
  138. @click="handleDelete"
  139. v-hasPermi="['PrintsLog:printlog:remove']"
  140. >删除</el-button>
  141. </el-col>-->
  142. <!-- <el-col :span="1.5">
  143. <el-button
  144. type="warning"
  145. plain
  146. icon="el-icon-download"
  147. size="mini"
  148. :loading="exportLoading"
  149. @click="handleExport"
  150. v-hasPermi="['PrintsLog:printlog:export']"
  151. >导出</el-button>
  152. </el-col>-->
  153. <!-- <right-toolbar
  154. :showSearch.sync="showSearch"
  155. @queryTable="getList"
  156. ></right-toolbar> -->
  157. </el-row>
  158. <el-table
  159. v-loading="loading"
  160. :header-cell-style="{ background: '#003C69', color: 'white' }"
  161. :data="printlogList"
  162. @selection-change="handleSelectionChange"
  163. >
  164. <el-table-column type="selection" width="55" align="center" />
  165. <el-table-column label="序号" align="center" type="index" />
  166. <!-- <el-table-column label="现文件路径" align="center" prop="id" />
  167. <el-table-column label="打印id" align="center" prop="printId" />-->
  168. <el-table-column label="打印文件名称" align="center" prop="printName" />
  169. <el-table-column label="打印份数" align="center" prop="printNumber" />
  170. <!-- <el-table-column
  171. label="是否需要归还(0否1是)"
  172. align="center"
  173. prop="isReturn"
  174. />-->
  175. <!-- <el-table-column label="是否需要归还" align="center" prop="isReturn">
  176. <template slot-scope="scope">
  177. <div v-if="scope.row.isReturn == 0">无需归还</div>
  178. <div v-if="scope.row.isReturn == 1">归还</div>
  179. </template>
  180. </el-table-column>-->
  181. <!-- <el-table-column label="归还状态" align="center" prop="statusG" /> -->
  182. <el-table-column label="文件打印人" align="center" prop="printfileName" />
  183. <el-table-column
  184. label="打印时间"
  185. align="center"
  186. prop="printTime"
  187. width="180"
  188. >
  189. <template slot-scope="scope">
  190. <span>{{ parseTime(scope.row.printTime, "{y}-{m}-{d}") }}</span>
  191. </template>
  192. </el-table-column>
  193. <el-table-column label="归还状态" align="center" prop="statusG">
  194. <template slot-scope="scope">
  195. <!-- <dict-tag :options="dict.type.sys_statusG" :value="scope.row.statusG" /> -->
  196. <div style="color: #00ff00" v-if="scope.row.statusG == '0'">
  197. 未归还
  198. </div>
  199. <div style="color: #90da90" v-if="scope.row.statusG == '1'">
  200. 已归还
  201. </div>
  202. </template>
  203. </el-table-column>
  204. <el-table-column label="归还份数" align="center" prop="returnNumber">
  205. <template slot-scope="scope">
  206. <span>{{ scope.row.returnNumber ? scope.row.returnNumber : 0 }}</span>
  207. </template>
  208. </el-table-column>
  209. <el-table-column
  210. label="归还时间"
  211. align="center"
  212. prop="returnTime"
  213. width="180"
  214. >
  215. <template slot-scope="scope">
  216. <span>{{ parseTime(scope.row.returnTime, "{y}-{m}-{d}") }}</span>
  217. </template>
  218. </el-table-column>
  219. <!-- <el-table-column label="打印编码信息" align="center" prop="printCode" />
  220. <el-table-column label="原文件路径" align="center" prop="primaryPath" />
  221. <el-table-column label="现文件路径" align="center" prop="presentPath" />-->
  222. <el-table-column
  223. label="操作"
  224. align="center"
  225. class-name="small-padding fixed-width"
  226. >
  227. <template slot-scope="scope">
  228. <el-button size="btk" type="text" @click="handlesee(scope.row)"
  229. >查看</el-button
  230. >
  231. <!-- <el-button size="mini" type="text" v-if="scope.row.statusG==1||scope.row.statusG==2">已归还</el-button> -->
  232. <!-- <el-button
  233. size="btd"
  234. type="text"
  235. @click="handleDelete(scope.row)"
  236. v-hasPermi="['PrintsLog:printlog:remove']"
  237. >删除</el-button>-->
  238. </template>
  239. </el-table-column>
  240. </el-table>
  241. <pagination
  242. v-show="total > 0"
  243. :total="total"
  244. :page.sync="queryParams.pageNum"
  245. :limit.sync="queryParams.pageSize"
  246. @pagination="getList"
  247. />
  248. <!-- 添加或修改集中文印记录对话框 -->
  249. <el-dialog
  250. :title="title"
  251. :visible.sync="open"
  252. width="1030px"
  253. append-to-body
  254. :close-on-click-modal="false"
  255. >
  256. <el-form
  257. ref="form"
  258. :model="form"
  259. :inline="true"
  260. :rules="rules"
  261. label-width="120px"
  262. >
  263. <!-- <el-form-item label="打印id" prop="printId">
  264. <el-input v-model="form.printId" placeholder="请输入打印id" />
  265. </el-form-item>-->
  266. <div class="jiben">打印编码</div>
  267. <el-form-item label="打印编码" prop="printCode">
  268. <el-input
  269. v-model="form.printCode"
  270. @blur="printCodeblur"
  271. placeholder="请输入打印编码"
  272. />
  273. <!-- <el-select v-model="form.printCode" filterable @change="printCodechange" clearable placeholder="请选择打印编码">
  274. <el-option
  275. v-for="dict in printlogList"
  276. :key="dict.printId"
  277. :label="dict.printCode"
  278. :value="dict"
  279. ></el-option>
  280. </el-select>-->
  281. <!-- <el-input v-model="form.printCode" placeholder="请输入打印编码" /> -->
  282. </el-form-item>
  283. <div class="jiben">基本信息</div>
  284. <!-- <el-form-item label="单位名称" prop="unitName">
  285. <el-input v-model="form.unitName" placeholder="请输入单位名称" />
  286. </el-form-item>-->
  287. <el-form-item label="打印文件名称" prop="printName">
  288. <el-input v-model="form.printName" placeholder="请输入打印文件名称" />
  289. </el-form-item>
  290. <!-- <el-form-item label="打印份数" prop="printNumber">
  291. <el-input v-model="form.printNumber" type="Number" placeholder="请输入打印份数" />
  292. </el-form-item>
  293. <el-form-item label="是否需要归还" prop="isReturn">
  294. <el-radio-group v-model="form.isReturn" size="mini" style="width:200px;">
  295. <el-radio label="1">归还</el-radio>
  296. <el-radio label="0">无需归还</el-radio>
  297. </el-radio-group>
  298. </el-form-item>-->
  299. <!-- <el-form-item label="归还状态" prop="statusG">
  300. <el-select v-model="form.statusG" clearable placeholder="请选择归还状态">
  301. <el-option
  302. v-for="dict in statusGlist"
  303. :key="dict.dictValue"
  304. :label="dict.dictLabel"
  305. :value="parseInt(dict.dictValue)"
  306. ></el-option>
  307. </el-select>
  308. </el-form-item>-->
  309. <!-- <el-form-item label="归还状态(1 已归还 0未归还)" prop="statusG">
  310. <el-input v-model="form.statusG" placeholder="请输入归还状态(1 已归还 0未归还)" />
  311. </el-form-item>-->
  312. <!-- <el-form-item label="是否需要归还(0否1是)" prop="isReturn">
  313. <el-input v-model="form.isReturn" placeholder="请输入是否需要归还(0否1是)" />
  314. </el-form-item>-->
  315. <el-form-item label="归还份数" prop="returnNumber">
  316. <el-input
  317. v-model="form.returnNumber"
  318. @blur="returnNumberblur"
  319. placeholder="请输入打印份数"
  320. />
  321. </el-form-item>
  322. <el-form-item label="文件打印人" prop="printfileName">
  323. <el-input
  324. v-model="form.printfileName"
  325. placeholder="请输入文件打印人"
  326. />
  327. <!-- <el-select v-model="form.printfileName" filterable clearable placeholder="请选择文件打印人">
  328. <el-option v-for="item in rylist" :key="item.id" :label="item.name" :value="item.id"></el-option>
  329. </el-select>-->
  330. </el-form-item>
  331. <!-- <el-form-item label="备注说明" prop="prize">
  332. <el-input v-model="form.prize" type="textarea" placeholder />
  333. </el-form-item>-->
  334. <!-- <el-form-item label="文件打印人" prop="printfileName">
  335. <el-input v-model="form.printfileName" placeholder="请输入文件打印人" />
  336. </el-form-item>-->
  337. <!-- <el-form-item label="打印时间" prop="printTime">
  338. <el-date-picker
  339. clearable
  340. size="small"
  341. v-model="form.printTime"
  342. type="date"
  343. value-format="yyyy-MM-dd"
  344. placeholder="选择打印时间"
  345. ></el-date-picker>
  346. </el-form-item>
  347. <el-form-item label="归还份数" prop="returnNumber">
  348. <el-input v-model="form.returnNumber" placeholder="请输入归还份数" />
  349. </el-form-item>
  350. <el-form-item label="原文件路径" prop="primaryPath">
  351. <el-input v-model="form.primaryPath" placeholder="请输入原文件路径" />
  352. </el-form-item>
  353. <el-form-item label="现文件路径" prop="presentPath">
  354. <el-input v-model="form.presentPath" placeholder="请输入现文件路径" />
  355. </el-form-item>-->
  356. </el-form>
  357. <div slot="footer" class="dialog-footer">
  358. <el-button type="primary" @click="submitForm" v-if="flg != 1"
  359. >确 定</el-button
  360. >
  361. <el-button @click="cancel">取 消</el-button>
  362. </div>
  363. </el-dialog>
  364. </div>
  365. </template>
  366. <script>
  367. import {
  368. listPrintlog,
  369. getPrintlog,
  370. delPrintlog,
  371. addPrintlog,
  372. updatePrintlog,
  373. exportPrintlog,
  374. listPeople,
  375. } from "@/api/PrintsLog/printlog";
  376. export default {
  377. name: "Printlog",
  378. dicts: ["sys_statusG"],
  379. data() {
  380. return {
  381. // 遮罩层
  382. loading: true,
  383. // 导出遮罩层
  384. exportLoading: false,
  385. // 选中数组
  386. ids: [],
  387. // 非单个禁用
  388. single: true,
  389. // 非多个禁用
  390. multiple: true,
  391. // 显示搜索条件
  392. showSearch: true,
  393. // 总条数
  394. total: 0,
  395. // 集中文印记录表格数据
  396. printlogList: [],
  397. // 弹出层标题
  398. title: "",
  399. // 是否显示弹出层
  400. open: false,
  401. // 查询参数
  402. queryParams: {
  403. pageNum: 1,
  404. pageSize: 10,
  405. printId: null,
  406. printName: null,
  407. printNumber: null,
  408. isReturn: null,
  409. printfileName: null,
  410. printTime: null,
  411. statusG: null,
  412. returnNumber: null,
  413. printCode: null,
  414. primaryPath: null,
  415. presentPath: null,
  416. },
  417. // 表单参数
  418. form: {},
  419. // 表单校验
  420. rules: {
  421. returnNumber: [
  422. { required: true, message: "归还份数不能为空", trigger: "blur" },
  423. ],
  424. },
  425. statusGlist: [],
  426. rylist: [],
  427. returnNumber: null,
  428. flg: null,
  429. };
  430. },
  431. created() {
  432. this.getList();
  433. //检查类型
  434. this.getDicts("sys_statusG").then((response) => {
  435. this.statusGlist = response.data;
  436. });
  437. },
  438. methods: {
  439. //获取人员
  440. getrylist() {
  441. listPeople().then((res) => {
  442. if (res.code == 200) {
  443. this.rylist = res.rows;
  444. }
  445. });
  446. },
  447. /** 查询集中文印记录列表 */
  448. getList() {
  449. this.loading = true;
  450. listPrintlog(this.queryParams).then((response) => {
  451. this.printlogList = response.rows;
  452. this.total = response.total;
  453. this.loading = false;
  454. });
  455. },
  456. // 取消按钮
  457. cancel() {
  458. this.open = false;
  459. this.reset();
  460. this.flg = null;
  461. },
  462. // 表单重置
  463. reset() {
  464. this.form = {
  465. id: null,
  466. printId: null,
  467. printName: null,
  468. printNumber: null,
  469. isReturn: null,
  470. printfileName: null,
  471. printTime: null,
  472. statusG: null,
  473. returnNumber: null,
  474. printCode: null,
  475. primaryPath: null,
  476. presentPath: null,
  477. unitName: null,
  478. };
  479. this.resetForm("form");
  480. },
  481. /** 搜索按钮操作 */
  482. handleQuery() {
  483. this.queryParams.pageNum = 1;
  484. this.getList();
  485. },
  486. /** 重置按钮操作 */
  487. resetQuery() {
  488. this.resetForm("queryForm");
  489. this.handleQuery();
  490. },
  491. // 多选框选中数据
  492. handleSelectionChange(selection) {
  493. this.ids = selection.map((item) => item.id);
  494. this.single = selection.length !== 1;
  495. this.multiple = !selection.length;
  496. },
  497. /** 新增按钮操作 */
  498. handleAdd() {
  499. this.reset();
  500. this.open = true;
  501. this.title = "添加集中文印记录";
  502. this.getrylist();
  503. },
  504. /** 查看按钮操作 */
  505. handlesee(row) {
  506. getPrintlog(row.id).then((res) => {
  507. if (res.code == 200) {
  508. this.form = res.data;
  509. if (res.data.returnNumber) {
  510. this.form.returnNumber = res.data.returnNumber;
  511. } else {
  512. this.form.returnNumber = 0;
  513. }
  514. this.title = "归还记录";
  515. this.open = true;
  516. this.flg = 1;
  517. }
  518. });
  519. },
  520. /** 修改按钮操作 */
  521. handleUpdate() {
  522. this.reset();
  523. this.title = "归还记录";
  524. this.open = true;
  525. // const id = row.id || this.ids;
  526. // getPrintlog(id).then(response => {
  527. // if (!response.data.returnNumber) {
  528. // this.returnNumber = 0;
  529. // } else {
  530. // this.returnNumber = response.data.returnNumber;
  531. // }
  532. // this.form = response.data;
  533. // this.form.isReturn = this.form.isReturn + "";
  534. // this.open = true;
  535. // // if(this.form.returnNumber==this.form.printNumber){
  536. // // this.form.statusG = 1;
  537. // // }else{
  538. // // this.form.statusG=this.form.statusG;
  539. // // }
  540. // this.form.returnNumber = response.data.printNumber;
  541. // this.title = "修改集中文印记录";
  542. // });
  543. },
  544. returnNumberblur() {
  545. if (
  546. Number(this.form.returnNumber) + Number(this.returnNumber) >
  547. Number(this.form.printNumber)
  548. ) {
  549. this.$modal.msgSuccess(
  550. `应归还${Number(this.form.printNumber) - Number(this.returnNumber)}份`
  551. );
  552. this.form.returnNumber = null;
  553. }
  554. },
  555. /** 提交按钮 */
  556. submitForm() {
  557. this.$refs["form"].validate((valid) => {
  558. if (valid) {
  559. this.form.returnNumber =
  560. Number(this.form.returnNumber) + Number(this.returnNumber);
  561. if (this.form.returnNumber == this.form.printNumber) {
  562. this.form.statusG = 1;
  563. }
  564. if (this.form.id != null) {
  565. updatePrintlog(this.form).then((response) => {
  566. this.$modal.msgSuccess("修改成功");
  567. this.open = false;
  568. this.getList();
  569. });
  570. } else {
  571. addPrintlog(this.form).then((response) => {
  572. this.$modal.msgSuccess("新增成功");
  573. this.open = false;
  574. this.getList();
  575. });
  576. }
  577. }
  578. });
  579. },
  580. /** 删除按钮操作 */
  581. handleDelete(row) {
  582. const ids = row.id || this.ids;
  583. this.$modal
  584. .confirm("是否删除该记录?")
  585. .then(function () {
  586. return delPrintlog(ids);
  587. })
  588. .then(() => {
  589. this.getList();
  590. this.$modal.msgSuccess("删除成功");
  591. })
  592. .catch(() => {});
  593. },
  594. /** 导出按钮操作 */
  595. handleExport() {
  596. const queryParams = this.queryParams;
  597. this.$modal
  598. .confirm("是否确认导出所有集中文印记录数据项?")
  599. .then(() => {
  600. this.exportLoading = true;
  601. return exportPrintlog(queryParams);
  602. })
  603. .then((response) => {
  604. this.$download.name(response.msg);
  605. this.exportLoading = false;
  606. })
  607. .catch(() => {});
  608. },
  609. //打印编号
  610. printCodeblur() {
  611. if (this.form.printCode) {
  612. listPrintlog({ printCode: this.form.printCode }).then((response) => {
  613. this.form = response.rows[0];
  614. if (this.form.returnNumber) {
  615. this.form.returnNumber = this.form.returnNumber;
  616. } else {
  617. this.form.returnNumber = 0;
  618. }
  619. });
  620. }
  621. },
  622. },
  623. };
  624. </script>
  625. <style scoped>
  626. ::v-deep .el-dialog {
  627. background-color: #004d86;
  628. }
  629. ::v-deep .el-dialog__header {
  630. border-bottom: 1px solid #718a9d;
  631. }
  632. ::v-deep .el-dialog__title {
  633. color: #fff;
  634. font: 18px;
  635. }
  636. ::v-deep .el-dialog__headerbtn .el-dialog__close {
  637. color: #fff;
  638. }
  639. .el-form-item ::v-deep .el-input__inner {
  640. width: 200px;
  641. height: 36px;
  642. background: transparent;
  643. color: #fff;
  644. border: 1px solid #fff !important;
  645. }
  646. ::v-deep .el-date-editor.el-input {
  647. width: 200px;
  648. height: 36px;
  649. }
  650. .pictureUploading-img img {
  651. width: 60px;
  652. height: 210px;
  653. margin-right: 10px;
  654. }
  655. ::v-deep .el-upload--picture-card {
  656. height: 210px;
  657. width: 170px;
  658. line-height: 210px;
  659. background-image: url("../../../assets/images/头像.png");
  660. background-repeat: no-repeat;
  661. background-size: 100% 100%;
  662. }
  663. ::v-deep .el-upload--picture-card .el-icon-plus {
  664. display: none;
  665. }
  666. .el-upload--picture-card /deep/ .el-upload--picture-card i {
  667. font-size: 48px;
  668. }
  669. ::v-deep .el-upload__tip {
  670. display: none;
  671. }
  672. ::v-deep .el-textarea__inner {
  673. width: 200px;
  674. height: 64px;
  675. }
  676. .jiben span {
  677. width: 25px;
  678. height: 25px;
  679. display: inline-block;
  680. background-color: #1c86e1;
  681. line-height: 25px;
  682. text-align: center;
  683. font-size: 16px;
  684. cursor: pointer;
  685. /* margin-left: 851px; */
  686. position: absolute;
  687. right: 20px;
  688. }
  689. .el-select-dropdown__item:hover {
  690. color: #111;
  691. }
  692. .el-select-dropdown__item {
  693. color: #111;
  694. }
  695. .el-tree {
  696. background-color: #00365f;
  697. color: #fff;
  698. }
  699. ::v-deep .el-tree-node__content:hover {
  700. color: #1c86e1;
  701. }
  702. ::v-deep .el-upload-list--picture-card .el-upload-list__item {
  703. height: 210px;
  704. width: 170px;
  705. }
  706. .dadui {
  707. height: 40px;
  708. background: #003156;
  709. /* border-bottom: 1px solid #718A9D ; */
  710. background-image: url(../../../images/矩形底部边框.png);
  711. background-repeat: no-repeat;
  712. background-position: 0px 39px;
  713. font-size: 16px;
  714. color: #1d96ff;
  715. }
  716. .dadui img {
  717. margin: 10px 10px 0px 10px;
  718. }
  719. .data {
  720. height: 40px;
  721. background: #003156;
  722. margin-bottom: 12px;
  723. color: #fff;
  724. display: flex;
  725. font-size: 13px;
  726. line-height: 25px;
  727. position: relative;
  728. }
  729. .el-tree {
  730. padding: 10px;
  731. background: #003156;
  732. color: #fff;
  733. }
  734. .data p {
  735. position: absolute;
  736. top: -5px;
  737. left: 15px;
  738. }
  739. .data .a1 {
  740. width: 128px;
  741. height: 26px;
  742. background: rgba(23, 74, 112, 0.4);
  743. border-radius: 13px;
  744. position: absolute;
  745. top: 7px;
  746. left: 60px;
  747. }
  748. ::v-deep .data .el-date-editor.el-input {
  749. width: 100%;
  750. border: none;
  751. }
  752. ::v-deep .data .el-input__inner {
  753. width: 100% !important;
  754. border: none;
  755. }
  756. ::v-deep .data .el-input--medium .el-input__icon {
  757. line-height: 36px;
  758. position: absolute;
  759. right: -223px;
  760. top: 2px;
  761. }
  762. ::v-deep .data .el-input__inner {
  763. background-color: transparent;
  764. color: #fff;
  765. text-align: center;
  766. margin-top: 2px;
  767. }
  768. ::v-deep .data .el-input__suffix {
  769. position: absolute;
  770. right: 281px;
  771. }
  772. ::v-deep
  773. .el-tree--highlight-current
  774. .el-tree-node.is-current
  775. > .el-tree-node__content {
  776. color: #00365f !important;
  777. /* background-color: #003156 !important; */
  778. }
  779. /* 调整输入框提示文字颜色 */
  780. ::v-deep .vue-treeselect__placeholder {
  781. color: #bdbdbd4f !important;
  782. }
  783. ::v-deep input::-webkit-input-placeholder {
  784. color: #bdbdbd4f !important;
  785. }
  786. ::v-deep input:-moz-placeholder {
  787. color: #bdbdbd4f !important;
  788. }
  789. /* 文本域提示文字颜色 */
  790. ::v-deep ::-webkit-input-placeholder {
  791. color: #bdbdbd4f !important;
  792. }
  793. </style>