Pacs.vue 22 KB

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