Lis.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726
  1. <template>
  2. <div>
  3. <crumbs :title="title + hospitaiName" linkTo="MedicalTermCDSS">
  4. <el-form :inline="true" class="demo-form-inline">
  5. <el-form-item style="marginBottom: 0px">
  6. <el-button type="text" class="downTemplate" @click="exportModule">导入模板下载</el-button>
  7. <input type="file" name="uploadfile " id="upFile" @change="uploadFile($event)" />
  8. <el-button size="mini" @click="handleMatchData">预匹配</el-button>
  9. <el-button size="mini" @click="importPage" style="margin:0 10px">{{uploadInfo}}</el-button>
  10. <input type="file" name="uploadfile " id="upFileMatch" @change="uploadFileMatch($event)" />
  11. <el-button size="mini" @click="exportData">导出</el-button>
  12. </el-form-item>
  13. </el-form>
  14. </crumbs>
  15. <div class="searchBar">
  16. <div class="searchContent">
  17. <el-form :inline="true" class="demo-form-inline">
  18. <el-form-item class="selectMedicine" label="标准术语状态:">
  19. <el-select size="mini" v-model="filter.status" placeholder="请选择" clearable>
  20. <el-option
  21. v-for="item in statusList"
  22. :label="item.name"
  23. :value="item.id"
  24. :key="item.id"
  25. ></el-option>
  26. </el-select>
  27. </el-form-item>
  28. <el-form-item class="selectMedicine" label="匹配状态:">
  29. <el-select size="mini" v-model="filter.match" placeholder="请选择" clearable>
  30. <el-option
  31. v-for="item in matchList"
  32. :label="item.name"
  33. :value="item.id"
  34. :key="item.id"
  35. ></el-option>
  36. </el-select>
  37. </el-form-item>
  38. <el-form-item label="检验套餐:">
  39. <el-input size="mini" v-model="filter.hisName" placeholder="请输入" clearable></el-input>
  40. </el-form-item>
  41. <el-form-item label="检验细项:">
  42. <el-input size="mini" v-model="filter.hisDetailName" placeholder="请输入" clearable></el-input>
  43. </el-form-item>
  44. <el-form-item label="标准检验项:">
  45. <el-input size="mini" v-model="filter.uniqueName" placeholder="请输入" clearable></el-input>
  46. </el-form-item>
  47. </el-form>
  48. <el-form :inline="true" class="demo-form-inline">
  49. <el-form-item class="dododo">
  50. <el-button size="mini" @click="filterDatas">检索</el-button>
  51. <el-button size="mini" type="warning" @click="addRelation">添加关联</el-button>
  52. </el-form-item>
  53. </el-form>
  54. </div>
  55. </div>
  56. <div class="contentsOther">
  57. <el-table :data="list" border style="width: 100%">
  58. <el-table-column :resizable="false" type="index" :index="indexMethod" label="编号" width="80"></el-table-column>
  59. <el-table-column :resizable="false" prop="gmtModified" label="操作时间" width="180"></el-table-column>
  60. <el-table-column :resizable="false" prop="hisName" label="检验套餐" show-overflow-tooltip></el-table-column>
  61. <el-table-column :resizable="false" prop="hisDetailName" label="检验细项" show-overflow-tooltip></el-table-column>
  62. <el-table-column :resizable="false" prop="uniqueName" label="标准检验项" show-overflow-tooltip></el-table-column>
  63. <el-table-column :resizable="false" prop="operate" label="标准术语状态">
  64. <template slot-scope="scope">
  65. <span
  66. v-if="scope.row.uniqueName && scope.row.uniqueName!=''"
  67. >{{scope.row.status == 0?'禁用':'启用'}}</span>
  68. </template>
  69. </el-table-column>
  70. <el-table-column :resizable="false" prop="operate" label="匹配状态">
  71. <template slot-scope="scope">
  72. <span>{{scope.row.isMatch == 0?'未匹配':'已匹配'}}</span>
  73. </template>
  74. </el-table-column>
  75. <el-table-column :resizable="false" prop="operate" label="操作">
  76. <template slot-scope="scope">
  77. <el-button @click="modifyRelation(scope.row)" type="text" size="small">修改</el-button>
  78. <span style="margin:0 3px;">|</span>
  79. <el-button
  80. @click="showDelDialog(scope.row.id)"
  81. class="delete"
  82. type="text"
  83. size="small"
  84. >删除</el-button>
  85. </template>
  86. </el-table-column>
  87. </el-table>
  88. <div class="pagination pagepage">
  89. <el-pagination
  90. :current-page.sync="currentPage"
  91. @current-change="currentChange"
  92. background
  93. :page-size="pageSize"
  94. :page-sizes="pageSizeArr"
  95. @size-change="handleSizeChange"
  96. :layout="pageLayout"
  97. :total="total"
  98. ></el-pagination>
  99. </div>
  100. </div>
  101. <LtModal
  102. v-if="modalVisiable"
  103. @func="getMsgFormSon"
  104. :meal="'检验套餐'"
  105. :detail="'检验细项'"
  106. :standard="'检验标准术语'"
  107. :tip="'检验关联'"
  108. :type="1"
  109. :hospitalId="hospitalId"
  110. :data="data"
  111. ></LtModal>
  112. </div>
  113. </template>
  114. <script>
  115. import api from '@api/cdss.js';
  116. import config from '@api/config.js';
  117. import utils from '@api/utils.js';
  118. import LtModal from '@base/LtModal';
  119. export default {
  120. name: 'Lis', //化验大小项和公表维护
  121. data: function() {
  122. return {
  123. list: [],
  124. searched: false,
  125. filter: {
  126. hisName: '', // 检验套餐
  127. hisDetailName: '', //检验细项
  128. uniqueName: '', //标准检验项
  129. match: '',
  130. status: ''
  131. },
  132. matchList: [
  133. { id: '', name: '全部' },
  134. { id: 1, name: '已匹配' },
  135. { id: 0, name: '未匹配' },
  136. { id: 2, name: '多项匹配' }
  137. ],
  138. statusList: [
  139. { id: '', name: '全部' },
  140. { id: 1, name: '启用' },
  141. { id: 0, name: '禁用' }
  142. ],
  143. currentPage: 1,
  144. pageSize: config.pageSize,
  145. pageSizeArr: config.pageSizeArr,
  146. pageLayout: config.pageLayout,
  147. total: 0,
  148. uploadInfo: '导入',
  149. title: '检验关联维护 | ',
  150. hospitaiName: '',
  151. hospitalId: '',
  152. modalVisiable: false,
  153. data: {}
  154. };
  155. },
  156. components: {
  157. LtModal
  158. },
  159. created() {
  160. const { data } = this.$route.params;
  161. this.hospitaiName = (data && data.name) || localStorage.getItem('name');
  162. this.hospitalId =
  163. (data && data.hospitalId) || localStorage.getItem('hospitalId');
  164. const that = this;
  165. //返回时避免参数未赋值就获取列表
  166. setTimeout(function() {
  167. that.getDataList();
  168. });
  169. // 非首页 编辑页返回 设置 this.currentPage
  170. if (Object.keys(this.$route.params).length !== 0) {
  171. this.currentPage = this.$route.params.currentPage;
  172. }
  173. },
  174. watch: {
  175. filter: {
  176. handler: function() {
  177. this.searched = false;
  178. },
  179. deep: true
  180. }
  181. },
  182. beforeRouteEnter(to, from, next) {
  183. next(vm => {
  184. //const pm = to.param;
  185. Object.assign(vm, to.params);
  186. vm.inCurrentPage = to.params.currentPage;
  187. });
  188. },
  189. methods: {
  190. // 预匹配
  191. handleMatchData() {
  192. let inp = document.getElementById('upFileMatch');
  193. inp.click();
  194. },
  195. // 导入数据
  196. uploadFileMatch(e) {
  197. let fileInfo = e.target.files[0];
  198. let extend = fileInfo.name.substring(fileInfo.name.lastIndexOf('.') + 1);
  199. if (extend != 'xls' && extend != 'xlsx') {
  200. this.$message({ message: '请根据模板进行导入', type: 'error' });
  201. return;
  202. }
  203. e.preventDefault();
  204. let formData = new FormData();
  205. formData.append('file', fileInfo);
  206. formData.append('type', 1);
  207. const header = {
  208. headers: {
  209. 'Content-Type': 'multipart/form-data'
  210. }
  211. };
  212. const loading = this.$loading({
  213. lock: true,
  214. text: '预匹配中...',
  215. spinner: 'el-icon-loading',
  216. background: 'rgba(0, 0, 0, 0.7)'
  217. });
  218. api.dataLisVerify(formData, header).then(res => {
  219. if (res.data.code === '00020007' || res.data.code === '00020004') {
  220. loading.close();
  221. this.$alert(`${res.data.msg}`, '提示', {
  222. confirmButtonText: '确定',
  223. type: 'warning'
  224. })
  225. .then(() => {})
  226. .catch(() => {});
  227. } else {
  228. api.precLisDataMatch(formData, header).then(res => {
  229. setTimeout(() => {
  230. loading.close();
  231. }, 800);
  232. if (res.status === 200) {
  233. utils.downloadExportedData(
  234. res.data,
  235. '检验关联数据(预匹配).xls'
  236. );
  237. }
  238. });
  239. }
  240. });
  241. let inp = document.getElementById('upFileMatch');
  242. inp.value = '';
  243. },
  244. handleSizeChange(val) {
  245. this.pageSize = val;
  246. this.currentPage = utils.getCurrentPage(
  247. this.currentPage,
  248. this.total,
  249. this.pageSize
  250. );
  251. this.getDataList();
  252. },
  253. // 获取列表数据
  254. getDataList(isTurnPage) {
  255. const params = this.getFilterItems(isTurnPage);
  256. this.searched = true;
  257. const loading = this.$loading({
  258. lock: true,
  259. text: 'Loading',
  260. spinner: 'el-icon-loading',
  261. background: 'rgba(0, 0, 0, 0.7)'
  262. });
  263. api.getLisPage(params).then(res => {
  264. loading.close();
  265. if (res.data.code === '0') {
  266. this.list = res.data.data && res.data.data.records;
  267. }
  268. this.total = res.data.data && res.data.data.total;
  269. if (this.inCurrentPage !== undefined) {
  270. this.currentPage = this.inCurrentPage;
  271. this.inCurrentPage = undefined;
  272. }
  273. });
  274. },
  275. // 处理列表请求数据参数
  276. getFilterItems(isTurnPage) {
  277. const { data } = this.$route.params;
  278. //翻页时筛选条件没点确定则清空
  279. if (isTurnPage && !this.searched) {
  280. this.clearFilter();
  281. }
  282. const param = {
  283. current: this.inCurrentPage || this.currentPage,
  284. size: this.pageSize,
  285. hisName: this.filter.hisName.trim(),
  286. uniqueName: this.filter.uniqueName.trim(),
  287. uniqueCode: '',
  288. hisDetailName: this.filter.hisDetailName.trim(),
  289. hospitalId:
  290. (data && data.hospitalId) || localStorage.getItem('hospitalId'),
  291. type: 1,
  292. isMatch: this.filter.match,
  293. status: this.filter.status
  294. };
  295. return param;
  296. },
  297. filterDatas() {
  298. this.currentPage = 1;
  299. this.getDataList();
  300. },
  301. addRelation() {
  302. const pam = this.searched
  303. ? {
  304. currentPage: this.currentPage,
  305. pageSize: this.pageSize,
  306. filter: this.filter
  307. }
  308. : { currentPage: this.currentPage, pageSize: this.pageSize };
  309. this.data = {};
  310. this.showModal();
  311. // this.$router.push({
  312. // name: 'AddLis',
  313. // params: Object.assign(pam, {
  314. // isEdit: false,
  315. // data: { hospitalId: this.hospitalId },
  316. // hospitaiName: this.hospitaiName
  317. // })
  318. // });
  319. },
  320. // 修改诊断关联-跳转至编辑页面
  321. modifyRelation(row) {
  322. const item = Object.assign({}, row);
  323. const pam = this.searched
  324. ? {
  325. currentPage: this.currentPage,
  326. pageSize: this.pageSize,
  327. filter: this.filter
  328. }
  329. : { currentPage: this.currentPage, pageSize: this.pageSize };
  330. // this.$router.push({
  331. // name: 'AddLis',
  332. // params: Object.assign(pam, {
  333. // isEdit: true,
  334. // data: { ...item, hospitalId: this.hospitalId },
  335. // hospitaiName: this.hospitaiName
  336. // })
  337. // });
  338. this.data = item;
  339. this.showModal();
  340. },
  341. currentChange(next) {
  342. this.currentPage = next;
  343. this.getDataList(true);
  344. // if (this.cacheData[next]) { //如果已请求过该页数据,则使用缓存不重复请求
  345. // this.list = this.cacheData[next];
  346. // } else {
  347. // this.getDataList();
  348. // }
  349. },
  350. // 清空搜索参数
  351. clearFilter() {
  352. this.filter = {
  353. hisName: '',
  354. uniqueName: '',
  355. hisDetailName: ''
  356. };
  357. },
  358. indexMethod(index) {
  359. return (this.currentPage - 1) * this.pageSize + index + 1;
  360. },
  361. getTagType(val) {
  362. return val;
  363. },
  364. warning(msg, type) {
  365. this.$message({
  366. showClose: true,
  367. message: msg,
  368. type: type || 'warning'
  369. });
  370. },
  371. showConfirmDialog(msg, resolve) {
  372. this.$alert(msg, '提示', {
  373. confirmButtonText: '删除',
  374. // cancelButtonText: '取消',
  375. // cancelButtonClass: 'cancelBtn',
  376. // confirmButtonClass: 'confirmC',
  377. type: 'warning'
  378. })
  379. .then(() => {
  380. resolve();
  381. })
  382. .catch(() => {});
  383. },
  384. // 删除关联
  385. showDelDialog(id) {
  386. this.showConfirmDialog('是否删除该关联?', () => {
  387. api
  388. .deleteLisRecord({ id: id })
  389. .then(res => {
  390. if (res.data.code == '0') {
  391. if (!this.searched) {
  392. //未点确认时清空搜索条件
  393. this.clearFilter();
  394. }
  395. if (this.list.length == 1) {
  396. //当前在最后一页且只有一条数据时,删除后跳到前一页
  397. this.currentPage =
  398. this.currentPage === 1 ? 1 : this.currentPage - 1;
  399. }
  400. this.getDataList();
  401. this.warning(res.data.msg || '操作成功', 'success');
  402. } else {
  403. this.warning(res.data.msg);
  404. }
  405. })
  406. .catch(error => {
  407. if (error.code === '900010001') {
  408. return false;
  409. }
  410. this.warning(error);
  411. });
  412. });
  413. },
  414. // 导出数据
  415. exportData() {
  416. this.$alert('确定要导出全部检验关联数据吗?', '', {
  417. confirmButtonText: '确定',
  418. // cancelButtonText: '取消',
  419. // cancelButtonClass: 'leftbtn',
  420. // customClass: 'exportBox6',
  421. title: '提示',
  422. type: 'warning'
  423. // beforeClose: (action, instance, done) => {
  424. // if (action === 'confirm') {
  425. // // instance.confirmButtonLoading = true;
  426. // instance.confirmButtonText = '导出中...';
  427. // api.exportLisRecord().then(res => {
  428. // if (res.status === 200) {
  429. // setTimeout(() => {
  430. // utils.downloadExportedData(res.data, '检验数据.xls');
  431. // done();
  432. // }, 1500);
  433. // }
  434. // });
  435. // } else {
  436. // done();
  437. // }
  438. // }
  439. })
  440. .then(() => {
  441. api
  442. .exportLisRecord({
  443. hospitalId: this.hospitalId,
  444. type: 1,
  445. isMatch: this.filter.match
  446. })
  447. .then(res => {
  448. if (res.status === 200) {
  449. this.$message({ message: '导出成功', type: 'success' });
  450. utils.downloadExportedData(res.data, '检验数据.xls');
  451. }
  452. });
  453. })
  454. .catch(() => {
  455. // this.$message({ message: '导出失败', type: 'waring' });
  456. });
  457. },
  458. // 导入模板
  459. exportModule() {
  460. api.exportLisModule({ type: 1 }).then(res => {
  461. if (res.status === 200) {
  462. setTimeout(() => {
  463. utils.downloadExportedData(res.data, '检验导入模板.xls');
  464. }, 1500);
  465. }
  466. });
  467. },
  468. // 点击导入
  469. importPage() {
  470. let inp = document.getElementById('upFile');
  471. inp.click();
  472. },
  473. // 导入数据
  474. uploadFile(e) {
  475. let fileInfo = e.target.files[0];
  476. let extend = fileInfo.name.substring(fileInfo.name.lastIndexOf('.') + 1);
  477. if (extend != 'xls' && extend != 'xlsx') {
  478. this.$message({ message: '请根据模板进行导入', type: 'error' });
  479. return;
  480. }
  481. e.preventDefault();
  482. let formData = new FormData();
  483. formData.append('file', fileInfo);
  484. formData.append('hospitalId', this.hospitalId);
  485. formData.append('type', 1);
  486. formData.append('uesrId', localStorage.getItem('uesrId'));
  487. const header = {
  488. headers: {
  489. 'Content-Type': 'multipart/form-data'
  490. }
  491. };
  492. // this.uploadInfo = '导入中...';
  493. // api.importExcelDataVerify(formData, header).then(res => {
  494. // if (res.data.code === '00020001') {
  495. // this.$confirm(`${res.data.msg}`, '提示', {
  496. // confirmButtonText: '确定',
  497. // cancelButtonText: '取消',
  498. // type: 'warning'
  499. // })
  500. // .then(() => {
  501. // this.importLisRecord(formData, header);
  502. // })
  503. // .catch(() => {
  504. // setTimeout(() => {
  505. // this.uploadInfo = '导入';
  506. // }, 300);
  507. // });
  508. // } else if (res.data.data === true) {
  509. // this.importLisRecord(formData, header);
  510. // } else {
  511. // this.$alert(`${res.data.msg}`, '提示', {
  512. // confirmButtonText: '确定',
  513. // // cancelButtonText: '取消',
  514. // // cancelButtonClass: 'cancelSure',
  515. // // confirmButtonClass: 'sure',
  516. // // customClass: 'exportConfirm',
  517. // type: 'warning'
  518. // })
  519. // .then(() => {})
  520. // .catch(() => {});
  521. // setTimeout(() => {
  522. // this.uploadInfo = '导入';
  523. // }, 300);
  524. // }
  525. // });
  526. this.importLisRecord(formData, header);
  527. //解决上传相同文件不触发change
  528. let inp = document.getElementById('upFile');
  529. inp.value = '';
  530. },
  531. importLisRecord(formData, header) {
  532. let that = this;
  533. api.importLisRecord(formData, header).then(res => {
  534. if (res.headers['content-disposition']) {
  535. this.downloadUrl(res);
  536. this.getDataList();
  537. } else {
  538. let r = new FileReader();
  539. r.onload = function() {
  540. if (this.result) {
  541. const code = JSON.parse(this.result);
  542. if (code.code === '00020007') {
  543. that
  544. .$alert(`${code.msg}`, '提示', {
  545. confirmButtonText: '确定',
  546. // cancelButtonText: '取消',
  547. // cancelButtonClass: 'cancelSure',
  548. // confirmButtonClass: 'sure',
  549. // customClass: 'exportConfirm',
  550. type: 'warning'
  551. })
  552. .then(() => {})
  553. .catch(() => {});
  554. }
  555. } else {
  556. that.$alert(`导入成功`, '提示', {
  557. confirmButtonText: '确定',
  558. // cancelButtonText: '取消',
  559. // cancelButtonClass: 'cancelSure',
  560. // confirmButtonClass: 'sure',
  561. // customClass: 'exportConfirm',
  562. type: 'success'
  563. });
  564. that.getDataList();
  565. }
  566. };
  567. r.readAsText(res.data);
  568. }
  569. // if ((res.data.code === '00020007')) {
  570. // this.$alert(`医院术语字符数超出最大数量,请修改后再试`, '提示', {
  571. // confirmButtonText: '确定',
  572. // // cancelButtonText: '取消',
  573. // // cancelButtonClass: 'cancelSure',
  574. // // confirmButtonClass: 'sure',
  575. // // customClass: 'exportConfirm',
  576. // type: 'warning'
  577. // })
  578. // .then(() => {})
  579. // .catch(() => {});
  580. // this.getDataList(); // 重新获取列表
  581. // setTimeout(() => {
  582. // this.uploadInfo = '导入';
  583. // }, 300);
  584. // } else if (res.data.data === true && res.status === 200) {
  585. // this.$alert(`导入成功`, '提示', {
  586. // confirmButtonText: '确定',
  587. // // cancelButtonText: '取消',
  588. // // cancelButtonClass: 'cancelSure',
  589. // // confirmButtonClass: 'sure',
  590. // // customClass: 'exportConfirm',
  591. // type: 'success'
  592. // })
  593. // .then(() => {})
  594. // .catch(() => {});
  595. // this.getDataList(); // 重新获取列表
  596. // setTimeout(() => {
  597. // this.uploadInfo = '导入';
  598. // }, 300);
  599. // } else {
  600. // this.$alert(`${res.data.msg}`, '提示', {
  601. // confirmButtonText: '确定',
  602. // // cancelButtonText: '取消',
  603. // // cancelButtonClass: 'cancelSure',
  604. // // confirmButtonClass: 'sure',
  605. // // customClass: 'exportConfirm',
  606. // type: 'warning'
  607. // })
  608. // .then(() => {})
  609. // .catch(() => {});
  610. // setTimeout(() => {
  611. // this.uploadInfo = '导入';
  612. // }, 300);
  613. // }
  614. });
  615. },
  616. downloadUrl(res) {
  617. var disposition = res.headers['content-disposition'];
  618. var fileName = decodeURI(
  619. disposition.split('filename=')[1].split(';filename*=')[0]
  620. );
  621. let blob = new Blob([res.data], { type: 'application/.xls' }); //.xls是我和后台约定好的文件格式
  622. let link = document.createElement('a');
  623. link.href = window.URL.createObjectURL(blob);
  624. link.download = fileName;
  625. link.click();
  626. link.remove();
  627. },
  628. /********新增编辑弹窗**********/
  629. showModal() {
  630. this.modalVisiable = true;
  631. },
  632. getMsgFormSon(data) {
  633. if (data == 'close') {
  634. this.modalVisiable = false;
  635. } else {
  636. this.modalVisiable = false;
  637. this.getDataList();
  638. }
  639. }
  640. }
  641. };
  642. </script>
  643. <style lang="less" scoped>
  644. @import '../../../less/admin.less';
  645. .delete {
  646. color: red;
  647. }
  648. .delete:hover {
  649. color: red;
  650. }
  651. .pagination {
  652. min-width: 1010px;
  653. }
  654. .downTemplate {
  655. margin-right: 8px;
  656. span {
  657. color: #02a7f0;
  658. }
  659. }
  660. #upFileMatch {
  661. display: none;
  662. }
  663. #upFile {
  664. display: none !important;
  665. }
  666. .el-message-box {
  667. /deep/.cancelBtn {
  668. background-color: #d7d7d7;
  669. border-color: transparent;
  670. }
  671. /deep/.confirmC {
  672. background-color: #ff545b !important;
  673. border-color: transparent !important;
  674. }
  675. }
  676. .exportBox6 {
  677. /deep/ .el-message-box__btns {
  678. margin-top: 20px;
  679. }
  680. /deep/ .el-message-box__message {
  681. // text-align: center;
  682. }
  683. /deep/.leftbtn {
  684. background-color: #d7d7d7;
  685. border-color: transparent !important;
  686. }
  687. /deep/ .el-message-box__header {
  688. border-bottom: 1px solid #dcdfe6;
  689. }
  690. }
  691. .searchBar {
  692. min-width: 980px;
  693. height: 120px;
  694. display: flex;
  695. justify-content: center;
  696. align-items: center;
  697. background-color: #dee2ea;
  698. z-index: 9999;
  699. padding: 40px 20px 0;
  700. .searchContent {
  701. height: 80px;
  702. flex: 1;
  703. background-color: #fff;
  704. .demo-form-inline {
  705. display: flex;
  706. justify-content: flex-end;
  707. }
  708. }
  709. }
  710. .contentsOther {
  711. padding: 0 20px;
  712. }
  713. </style>